arduino nano
How to use a IR photodiode on an Arduino to meassure IR light
#blog #howto #arduino #arduino nano #photodiode #infrared #electronics #programming #iot #microcontrollerMost tutorials I’ve found so far are about 3-pin photodiodes. These are meant to recieve digital IR signals from TV remotes or similar devices. The 2-pin diodes can be used to simply meassure the available IR light. So you could use this to build a distance sensor, if you add a IR LED emitter and then meassure the reflected light, or to meassure the IR light emitted by a natural or artificial light source.
Arduino Nano IoT accelerometer data to pitch and roll
#blog #howto #arduino #arduino nano #accelerometer #c++ #electronics #programming #iot #microcontrollerThe Arduino Nano 33 IoT comes with a built-in 3-axis acceleromteter. This sensor meassures values for x, y and z acceleration between -1 and 1. If we want to know the actual position in which the sensor is, we need to know it’s rotation on two axis, pitch and roll, in dregress. This two angles could be used then later on to control two servos which rotate an object exactly the same way the sensor is rotated.