Difference between revisions of "Arduino"

From MC Chem Wiki
Jump to navigation Jump to search
(Created page with "This is a page describing some basics associated with Arduino software/hardware. ===Software=== Software can be downloaded from the following ink: :https://www.arduino.cc/en/...")
 
 
(6 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Software can be downloaded from the following ink:
 
Software can be downloaded from the following ink:
 
:https://www.arduino.cc/en/Main/Software
 
:https://www.arduino.cc/en/Main/Software
 +
 +
===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)
 +
 +
====[https://www.arduino.cc/en/Tutorial/EsploraBlink 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...
 +
 +
====[https://www.arduino.cc/en/Tutorial/EsploraMusic 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);
 +
: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:

https://www.arduino.cc/en/Main/Software

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);
2) Can you play a song?