MicroPython version 1.12 released

Announcements and news related to MicroPython.
poesel
Posts: 7
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: 28
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: 1021
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia

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: 43
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: 1794
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: 3867
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: 28
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

Post Reply