Difference between revisions of "Arduino"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
: - under Tools/Port --> select /dev...(Arduino Explora) | : - under Tools/Port --> select /dev...(Arduino Explora) | ||
− | ==== | + | ====[https://www.arduino.cc/en/Tutorial/EsploraBlink ExploraBlink]==== |
Under File/Examples/Explora/Beginners choose "ExploraBlink" | Under File/Examples/Explora/Beginners choose "ExploraBlink" | ||
Line 21: | Line 21: | ||
:3) Change the duration of the LED...2000 ms as opposed to 1000 ms... | :3) Change the duration of the LED...2000 ms as opposed to 1000 ms... | ||
− | ====ExploraMusic==== | + | ====[https://www.arduino.cc/en/Tutorial/EsploraMusic ExploraMusic]==== |
:0) Play with slider and button... | :0) Play with slider and button... | ||
:1) Comment out all of the code, then add: | :1) Comment out all of the code, then add: | ||
Line 27: | Line 27: | ||
::::delay(1000); | ::::delay(1000); | ||
:::Esplora.tone(440); | :::Esplora.tone(440); | ||
− | + | ::::delay(2000); | |
:2) Can you play a song? | :2) Can you play a song? |
Latest revision as of 23:44, 23 April 2019
This is a page describing some basics associated with Arduino software/hardware.
Software
Software can be downloaded from the following ink:
Explora Board (Hardware)
The Explora board is easy way to start coding with Arduinos. The Explora board has multiple devices (slider, LED, speaker, microphone, buttons) built-in and hence eliminates the need to deal with the initial complications associated with wiring up an Arduino. You will of course what to play around with wiring at a later time.
Upon launching the Arduino software you must tell the software which Arduino board you are using...
- - under Tools/Board -->select Arduino Explora
- - under Tools/Port --> select /dev...(Arduino Explora)
ExploraBlink
Under File/Examples/Explora/Beginners choose "ExploraBlink"
Modifications
- 0) Watch lights...
- 1) Change from 6 colors to only the 3 primary colors by "commenting out" the yellow, cyan, magenta entries...
- 2) Change the intensity of the red LED...255, 128, 64...
- 3) Change the duration of the LED...2000 ms as opposed to 1000 ms...
ExploraMusic
- 0) Play with slider and button...
- 1) Comment out all of the code, then add:
- Esplora.tone(340);
- delay(1000);
- Esplora.tone(440);
- delay(2000);
- Esplora.tone(340);
- 2) Can you play a song?