Introduction: How to Make a Breathalyzer at Home.
Things you'll need:
- Arduino Uno
- LCD Screen
- Alcohol Gas Sensor
- 1x Button
- 1x Potentiometer
- 1x Green LED
- 1x Red LED
- 4x 220 Ohm Resistors
- Male to Male connectors
Step 1: First
Place your components like this so the wiring process is made much easier.
Step 2: Step 2
Go ahead and wire up your ground and 5v lines to the Arduino.
Also hook up the button to digital port 3 and ground and power it as well.
Step 3: Step 3
Next we will go ahead and hook up the Potentiometer and start on the LEDs with resistors and hooking them up to digital pins 2 and 4 (Green = 2/ Red = 4)
Step 4: Step 4
Hook up the alcohol sensor next to A0 pin on the Arduino and ground and power it on the bread board. Don't forget to ground your LEDs
Step 5: Step 5
Now for the tedious part:
Start from left to right hooking up the LCD screen to the respective digital pins on the arduino and respective ground and power pins on the breadboard.
This can take some time.
Step 6: Step 6. Add the Code
The code is attached.