Spark core intro
-
Upload
david-fowler -
Category
Devices & Hardware
-
view
980 -
download
0
Transcript of Spark core intro
![Page 1: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/1.jpg)
Spark for IOTA $19 postage stamp-sized Wi-Fi module for IOT.
![Page 2: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/2.jpg)
About Me, David FowlerEMail: [email protected]+: http://goo.gl/LHHakFLinkedIn: http://goo.gl/jzA1hXTwitter: uCHobbyGitHub: uchobbyWebsite: http://www.uCHobby.comDayJob: Chief Engineer, Advanced Product Development, Raven Ind.
Applying technology in Agriculture. Entrepreneur Innovator. software, hardware, mobile, embedded and Web Engineering
I do not work for Spark or TechShop and I do not get paid for this… I am interested in consulting work or project collaboration.
![Page 3: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/3.jpg)
This Presentation ● Spark, what is it? ● How does it work? ● How much does it cost? ● How do they make money? ● How can I use it? ● What if I want to do my own thing? ● Types of development ● Demo - Web development...
![Page 4: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/4.jpg)
Spark? What is it?IOT Module (Photon)● 120MHz Arm Cortex M3 microcontroller
o 1MB Flash, 128KB RAMo 18 GPIO, 2 Serial, I2C, SPI, ADC(6),DAC(1),and CAN
● Wi-Fio Broadcom BCM43362, 802.11 b/g/n, soft AP
Current module is the Spark Core which cost more and has less horsepower. Spark is changing the WiFi module from TI to Broadcom and upgrading the CPU to lower price and fix some communications issues. ● Beginning of a movement in IOT for Makers (opinion)
![Page 5: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/5.jpg)
How does it work?● Web Based IDE● Over air firmware loading● Arduino Compatible● Built in Spark API/Web
o Module connects to Spark Serverso Your apps connect to Spark Server
Easy REST API● Modules publish variables and functions● Can send events
o Talk directly between modules.
![Page 6: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/6.jpg)
How much does it cost?$39 Spark Core
$19 Spark Photon (pre-order now) Replaces the Core.
$10 Spark PoFor production of your product
![Page 7: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/7.jpg)
How do they make money?● Selling you the hardware, modules
o Reasonable price for a module solution Provides FCC certifications
● A major benefit Provides the ready made Web API
● Providing Web APIo Reasonable price for low to medium volumeso They plan to be good option for less then 50K
volume
![Page 8: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/8.jpg)
How can I use it?● Home / Personal Projects
o Use the protono Embed the module in your gizmoo Write a web app or other to interface with the API
Python, C/C++, JAVA, .net, Javascript (web)● Libs to make it easy
● Production Productso Prototype with the Proton, produce with the Po
FCC certs <$10 at small Quantities.
![Page 9: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/9.jpg)
What if I want to do my own thing?● Totally Open Source
o Module Programmable via JTAG Firmware in GIT Hardware Design in GIT You can make your own modules
o Server Server code is based on Nodejs Open and in GIT.
![Page 10: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/10.jpg)
Model Railroad Awesomeness!
![Page 11: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/11.jpg)
Types of development● Firmware
o Web Based IDE with over the air loadingo Desktop IDEo C/C++ with Arduino libs and more. This is a full up
ARM with full C/C++ support● Software
o Web applications are easy using REST API Javascript and HTML
o Major language support with Libso Easy even without libs
![Page 12: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/12.jpg)
The Weak Points● Web IDE is too simple for Pro’s
o Poor code highlighting, syntax checking, etc..o Simple Text Editor, slightly better than Arduino IDE
● Spark Core Radio is problematico Should be fixed in Photon
● Software (not firmware) o Harder then Arduino code for new userso What is REST? Web what?
● Power consumption● Up to others to make this easier for Makers
o Opportunity knocks
![Page 13: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/13.jpg)
Demo of Web development● Firmware with web IDE● Over the air FLASHing● App running● Web dev in Adobe Brackets● UI demo in Chrome● Questions?● Code Walkthrough● My Gauges Idea
![Page 14: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/14.jpg)
Show and Tell
![Page 15: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/15.jpg)
Gauges Idea - Make it simpleCreate web app that makes monitoring and control easy for Makers.● No web coding required
o Built in functionality, just run from VisualIOT.com● All control done from Spark Firmware App● Nice looking Gauges and buttons● Works in any browser,
o smart phones o tabletso Mac, PC, Linux, etc...
![Page 16: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/16.jpg)
Gauges - View Config● Adds a string variable
o viewConfig 260 characters allowed
● Controls the web appo On connection, app checks for viewConfigo Configures gauges and button based on string
comma delimited specifies labels and ranges for gauges and
buttons
![Page 17: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/17.jpg)
Gauges - viewConfig Examplechar* viewConfig="0,Demo Gauge&""gau,Temp C,tempc,-10,110&""btn,LED ON,LED,ON&""btn,LED OFF,LED,OFF";
First line is version and title. Next are items to show. “gau” for gauges, “btn” for buttons.
![Page 18: Spark core intro](https://reader036.fdocuments.in/reader036/viewer/2022070520/58f9ab04760da3da068b7f29/html5/thumbnails/18.jpg)
Gauge ViewConfig “gau” example"gau,Temp F,tempf,-10,110"● Display a gauge● Label the gauge “Temp F”● Pull the “tempf” variable● Minimum value is -10● Maximum value is 110