Asked — Edited

Motion Sensor N Voltage Meter Led.Help

so i have a pir motion sensor that I want to install to my robot,it has a 3 wire and digital plug how do I make it work ? a little programing ? any suggestion? oh and also I have a led voltage meter(blue led) it would be cool display for now. it only has the red n black wire to connect to . help again lol?


ARC Pro

Upgrade to ARC Pro

With ARC Pro, your robot is not just a machine; it's your creative partner in the journey of technological exploration.

United Arab Emr
#1  

The PIR sensor need to connect it to digital port . Gnd , vcc,output to EZB digital port gnd,vcc and signal. Define your port as digital input and read the status . Your should find an example with the proper commands in the cloud or simply use your ARC to read the connected port. I did not understand your display question. If it is a voltmeter display circuit , you can use it to detect your battery simply by connecting the black to gnd and red to positive and should give the voltage value .

#2  

thanks that was exactly what I wanted