16. Prototype - Keeping your cards safe using photo interrupter module (Light blocking sensor) and Arduino
This project is a prototype and in this project I will be discussing about how your cards - such as credit cards, debit cards, gift cards - can be kept safe. Take a look at the pictures below to see how this project works.
Device is not activated: (So the LED is orange in colour)
To see how the hardware is setup and the way this project works, please take a look at the YouTube video posted in the 'Final Look' section of this page.
Supplies
- Arduino Uno R3/ Arduino Nano
- Solderless Breadboard - Full size
- Jumpers
- Jumper wires - [Male-to-Male] 30cm and 10cm (x7 each)
- 9V battery
- 9V battery terminal
- Active buzzer (KY-012)
- Light blocking sensor - also known as Photo Interrupter module (KY-010)
- Push button - also known as Key switch module (KY-004)
- Two colour LED module (KY-011)
Setting up your hardware
Your hardware setup must look similar to the that shown in the picture above. For more guidance on setting up your hardware, please watch the YouTube video found at the last section of this page.
Connections:
- Buzzer - D3
- Light blocking sensor - D4
- Green LED - D5
- Red LED - D6
- Common cathode (Two-colour LED module) - GND (Ground)
- Push-button - D7
Coding
Final Look
If you have further questions regarding this project, please contact me at arduinoprojectsbyr@gmail.com.
Comments
Post a Comment