# MicroPython

**URL:** <https://community.openenergymonitor.org/t/micropython/15155>\
**Category:** Hardware\
**Tags:** python\
**Created:** [21 August 2020 11:49 UTC](https://community.openenergymonitor.org/t/micropython/15155 "2020-08-21T11:49:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [21 August 2020 11:49 UTC](https://community.openenergymonitor.org/t/micropython/15155/1 "2020-08-21T11:49:50Z")

</div>

Interesting:

“MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments.”

> **[MicroPython - Python for microcontrollers](https://micropython.org)**
>
> MicroPython is a lean and efficient
> implementation of the Python 3 programming language
> that includes a small subset of the Python standard library and is
> optimised to run on microcontrollers and in constrained environments.

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [21 August 2020 13:40 UTC](https://community.openenergymonitor.org/t/micropython/15155/2 "2020-08-21T13:40:02Z")

</div>

Been around for many years.

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [21 August 2020 13:43 UTC](https://community.openenergymonitor.org/t/micropython/15155/3 "2020-08-21T13:43:46Z")

</div>

Delete the thread then, if you feel it’s inappropriate.

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [21 August 2020 13:44 UTC](https://community.openenergymonitor.org/t/micropython/15155/4 "2020-08-21T13:44:26Z")

</div>

No, just saying it isn’t new. What application were you thinking it could be for?

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [21 August 2020 16:47 UTC](https://community.openenergymonitor.org/t/micropython/15155/5 "2020-08-21T16:47:27Z")

</div>

> [@borpin](#):
>
> No, just saying it isn’t new.

I didn’t say it was.

> [@borpin](#):
>
> What application were you thinking it could be for?

I didn’t have anything in mind, but I thought - obviously you didn’t - that somebody who might prefer coding in Python would like a STM32 development board with ADCs & DACs on it, _and they might not have come across it._

---

<div class="post-metadata">

**Author:** ![danbates](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/d/ecc23a/32.png) [@danbates](https://community.openenergymonitor.org/u/danbates)\
**Post date:** [22 August 2020 23:02 UTC](https://community.openenergymonitor.org/t/micropython/15155/6 "2020-08-22T23:02:46Z")

</div>

I think the trick is to always reply to a thread with the least constructive comment one can think of !

p.s. I find micropython v. interesting. it’s developed by Adafruit, I personally really like their work, apparently they’ve poured a lot of money into developing it and I think it shows. However, despite their claim of it’s efficiency, it’s actually not so speedy compared to machine code like c/c++. So heavy duty ADC use and maths like we’re doing with emonstm32 would be out of the question at present. An advantage of upython not often mentioned, I’ve been told, apart from easy learning and it’s networking libraries, is updatability, with easier rollback in case of a breaking change.

emonstm32 needs a development guide. Unfortunately there’s not much we can do in regards to the programming language… someone has to learn the basics of C at least. An emonstm32 development guide would have to introduce someone to the structure of the libraries and much more.

General purpose stm32 development and upython seem to be very much hand in hand. I wonder if there’s anyone out there with experience deploying larger-scale using this.

---

<div class="post-metadata">

**Author:** ![djh](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/d/e36b37/32.png) [@djh](https://community.openenergymonitor.org/u/djh)\
**Post date:** [25 August 2020 17:38 UTC](https://community.openenergymonitor.org/t/micropython/15155/7 "2020-08-25T17:38:20Z")

</div>

I had to get to the end of this thread before I realized that it’s tagged Hardware and isn’t actually about micropython at all but rather about the pyboard.

To which I add, any flavour of Raspberry pi will run Python 3 quite happily, so it’s quite a restricted market I would have thought.
