getting started with pinoccio

13
VOTSH Getting Started with Pinoccio A Developer’s Journal [email protected] April 15, 2014

Upload: fcohenvotsh

Post on 28-Jun-2015

425 views

Category:

Technology


0 download

DESCRIPTION

Pinoccio is a brand new technology, and this slide deck is intended to help you get started. Hopefully you will be inspired by Pinoccio as I was and you will contribute to Pinoccio’s success.

TRANSCRIPT

Page 1: Getting Started with Pinoccio

VOTSHGetting Started with Pinoccio

A Developer’s Journal [email protected]

April 15, 2014

Page 2: Getting Started with Pinoccio

VOTSH

http://Pinocc.io• The Arduino Mesh Operating Environment

• First Software Developer Focused Prototyping System

• Open Source Software and Hardware

Page 3: Getting Started with Pinoccio

Pinoccio Architecturehq.pinnoc.io

Node.js servicesFun and Easy UI

Wifi BackpackSD Card

LeadScoutArduino

BootloaderScoutScript

Multicolor LEDAnalog and Digital Ports

USB for Charging and Flashing

Lightweight MeshAtmel IEEE 802.15.4

ScoutArduino

BootloaderScoutScript

Multicolor LEDAnalog and Digital Ports

USB for Charging and Flashing

Lightweight MeshAtmel IEEE 802.15.4

Wifi HotspotBase station or Smartphone

Internet

Page 4: Getting Started with Pinoccio

VOTSH

Hardware

Page 5: Getting Started with Pinoccio

VOTSH

Software• #include <SPI.h>

• #include <Wire.h>

• #include <Scout.h>

• #include <GS.h>

• #include <bitlash.h>

• #include <lwm.h>

• #include <js0n.h>

https://docs.pinocc.io/scoutcommands.html

https://docs.pinocc.io/api.html

https://pinocc.io/solo

Page 6: Getting Started with Pinoccio

VOTSH

Installation• Download Latest Arduino IDE, gcc 4.8.1, updated AVR

• Download Pinoccio Libraries

• Move hardware and libraries to Arduino IDE directories

• Tools menu: Board: Scout

• File, Sketchbook, libraries, pinoccio, peripherals, blinkRGB

Page 7: Getting Started with Pinoccio

VOTSH

My First Combined Sketch• Blink The LEDs

• Give Time For ScoutScript and LWM

• Scout.setup();

• Scout.loop();

Page 8: Getting Started with Pinoccio

VOTSH

Mesh and Debugging• LWM Messaging

• <scout 1>:  mesh.send(2, “any-value“)

• <scout 2>:  function  event.message { if (arg(1) == 1) { led.red } }

• RPC coming soon

• Bootstrap Sketch using Arduino IDE, Serial Monitor

Page 9: Getting Started with Pinoccio

VOTSH

My First Experiences• HQ Requires Good Connectivity, from the same Wifi network

• Use Arduino IDE Serial Monitor

• wifi.report();

• wifi.config("access point name", "access point password”)

• wifi.disassociate();

• See http://tinyurl.com/mpdqo95 to Associate Networks

• peep; Shows eeprom but not Pinoccio settings

Page 10: Getting Started with Pinoccio

HQ Remote Debugging

Page 11: Getting Started with Pinoccio

Bootstrap + Serial Monitor

Page 12: Getting Started with Pinoccio

Votsh Waves and Pinoccio• Waves is a table top wireless computing

platform that uses color, light, and animation to entertain and bring meaning to people's lives.

• Available Fall 2014

• www.votsh.com

Page 13: Getting Started with Pinoccio

VOTSH

Pinoccio http://pinocc.io