Introduction: Led Breathalyzer With Twitter
This project consists on a alcoholism indicator using LEDs, a alcohol sensor and Intel Edison with Twitter integration.
To make this project possible you will have to use an Intel Edison with the arduino BreakBoard. You can see how to configure the board here.
Step 1: Step 1: Materials
To build this project you will need access to the following:
1. Intel Edison with arduino Breakboard
2. Alcohol Sensor MQ-3
3. Three LEDs (1 Yellow, 1 Red, 1 Green)
4. Three Resistors (220 Ohm)
5. One Resistor (1K Ohm)
6. Jumper wires
Step 2: Step 2: Building
Step 3: Step 3: Code
This code catches the analog value of the alcohol sensor and uses it to turn on the LEDs according to the level of alcohol.
Step 4: Step 4: Code With Twitter Integration
To use this code you will have to download and add to your arduino IDE the twitter library that ou can found here.
In these link you will found instructions to get the Twitter Token and some examples of use.
To make your code works with the Intel Edison, you will have to find its IP adress that you can easily find using the Putty to configure the board.