Installing circuitpython on pyboard-d

The official PYBD running MicroPython, and its accessories.
Target audience: Users with a PYBD
Post Reply
wdtatenh
Posts: 1
Joined: Thu Feb 04, 2021 1:46 pm

Installing circuitpython on pyboard-d

Post by wdtatenh » Thu Feb 04, 2021 1:55 pm

Good day,
I've got a pair of ISM330DHC sensors from adafruit that I would really like to use with my pyboard - d. I'm trying to find any right up that goes into installing circuitpython on the pyboard -d . I've downloaded the .bin file but finding out how to get that on the pyboard has been an exercise in frustration.

I don't mind digging into the details, it's just not clear where I would find the details I require. Any assistance or suggestions would be greatly appreciated.
thanks in advance

scruss
Posts: 38
Joined: Sat Aug 12, 2017 2:27 pm

Re: Installing circuitpython on pyboard-d

Post by scruss » Thu Feb 04, 2021 6:23 pm

do they have a CircuitPython firmware for the Pyboard-D? I didn't see one that would work.
Probably best to ask on the Adafruit CircuitPython and MicroPython forum

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

Re: Installing circuitpython on pyboard-d

Post by Roberthh » Thu Feb 04, 2021 8:03 pm

It should be not that hard to port the driver for PyBoard D. Typically it's only the communication part which needs to be changed.

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

Re: Installing circuitpython on pyboard-d

Post by jimmo » Fri Feb 05, 2021 12:20 am

wdtatenh wrote:
Thu Feb 04, 2021 1:55 pm
I've downloaded the .bin file
Which bin file is that? I don't think CircuitPython provides firmware for the pyboard-d (only the pyboard 1.1).

The general process is that you'll need to find a similar STM32F7-based board that CircuitPython does support and then update it to match the pyboard-d specifics.

Supporting WiFi is going to be much harder though as you'll need to adapt the driver from MicroPython.

kevinkk525
Posts: 875
Joined: Sat Feb 03, 2018 7:02 pm

Re: Installing circuitpython on pyboard-d

Post by kevinkk525 » Fri Feb 05, 2021 6:00 am

It might be easier to just port your device driver to micropython.
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode

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

Re: Installing circuitpython on pyboard-d

Post by pythoncoder » Fri Feb 05, 2021 9:33 am

That would definitely be my approach. Or use one of the many IMU's which already have MicroPython drivers.
Peter Hinch

Post Reply