MPU9150 Accelerometer, Gyro, Temperature, Compass icon MPU9150 Accelerometer, Gyro, Temperature, Compass — MPU9150 ARC control reads compass, gyro, accelerometer and temperature via I2C, initializes and sets EZ-Script variables on demand. Try it →
Asked — Edited
1 Participant

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

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!

Author Avatar
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