Skip to content

balena-io-experimental/edison-starter-kit-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple boiler plate for Intel Edison + Resin.io

This repo is a simple way to get started with the Grove - Starter Kit Plus and the Intel Edison.

It was spurred on by the great blog post by Gergely Imreh "A Window to irc with Edison and Resin", in which he details some issues he hit on his road to building his IRC chat display. I thought it would be useful for others to have some reference code for building things with the Intel Edison Starter kit and get some quick and dirty sensor examples running.

In this repo you will see the standard resin.io application layout with a Dockefile to prepare our runtime and then a folder called app which contains our python source code. In the app folder you will find a few examples which make use of the UPM library and allow you to interface with a couple of different Grove sensors.

To get some of these examples running on your Edison, first signup for an account at resin.io and run through the Getting Started with Intel Edison and Resin.io guide.

Once you have Edison running on resin.io and can happily push code to it, clone this repo and edit the docker-entrypoint.sh file so that it points to the python script you want to run on the device. Initially this script is just telling the container to start running rgb-lcd.py, but you can switch this to any of the demos in the app folder. Now just git push this code to your Edison. If you stayed with the rgb-lcd.py default example, you should see the LCD print Hello World, after the docker container has finished downloading and restarted.

About

Simple python examples with Edison and Grove Starter Kit Plus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published