Showing posts with label usb. Show all posts
Showing posts with label usb. Show all posts

Tuesday, October 8, 2013

USB Converter


Does this sound familiar: you buy a small piece of equipment, such as a programming & debugging interface for a microcontroller, and you have to use a clunky AC wall adapter to supply it with power? It’s even worse when you’re travelling and there’s no mains socket anywhere in sight. Of course, you can use the USB bus directly as a power source if the supply voltage is 5 V. If you need a higher voltage, you can use the USB converter described here. This small switch-mode step-up converter can generate an output voltage of up to 15 V with a maximum output current of 150 mA.
USB Converter
The LM3578 is a general-purpose switchmode voltage converter. Figure 1 shows its internal block diagram. Here we use it as a step-up converter. The circuit diagram in Figure 2 shows the necessary components. Voltage conversion is achieved by switching on the internal transistor until it is switched off by the comparator or the current-limiting circuit. The collector current flows through coil L1, which stores energy in the form of a magnetic field. When the internal transistor is switched off, the current continues flowing through L1 to the load via diode D1. However, the voltage across the coil reverses when this happens, so it is added to the input voltage. The resulting output voltage thus consists of the sum of the input voltage and the induced voltage across the coil.

USB Converter Circuit
The output voltage depends on the load current and the duty cycle of the internal transistor. Voltage divider R5/R6 feeds back a portion of the output voltage to the comparator in the IC in order to regulate the output voltage. C5 determines the clock frequency, which is approximately 55 kHz. Network R4, C2 and C3 provides loop compensation. The current-sense resistor for the current-limiting circuit is formed by three 1-Ω resistors in parallel (R1, R2 and R3), since SMD resistors with values less than 1 Ω are hard to find. The output voltage ripple is determined by the values and internal resistances of capacitors C11, C8, C7 and C6.
  USB Converter Circuit Diagram

The total effective resistance is reduced by using several capacitors, and this also keeps the construction height of the board low. L2, C1, C9 and C10 act as an input filter. Ensure that the DC resistance of coil L2 is no more than 0.5 Ω. Use a Type B PCB-mount USB connector for connection to the USB bus.  A terminal strip with a pitch of 5.08 mm can be used for the output voltage connector. Of course, you can also solder a cable directly to the board. Two additional holes are provided in the circuit board for this purpose. As we haven’t been able to invent a device that produces more energy than it consumes, you should bear in mind that the input current of the circuit is higher than the output current. As a general rule, you can assume that the input current is equal to the product of the output current and the output voltage divided by the input R5 and R6 for other output voltages:
6V: R5 = 47k, R6 = 9,1k
12V: R5 = 110k, R6 = 10k
15V: R5 = 130k, R6 = 9,1k
voltage and divided again by 0.8. Specifically, with an output current of 100 mA at 9 V, the input current on the USB bus is approximately 225 mA. Finally, Figure 3 shows a small PCB layout for the circuit. All of the components except the connector and the terminal strip are SMDs.
USB Converter pcb
Parts List:
(for UO = 9 V)
Resistors
R1,R2,R3 = 1Ω
R4 = 220kΩ
R5 = 82kΩ
R6 = 10kΩ
Capacitors
(SMD 1206)
C1 = 100nF
C2 = 2nF2
C3 = 22pF
C4 = 100nF
C5 = 1nF5
(tantalum SMD 7343)
C6 = 68μF 20V
C7 = 68μF 20V
C8 = 68μF 20V
C9 = 47μF 16V
C10 = 47μF 16V
C11 = 68μF 20V
Inductors
L1 = 820μH (SMD CD105)
L2 = 47μH (SMD 2220)
Semiconductors
D1 = SK34SMD (Schottky)
IC1 = LM3578AM (SMD SO8)
Miscellaneous
K1 = 2-way PCB terminal block, lead pitch 5mm
(optional)
K2 = USB-B connector

PCB layout, free download from Elektor website, 070119-1.pdf
Author : Jörg Schnyder  copyright : Elektor
Read More..

Thursday, September 12, 2013

Eridani – 50 MHz ARM Cortex M3 with USB

Eridani is a LM3S3651 based general purpose development board with USB Host/Device/OTG. You can buy one here. This documentation should help you use it effectively. All of the details on how to setup toolchains for this board are filed under getting started.

Eridani – 50 MHz ARM Cortex M3 with USB
Read More..

Wednesday, September 11, 2013

Simple USB Relay – I O Modules

After the success of small modules USB – I / O converters – PUSBIO with MCP2200 circuit intended for development and small batch production, which we introduced in Article MCP2200 USB module and I / O , and recently introduced software for USB I / O modules , now the company introduces new modules Pandatron with relays and optocouplers.


Read More..

Thursday, April 11, 2013

Simple USB player circuit with PCM2902

Usb series player is an electronic device or electronic circuit that functions as an MP3 player that is stored on a storage device such as USB flash.

usb mp3 player


In this usb circuit using an IC as a modifier of digital voice data into analog so that it can be applied to a headphone, or again through the power amlplifier strengthened so that it can be heard through the speakers. IC used in this circuit using IC PCM2902 as a modifier of a digital data into analog data storage.

Below is a schematic diagram of a USB player.
USB mp3 player schematic
Schematic usb player
Read More..

Thursday, April 4, 2013

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 .
Read More..