With an abundance of RAM memory and the availability of floating point in the latest microcontrollers, there is little concern about minimizing memory for data storage and optimizing computation time. However, smaller microcontrollers have limited memory and no floating point, and it may become necessary to optimize the usage of memory. Accuracy and Precision Let’s …
The post discusses testing FreeRTOS on different microcontroller architectures: ATmega328P, ATmega4809, SAMD21, Renesas RA4M1, and ESP32-S3. It highlights architectural differences and challenges. Special attention is given to time slicing and the need for modifications in library codes for smooth operation across these models, emphasizing differences in scheduler functionality and usage.
Arduino has long used Atmel (now Microchip) 8-bit AVR architecture microcontrollers. The ATmega328P, ATmega32U4, and ATmega2560 have been discussed here. Arduino no longer is “in bed” with Microchip, but there are two other Microchip microcontrollers used in Arduino boards, the ATmega4809 and the SAMD21. Both of these are favorites of mine. ATmega4809 The ATmega4809 is …
One of the features of most microcontrollers is that they allow easy access to connected peripherals like sensors and actuators. This allows fast, accurate, and inexpensive operation. However some recent Arduino boards use microcontrollers that obfuscate the underlying hardware interfaces. A look into the Arduino Library for these parts show that they are calling vendor …
I thought it would be interesting to compare the speeds of various Arduino boards, from older designs to the newest microcontrollers. I looked at the following: Note that the Nano 33 IoT, the Nano RP2040, and the Uno R4 (WiFi version) all have an ESP32 as a coprocessor for the radio functionality. The Nano ESP32 …
Traditional Arduino boards, like the Uno R3 or Nano, are typically programmed using the Arduino Library functions. These conveniently present most of the microcontroller’s functionality to the hobbyist user. Books like my Far Inside The Arduino and the microcontroller’s documentation show how to access additional functionality not addressed by the Arduino Library. As more advanced …
Before I potentially dive in with writing a Far Inside SAMD21 book I decided to spend some time just looking at the architecture as well as what Arduino does with it. I did find that there is a lot of code overhead. So the potential savings of coding to “bare metal” is very much reduced. …
So I just finished the Still Far Inside The Arduino book and am starting to consider a new project. The Arduino Nano 33 IoT caught my eye. While still a bit more expensive than clone Uno or Nano boards, it is the second lowest cost genuine Arduino board, second only to the Arduino Nano Every. …
My latest book has now become available on Amazon. Still Far Inside The Arduino continues the theme of Far Inside The Arduino and the Nano Every Supplement by using programming techniques and drivers more advanced than what Arduino promotes. Topics include: Distinctions among the various general purpose Arduino boards: ATmega328P based like the Arduino Uno …
Finally I finished the first draft of my next book Son of Far Inside The Arduino* along with writing and testing about 35 example programs, almost all of which had to be tested on Arduino boards using the four different AVR microcontrollers the book covers. I think I spent more time on the example programs …