From “hello world” to sending min/max heartbeat data, Rob Faludi compiled fifteen great examples for XBee powered by MicroPython.
Simple programs can make a big difference! An XBee running small amounts of code can perform some pretty important tasks. Cryptic readings can be transformed into useful data, excess transmissions can be intelligently filtered out, modern sensors and actuators can be employed directly, operational logic can glue inputs and outputs together in an intelligent way.
Here are some useful MicroPython examples that should run within 12KB of RAM, useful even in a small sandboxed implementation. Required parts and a method for simulating limited RAM are noted below.
Featured Adafruit Products!
MicroPython pyboard – v1.1: The pyboard is a compact and powerful electronics development board that runs MicroPython. It connects to your PC over USB, giving you a USB flash drive to save your Python scripts, and a serial Python prompt (a REPL) for instant programming. Works with Windows, Mac and Linux. Read more.
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — HOW ANKER IS BEATING APPLE AND SAMSUNG AT THEIR OWN ACCESSORY GAME
Wearables — Spooky liquids
Electronics — The deets on Electret Microphones
Biohacking — Mind-Controlled Spermatozoa
No comments yet.
Sorry, the comment form is closed at this time.