arduino
Arduino Internal Temperature Measuring
· β˜• 3 min read
The code below, somewhere, shows how to measure the temperature of the ATmega328 microcontroller built in to numerous Arduino boards. You can find all the gory details in my new book Arduino Software Internals available from Apress, Amazon and good bookshops everywhere. A complete guide to how the Arduino Language works, and how it makes the hardware work. Apress.com: https://www.apress.com/gb/book/9781484257890 Amazon.co.uk: https://www.amazon.co.uk/Arduino-Software-Internals-Complete-Language/dp/1484257898/ The Warning Do not use this code if your Arduino has the AREF pin connected to any voltage source.

ATMega328P 8MHz on a Breadboard
· β˜• 4 min read
I had an urgent need (!) to build a breadboard version of an Arduino board which I needed to run without the 16MHz crystal and the two 22pF capacitors used by most Arduino boards. The following steps are what I had to do, as my brand new ATmega328P micro-controller came supplied with an Arduino Uno boot-loader installed. I didn’t want that one because it depends on having the 16MHz crystal and that takes up two of the I/O pins, which I might have a good use for, plus I can run it at 3.