© Neil Cameron 2019
Neil CameronArduino Appliedhttps://doi.org/10.1007/978-1-4842-3960-5_18

18. Build Arduino

Neil Cameron1 
(1)
Edinburgh, UK
 

../images/471900_1_En_18_Chapter/471900_1_En_18_Figa_HTML.jpgIn this chapter, we’ll review the ATmega328P-PU 8-bit microcontroller. It has three types of memory: 32kB ISP (in-system programming) flash memory where sketches are stored, 1kB EEPROM (electrically erasable programmable read-only memory) for long-term data storage and 2kB SRAM (static random-access memory) for storing variables when a sketch is running. Information in flash memory and EEPROM is retained when power to the microcontroller is removed.

There are three communication modes: a serial programmable USART ...

Get Arduino Applied: Comprehensive Projects for Everyday Electronics now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.