ALPHANUMERIC CALENDAR CLOCK

Stopwatch LED Display for Sports Applications

 

My first Arduino Uno project

Arduino: Open-source electronic prototyping platform allowing to create interactive electronic objects

Blinking Fading LEDs Arduino code

Other Arduino Projects

Arduino playing music

 

Arduino example programs / Simple Arduino basic programs. Understanding Arduino programming.

-----------------------------------------------
Basic structure of arduino code
-----------------------------------------------

void setup() {
// put your setup code here, to run once:

}

void loop() {
// put your main code here, to run repeatedly:

}

---------------------------------------------

//Arduino program to read the input and print it.


void setup()
{
Serial.begin(9600);
}


void loop()
{
// read the input on analog pin 0:
int valueread = analogRead(A0);
// print out the value you read:
Serial.println(valueread);
delay(10);
}

---------------------------------------------

//Arduino program to blink the LEDs

void setup() {

pinMode(LED, OUTPUT);
}


void loop() {
digitalWrite(LED, HIGH); // turn the LED on
delay(1000);
digitalWrite(LED, LOW); // turn the LED off
delay(1000);
}
---------------------------------------------

// Reading push button state. digital pin 5 has a pushbutton

int pushButton = 5;


void setup() {
Serial.begin(9600);
// make the pushbutton's pin an input:
pinMode(pushButton, INPUT);
}

void loop() {
// read the input pin:
int buttonState = digitalRead(pushButton);
// print out the state of the button:
Serial.println(buttonState);
delay(1);
}
--------------------------------------------------
//Read pushbutton to glow led


const int buttonPin = 2; // the number of the pushbutton pin
const int ledPin = 13; // the number of the LED pin

int buttonState = 0; // variable for reading the pushbutton status

void setup() {

pinMode(ledPin, OUTPUT);
pinMode(buttonPin, INPUT);
}

void loop() {
// read the state of the pushbutton value:
buttonState = digitalRead(buttonPin);

// check if the pushbutton is pressed.
// if it is, the buttonState is HIGH:
if (buttonState == HIGH) {
// turn LED on:
digitalWrite(ledPin, HIGH);
} else {
// turn LED off:
digitalWrite(ledPin, LOW);
}
}

Download Arduino software

Download Arduino libraries

Download Arduino Sample programs

Other Useful Sites Electronics/Physics/Microcontrollers : ABC OF ELECTRONICS      123CIRCUITS    ELECTRONIC GADGETS

Use of 7805 IC - 12 VDC to 5 VDC converter

Electronic projects/kits : Microcontroller related projects (AVR/8051)



www.instructables.com/id/Arduino-Projects

www.electroschematics.com/arduino/

www.electronicshub.org/arduino-project-ideas

www.engineersgarage.com/microcontroller/arduino-projects

 




 

VISIT ONLINE STORE FOR SHOPPING

Email: vijayendra2@gmail.com

For more electronic kits visit: http://www.youtube.com/vijayendra2

 


 

LED CLOCKS  

 

 

STOPWATCHES