Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Get Started
Asked — Edited

Digital On Off Timing Control Signal Delay

Can any one answer why when I connect the D2 5V to the D2 Signal the read digital control turns green indicating an on position. I immediately break the connection disconnecting the D2 5V and D2 Signal and the control stays green/on for an unknown period(approx 18 seconds) of time then goes red?

Interval is set to 100 milliseconds...

Why doesn't it go red the moment the connection between 5v and signal is broken?


ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

AI Support Bot
Related Content
Synthiam
Based on your post activity, we found some content that may be interesting to you. Explore these other tutorials and community conversations.
#1  
Okay, this is really starting to get annoying. I've moved to different digital pins. Similar results. Just plugging in some unconnected jumper wires triggers the digital on even just one jumper wire on the signal pin. Just lightly touching connected jumper wires triggers a digital on which then immediately turns off, this occurs on *all* digital pins.

I've visually inspected the underside of the board with a magnifying glass and all looks normal is this some kind of manufacturing defect or am I not understanding some basic electronics concept?
#2  
Apparently, I'm not understanding a basic electronics concept...? I looked up the Arduino push button switch and made the conversion to EZ-B. I still don't understand it, but the hookup of a switch is working correctly. So, please excuse blaming hardware instead of my own ignorance....

Any commentary on the above posts would be appreciated....
PRO
Synthiam
#3  
Anything above zero volts is considered ON. The static in the air, and static on your fingers will cause the port to be read as ON.

A pull-down or pull-up resistor is necessary for switched and reading digital:)