Problems with Ardunio Uno and ping sensor



problem ardunio , ping sensor. have ardunio uno dedicated operation of ping sensor. while ardunio connected computer via usb/serial things work perfect. when un pluged usb cable, dose not work @ all. not i'm not running serial monitor, i'm have usb cable plugged in load sketch. ardunio uno running ping sensor performs flawlessly until usb cable unplugged. rebooting hole droid has no effect. plug in usb cable works fine. ardunio uno gets main power power source powers droid. many other ardunio boards run on same system , work fine.

 function:

 when ping sensor on ardunio uno detects or within range, sends signal on pin #2 digital out ardunio mega 2560. ardunio mega 2560 trips turning on cam , view screen. r2 shows person in front of him sees. if person moves out of range , ardunio mega 2560 times out screen , cam turned off.

 the ardunio uno works perfect until usb cable removed. have ideas? i'm stumped.

here link short video showing problem:

https://www.facebook.com/video.php?v=722252167887445&l=607994572666465048

do have same problem when load "blink"? see if supply problem or code problem.

you need simplify code smaller sections locate problem.

weedpharma


Arduino Forum > Using Arduino > Programming Questions > Problems with Ardunio Uno and ping sensor


arduino

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code