Showing posts with label USB. Show all posts
Showing posts with label USB. Show all posts

Tuesday, 7 March 2017

USB Keyboard Made from Old Typewriter


Looking for a unique gift? Here’s an antique typewriter which has been modified to function as a USB Keyboard for PC, Mac, or even iPad. That’s very cool, isn’t it?

Hacks and Mods: USB Keyboard Made from Old Typewriter

In the world of obsolescence, this USB typewriter is a groundbreaking innovation. It does not change the outward appearance of the typewriter and is easy to install since there is no messy wiring. The 3 components of the USB typewriter are the Sensor board, the USB switches, and the Reed Switches.

It works like a regular typewriter with all letters, numerals, and punctuation marks as well as shift, space, and return carriage. It’s a better addition to your home office.

Readmore → USB Keyboard Made from Old Typewriter

Saturday, 4 February 2017

USB FM transmitter circuit


USB to FM transmitter circuit



Here's a simple VHF FM transmitter that could be used to play audio files from an MP3 player or computer on a standard VHF FM radio. The circuit use no coils that have to be wound. This FM transmitter can be used to listen to your own music throughout your home. When this FM transmitter used in the car, there is no need for a separate input to the car stereo to play back the music files from your MP3 player.



To keep the circuit simple as well as compact, it was decided to use a chip made by Maxim Integrated Products, the MAX2606 [1]. This IC from the MAX2605-MAX2609 series has been specifically designed for low-noise RF applications with a fixed frequency. The VCO (Voltage Controlled Oscillator) in this IC uses a Colpitts oscillator circuit. The variable-capacitance (varicap) diode and feedback capacitors for the tuning have also been integrated on this chip, so that you only need an external inductor to fix the central oscillator frequency.
USB to fm transmitter schematics
USB FM transmitter schematics

It is possible to fine-tune the frequency by varying the voltage to the varicap. Not much is demanded of the inductor, a type with a relatively low Q factor (35 to 40) is sufficient according to Maxim. The supply voltage to the IC should be between 2.7 and 5.5 V, the current consumption is between 2 and 4 mA. With values like these it seemed a good idea to supply the circuit with power from a USB port.

A common-mode choke is connected in series with the USB connections in order to avoid interference between the circuit and the PC supply. There is not much else to the circuit. The stereo signal connected to K1 is combined via R1 and R2 and is then passed via volume control P1 to the Tune input of IC1, where it causes the carrier wave to be frequency modulated. Filter R6/C7 is used to restrict the bandwidth of the audio signal. The setting of the frequency (across the whole VHF FM broadcast band) is done with P2, which is connected to the 5 V supply voltage.

The PCB designed uses resistors and capacitors with 0805 SMD packaging. The size of the board is only 41.2 x 17.9 mm, which is practically dongle-sized. For the aerial an almost straight copper track has been placed at the edge of the board. In practice we achieved a range of about 6 metres (18 feet) with this. There is also room for a 5-way SIL header on the board. Here we find the inputs to the 3.5 mm jack plug, the input to P1 and the supply voltage. The latter permits the circuit to be powered independently from the mains supply, via for example three AA batteries or a Lithium button cell. Inductor L1 in the prototype is a type made by Murata that has a fairly high Q factor: minimum 60 at 100 MHz.

usb to fm transmitter pcb layout
Layout PCB USB FM transmitter

Take care when you solder filter choke L2, since the connections on both sides are very close together. The supply voltage is connected to this, so make sure that you don’t short out the USB supply! Use a resistance meter to check that there is no short between the two supply connectors before connecting the circuit to a USB port on a computer or to the batteries.

P1 has the opposite effect to what you would expect (clockwise reduces the volume), because this made the board layout much easier. The deviation and audio bandwidth varies with the setting of P1. The maximum sensitivity of the audio input is fairly large. With P1 set to its maximum level, a stereo input of 10 mVrms is sufficient for the sound on the radio to remain clear. This also depends on the setting of the VCO. With a higher tuning voltage the input signal may be almost twice as large (see VCO tuning curve in the data sheet). Above that level some audible distortion becomes apparent. If the attenuation can’t be easily set by P1, you can increase the values of R1 and R2 without any problems.

Measurements with an RF analyzer showed that the third harmonic had a strong presence in the transmitted spectrum (about 10 dB below the fundamental frequency). This should really have been much lower. With a low-impedance source connected to both inputs the bandwidth varies from 13.1 kHz (P1 at maximum) to 57 kHz (with the wiper of P1 set to 1/10).

In this circuit the pre-emphasis of the input is missing. Radios in Europe have a built-in de-emphasis network of 50 μs (75 μs in the US). The sound from the radio will therefore sound noticeably muffled. To correct this, and also to stop a stereo receiver from mistakenly reacting to a 19 kHz component in the audio signal, an enhancement circuit Is published elsewhere in this issue (Pre-emphasis for FM Transmitter, also with a PCB). Author: Mathieu Coustans, Elektor Magazine, 2009

MP3 FM Transmitter Parts List

Resistors (all SMD 0805)
R1,R2 = 22kΩ
R3 = 4kΩ7
R4,R5 = 1kΩ
R6 = 270Ω
P1 = 10kΩ preset, SMD (TS53YJ103MR10 Vishay Sfernice, Farnell # 1557933)
P2 = 100kΩ preset, SMD(TS53YJ104MR10 Vishay Sfernice, Farnell # 1557934)


Capacitors (all SMD 0805)
C1,C2,C5 = 4μF7 10V
C3,C8 = 100nF
C4,C7 = 2nF2
C6 = 470nF

Inductors
L1 = 390nF, SMD 1206 (LQH31HNR39K03L Murata, Farnell # 1515418)
L2 = 2200Ω @ 100MHz, SMD, common-mode choke, 1206 type(DLW31SN222SQ2L Murata, Farnell #1515599)

Semiconductors
IC1 = MAX2606EUT+, SMD SOT23-6 (Maxim Integrated Products)

Miscellaneous
K1 = 3.5mm stereo audio jack SMD (SJ1-3513-SMT
CUI Inc, DIGI-Key # CP1-3513SJCT-ND)
K2 = 5-pin header (only required in combination with 090305-I pre-emphasis circuit)
K3 = USB connector type A, SMD (2410 07 Lumberg, Farnell # 1308875)

Notice. The use of a VHF FM transmitter, even a low power device like the one described here, is subject to radio regulations and may not be legal in all countries.



source [ Link ]

Readmore → USB FM transmitter circuit

Wednesday, 18 January 2017

USB LED Night Light Circuit Diagram


A typical USB LED bulb shown in Fig. 1 is a 5V, 5W USB-powered solid-state lamp. At the heart of this light bulb is a circular aluminium PCB made with a bunch of 5730 SMD super-bright LEDs. Typical working voltage of a single 5730 SMD LED is in the range of 2.9V to 3.4V, and its current consumption is about 150mA. Fig. 2 shows some details of SMD LEDs used in the USB LED bulb. 



This gizmo inspired me to design a distinct USB LED night light with battery backup. Read More Click He




Readmore → USB LED Night Light Circuit Diagram

Friday, 9 December 2016

USB Powered PIC Programmer


This simple circuit can be used to program the PIC16F84 and similar "flash memory" type parts. It uses a cheap 555 timer IC to generate the programming voltage from a +5V rail, allowing the circuit to be powered from a computer’s USB port. The 555 timer (IC1) is configured as a free-running oscillator, with a frequency of about 6.5kHz. The output of the timer drives four 100nF capacitors and 1N4148 diodes wir-ed in a Cockroft-Walton voltage multiplier configuration.

USB-Powered PIC Programmer Circuit diagram:
usb-powered-pic-programmer-circuit-diagramw
USB-Powered PIC Programmer Circuit Diagram

The output of the multiplier is switched through to the MCLR/Vpp pin of the PIC during programming via a 4N28 optocoupler. Diodes ZD1 and D5 between the MCLR/Vpp pin and ground clamp the output of the multiplier to about 13.6V, ensuring that the maximum input voltage (Vihh) of the PIC is not exceeded. A 100kΩ resistor pulls the pin down to a valid logic low level (Vil) when the optocoupler is not conducting. The circuit is compatible with the popular "JDM" programmer, so can be used with supporting software such as "ICProg" (see http://www.ic-prog.com).


Author: Luke Weston - Copyright: Silicon Chip Electronics

Readmore → USB Powered PIC Programmer

Saturday, 3 December 2016

USB cable signals


USB cable consists of 4 wires plus a conductor wire wrapping, such as the protectors are usually found in the audio cable. Cable number 1 is used to channel resources to the voltage of 5 volts, if necessary USB devices may draw power from this line and should not exceed 100 mA. Computer equipped with USB capability, is required to provide power at 100 mA for this purpose. USB devices that require more power than the aforementioned provisions, must provide their own resources for the purposes work equipment.


The USB cable signals
The USB cable signals

Number 4 is the ground cable as a back channel source voltage of 5 volts. Cable number 2 and number 3 is used for signal transmission. No. 2 cable and cable called D-3 numbers called D, the voltage on the two channels is changed between 0 Volt and 3.3 Volt. Digital signal is sent through the two channels are said to be 'difference signal', which means that the signal digital '0 'or '1' is not declared to the magnitude of the voltage on the channel to the ground, as well as digital signals used in the IC TTL (transistor Transitor Logic) or the RS232 channel.

Digital signal is expressed by the voltage difference between the two cables. If the voltage on the D channel is higher than the voltage at D-channel, then the information transmitted digital signal is '1 ', otherwise the digital signal '0' is expressed by the voltage at D <voltage at D-. To distinguish the speed of data transmission, the channel USB devices attached to the 3.3 Volt prisoners in different ways, as shown in Fig.

At low speed USB devices, the D-channel to 3.3 Volt dipasangan custody, or in the absence of information transmission, the channel is in state '0 '. For full speed USB device, such resistance is connected to the D channel, so that in the absence of data transmission channels are in state '1 '.

Readmore → USB cable signals

Tuesday, 29 November 2016

Headset amplifier via USB


Headset amplifier via USB circuit is a series that is used to add a gain on the headset, which is used on a computer headset. Indeed not only on a computer course in all the headset could also, but in the above circuit voltage to utilize voltage mensupply issued on a PC or laptop via USB. So you need not bother looking for supply voltage, you just take it from USB.
headset amplifier via usb
Part List :

Resistor
R1 = 20K
R2 = 10K
R3 = 10K

Capacitor
C1 = 3u3F 50V
C2 = 100pF

Diode
D1 = 1N4148
D2 = 1N4148
D3 = 1N4148
D4 = 1N4148

IC
U1 = JRC4558

Connector X1
1 = Output
2 = Input
3 = Ground

Connector X2
1 = V+ 5V from USB
2 = Ground From USB

headset amplifier PCB design
PCB design Views

Readmore → Headset amplifier via USB

Saturday, 26 November 2016

Symmetric Output for USB Audio DAC


This simple adapter circuit is specially intended for use with the USB Audio DAC published in this website elsewhere. With an easily implemented modification, it is possible to make the output of the D/A converter pseudo-symmetric, so that it can be connected to professional equipment having XLR line inputs. This will do even more justice to the high quality of the USB Audio DAC. The modification actually amounts to just adding a single resistor (R11a) and changing the value of the existing resistor at the output of the audio DAC (R11) from 100 Ωto 68Ω. Components C14 and R12 remain unchanged. It is not difficult to make this change on the printed circuit board of the audio DAC, but a bit of improvisation is necessary. After replacing R11 with a 68-Ω version, unsolder R12 and connect R11a in series with it. Bring out the junction of these two resistors to act as the signal return connection (pin 3 of the XLR socket). The same operation must also be carried out on the right channel, where the affected resistors are labelled R16, R16a and R17.



Readmore → Symmetric Output for USB Audio DAC