• Far Inside The Arduino
  • Arduino Nano Every
  • PDP-8
  • All About This Site

Tom Almy's Blog

More Dynamic Than His Almy.us Website!

tom
https://almy.us

Far Inside The Arduino Meta

Where To From Here?

By tom on Thursday, August 27, 2020

First I’m making a few corrections to the Far Inside The Arduino book. If you have the first edition, don’t worry. There are two small errors, both mentioned in the errata on the web page for downloading the program examples. And for the printed version the page headers have been made more meaningful. The new …

Continue Reading
0
Arduino Nano Every Far Inside The Arduino

Nano Every Book Now Available

By tom on Monday, August 24, 2020

My new book, Far Inside The Arduino: Nano Every Supplement is now available on Amazon. https://www.amazon.com/gp/product/B08GFL6VBF. It’s $9.99 as a Kindle E-book, or $11.99 printed. Roughly half the price of the earlier book for the Uno/Mega/Nano but then it doesn’t cover the theory of the interfaces, just how the differ. Because the Arduino Nano Every …

Continue Reading
0
Arduino Nano Every Far Inside The Arduino

Uncovered Errors in ATmega4809 Documentation

By tom on Wednesday, August 19, 2020

While writing Far Inside The Arduino: Nano Every Supplement I uncovered some errors in the Microchip (Atmel) documentation. In Timer/Counter B Single-Shot mode, setting EDGE=1 is supposed to generate a pulse on the negative edge of the event signal. Instead it generates a pulse on both edges of the event signal. In the SPI, the …

Continue Reading
0
Far Inside The Arduino Meta

Final Touches

By tom on Saturday, August 15, 2020

I’m now doing the final touches to the formatting of the E-book and printed versions of Far Inside The Arduino: Nano Every Supplement. Not really overjoyed with that title, but I do need to emphasize it as being supplemental to all the operational descriptions in the original Far Inside The Arduino book. I did do …

Continue Reading
0
Arduino Nano Every

Flaw in ATmega4809 TCA Clock Prescaler

By tom on Tuesday, August 11, 2020

While working toward a final draft of the Arduino Nano Every book I noticed that I didn’t have an example using events and Timer/Counter A. So I wrote a demonstration program which failed to run. Diagnosing the problem I came across a design flaw in the ATmega4809 microcontroller. Timer/Counter A has a clock prescaler that …

Continue Reading
0
Arduino Nano Every

FreeRTOS on Arduino Nano Every

By tom on Thursday, August 6, 2020

The FreeRTOS contributor that has the Arduino port hasn’t updated for the ATmega4809 in the Arduino Nano Every. I’ve managed to get it working. The mods do not apply to the Arduino Uno Wifi which also uses the ATmega4809. I’m not putting this in the current book I’m working on, so am posting what needs …

Continue Reading
0
Arduino Nano Every

Home Stretch (of first draft)

By tom on Thursday, July 30, 2020

I got the I2C/TWI interface working as master and slave simultaneously, so finished that chapter. I didn’t add the non-blocking functions but explain how to easily modify the code to achieve it. Turns out there is a comment in the source explicitly mentioning that Arduino likes blocking functions and the comment is on the statement …

Continue Reading
0
Arduino Nano Every

Configurable Custom Logic

By tom on Monday, July 27, 2020

It’s been a great past few days for progress on the book. I decided to tackle the Configurable Custom Logic. While I’m familiar with logic and FPGAs, I’ve never had a microcontroller with this feature before. I needed to study what it could do and come up with some reasonable example programs. Frankly, it doesn’t …

Continue Reading
0
Arduino Nano Every

ATmega4809 Odds and Ends

By tom on Friday, July 24, 2020

All of the USART examples are done but for RS-485. I originally was going to skip this since it is so similar to “1-wire” operation, but then decided to buy some RS-485 drivers and give complete USART coverage with examples. This chapter should be finished by the end of next week after the parts arrive. …

Continue Reading
0
Arduino Nano Every

USART, Universally

By tom on Tuesday, July 21, 2020

The USARTs have lots of flexibility, so how do I present it? I’ve been mulling over it and decided to do one basic example program and then vary the protocol for additional examples. I’ll be using two of the USARTs to communicate with each other. One, call it the primary USART, will send a string …

Continue Reading
0

Posts pagination

← Previous 1 … 7 8 9 10 11 12 Next →
Recent Posts
  • A Small Programming Adventure in Java
  • Saving Memory with Integer Scaling
  • FreeRTOS Implementations On Newer Arduino Boards
  • FreeRTOS Scheduling in the Arduino Uno R3
  • Effective Interfacing of Pushbuttons to Arduino Boards
Book Titles

I have no advertising. Please support this site by buying my books, available as paperbacks or in Kindle format:

Making Sense of 37 Sensors

Still Far Inside The Arduino

Far Inside The Arduino

Far Inside The Arduino: Nano Every Supplement

The PDP-8 Class Project: Resoling An Old Machine

The following is available only as a paperback book:

Designing with Microcontrollers — The 68HCS12

Archives
  • January 2025
  • October 2024
  • June 2024
  • May 2024
  • February 2024
  • January 2024
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • December 2021
  • November 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • March 2020
  • February 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
About Tom

Now retired, Tom Almy, has written applications for microcontrollers throughout their history, worked in the electronics industry for 43 years and taught courses in digital design and programming for 25 years. He is now looking at electronics from a hobbyist point of view. Tom holds eleven patents, most pertaining to digital and analog circuit design. He received a MSEE degree from Stanford University and a BS with Distinction in Electrical Engineering from Cornell University.

Categories
  • 37 Sensor Kits
  • Arduino Boards
  • Arduino Nano Every
  • Arduino SAMD21-based Boards
  • Far Inside The Arduino
  • Meta
  • PDP-8
  • Still Far Inside The Arduino
  • Timer/Counter
  • Uncategorized
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Pages
  • All About This Site
Theme by Scissor Themes Proudly powered by WordPress