I bought a new Pi 3. I was trying to make a LFR (line following robot). When I powered l239D IC with 14 volts, the Pi suddenly got off and restarted. It gave me the temperature of about 124 degrees celsius after restarting. Then it went off again and never got on again. My OS is Raspbian. Can you tell me where would have I possibly gone wrong?
-
You connected 14 volts to the Pi somehow. Could you add a photo or schematic of the connections you made, preferably a photo.– joanJan 18, 2018 at 11:33
-
L239D has two power supply pins, One that connect to pin 8 of the chip is for H-bridge driver and motor, and can be in the range of 4.5 - 36v. The one at pin 16 is 5V for internal logic and can be from the same power source of RPi. You probably wired the power supply wrongly and accidentally power the RPi with 14v.– hcheungJan 18, 2018 at 11:59
-
@hcheung can you explain how could have I possibly powered my PI with 14 V other than with the USB cable it is already getting its power from?– Muhammad NaufilJan 18, 2018 at 14:03
1 Answer
You mean I293D, right? Sounds like a mismatch in power-supply. I agree with the guys in the comments, you are probably connecting a too high voltage to the Pi.
According to this datasheet, you should work with pin 16 instead of pin 8.
I can also recommend you to connect the GND from the IC to the GND of the Pi, when you have more than one power supply. But I don't know if that's the case with you.
-
I gave 14 v to pin 8 of IC while gave 5 V from RPI pin board pin 2 to IC pin 16 Jan 18, 2018 at 14:01
-
-
-
Re your point 2, the chip and Pi have to have a shared ground, otherwise the chip can not be controlled by the Pi.– joanJan 18, 2018 at 14:20
-
1alright, in that case you really need to connect the GND's. Keep in mind that voltage is a difference between two points. 5V can be a total different value on the IC. When the ground of the Pi is connected with the ground of the IC you have the same reference in both devices. Hope this helps.– BelekzJan 18, 2018 at 15:36