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

USB DC Power Supply from Cigar Lighter Socket

The diagram shows the circuit of a versatile USB power socket that safely converts the 12V battery voltage into stable 5V. This circuit makes it possible to power/recharge any USB power-operated device, using in-dash board cigar lighter socket of your car.

The DC supply available from the cigar lighter socket is fed to an adjustable, three-pin regulator LM317L (IC1). Capacitor C1 buffers any disorder in the input supply. Resistors R1 and R2 regulate the output of IC1 to steady 5V, which is available at the ‘A’ type female USB socket. Red LED1 indicates the output status and zener diode ZD1 acts as a protector against high voltage.

USB Power Socket Circuit Diagram:


USB Power Socket Circuit Diagram

Assemble the circuit on a general-purpose PCB and enclose in a slim plastic cabinet along with the indicator and USB socket. While wiring the USB outlet, ensure correct polarity of the supply. For interconnection between the cigar plug pin and the device, use a long coil cord as shown in Fig. 2. Pin configuration of LM317L is shown in Fig. 3.


Author by: P. MARIAN Source By: EFY



read more...

USB Reading Lamp

Light your table top with this cool White LED Lamp. It is powered from the USB port and is ideal to take notes while browsing internet. The USB port can provide 5 volts and 100 mA current which is sufficient to light the LED lamp.

USB Reading Lamp Circuit diagram:

USB Reading Lamp Circuit diagram

Power to the circuit is derived from the USB port using the standard A type plug. To give continuous regulated power, Zener regulation is employed. Resistor R1 restricts base current to T1 so that output will be current regulated. Since White LED requires minimum 3.6 volts, 4.7 volt Zener is used to provide constant 4.7 volts to LEDs. Resistor R2 restricts LED current to around 20 mA, so that they will not be damaged. Connect the power lines to USB plug observing correct polarity. Use a reflector for LEDs to get maximum illumination.

 Pin out of SL 100

Pin out of SL 100

Author: D. MOHANKUMAR


read more...

USB-Chargeable Emergency Inspection Light

Described is one USB-chargeable Emergency Inspection Light for in-lab use, wired around a hi-efficiency 5mm-white LED. The power-bank of this circuit is a 1F/5.5v (yes, 1 Farad!) super capacitor. Just connect your finished circuit to an active usb port, and push switch S1 when necessary. The result is a short-time white light from LED1, generated by the charge stored in C1. Fuse F1 in the circuit is added for usb port protection, and diode D1 works as a “one-way” switch. Resistor R1 limits the current (and hence the light output) through LED1.

USB-chargeable Emergency Inspection Light Circuit Diagram:

Light Circuit Diagram


In the prototype, 1F/5.5V super capacitor took up from an old video cassette recorder was used. If you are using the commonly-available 1F/2.5v type super capacitor, you should connect two of them in series as shown here. Note that, this reduces the total capacitance, but doubles the voltage rating. Only one drawback of this idea is the undepicted price of the super capacitor; 1F/2.5v super capacitor in an Indian online store costs about 300 Indian Rupee (~ $5)!

Inspection Light Circuit Diagram

(author’s prototype realized using cannibalized parts)

 Emergency Inspection Light Circuit Diagram


(1 farad super capacitor)

Note: Super capacitor is a special capacitor (electrochemical double layer capacitor) offers ultra-high capacitance and ultra-low equivalent series resistance. Super capacitors hold up power for long duration, and that’s why the LED in our circuit works for a finite duration even after it’s unplugged from the USB port.

Author: T.K. HAREENDRAN


read more...

Simple USB Cell Phone Charge

Now you can charge your Mobile Phone from the USB outlet of PC. This simple usb cellphone charger circuit can give regulated 4.7 volts for charging the mobile phone. USB outlet can give 5 volts DC and 100 mA current which is sufficient for the slow charging of mobile phones.

USB Cell Phone Charger Circuit Diagram:

Simple USB Cell Phone Charge

Most of the Mobile Phone battery is rated 3.6 volts at 1000 to 1300 mAh. These battery packs have 3 NiMh or Lithium cells having 1.2 volt rating. Usually the battery pack requires 4.5 volts and 300-500 mA current for fast charging. But low current charging is better to increase the efficiency of the battery. The circuit described here provides 4.7 regulated voltage and sufficient current for the slow charging of the mobile phone.

Transistor T1 is used to give the regulated output. Any medium power NPN transistor like CL100, BD139, TIP122 can be used. Zener diode ZD controls the output voltage and D1 protects the polarity of the output supply. Front end of the circuit should be connected to a A type USB plug. Connect a red wire to pin1 and black wire to pin 4 of the plug for easy polarity identification. Connect the output to a suitable charger pin to connect it with the mobile phone. After assembling the circuit, insert the USB plug into the socket and measure the output from the circuit. If the output is OK and polarity is correct, connect it with the mobile phone.

Note: If the polarity is incorrect, it will destroy the cellphone battery. So take extreme care.

read more...

Simple USB Charger Doctor Unboxed

USB Charger Doctor Unboxed

Recently I bought a little gizmo called as “USB Charger Doctor” from an online store. The little usb bus powered device features a passthrough usb connection to connect the usb source port and usb device, and a 7-segment LED display driven by an on-board microcontroller to indicate the voltage and current. As usual, I have an irresistible temptation to know how this device works, and just after 3 days from its arrival, I tried out the circuit surgery!

System Overview

The USB Charger Doctor holds an OTP microcontroller, Voltage and Current Sensors, and one 7-segment LED display unit. The internal electronics is powered by an onboard voltage regulator, which regulates the usb bus power to a stable 2.5 volt dc supply. Here is the system diagram of the USB Charger Doctor for your quick reference:

Why an OTP MCU? As designers look for ways to reduce the cost of their embedded systems without compromising the availability of peripherals or system performance, a potential solution to explore is the option of using one-time programmable (OTP) microcontrollers (MCUs) in their designs. OTP-based MCUs often provide the same peripherals and functionality as those found on flash-based devices, but at a reduced cost, or they can exceed the performance and functionality of flash-based MCUs at the same cost!

USB Charger


In the device, a “USB A-Male” connector is used for plugging into the usb port, and a “USB A-Female” socket for plugging the usb device into. Three digits of the 7-segment/4-digit red LED display shows the measurement value, and the last digit indicates volts (U) or amps (A). These voltage and current reading automatically alternates (between U and V) every 3 seconds or so. The 16-pin MCU – re-marked as 00F015 – is probably an HT series OTP (from Holtek). The current sensing element (Isense) is a 0.05R/2W shunt resistor, and a 2-resistor network (voltage divider) is wired as the voltage sensor (Vsense). The voltage regulator (Vreg) is built around the popular 3-pin adjustable shunt regulator chip TL431.


USB Charger Doctor Unboxed


The LED display unit is a 12-pin common cathode 7-segment/4-digit type with the following pins:
Pin 1: E, Pin 2: D, Pin 3: DP, Pin 4: C, Pin 5: G, Pin 6: d4
Pin 7: B, Pin 8: d3, Pin 9: d2, Pin 10: F, Pin 11: A, Pin 12: d1
Where A to G are Segments, and d1 to d4 are Digits (cathodes) of the LED display unit. DP denotes Decimal Point. Part number of this display is CL3641AH.

USB Charger Doctor


Inside Electronics

Here is the indicative schematic circuit diagram of the usb charger doctor, drawn by me. Voltage measured at various points, when powered by my lab power supply (dialed to 5.0 Vdc), is also included in the drawing as a ready reckoner for all interested guys.

USB Charger Doctor


All the pins except 3, 4, 5, 12 and 13 of the 16-pin MCU (U2) are routed to the LED display unit – Pin 1 drives B, Pin 2 drives d3, etc. Pin 3 of the MCU is connected to the Vsense circuit, and Pin 4 is connected to the Isense circuit. Pin 5 is the ground and pin 13 is the VDD of the MCU. Note that the output from the Vreg circuit is also attached to the decimal point (pin 3) of the LED display. Have a look at the MCU to DISPLAY wiring, clearly shown in the following table:

USB Charger Doctor

Obviously, at the heart of this design is a low voltage (2.5V or less) MCU with built-in ADC and internal clock oscillator. This great design work amazes me because I already designed/published many digital voltmeter/ammeter circuits based on popular 5v/3.3v microcontrollers like AVR and PIC, but never tried an OTP MCU that works on < 2.5v, till date! Backwash

One week after this circuit surgery, I found another usb charger doctor circuit built around the Holtek OTP MCU HT46R064B (Enhanced A/D Type 8-Bit OTP MCU), circuit board and circuit diagram of which is shown below. Here, the major difference I noticed is in the power supply connections of the MCU; its pin 12 is connected to the +2.5V supply (VDD) rail. Besides, total 12 pins of the MCU are fully reserved for the display unit.

USB Charger

USB

USB Charger Doctor


(pin notation of the display unit – CL3641AH)

OTP MCU Programming!

Flash MCUs are very familiar to us, but how to program a Holtek OTP MCU? It’s another question! The eWriterPro (from Holtek) can be used not only as a programming tool for all of Holtek’s OTP and Flash devices during the development stage but can also be used for small to medium volume production purposes. The eWriterPro must be used together with a corresponding eSocket according to the package type of the MCU that is to be programmed. Devices with the same package type require only a single eSocket, thus reducing the problem of changing different adaptors for different IC part numbers. More details: http://www.holtek.com/english/tech/tool/MainPage1.htm

USB Charger Doctor


Note: While every endeavor has been made to ensure accuracy of the contents of this article, some errors may exist. If you find any errors or if you have your own findings, please notify the author/site owner!


Author By: T.K. HAREENDRAN Source By: electroschematics.com



read more...
 
Copyright © 2019 W3circuits.blogspot.com • All Rights Reserved.
back to top