Only works connected to USB
-
I have built a parking senors based on the excellent project presented on this site. I'm feeding my Arduino Micro with 12 V. From the same source feed the LEDs through a LM7805 to get 5V for the LEDS. When connected to USB all works well. Removing the USB, and only running on my 12V source, the LEDS starts to behave erradic. Its like the distance sesor is sending false values causing the LEDs to light up. Connecting the USB and it all works like a charm.
I have measured all the voltages:
Arduino: 12V from power source to RAW,
Arduino: GND from power source to GND (next to RAW pin)
Distance sensor: 5V from Arduino VCC
Distance sensor: GND from Arduino GND (pin next to pin 2)
LEDs: 5V from LM7805 to LEDS
LEDs: GND from power source GNDAny suggestions on whats wrong or how to proceed?
-
Maybe handy to post a schematic of your wiring.
-
After moving the 5V feed to the distance sensor from the Arduino VCC, to the 5V output from the LM7805 it seems like it works OK.
Any suggestion on a program to make schematics?
-
In my opinion this would be fritzing http://fritzing.org/home/
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 12 days ago • dpcons 12 days ago -
NODs stop responding, but ping works.
Troubleshooting • a day ago • Marcin a day ago -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
Some sensors permanently fail after one/two years
Troubleshooting • 25 Jul 2024, 17:17 • Kokosnoot 25 Jul 2024, 17:17 -
Arduino nano and Uno in same My sensors network with NRF24L01+
Troubleshooting • 26 Jul 2024, 10:30 • DIY89 27 Aug 2024, 09:59