MicroPython version 1.12 released

Announcements and news related to MicroPython.
poesel
Posts: 14
Joined: Sun Oct 20, 2019 4:58 pm

Re: MicroPython version 1.12 released

Post by poesel » Sat Dec 28, 2019 4:48 pm

Thanks for your work!

User avatar
RWLTOK
Posts: 47
Joined: Thu Dec 14, 2017 7:24 pm

BLE, was Re: MicroPython version 1.12 released

Post by RWLTOK » Sat Jan 11, 2020 7:19 pm

Any forks out there that support other stand alone BLE devices? The Murata module on the PYBD won't run off a 3V Lithium battery according to the Murata datasheet for the module.

User avatar
jimmo
Posts: 1633
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: MicroPython version 1.12 released

Post by jimmo » Sat Jan 11, 2020 10:49 pm

The code should support any device that supports HCI over a UART (and I'm aware of people already doing this). You'll have to write a small amount of plumbing code (in C), although our goal is to maybe eventually make this possible in Python, i.e. something maybe like

Code: Select all

def setup_hci(uart, baud, ...):
  ...
  
ble = bluetooth.BLE(machine.UART(3), setup_hci)

User avatar
tve
Posts: 203
Joined: Wed Jan 01, 2020 10:12 pm
Location: Santa Barbara, CA
Contact:

Re: BLE, was Re: MicroPython version 1.12 released

Post by tve » Sun Jan 12, 2020 12:26 am

RWLTOK wrote:
Sat Jan 11, 2020 7:19 pm
The Murata module on the PYBD won't run off a 3V Lithium battery according to the Murata datasheet for the module.
Where do you get that from? It's exactly designed to run off LiPO with a Vbat range from 3.2V to 4.2V...

User avatar
Roberthh
Posts: 1963
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: MicroPython version 1.12 released

Post by Roberthh » Sun Jan 12, 2020 10:46 am

Actually there as a broad range of batteries, all with the word Lithium in the name. There are for instance non-rechargable 1.5 and 3V Lithium batteries, 3.6 V Li-SOCl2 batteries (expensive!) and Lithion-Ion accumulators with a nominal voltage of 3.6 or 3.7 V. The latter should work well with a PYBD.

User avatar
pythoncoder
Posts: 4173
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: MicroPython version 1.12 released

Post by pythoncoder » Sun Jan 12, 2020 11:22 am

The WBUS_DIP28 specifically provides for use with a rechargeable lithium ion cell and a Pyboard D on this adaptor works perfectly in this mode.
Peter Hinch

User avatar
RWLTOK
Posts: 47
Joined: Thu Dec 14, 2017 7:24 pm

Re: MicroPython version 1.12 released

Post by RWLTOK » Sun Jan 12, 2020 7:04 pm

BTW, great work on V1.12!

I did not specify in my post that I was referring to 3V Primary batteries like CR123 type.

Rich

alfred0809
Posts: 1
Joined: Mon May 04, 2020 5:39 am

Re: MicroPython version 1.12 released

Post by alfred0809 » Tue May 12, 2020 11:34 am

What is the best language and development way of working for esp32 or esp8266? I really don’t like how you program in arduino/C. I’ve started to program in micro python but it seems like it will be dead soon. Did anyone try to use rust for those devices ?

User avatar
Roberthh
Posts: 1963
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: MicroPython version 1.12 released

Post by Roberthh » Tue May 12, 2020 11:41 am

You can use any language you like and can master. MicroPython is very vivid and Python in general is known for it's low entrance barrier. If you know of a Rust port for ESP32/ESP8266, please tell so. Even if this is a MicroPython forum, people here are always interested in these topics and are open minded.

User avatar
dhylands
Posts: 3360
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: MicroPython version 1.12 released

Post by dhylands » Tue May 12, 2020 1:34 pm

Roberthh wrote:
Tue May 12, 2020 11:41 am
If you know of a Rust port for ESP32/ESP8266, please tell so.
You might want to check https://github.com/MabezDev/xtensa-rust-quickstart

Post Reply