Stock Monitoring Featuring 4Duino-24
by 4D Makers in Circuits > Arduino
297 Views, 4 Favorites, 0 Comments
Stock Monitoring Featuring 4Duino-24
![Stock Monitoring featuring 4Duino-24](/proxy/?url=https://content.instructables.com/F7J/SDXU/J1CEN1XH/F7JSDXUJ1CEN1XH.jpg&filename=Stock Monitoring featuring 4Duino-24)
In this project, we will use several IR sensors to check if an item from an inventory box is present or not.
This project makes use of a 4Duino-24 to check whether an item is present or missing from the inventory. The 4Duino uses its analog pins to read the values from each IR sensor. This reading value changes depending on whether or not the item is present. The 4Duino is set to send most recent status to a Thing Speak channel every 15 seconds.
How It Works
![1.png](/proxy/?url=https://content.instructables.com/FVD/FB9E/J1CEN1YJ/FVDFB9EJ1CEN1YJ.png&filename=1.png)
Build
![2.png](/proxy/?url=https://content.instructables.com/FJF/7QRM/J1CEN1YN/FJF7QRMJ1CEN1YN.png&filename=2.png)
Build the circuit as shown in the diagram and table above.
Program
![3.png](/proxy/?url=https://content.instructables.com/FPG/LD9S/J1CEN1ZH/FPGLD9SJ1CEN1ZH.png&filename=3.png)
Workshop 4 – 4Duino Basic Graphics environment is used to program this project.
This project requires the Arduino IDE to be installed as Workshop calls the Arduino IDE for compiling the Arduino sketches. The Arduino IDE however is not required to be opened or modified to program the 4Duino.Open this file using Workshop 4.
1. Download the project code here.
2. Connect the 4Duino to the PC using µUSB cable.
3. Then navigate to the Comms tab and select the Comms port to which the 4Duino connected.
4. Finally, go back to “Home” tab and now click on the “Comp’nLoad” button.
5. After uploading, 4Duino will start moving as soon as it detects a display touch.
Demonstration
![6.png](/proxy/?url=https://content.instructables.com/FXF/QFNJ/J1CEN220/FXFQFNJJ1CEN220.png&filename=6.png)
Here are some photos of a working project.