Skip to main content

USB Mobile charger : samsung



Hey guys!  I have a Samsung galaxy S duos (GT-7562). I am traveler , hence I tend to use GPS a lot which drains my mobile battery pretty fast. So I  wanted to build a portable charger for my mobile. I got a LM7805 voltage regulator and built a 5 V power supply. I connected it to a female USB port and tried to charge my mobile, but in vain. Then i took a SMPS from a spare computer in my workplace and connected the 5 V output to the female USB port and tried to charge my phone. Yet again my phone did not charge. I was puzzled, my Raspberry Pi was working with both the chargers but not my mobile. So I wondered whether Samsung engineers have utilized the same idea as apple. I have an apple iPod 4G to charge apple products you have to connect thedata pins to a certain potential, this is to prevent fake charging. So after a little research I found that the data pins must be shorted and the pins should be connected to +5 V  in series with a 33K resistor and connect it to ground with a 10K resistor in series. As shown in the pic above.

Here are the pics of the USB charger I made...





Comments

Popular posts from this blog

Switch debouncer using SR Latch

We use switch in our day to day life to switch ON/OFF a bulb or a fan or  any electrical devices. But when we use switches in digital circuits, we observe a phenomenon called bouncing. This occurs because, when we turn the switch, the mechanical parts vibrate. i.e It toggles between ON and OFF state for some time until the mechanical contact attain equilibrium. this vibrations are minute and are not at all noticeable in electrical circuit. where as in digital circuits, these vibrations create pulses. which are detected by circuits which results in an error.               In the above circuit, there is a switch connected to VCC. You can toggle it between terminal 'a' and terminal 'b'. which as a voltage drop of 'Va' and 'Vb' respectively. In digital circuits if you can observe, it takes a finite amount of time to toggle between terminal 'a' and 'b'. which might approximately take 15ns. Now let us consider the terminal is at 'a'. we...

PIC 18F452 Programming: LED blinking using assembly

Here is the basic program you need to start off with when you learn to use a microcontroller. We are using the microchip family PIC microcontroller. Which stands for Peripheral Interface Controller, PIC 18F452 is a 40 pin 8-bit microcontroller with 32 KBytes flash, 1536 Bytes of RAM and 256 Bytes EEPROM. It also boasts 4 timers, and three external interrupt pins. Coming to our first program, We will be using MPLAB for Building this project. Create a new project and select MPASM Suite for compiling. After writing the program, Dont forget to add the linker file and the source file in the source window. The linker file for the PIC 18F452 can be found in the  C:\Program Files\Microchip\MPASM Suite\LKR. search for 18f452. In this program, the Bit RB0, toggles continuously with some delay. Connect an LED to The RB0 Pin, i.e Pin 33.connect a 330E resistor in series with the LED. PROGRAM #INCLUDE p18f452.INC; CONFIG WDT=OFF; disabling the watchdog timer ORG 0; Specifing th...

PIC Programming: making a port bits toggle using assembly

CIRCUIT: Program: #INCLUDE p18f452.INC ORG 0 CLRF TRISD  L1 SETF PORTD CALL DELAY CLRF PORTD CALL DELAY GOTO L1 DELAY MOVLW 0xff MOVWF 0x10 L2 DECF 0x10,F BNZ L2 RETURN END