1. Home
  2. Symmetry Blog
  3. Digi XBee Cellular Supports MicroPython Programmability

Digi XBee Cellular Supports MicroPython Programmability

Symmetry Electronics in Blogs on May 28, 2017

About Symmetry Electronics

Established in 1998, Symmetry Electronics, a Division of Braemac, is a global distributor of electronic components and systems. Combining premier components and comprehensive value-added services with an expert in-house engineering team, Symmetry supports engineers in the design, development, and deployment of a broad range of connected technologies. 

Exponential Technology Group Member

Acquired by Berkshire Hathaway company TTI, Inc. in 2017, Symmetry Electronics is a proud Exponential Technology Group (XTG) member. A collection of specialty semiconductor distributors and engineering design firms, XTG stands alongside industry leaders TTI Inc., Mouser Electronics, and Sager Electronics. Together, we provide a united global supply chain solution with the shared mission of simplifying engineering, offering affordable technologies, and assisting engineers in accelerating time to market. For more information about XTG, visit www.xponentialgroup.com.

Introduction to MicroPython

MicroPython is an open-source programming language based on Python 3, and has been optimized to fit on small devices with limited hardware resources, such as micro-controllers. It includes an interactive REPL (or read-evaluate-print-loop), which allows programmers to connect to an embedded board and execute code without the need for compiling or uploading, ideal for quick experimentation of code blocks and prototyping. It also includes extensive built-in software libraries, making simple programming tasks like network socket connections or I/O pin management quick and easy.


MicroPython on Digi XBee Cellular

Digi XBee Cellular now has MicroPython! With 24KB of RAM and 8KB of Flash available in this MicroPython ‘sandbox’, OEMs now have the power and flexibility to develop and integrate their own unique features. In some simple sensing/actuating use-cases, it can eliminate the need for an external micro-controller, saving PCB space and simplifying the hardware design. MicroPython is great for reading and/or controlling XBee I/O lines (13 Digital I/Os, 4 Analog 10-bit inputs). It could also be used to reduce cellular data consumption by adding local intelligence that dictates what data should and should not be sent over the air, leading to lower monthly data rate cost.


MicroPython Terminal in XCTU

Included in the latest XCTU release (v6.3.8) is a new MicroPython terminal, a tool that allows the user to interact with MicroPython on the Digi XBee Cellular modem. Through the serial interface in the terminal, users can interact with the REPL to test, load, and run MicroPython code. Of course, those users that prefer to use their own terminal program like Tera Term or Putty can continue to do so. But with the new terminal included in XCTU, users have the convenient option to discover, configure AND program their Digi XBee Cellular modem through this single interface.


 

Simple MicroPython Example for XBee Cellular:




Where can I learn more about MicroPython?

Check out the following resources to learn more about MicroPython and how to use it with the Digi XBee Cellular:


Contact Symmetry Electronics at 866-506-8829, email us or start a live chat and we'll be glad to help you with your projects!


Share

Symmetry Electronics in Blogs on May 28, 2017

About Symmetry Electronics

Established in 1998, Symmetry Electronics, a Division of Braemac, is a global distributor of electronic components and systems. Combining premier components and comprehensive value-added services with an expert in-house engineering team, Symmetry supports engineers in the design, development, and deployment of a broad range of connected technologies. 

Exponential Technology Group Member

Acquired by Berkshire Hathaway company TTI, Inc. in 2017, Symmetry Electronics is a proud Exponential Technology Group (XTG) member. A collection of specialty semiconductor distributors and engineering design firms, XTG stands alongside industry leaders TTI Inc., Mouser Electronics, and Sager Electronics. Together, we provide a united global supply chain solution with the shared mission of simplifying engineering, offering affordable technologies, and assisting engineers in accelerating time to market. For more information about XTG, visit www.xponentialgroup.com.

Subscribe

Stay up to date with industry and supplier news!

Browse

See all tags