Skip to content

Instantly share code, notes, and snippets.

@VimKanzo
VimKanzo / makehub
Created March 10, 2014 17:18
Intelligent Traffic Control System (ITCS)
# Title
Intelligent Traffic Control System (ITCS)
# Picture
media: http://www.deviantsart.com/8eadk4.jpg
# Objective
PROJECT AIM:
The aim of this project is to monitor and report on the traffic light in the country which is one of the cause of traffic in the country since most of them are not functioning and they are also been monitored manually. Our project initiative aims to solve the problem of manual monitoring. Our project will monitor traffic lights by the use of sensors and report to MTTU whenever a traffic light breaks down by triggering the sensors to pinpoint the location of where the traffic light is and send out an SMS alert to MTTU for them to know there is a traffic light breaks down. We believe this is going to help the MTTU monitor traffic light effectively and attend to them within the shortest possible time. We also want to use solar panels as secondary power and backup for the traffic lights ensuring that they are operational always.
@VimKanzo
VimKanzo / makehub
Created March 21, 2014 00:23
Breathalyzer using Alcohol Gas Sensor with Arduino
# Title
Breathalyzer using Alcohol Gas Sensor with Arduino
# Picture
media: http://www.deviantsart.com/39rl9d8.jpg
# Objective
# Duration
1 hour
# Age Group
all
@VimKanzo
VimKanzo / Arduino Based Breathalyzer
Created March 21, 2014 00:59
Breathalyzer using Alcohol Gas Sensor with Arduino
#define qtyLED 6 //Declare the quantity of LED's for the bar graph
int LEDs[qtyLED]; //Array to store the states of the LEDs
int sensorPin = 0; //Variable that will hold the current value of the sensor
int time; //Variable that will hold the amount of time for the sensor to be read
int maxreading; //Variable to store the maximum value read during the last reading
//For loop counting variables
int i;
int j;
void setup()
@VimKanzo
VimKanzo / gist:9677451
Created March 21, 2014 01:02
LED test
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;