Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

New answers tagged

1 vote

How to manage with raspberry pi two L298N H-bridge drivers

Since I cannot see the schematic I will take a SWAG and say it is doing what it should, not work. The L298N is an old and inefficient part. If you look at the data sheet it tells you that the Logic ...
user avatar
  • 727
1 vote

How to manage with raspberry pi two L298N H-bridge drivers

Call GPIO.setup() ONCE, at the start of the script. Call GPIO.cleanup() ONCE, just before the script ends. When you call GPIO.cleanup() it resets all used GPIO to be in INPUT mode. You need to sort ...
user avatar
  • 66.3k
4 votes
Accepted

5 Volt Relay not working as expected

This isn't how a relay works. The relay board is just a switch that can be turned on and off by a low power signal from a raspberry pi GPIO pin. You will need to provide a separate power source to ...
user avatar
  • 156

Top 50 recent answers are included