arduino nodebots (hackster cascadiajs workshop)

Post on 14-Aug-2015

59 Views

Category:

Technology

4 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Nodebots with Arduino

Hackster.ioMonica Houston

monica@hackster.io

The ABC’s

Arduino

Arduino IDE

Arduino Programming Language

Breadboard

Components

Digital I/Oint ledPin = 13; // LED connected to digital pin 13

void setup(){ pinMode(ledPin, OUTPUT); // sets the digital pin as output}

void loop(){ digitalWrite(ledPin, HIGH); // sets the LED on delay(1000); // waits for a second digitalWrite(ledPin, LOW); // sets the LED off delay(1000); // waits for a second}

Zero

32-bit ARM core 48MHz clock

12 Channel DMA controller (relieves CPU from memory intensive tasks)

32 bit Real time Counter (RTC) with clock/calendar function32 bit CRC generator (eh?)

Two-channel Inter IC Sound (12S) interfacePeripheral Touch Controller (PTC)

Firmata

http://firmata.org/wiki/Main_Page

• Tons of APIs written for Node.js• Handles requests from devices like

Sensors, beacons, and wearables• Over 80,000 modules (including

Johnny-Five, Node-Red and Cylon.js)

JohnnyFive

Nodebots

http://nodebots.io/

Gallery of Awesome

http://nodebots.io/projects.html

Let’s Get Started!*

*note: we do not guarantee your success. Hardware is difficult and

quirky, and things ALWAYS go wrong.

https://www.hackster.io/monica/control-an-arduino-zero-using-node-js

top related