Difference between revisions of "Arduino"

From MC Chem Wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
====Blinking LED====
 
====Blinking LED====
 
Under File/Examples/Explora/Beginners choose "ExploraBlink"
 
Under File/Examples/Explora/Beginners choose "ExploraBlink"
 +
 +
Modifications
 +
: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...

Revision as of 22:40, 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)

Blinking LED

Under File/Examples/Explora/Beginners choose "ExploraBlink"

Modifications

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...