My project requires 2.48k or so of sram, I am looking for a nano sized microcontroller. I tried an ESP3266 and am having compatibility issues with certain libraries. Are there any choices with slighly more SRAM in a small form factor, inexpensive controller that may be more compatible with libraries written for the arduino? The project currently runs n a MEGA but I need seven separate instances and I don't have the room, and what a waste of power, pins, and money! Two of the libraries needed are the SH1106 OLED and a rotary encoder library.
Thanks
Microcontroller selection
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- danhalbert
- Posts: 4688
- Joined: Tue Aug 08, 2017 12:37 pm
Re: Microcontroller selection
Our QT Py Trinket boards are small. If you need more pins look at the ItsyBitsy boards.
These days the cost of a SAMD21 board is about the same as an older ATTiny or 32u4 board, so while these may be overkill in terms of capacity for your needs, the pricing is just fine. So look at the "M0" boards, not just the boards with older chips.
https://www.adafruit.com/?q=qt+board&sort=BestMatch
https://www.adafruit.com/?q=itsy&sort=BestMatch
https://www.adafruit.com/?q=trinket&sort=BestMatch
These days the cost of a SAMD21 board is about the same as an older ATTiny or 32u4 board, so while these may be overkill in terms of capacity for your needs, the pricing is just fine. So look at the "M0" boards, not just the boards with older chips.
https://www.adafruit.com/?q=qt+board&sort=BestMatch
https://www.adafruit.com/?q=itsy&sort=BestMatch
https://www.adafruit.com/?q=trinket&sort=BestMatch
- leversole
- Posts: 8
- Joined: Fri Jul 02, 2021 12:23 pm
Re: Microcontroller selection
Thanks, I think any one of those will work! I think I will try the trinket M0...I assume it will work with the SH1106 OLED library and some rotary encoder library?
Thanks again for the recommendations!
Leslie
Thanks again for the recommendations!
Leslie
- danhalbert
- Posts: 4688
- Joined: Tue Aug 08, 2017 12:37 pm
Re: Microcontroller selection
It should, with the Arduino libraries. Buy one and try it :) .
The Qt Py is a little more modern and has a few more pins.
The Qt Py is a little more modern and has a few more pins.
Please be positive and constructive with your questions and comments.