Johnny-Five Basic Examples with Arduino Uno
Install: Prepare Uno as Client
Download and install the Arduino IDE (free; Mac, Windows, Linux).
Clone this repository.
- Open Arduino IDE
- Connect the Uno with USB
- In the
File -> Examplesmenu, find the
Firmatasubmenu and select
- Upload the
StandardFirmatasketch to the Arduino
Johnny-Five and Example Dependencies
cd <directory with this repo> npm install
RGB display of website colors is based on the following schematic:
Note: I've removed the dependency this script has on
package.json because of dependency issues caused by the great npm debacle of March, 2016. See more detailed note in source script.
A bonus basic RGB LED script can be found in examples/03-rgb-dance.js.
The following schematic is for:
The proximity example uses a
GP2Y0A41SK0F infrared proximity sensor.
To run the compass-north alarm example, you'll need the following setup:
The example uses the Sparkfun
HMC5883L triple-access breakout.