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 and Nano
- ATmega2560 based like the Arduino Mega
- ATmega4809 based like the Arduino Nano Every
- ATmega32U4 based like the Arduino Leonardo and Micro
- A comparison of five different implementation styles for a single project, from the Arduino encouraged style with blocking functions and a single execution thread through state machines, interrupt driven design, and using an RTOS.
- SPI and I2C (TWI) drivers that utilize callback functions, don’t do unnecessary buffering, and are non-blocking.
- Improved serial interface drivers for both stream and packetized data transfers, including RS485 and a MODBUS-like interface.
- Interrupt driven one-wire interface.
- Radio communication with the NRF24 transceiver
37 example programs are provided for download from the author’s website, each suitable for most to all Arduino Uno, Nano, Mega, Leonardo, Micro, Nano Every, and the non-Arduino Pro Micro boards. Many of the examples require two Arduino boards, and having different types of boards is highly recommended!
In a way this has been my most ambitious book yet in that the example programs are the most complicated and I verified that they all work (with a couple of obvious exceptions) on any AVR based Arduino board.
The book, both printed and in Kindle ebook form, are available on Amazon. See your country’s Amazon website for cost and to order. Here is the link for the United States: Still Far Inside The Arduino.