Microprocessors
Posts about microprocessors.
Please post questions about the Arduino or electronics in general on the The Arduino Forum or StackExchange -> Arduino.
This part of the forum is designed more like a blog (information-only) describing various projects by the author (Nick Gammon). The Arduino Forum or Arduino StackExchange are suitable places to ask questions. Purely electronics questions can be put to Electrical Engineering StackExchange.
Other
- For general posts and questions about the Arduino please visit The Arduino Forum or StackExchange -> Arduino
- Some of my sketches on GitHub: https://github.com/nickgammon/arduino_sketches
- Atmel chips fuse calculator: Engbedded Atmel AVR® Fuse Calculator
- FAQ from Atmel: AVR Libc Reference Manual FAQ
- General electronics relating to microprocessors: Mike Cook’s Tutorials
- Protecting input pins: DigiKey, Rugged Circuits, Mike Cook, Kevin Fodor
- Tutorials, projects and suppliers (not exhaustive): Adafruit, Sparkfun, Futurlec Australia, Futurlec, Evil Mad Scientist, Arduino Tutorials, Modern Device
109 threads
| Subject | Started by | Posts | Views | Last post |
|---|---|---|---|---|
| Timers and counters | Nick Gammon | 21 | 415,164 | Sun 03 Mar 2024 by Nick Gammon |
| Keypad handling program to handle multiple keys (stenography style) | Nick Gammon | 1 | 8,177 | Fri 21 Jul 2023 by Nick Gammon |
| IC chip tester | Nick Gammon | 1 | 18,084 | Fri 07 Jan 2022 by Nick Gammon |
| Interfacing LED displays with the MAX7219 driver | Nick Gammon | 9 | 191,637 | Tue 10 Apr 2018 by Nick Gammon |
| Using a keypad matrix | Nick Gammon | 2 | 49,133 | Fri 16 Mar 2018 by Nick Gammon |
| Solar powered Arduino | Nick Gammon | 2 | 81,015 | Fri 16 Feb 2018 by Nick Gammon |
| bug in I2C_Anything.zip | Brian J. Murrell | 5 | 27,305 | Fri 26 Jan 2018 by Nick Gammon |
| Temperature and humidity sensor - battery powered | Nick Gammon | 3 | 73,592 | Sun 10 Dec 2017 by Nick Gammon |
| Blink sketch explained | Nick Gammon | 2 | 18,608 | Wed 04 Jan 2017 by Nick Gammon |
| Rotary encoders and interrupts | Nick Gammon | 3 | 48,280 | Sat 24 Dec 2016 by Nick Gammon |
| RS485 communications | Nick Gammon | 4 | 270,967 | Sat 20 Aug 2016 by Nick Gammon |
| ADC conversion on the Arduino (analogRead) | Nick Gammon | 6 | 225,924 | Sun 10 Apr 2016 by Nick Gammon |
| Simple method for using NeoPixels (WS2812 LED strip) | Nick Gammon | 1 | 21,920 | Sat 12 Mar 2016 by Nick Gammon |
| I2C - Two-Wire Peripheral Interface - for Arduino | Nick Gammon | 12 | 658,238 | Wed 03 Feb 2016 by Nick Gammon |
| Buttons, I2C, interrupts and port-expanders | Nick Gammon | 36 | 228,363 | Fri 11 Sep 2015 by Nick Gammon |
| Calling an ISR from a class | Nick Gammon | 1 | 22,014 | Sat 05 Sep 2015 by Nick Gammon |
| Tiny web server for Arduino or similar | Nick Gammon | 1 | 23,288 | Tue 21 Jul 2015 by Nick Gammon |
| Switches tutorial | Nick Gammon | 3 | 130,690 | Thu 16 Jul 2015 by Nick Gammon |
| Power saving techniques for microprocessors | Nick Gammon | 9 | 758,589 | Tue 07 Jul 2015 by Nick Gammon |
| Arduino Uno output to VGA monitor | Nick Gammon | 5 | 194,331 | Sun 07 Jun 2015 by Nick Gammon |
| High-voltage programming for AVR chips | Nick Gammon | 1 | 45,400 | Wed 27 May 2015 by Nick Gammon |
| Atmega chip stand-alone programmer to upload .hex files | Nick Gammon | 7 | 148,085 | Sun 03 May 2015 by Nick Gammon |
| RFID readers for access control / event management / parties | Nick Gammon | 1 | 19,583 | Sun 03 May 2015 by Nick Gammon |
| Atmega bootloader programmer | Nick Gammon | 4 | 516,974 | Tue 21 Apr 2015 by Nick Gammon |
| RFID reader - HZ-1050 | Nick Gammon | 2 | 24,417 | Fri 17 Apr 2015 by Nick Gammon |
| How to do multiple things at once ... like cook bacon and eggs | Nick Gammon | 3 | 113,856 | Fri 10 Apr 2015 by Nick Gammon |
| Simple project - torch-locator | Nick Gammon | 1 | 16,674 | Wed 25 Feb 2015 by Nick Gammon |
| SPI - Serial Peripheral Interface - for Arduino | Nick Gammon | 10 | 492,281 | Sun 22 Feb 2015 by Nick Gammon |
| Declaration vs Definition in C | Nick Gammon | 1 | 9,112 | Sun 22 Feb 2015 by Nick Gammon |
| Number bases | Nick Gammon | 1 | 10,155 | Tue 17 Feb 2015 by Nick Gammon |
| MIDI decoder | Nick Gammon | 1 | 14,978 | Thu 05 Feb 2015 by Nick Gammon |
| Driving motors, lights, etc. from an Arduino output pin | Nick Gammon | 4 | 156,116 | Tue 03 Feb 2015 by Nick Gammon |
| millis() overflow ... a bad thing? | Nick Gammon | 2 | 82,161 | Fri 23 Jan 2015 by Nick Gammon |
| Sketch to detect Atmega chip types | Nick Gammon | 4 | 139,386 | Tue 28 Oct 2014 by Nick Gammon |
| Interrupts | Nick Gammon | 11 | 846,919 | Wed 15 Oct 2014 by Nick Gammon |
| How to avoid the quirks of the IDE sketch file pre-preprocessing | Nick Gammon | 1 | 34,829 | Sun 12 Oct 2014 by Nick Gammon |
| Toorum's Quest II - Retro video game and console | Nick Gammon | 1 | 18,602 | Sat 11 Oct 2014 by Nick Gammon |
| Putting constant data into program memory (PROGMEM) | Nick Gammon | 5 | 103,629 | Sun 05 Oct 2014 by Nick Gammon |
| Lightweight pseudo-random number generator for Arduino | Nick Gammon | 1 | 9,494 | Thu 02 Oct 2014 by Nick Gammon |
| Function pointers / function callbacks / function variables | Nick Gammon | 1 | 67,373 | Tue 23 Sep 2014 by Nick Gammon |
| Alarm clock from Atmega328 and 7-segment display | Nick Gammon | 3 | 59,253 | Wed 18 Jun 2014 by Nick Gammon |
| State machines | Nick Gammon | 1 | 42,021 | Wed 04 Dec 2013 by Nick Gammon |
| LED multiplexing with Arduino alone | Nick Gammon | 1 | 16,836 | Mon 02 Dec 2013 by Nick Gammon |
| Arduino generating prime numbers | Nick Gammon | 2 | 17,318 | Fri 29 Nov 2013 by Nick Gammon |
| Hacking a scrolling LED strip sign | Nick Gammon | 1 | 16,851 | Thu 14 Nov 2013 by Nick Gammon |
| Why does it take 1000 bytes to blink one LED? | Nick Gammon | 1 | 12,554 | Mon 21 Oct 2013 by Nick Gammon |
| Arduino programming traps, tips and style guide | Nick Gammon | 1 | 108,953 | Sat 28 Sep 2013 by Nick Gammon |
| Integer arithmetic and overflow | Nick Gammon | 1 | 13,155 | Mon 16 Sep 2013 by Nick Gammon |
| Reading and concatenating strings on the Arduino ... the best method? | Nick Gammon | 1 | 28,717 | Tue 13 Aug 2013 by Nick Gammon |
| Turn your Arduino into a capacitor tester ... | Nick Gammon | 1 | 30,643 | Sun 14 Jul 2013 by Nick Gammon |
| GPS digital clock | Nick Gammon | 1 | 14,869 | Thu 04 Apr 2013 by Nick Gammon |
| Using a 74HC165 input shift register | Nick Gammon | 1 | 79,778 | Sat 23 Mar 2013 by Nick Gammon |
| 74HC4051 multiplexer / demultiplexer | Nick Gammon | 1 | 82,951 | Thu 14 Mar 2013 by Nick Gammon |
| Using the Arduino Analog Comparator | Nick Gammon | 1 | 61,448 | Sat 26 Jan 2013 by Nick Gammon |
| Arbitrary precision (big number) library port for Arduino | Nick Gammon | 2 | 47,917 | Tue 22 Jan 2013 by Nick Gammon |
| Power-saving on Arduino Question | Zajebiscie | 2 | 16,558 | Sat 15 Dec 2012 by Nick Gammon |
| Arduino Uno I2C with (motorshield) in Matlab | Ejri | 1 | 7,812 | Fri 14 Dec 2012 by Nick Gammon |
| RS485 compile errors | PyrotechMick | 10 | 35,740 | Fri 14 Dec 2012 by Nick Gammon |
| RS485 library - issue handling and interrupts | Rasihasi | 4 | 22,200 | Mon 03 Dec 2012 by Nick Gammon |
| Elapsed Timer Library on Arduino 1.02 | BlackSnake | 3 | 18,361 | Sun 25 Nov 2012 by BlackSnake |
| External timer in order to shutdown | Denisj | 3 | 16,239 | Thu 15 Nov 2012 by Denisj |
| SPI Arduino Slave transmitting data | Sajid Zaman | 2 | 18,431 | Sun 04 Nov 2012 by Nick Gammon |
| Atmega bootloader programmer comments | Paul_N | 9 | 38,381 | Mon 29 Oct 2012 by Nick Gammon |
| ADC register setup using SPI. | Vema | 1 | 7,949 | Sat 13 Oct 2012 by Nick Gammon |
| Problems with atmega328p-pu bootloader | Leonardo Calixto | 4 | 23,320 | Thu 11 Oct 2012 by Nick Gammon |
| Leonardo as ISP | Albee320 | 2 | 14,008 | Wed 22 Aug 2012 by Nick Gammon |
| Problem converting bootloader codes | Anish | 5 | 22,800 | Mon 20 Aug 2012 by Anish |
| Create less but bigger characters on VGA with Arduino | Magsmg | 4 | 19,664 | Wed 15 Aug 2012 by Nick Gammon |
| WOW! How to make an Arduino-compatible minimal board - WireWrapping?! | Ioflex | 5 | 24,215 | Sat 07 Jul 2012 by Ioflex |
| Connecting a graphical LCD via a I2C/SPI using a 16-bit port expander | Nick Gammon | 21 | 273,883 | Wed 13 Jun 2012 by Ijohnson |
| Freeze-frame flash photography | Nick Gammon | 1 | 13,708 | Tue 05 Jun 2012 by Nick Gammon |
| I2C hanging problem - 2 Arduino's and an 3.3V I2C Sensor TMP102 | Ppl4world | 2 | 14,871 | Sat 02 Jun 2012 by Nick Gammon |
| Frequency counter | Willy | 5 | 22,807 | Thu 24 May 2012 by Willy |
| Atmega Fuse Calculator sketch | Nick Gammon | 1 | 34,819 | Tue 22 May 2012 by Nick Gammon |
| Rotary encoder for 4wd bot | Talasyn | 3 | 16,517 | Tue 15 May 2012 by Talasyn |
| Solving problems with uploading programs to your Arduino | Nick Gammon | 1 | 58,642 | Mon 14 May 2012 by Nick Gammon |
| How to make an Arduino-compatible minimal board | Nick Gammon | 2 | 347,345 | Mon 14 May 2012 by Nick Gammon |
| How is program encoder RM22S with Absolute binary synchro-serial interface (SSI) | Alechco | 2 | 13,312 | Sat 12 May 2012 by Nick Gammon |
| Connecting SRAM to your microprocessor using SPI | Nick Gammon | 5 | 49,087 | Sat 12 May 2012 by Nick Gammon |
| Using a 74HC595 output shift register as a port-expander | Nick Gammon | 2 | 100,369 | Wed 02 May 2012 by Nick Gammon |
| Library for MicroVGA adapter | Nick Gammon | 1 | 12,015 | Tue 17 Apr 2012 by Nick Gammon |
| How to measure Current being drawn by Arduino Platform | Vik | 5 | 22,869 | Wed 04 Apr 2012 by Vik |
| How to process incoming serial data without blocking | Nick Gammon | 4 | 213,018 | Sat 31 Mar 2012 by Nick Gammon |
| Before posting a programming question on the Arduino site, read this! | Nick Gammon | 1 | 10,072 | Mon 26 Mar 2012 by Nick Gammon |
| RS485 protocol comms problem | Alpal | 3 | 17,074 | Tue 28 Feb 2012 by Alpal |
| Dummy load | Nick Gammon | 1 | 24,214 | Sun 05 Feb 2012 by Nick Gammon |
| 4-digit display made from minimal parts | Nick Gammon | 1 | 26,693 | Fri 03 Feb 2012 by Nick Gammon |
| Multiple data over Serial port | Catalina | 3 | 17,170 | Fri 27 Jan 2012 by Catalina |
| Turn your Arduino into an AM radio transmitter! | Nick Gammon | 1 | 15,965 | Mon 23 Jan 2012 by Nick Gammon |
| Elapsed time class | Nick Gammon | 7 | 31,257 | Mon 23 Jan 2012 by Nick Gammon |
| Remote controlled car | Nick Gammon | 4 | 42,207 | Sun 22 Jan 2012 by Nick Gammon |
| Permission | Fribbe | 3 | 16,141 | Thu 12 Jan 2012 by Fribbe |
| Arduino Uno Rev3 pinouts photo | Nick Gammon | 1 | 156,209 | Thu 22 Dec 2011 by Nick Gammon |
| Debugging using SPI/I2C and a second processor | Nick Gammon | 3 | 43,152 | Sun 04 Dec 2011 by Nick Gammon |
| Saving power | Nick Gammon | 3 | 29,091 | Sat 03 Dec 2011 by Nick Gammon |
| interfacing DS1682 Elapsed time counter | Pragadheeswaran | 2 | 14,615 | Mon 26 Sep 2011 by Nick Gammon |
| How to update the bootloader on an Arduino using an AVR Dragon | Nick Gammon | 1 | 30,191 | Thu 22 Sep 2011 by Nick Gammon |
| Connecting 512 Kbyte EEPROM (flash memory) to your processor using SPI | Nick Gammon | 11 | 59,215 | Fri 16 Sep 2011 by Andrewr123 |
| Timer library (ProfileTimer) - times code on the Arduino | Nick Gammon | 5 | 50,172 | Fri 19 Aug 2011 by Greete |
| Simple RFID security system | Nick Gammon | 1 | 27,457 | Fri 05 Aug 2011 by Nick Gammon |
| Need DC to DC converter for Homebuilt Airplane | Joe Walburn | 2 | 14,238 | Sat 09 Jul 2011 by Nick Gammon |
| Programming the PICAXE 08M | Nick Gammon | 5 | 36,154 | Thu 07 Jul 2011 by Joe Walburn |
| Minimal circuit for Atmega328 processor (shows wire-wrapping) | Nick Gammon | 1 | 68,130 | Sun 15 May 2011 by Nick Gammon |
| Multiple interrupts on one pin - wired "or" configuration | Nick Gammon | 1 | 17,307 | Tue 10 May 2011 by Nick Gammon |
| Comparison of transfer protocols | Nick Gammon | 1 | 24,696 | Mon 07 Feb 2011 by Nick Gammon |
| Why electronics? | Nick Gammon | 6 | 27,243 | Sat 29 Jan 2011 by Nick Gammon |
| Parallel Peripheral Interface - for Arduino | Nick Gammon | 1 | 18,628 | Sat 29 Jan 2011 by Nick Gammon |
| 1-Wire Peripheral Interface - for Arduino | Nick Gammon | 1 | 27,270 | Sat 29 Jan 2011 by Nick Gammon |
| Async (Serial) peripheral interface - for Arduino | Nick Gammon | 1 | 50,131 | Tue 25 Jan 2011 by Nick Gammon |