OK, I’ve been taking time off the past few months, but now I’m back writing again. Maybe I’ll get that next book finished! Meanwhile I am disheartened by the lack of review on the two Far Inside books. They won’t make the New York Times Best Sellers list, but they are selling more recently and …
An error was discovered by a discerning reader and experimenter in the sieve.pal example program shown in the book and provided in the download. There were two missing CLA instructions. The errors have been fixed in the download, so if you wish to try out the example program please download it again from the website. …
I haven’t been writing as much as I should (if I want to finish up the next book!). But in these interesting times it’s not easy to concentrate. However I did do some tidying up. My desk/worktable has been all strewn with parts since I started writing the Arduino books. Some of them are nicely …
In Far Inside The Arduino: Nano Every Supplement I made a late improvement to “A Better Timer Setup” that was not reflected back to the text description. The statement (page 69 of the printed book): This means with a 16MHz clock and the /8 prescaler we need 2000 counts per interrupt. With a 20MHz clock …
This book will be a catch-all for a number of topics on my mind. The family of Arduino boards. As basically revealed in previous posts, I want to address all of the AVR-based boards that are general purpose. Example programs will work on all boards (328P, 2560, 4809, or 32U4 based) even though programmed at …
Before considering the code, we need to consider what we are trying to accomplish. Commands for the TM1638 consist of a command byte followed by zero or more data bytes. Sometimes the microcontroller sends the data, other times it receives data, and in either case there is a single data wire used (MOSI and MISO …
For my next book I wanted an example program that had the need for lots of 7-segment display digits, buttons, and LEDs. I found what I wanted, at a low cost, in one of these: This has 8 7-segment (plus decimal point) digits, 8 LEDs, and 8 push buttons, and used a three-wire SPI interface. …
For those people unfamiliar with Pins.h, presumable those people who haven’t purchased Far Inside The Arduino or Far Inside The Arduino: Nano Every Supplement, this file describes a structure over the GPIO pin interface that is much more efficient than using pinMode, digitalRead, and digitalWrite. For instance, we can execute ddr.digital_2 = 1 to change …
This post was intended to compare the different general purpose Arduino boards. However I’ve been slowed down by the week of fires and hazardous air here in Oregon. I haven’t completed my investigation of the ATmega32U4 yet, and, in fact, my sample Arduino Micro, which uses this microcontroller, was delayed over a week in arrival. …
Basically, “General Purpose” means those consisting of little more than the microcontroller, USB interface, and voltage regulator. In my last post I mentioned the Uno as the base-line board, with the historical lineage from the original Arduino board. But today you can get many different boards differing in size and microcontroller. In my next book …