User:Tankzter/getting started with programming arduino: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
= | <font size="50">Starting with Arduino programming</font> | ||
Here is my start on arduino programming, I made this with a help of one of my best friends, and then remade it on my own. | Here is my start on arduino programming, I made this with a help of one of my best friends, and then remade it on my own. | ||
Tip: if you are doing this first time, then pick an easier project that you can find in the arduino software library. or if using Sparkfun set like I did, go through the basic project provided by it. | Tip: if you are doing this first time, then pick an easier project that you can find in the arduino software library. or if using Sparkfun set like I did, go through the basic project provided by it. | ||
== The Wiring & board == | == <font size="50">The Wiring & board</font> == | ||
The wiring is quite simple once you understand the connection layout on the breadboard and the pins on the arduino board | |||
== The light detector and emitter! == | [[File:20161111_140349.jpg|1500px|center|link=]] | ||
This program uses a photo resistor to control the led lights, the photo resistor detects the light and resists accordingly | == <font size="50">The light detector and emitter!</font> == | ||
then I have four Leds for the resisting output of the | This program uses a photo resistor (also known as light resistor) to control the led lights, the photo resistor detects the light and resists accordingly and then I have four Leds for the resisting output of the photo resistor | ||
[[File:20161111_144734.jpg|1500px|center|link=|border]] | |||
== <font size="50">The function</font> == | |||
[[File: | here you can see how it works. when I put my finger closer it blocks more light to the light detector | ||
[[File:20161111_140428-ANIMATION.gif|1500px|center|link=]] | |||
[[File:20161111_140428-ANIMATION.gif]] | == <font size="50">The code</font> == | ||
[[File:2016-11-11.png]] | I used the Arduino program and here you can see the code. you can see the life feedback of the light resistor in the smaller window, the data goes from 0 to 5, (0 being total brightness and 5 darkness) | ||
[[File:2016-11-11.png|1500px|center|link=]] |
Latest revision as of 17:22, 18 November 2016
Starting with Arduino programming
Here is my start on arduino programming, I made this with a help of one of my best friends, and then remade it on my own.
Tip: if you are doing this first time, then pick an easier project that you can find in the arduino software library. or if using Sparkfun set like I did, go through the basic project provided by it.
The Wiring & board
The wiring is quite simple once you understand the connection layout on the breadboard and the pins on the arduino board

The light detector and emitter!
This program uses a photo resistor (also known as light resistor) to control the led lights, the photo resistor detects the light and resists accordingly and then I have four Leds for the resisting output of the photo resistor

The function
here you can see how it works. when I put my finger closer it blocks more light to the light detector

The code
I used the Arduino program and here you can see the code. you can see the life feedback of the light resistor in the smaller window, the data goes from 0 to 5, (0 being total brightness and 5 darkness)
