0

CircuitPython versus Arduino
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

CircuitPython versus Arduino

by DickBurke2014 on Mon May 17, 2021 6:47 pm

I just purchased a Feather M0 AdaLogger. When I looked at the overview PDF it shows scripts written with the Arduino IDE. Is the Feather only programmable with Arduino? Can I program it using CircuitPython? I have used both in the past but right now I prefer CircuitPython. I made a data logger using a Raspberry Pi Pico but would like to try the Feather because of its smaller size and the LiPo battery on it.
I would be grateful for any help or suggestions in this matter, I plan on using this for an APDS9660 sensor to take a light reading every five minutes or so and write it to an SD card.
Again, thanks for any help! Dick burkhartzmeyer

DickBurke2014
 
Posts: 17
Joined: Sat Feb 21, 2015 7:29 pm

Re: CircuitPython versus Arduino

by adafruit_support_bill on Mon May 17, 2021 7:15 pm

The M0 Adalogger is not designed for CircuitPython. We have the Feather M0 Express which has extra memory needed to support CircuitPython - but no SD card. There is also the Feather M4 Express which has more memory for program and library storage and is a better choice for more complex programs.
https://www.adafruit.com/product/3857

Both of these work with the Adalogger Wing: https://www.adafruit.com/product/2922

adafruit_support_bill
 
Posts: 81321
Joined: Sat Feb 07, 2009 10:11 am

Re: CircuitPython versus Arduino

by jerryn on Mon May 17, 2021 8:13 pm

Just FYI -- There is a build of CircuitPython for the M0 Adalogger https://circuitpython.org/board/feather_m0_adalogger/
It will be very limited in what is supported. It is essentially an M0 Basic withe the D8 pin exposed for the SD Card ChipSelect.
The CIRCUITPY File system will be very small (~47Kbytes) and RAM will be very limited. Also not all of the CircuitPython modules will be available.

It may be able to accommodate the readings from the ADPS9960 and log to the SDCard.

Your mileage may vary ;-)

edited to add: the Adalogger will not have the UF2 Bootloader -- you will need to follow this guide to load Ciruitpython
https://learn.adafruit.com/welcome-to-circuitpython/non-uf2-installation

jerryn
 
Posts: 1469
Joined: Sat Sep 14, 2013 9:05 am

Re: CircuitPython versus Arduino

by DickBurke2014 on Mon May 17, 2021 9:08 pm

Thank you for that information, I'll figure something out. Dick

DickBurke2014
 
Posts: 17
Joined: Sat Feb 21, 2015 7:29 pm

Please be positive and constructive with your questions and comments.