Python for MicroControllers

BabuSubashChandar

2016-11-30

MicroPython

damien-p-george.jpg

Why Python in MicroControllers?

It is not regular CPython

Concerns in running CPython on uCs

Features of MicroPython

Top Level Architecture uPy

upy-arch-top-level.png

Board support

Pyboard

pyboard.png

Pyboard (Contd.)

File Operations using uPy

micropython
Micro Python  on 2015-12-25
Type "help()" for more information.
>>> fd = open('a.txt', 'w')
>>> fd.write('helloworld')
10
>>> fd.close()
>>> fd = open('a.txt', 'r')
>>> fd.read()
'helloworld'
>>>

NuttX

gregory-nutt.jpg

NuttX (Contd.)

NuttX Architecture

nuttx-architecture.png

Zkit-ARM-1769

zkit-arm-1769.png

NuttShell on Zkit-ARM-1769

uPy over NuttShell

upy-nuttx.png

How it is done?

NuttShell with Python

nuttshell.png

Demo

Questions

References

/

#