Page 2 of 2

Re: MicroPython version 1.12 released

Posted: Sat Dec 28, 2019 4:48 pm
by poesel
Thanks for your work!

BLE, was Re: MicroPython version 1.12 released

Posted: Sat Jan 11, 2020 7:19 pm
by RWLTOK
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.

Re: MicroPython version 1.12 released

Posted: Sat Jan 11, 2020 10:49 pm
by jimmo
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)

Re: BLE, was Re: MicroPython version 1.12 released

Posted: Sun Jan 12, 2020 12:26 am
by tve
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...

Re: MicroPython version 1.12 released

Posted: Sun Jan 12, 2020 10:46 am
by Roberthh
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.

Re: MicroPython version 1.12 released

Posted: Sun Jan 12, 2020 11:22 am
by pythoncoder
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.

Re: MicroPython version 1.12 released

Posted: Sun Jan 12, 2020 7:04 pm
by RWLTOK
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

Re: MicroPython version 1.12 released

Posted: Tue May 12, 2020 11:34 am
by alfred0809
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 ?

Re: MicroPython version 1.12 released

Posted: Tue May 12, 2020 11:41 am
by Roberthh
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.

Re: MicroPython version 1.12 released

Posted: Tue May 12, 2020 1:34 pm
by dhylands
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