We've launched an exciting new project of our own! Introducing the Kickstarter app for iPhone!

Funded! This project successfully raised its funding goal on October 6, 2012.

Python with Raspberry Pi & Arduino

Update #1 · Sep 15, 2012 · 6 comments

Remote Monitoring

Here is an interesting example of what you can do with the RadioBlock. We've mentioned before the Arduino library, so you can easily send data from an Arduino to another device.

That other device can be something like a Raspberry Pi. The RadioBlock will plug directly into the Raspberry Pi, and since it runs Python you can easily communicate with the RadioBlock. Combine that with Twilio (and twilio-python) to have your Raspberry Pi send (or receive) SMS messages. Now you have an ability to monitor or control many devices on your network from both network & your mobile phone.

And notice that the RadioBlock here is working with both a 5V (Arduino) & 3.3V (Raspberry Pi) device. Life is easy.

Here is the source Python on the Raspberry Pi: http://pastebin.com/cr4uWX0n , and the source Arduino code: http://pastebin.com/nxDETyES

Looking for Experts

On another note: we are looking for people to contribute to both our Arduino library & the Python library. If you have extensive experience in either of those please contact us - we'd like to sponsor someone with a few boards to help jump-start the development. Be sure to include some links or examples of other work you've done.

  • Video-161608-h264_high

Comments

    1. Missing_small

      Creator Axel Wachtler on September 16, 2012

      Chris, the paper looks interesting. On Erics nodes runs a very simple stack, that is much more generic and much simpler than even 15.4 (and it can route, 15.4 has just star topologie). There is in fact no coordinator as far as I understand. The idea is, that the user "knows" the devices that he has installed. In so far all the knowledge of installed nodes could be stored in a table on the r-pi. The r-pi then collects the temperatures, voltages, whatever if it receives updates from the node (because the node usually is sleeping and awakes from time to time and issues the measured sensor data to the r-pi-node) -
      r-pi acts as one agent (client), answering the queries from the managers (server) with the cached
      data from the sensors.

    2. Missing_small

      Creator Chris LaMothe on September 16, 2012

      I agree with both of your. I probably should elaborate on my comment. SNMP has quite a few tools already built for it. 802.15.4 being a non-IP network would need a way to translate in such a way that you could use those tools.. I don't believe it makes sense to push IP over the 802.15.4 network. Instead having a point where ethernet does exist and creating the Mib there. Ideally the raspberry pi could take the place of the MCU in this example.. http://csfnau.kiev.ua/kipz/ua/ROMANIA/papers/049%20-%20053%20-%20Vancea.pdf

    3. Missing_small

      Creator Axel Wachtler on September 16, 2012

      > switch to SNMP should be easy going
      not as easy as I thought on the first look - the API seems a bit of a moving target, could not bring the examples to run on the fly ... investigating ... :-)

    4. Missing_small

      Creator Axel Wachtler on September 15, 2012

      @Chris - to switch to SNMP should be easy going, all you need to do is using pysnmp instead of twilio.
      I just browsed over the sources at http://pysnmp.sourceforge.net/ it seems to be pure Python code that should be directly runable on the r-pi.

    5. Eric.small

      Creator Eric Gnoske on September 15, 2012

      I am not a network engineer so I'll defer to you Chris!

      The reason we invented RadioBlocks and SimpleMesh is because we found ZigBee to be a great big marketing hype campaign along with a great big stack along with a great big cost to deploy - It isn't public so you need to pay to use the ZigBee moniker - If you can ever get that thing to market.

      Back in the old days we did write a 6LowPan layer and connect using UDPv6 to get a node on the IPv6 network. We are witholding our judgement on running IP on top of tiny microcontroller. That said, in the configuration in the video the IP networking stack is running on the Raspberry device where there is a lot of support for things like SNMP - Seems like a good idea to me (but see my disclaimer in the first sentence)...

    6. Missing_small

      Creator Chris LaMothe on September 15, 2012

      I like what you are doing with the event detection. I am right now trying to adapt a Zigbee mesh network to a Raspberry pi in order to log temperature sensors. I'd also like to meaure various power usage points with non-contact current sensors. I am a network engineer and wonder if using SNMP might be beneficial.

340
Backers
$33,618
pledged of $18,000 goal
0
seconds to go

Funding period
Sep 6, 2012 - Oct 6, 2012 (30 days)

  • Pledge $10 or more

    2 backers All gone!

    EARLY ADOPTER SPECIAL - One mains powered RadioBlock Board - You'll need an embedded system to plug into or our own USB-Serial converter, Arduino or maybe even a Digispark (another kickstarter project). Free shipping to anywhere in the continental US.

    Estimated delivery: Dec 2012
  • Pledge $22 or more

    6 backers

    Add another node to your SimpleMesh system! One mains powered RadioBlock Board - You'll need an embedded system to plug into - our own USB-Serial converter, Arduino or maybe even a Digispark (another kickstarter project). Free shipping to anywhere in the continental US.

    Estimated delivery: Dec 2012
  • Pledge $22 or more

    5 backers

    Add another node to your SimpleMesh system! One battery powered RadioBlock Board. You'll need an embedded system to plug into - our own USB-Serial converter, Arduino or maybe even a Digispark (another kickstarter project). Free shipping to anywhere in the continental US.

    Estimated delivery: Dec 2012
  • Pledge $44 or more

    84 backers

    Two RadioBlock Boards - Includes one mains powered and one battery powered board. You'll need an embedded system to plug into - our own USB-Serial converter, Arduino or maybe even a Digispark (another kickstarter project). Free shipping to anywhere in the continental US.

    Estimated delivery: Dec 2012
  • Pledge $59 or more

    29 backers

    Two RadioBlock Boards - Includes one mains powered and one battery powered board AND our own micro USB-Serial converter, of course you can still plug into an Arduino or maybe even a Digispark (another kickstarter project). Free shipping to anywhere in the continental US.

    Estimated delivery: Dec 2012
  • Pledge $69 or more

    14 backers

    Two RadioBlock Boards - Includes one mains powered and one battery powered board AND our own micro USB-Serial converter AND an ISP cable, of course you can still plug into an Arduino or maybe even a Digispark (another kickstarter project). Free shipping to anywhere in the continental US.

    Estimated delivery: Dec 2012
  • Pledge $69 or more

    14 backers

    Two RadioBlock Boards - Includes one mains powered and one battery powered board AND our own micro USB-Serial converter AND a JTAG cable, of course you can still plug into an Arduino or maybe even a Digispark (another kickstarter project). Free shipping to anywhere in the continental US.

    Estimated delivery: Dec 2012
  • Pledge $105 or more

    34 backers

    Five pack RadioBlock Kit. Includes 2 mains powered and 3 battery powered RadioBlocks. Free shipping to anywhere in the continental US.

    Estimated delivery: Dec 2012
  • Pledge $120 or more

    30 backers

    Five pack RadioBlock Kit AND our own micro USB-Serial converter. Includes 2 mains powered and 3 battery powered RadioBlocks. Free shipping to anywhere in the continental US.

    Estimated delivery: Dec 2012
  • Pledge $130 or more

    38 backers

    Five pack RadioBlock Kit AND our own micro USB-Serial converter. Includes 2 mains powered and 3 battery powered RadioBlocks AND an ISP cable, of course you can still plug into an Arduino or maybe even a Digispark (another kickstarter project).Free shipping to anywhere in the continental US.

    Estimated delivery: Dec 2012
  • Pledge $130 or more

    30 backers

    Five pack RadioBlock Kit AND our own micro USB-Serial converter. Includes 2 mains powered and 3 battery powered RadioBlocks AND a JTAG cable, of course you can still plug into an Arduino or maybe even a Digispark (another kickstarter project).Free shipping to anywhere in the continental US.

    Estimated delivery: Dec 2012
  • Pledge $200 or more

    3 backers

    Ten pack RadioBlock Kit. Includes 4 mains powered and 6 battery powered RadioBlocks. Free shipping to anywhere in the continental US.

    Estimated delivery: Dec 2012
  • Pledge $215 or more

    3 backers

    Ten pack RadioBlock Kit AND our own micro USB-Serial converter. Includes 4 mains powered and 6 battery powered RadioBlocks. Free shipping to anywhere in the continental US.

    Estimated delivery: Dec 2012
  • Pledge $225 or more

    7 backers

    Ten pack RadioBlock Kit AND our own micro USB-Serial converter. Includes 4 mains powered and 6 battery powered RadioBlocks AND an ISP cable, of course you can still plug into an Arduino or maybe even a Digispark (another kickstarter project).Free shipping to anywhere in the continental US.

    Estimated delivery: Dec 2012
  • Pledge $225 or more

    26 backers

    Ten pack RadioBlock Kit AND our own micro USB-Serial converter. Includes 4 mains powered and 6 battery powered RadioBlocks AND a JTAG cable, of course you can still plug into an Arduino or maybe even a Digispark (another kickstarter project).Free shipping to anywhere in the continental US.

    Estimated delivery: Dec 2012