[{"data":1,"prerenderedAt":634},["ShallowReactive",2],{"post-what-is-a-microcontroller-en":3,"related-posts-what-is-a-microcontroller-en":586,"related-categories-what-is-a-microcontroller-en":615},{"id":4,"title":5,"author":6,"authorImageUrl":7,"authorUrl":8,"body":9,"categorySlug":547,"categoryText":548,"dateModified":549,"datePublished":550,"description":551,"extension":552,"faqs":553,"image":569,"imageAlt":570,"language":571,"meta":572,"navigation":573,"path":574,"seo":575,"sitemap":576,"stem":577,"summary":578,"tags":579,"__hash__":585},"blog\u002Fblog\u002Fwhat-is-a-microcontroller.md","What Is a Microcontroller? Parts, Examples and ESP32","Mauro Brambilla","\u002Fimages\u002Fauthors\u002Fbruma.jpg","\u002Fabout",{"type":10,"value":11,"toc":525},"minimark",[12,16,25,30,35,38,43,65,69,83,87,106,110,128,132,135,139,142,146,162,169,173,201,205,221,225,228,234,237,242,255,259,266,274,278,305,342,346,349,353,381,399,405,409,418,422,454,465,493,501,504,508,511],[13,14,15],"p",{},"A microcontroller (MCU) is a computer shrunk onto one chip: a processor, working memory (SRAM) and programmable input\u002Foutput pins that run a single firmware program, which reads sensors and drives LEDs, motors or displays. The ESP32 is a microcontroller. A Raspberry Pi is not, even though both fit in your hand.",[13,17,18,19,24],{},"This guide shows what is inside the chip, what runs when you power it on, how it differs from a microprocessor, and how to pick a first board. The numbers come from the datasheets and vendor pages linked at each claim, and the examples come from the code of ",[20,21,23],"a",{"href":22},"\u002Fblog\u002Fwhat-is-opengizmo","OpenGizmo",", three open-source gadgets that run on an ESP32-S3 or an ESP32-CAM.",[26,27],"blog-list",{":items":28,"variant":29},"[\"A microcontroller puts a CPU, SRAM and I\u002FO pins on one chip and runs one firmware program\",\"The program lives in flash: inside the chip on an ATmega328P, on the module next to the chip on an ESP32\",\"A Raspberry Pi is a computer on an application processor: Linux, gigabytes of RAM, a microSD card\",\"ESP32 pins are 3.3 V logic and are not 5 V tolerant\"]","checkmark",[31,32,34],"h2",{"id":33},"what-is-inside-a-microcontroller","What is inside a microcontroller?",[13,36,37],{},"A microcontroller is a complete small system, so a handful of blocks cover it. Each one maps to something you will touch in your first sketch.",[39,40,42],"h3",{"id":41},"cpu","CPU",[13,44,45,46,52,53,58,59,64],{},"The CPU executes your instructions one after another. Cores come in 8, 16 or 32 bits, from a few MHz to hundreds of MHz. The original ESP32 has two 32-bit Xtensa LX6 cores at up to 240 MHz, and Espressif's ",[20,47,51],{"href":48,"rel":49},"https:\u002F\u002Fwww.espressif.com\u002Fen\u002Fproducts\u002Fsocs",[50],"nofollow","SoC page"," lists the ESP32-P4 at 400 MHz. An ",[20,54,57],{"href":55,"rel":56},"https:\u002F\u002Fww1.microchip.com\u002Fdownloads\u002Fen\u002FDeviceDoc\u002FATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061B.pdf",[50],"ATmega328P",", the chip of the Arduino Uno R3, is an 8-bit AVR core that the Uno clocks at ",[20,60,63],{"href":61,"rel":62},"https:\u002F\u002Fdocs.arduino.cc\u002Fhardware\u002Funo-rev3\u002F",[50],"16 MHz",".",[39,66,68],{"id":67},"flash-where-the-program-lives","Flash: where the program lives",[13,70,71,72,76,77,82],{},"Flash is non-volatile memory that keeps your compiled firmware when the power is off. Where it sits depends on the chip. The ATmega328P has ",[20,73,75],{"href":55,"rel":74},[50],"32 KB of flash on the die",". The ESP32 chip ESP32-D0WD-V3 has none: only the ESP32-U4WDH variant carries 4 MB in the package, according to the ",[20,78,81],{"href":79,"rel":80},"https:\u002F\u002Fdocumentation.espressif.com\u002Fesp32_datasheet_en.pdf",[50],"ESP32 datasheet"," (v5.3, ordering table). Most boards use a module that adds an external flash chip, so the flash size you see on a product page belongs to the module, not to the ESP32 silicon.",[39,84,86],{"id":85},"sram-working-memory","SRAM: working memory",[13,88,89,90,94,95,99,100,105],{},"SRAM holds variables, buffers and the stack while the program runs, and it is wiped at every reset. The Uno R3's ATmega328P has ",[20,91,93],{"href":55,"rel":92},[50],"2 KB",". The original ESP32 has ",[20,96,98],{"href":79,"rel":97},[50],"520 KB",". That is still thousands of times less than a Raspberry Pi 5 with its ",[20,101,104],{"href":102,"rel":103},"https:\u002F\u002Fwww.raspberrypi.com\u002Fproducts\u002Fraspberry-pi-5\u002F",[50],"1 GB to 16 GB",", which is why you check the size of a library before you add it, and why a long-running program that allocates and frees memory can fragment its heap.",[39,107,109],{"id":108},"gpio-pins","GPIO pins",[13,111,112,113,117,118,122,123,127],{},"GPIO stands for general-purpose input\u002Foutput. A GPIO is a pin your code sets as a digital input (a button), a digital output (an LED or a relay driver), or, on pins wired to the converter, an analog input. The original ESP32 has ",[20,114,116],{"href":79,"rel":115},[50],"34 programmable GPIOs","; the Uno R3 has ",[20,119,121],{"href":61,"rel":120},[50],"14 digital I\u002FO pins and 6 analog inputs",". Which pins are safe to use differs per chip and board: the ",[20,124,126],{"href":125},"\u002Fblog\u002Fxiao-esp32s3-pinout-safe-pins","XIAO ESP32-S3 pinout guide"," lists them for the board the OpenGizmo gadgets use.",[39,129,131],{"id":130},"built-in-peripherals","Built-in peripherals",[13,133,134],{},"Peripherals are hardware blocks that do a repetitive job without the CPU:",[26,136],{":items":137,"variant":138},"[\"ADC: turns a voltage into a number\",\"PWM: pulses that set LED brightness or motor speed\",\"UART: serial link to a computer, a GPS or another chip\",\"I2C: two-wire bus for sensors, small displays and clocks\",\"SPI: faster bus for displays and SD cards\",\"Timers: exact delays, counters and pulses\"]","circle",[13,140,141],{},"The original ESP32 also integrates two 8-bit DACs, 10 capacitive touch inputs, Wi-Fi and Bluetooth (datasheet linked above). These extras differ by chip, so read the datasheet of the exact one you buy. One more note: older write-ups mention an ESP32 Hall sensor, but Espressif removed it from the datasheet in 2023 (revision history, PCN20221202).",[31,143,145],{"id":144},"how-does-a-microcontroller-run-your-code","How does a microcontroller run your code?",[13,147,148,149,153,154,157,158,161],{},"When power arrives, the chip runs a boot ROM, then a bootloader, then your firmware from flash. Arduino-style firmware has two functions: ",[150,151,152],"code",{},"setup()"," runs once to configure pins and peripherals, and ",[150,155,156],{},"loop()"," runs again and again to read inputs, decide and write outputs. ESP-IDF, Espressif's own framework, starts at ",[150,159,160],{},"app_main()"," instead and expects you to create tasks.",[13,163,164],{},[165,166],"img",{"alt":167,"src":168},"Four steps after power-on on an ESP32 with the Arduino core: boot, FreeRTOS starts, setup() runs once, loop() repeats, with an interrupt branch","\u002Fimages\u002Fblog\u002Fwhat-is-a-microcontroller-firmware-flow.webp",[39,170,172],{"id":171},"is-there-an-operating-system","Is there an operating system?",[13,174,175,176,181,182,187,188,190,191,194,195,197,198,200],{},"Small 8-bit chips such as the ATmega328P usually run bare metal: your code is the only thing running. The ESP32 is different. Its firmware runs on ",[20,177,180],{"href":178,"rel":179},"https:\u002F\u002Fdocs.espressif.com\u002Fprojects\u002Fesp-idf\u002Fen\u002Flatest\u002Fesp32\u002Fapi-reference\u002Fsystem\u002Ffreertos_idf.html",[50],"FreeRTOS",", a small real-time kernel that schedules tasks. In the ",[20,183,186],{"href":184,"rel":185},"https:\u002F\u002Fgithub.com\u002Fespressif\u002Farduino-esp32\u002Fblob\u002Fmaster\u002Fcores\u002Fesp32\u002Fmain.cpp",[50],"Arduino core for ESP32",", ",[150,189,160],{}," creates a task named ",[150,192,193],{},"loopTask",", and that task calls your ",[150,196,152],{}," once and then ",[150,199,156],{}," forever. A real-time kernel is not Linux, though: there is no file system, no user accounts and no process isolation unless you add them.",[39,202,204],{"id":203},"what-is-an-interrupt","What is an interrupt?",[13,206,207,208,210,211,216,217,220],{},"An interrupt is a hardware signal that makes the CPU pause the current code, run a short function (the interrupt service routine, or ISR) and then resume. It lets a pin edge or a timer be handled without polling. A mechanical button bounces, so one press can fire several interrupts. Keep the ISR short and set a flag for ",[150,209,156],{}," to act on. On the ESP32, the ",[20,212,215],{"href":213,"rel":214},"https:\u002F\u002Fdocs.espressif.com\u002Fprojects\u002Farduino-esp32\u002Fen\u002Flatest\u002Fapi\u002Fgpio.html",[50],"Arduino-ESP32 GPIO docs"," mark their example handlers with ",[150,218,219],{},"ARDUINO_ISR_ATTR",", which keeps the handler in internal RAM.",[31,222,224],{"id":223},"microcontroller-vs-microprocessor-what-is-the-difference","Microcontroller vs microprocessor: what is the difference?",[13,226,227],{},"A microcontroller integrates the CPU, SRAM and I\u002FO on one chip and runs one firmware program. A microprocessor is a CPU that relies on separate RAM, storage and I\u002FO chips and usually runs an operating system such as Linux.",[13,229,230],{},[165,231],{"alt":232,"src":233},"Side by side: an ESP32 microcontroller with CPU, SRAM and GPIO on one chip, and a Raspberry Pi 5 with a CPU connected to RAM, storage, USB and Ethernet","\u002Fimages\u002Fblog\u002Fwhat-is-a-microcontroller-mcu-vs-mpu.webp",[13,235,236],{},"Be careful with the examples. A chip is not a board: a Raspberry Pi is a single-board computer built around a Broadcom SoC with an application-class CPU, and an ESP32 dev board is a board built around a microcontroller. The comparison below puts the two real products side by side.",[238,239],"blog-table",{":headers":240,":rows":241},"[\"\",\"ESP32 (original)\",\"Raspberry Pi 5\"]","[[\"CPU\",\"2 × Xtensa LX6, up to 240 MHz\",\"4 × Arm Cortex-A76, 2.4 GHz\"],[\"RAM\",\"520 KB SRAM\",\"1 GB to 16 GB LPDDR4X\"],[\"Program storage\",\"Flash on the module, typically 4 MB or more\",\"microSD card or PCIe SSD\"],[\"Software\",\"One firmware on FreeRTOS\",\"Raspberry Pi OS (Linux)\"]]",[13,243,244,245,249,250,254],{},"Sources: ESP32 ",[20,246,248],{"href":79,"rel":247},[50],"datasheet v5.3"," and Raspberry Pi's ",[20,251,253],{"href":102,"rel":252},[50],"Pi 5 page",". The short version: pick a microcontroller to control hardware on little power, and a Pi when you need a browser, a database or a Linux service. Many products use both, with a microcontroller handling the real-time part beside the main processor.",[31,256,258],{"id":257},"how-much-power-does-a-microcontroller-use","How much power does a microcontroller use?",[13,260,261,262,265],{},"It depends on what is switched on, and the spread is huge. The ",[20,263,81],{"href":79,"rel":264},[50]," (Table 5-4, measured with a 3.3 V supply) gives about 240 mA while transmitting 802.11b, 180 mA for 802.11n MCS7, and 95 to 100 mA while receiving. At 3.3 V that works out to roughly 0.3 to 0.8 W with the radio working (my arithmetic, not a datasheet figure). In deep sleep the datasheet lists 10 µA with the RTC timer and RTC memory on, because only the RTC memory and its peripherals stay powered.",[13,267,268,269,273],{},"So a battery gadget lives or dies by its duty cycle: how long it sleeps between Wi-Fi bursts. The figures above are for the chip alone. A development board adds a USB-serial chip and regulator, so measure the whole board, as the ",[20,270,272],{"href":271},"\u002Fblog\u002Fesp32-deep-sleep-real-current-draw","deep-sleep current guide"," does.",[31,275,277],{"id":276},"what-does-the-microcontroller-do-inside-gizmo-ticker","What does the microcontroller do inside Gizmo Ticker?",[13,279,280,281,285,286,291,292,187,299,301,302,304],{},"The ",[20,282,284],{"href":283},"\u002Fprojects\u002Fgizmo-ticker","Gizmo Ticker"," uses a Seeed Studio XIAO ESP32-S3, which ",[20,287,290],{"href":288,"rel":289},"https:\u002F\u002Fwiki.seeedstudio.com\u002Fxiao_esp32s3_getting_started\u002F",[50],"Seeed lists"," with a dual-core Xtensa LX7 up to 240 MHz and 8 MB of flash. Its firmware follows the pattern above. In ",[20,293,296],{"href":294,"rel":295},"https:\u002F\u002Fgithub.com\u002Fopen-gizmo\u002Fgizmo-ticker\u002Fblob\u002Fmain\u002Fmicrocontroller\u002Fsrc\u002Fmain.cpp",[50],[150,297,298],{},"main.cpp",[150,300,152],{}," loads the saved settings, starts the Wi-Fi setup and the web server, and initializes the LED matrix. ",[150,303,156],{}," checks the Wi-Fi, waits until the matrix finishes the current animation, then renders the next price message.",[13,306,307,308,315,316,319,320,323,324,331,332,336,337,341],{},"The pins are plain GPIO configured for hardware SPI. ",[20,309,312],{"href":310,"rel":311},"https:\u002F\u002Fgithub.com\u002Fopen-gizmo\u002Fgizmo-ticker\u002Fblob\u002Fmain\u002Fmicrocontroller\u002Fsrc\u002Fconfig\u002Fconfig.h",[50],[150,313,314],{},"config.h"," sets DIN on GPIO 9, CS on GPIO 8 and CLK on GPIO 7 for the MAX7219 matrix. The display only receives data, so the firmware passes no MISO pin. Price requests run in a separate FreeRTOS task (",[150,317,318],{},"marketDataFetch",", created with ",[150,321,322],{},"xTaskCreate"," in ",[20,325,328],{"href":326,"rel":327},"https:\u002F\u002Fgithub.com\u002Fopen-gizmo\u002Fgizmo-ticker\u002Fblob\u002Fmain\u002Fmicrocontroller\u002Fsrc\u002Fapi\u002Fapi.cpp",[50],[150,329,330],{},"api.cpp","), so a slow network call does not freeze the scrolling. The other two gadgets follow the same shape: ",[20,333,335],{"href":334},"\u002Fprojects\u002Fgizmo-reolink-switch","Gizmo Reolink Switch"," reads a button and drives a buzzer and an LCD, and ",[20,338,340],{"href":339},"\u002Fprojects\u002Fgizmo-camera","Gizmo Camera"," serves photos from an ESP32-CAM.",[31,343,345],{"id":344},"which-microcontrollers-are-worth-knowing","Which microcontrollers are worth knowing?",[13,347,348],{},"Five chips are worth knowing. Numbers are from the vendors' pages as of November 2026.",[238,350],{":headers":351,":rows":352},"[\"Chip\",\"Core and clock\",\"SRAM\",\"Program flash\"]","[[\"ESP32 (original)\",\"2 × Xtensa LX6, up to 240 MHz\",\"520 KB\",\"External, on the module\"],[\"ESP32-S3 (XIAO)\",\"2 × Xtensa LX7, up to 240 MHz\",\"512 KB\",\"8 MB on the XIAO ESP32-S3\"],[\"ATmega328P (Uno R3)\",\"8-bit AVR, 16 MHz on the Uno\",\"2 KB\",\"32 KB on the chip\"],[\"RA4M1 (Uno R4)\",\"Arm Cortex-M4, 48 MHz\",\"32 KB\",\"256 KB on the chip\"],[\"RP2040 (Pico)\",\"2 × Arm Cortex-M0+, up to 133 MHz\",\"264 KB\",\"2 MB on the Pico board\"]]",[13,354,355,356,187,360,187,365,370,371,376,377,64],{},"Sources: ",[20,357,359],{"href":61,"rel":358},[50],"Arduino Uno R3",[20,361,364],{"href":362,"rel":363},"https:\u002F\u002Fdocs.arduino.cc\u002Fhardware\u002Funo-r4-minima\u002F",[50],"Uno R4 Minima",[20,366,369],{"href":367,"rel":368},"https:\u002F\u002Fwww.raspberrypi.com\u002Fproducts\u002Fraspberry-pi-pico\u002F",[50],"Raspberry Pi Pico"," the ESP32 and ",[20,372,375],{"href":373,"rel":374},"https:\u002F\u002Fdocumentation.espressif.com\u002Fesp32-s3_datasheet_en.pdf",[50],"ESP32-S3"," datasheets, and ",[20,378,380],{"href":288,"rel":379},[50],"Seeed's XIAO ESP32-S3 page",[13,382,383,384,388,389,393,394,398],{},"For connected projects, an ESP32 is my default, and ",[20,385,387],{"href":386},"\u002Fblog\u002Fwhich-esp32-chip-should-you-buy","which ESP32 chip to buy"," explains the variants: ",[20,390,392],{"href":391},"\u002Fblog\u002Fwhat-is-the-esp32","what the ESP32 is"," covers the family and ",[20,395,397],{"href":396},"\u002Fblog\u002Fesp32-vs-esp8266","ESP32 vs ESP8266"," covers the older chip. For a learning board without Wi-Fi, an Uno is still fine. Note the Uno changed: the R3 uses the 8-bit ATmega328P, while the current Uno R4 uses a 32-bit Arm Cortex-M4.",[13,400,401],{},[165,402],{"alt":403,"src":404},"Development boards on a desk labeled AVR, ESP32, S3 and RP2040, with a maker picking up a small board to compare them","\u002Fimages\u002Fblog\u002Fwhat-is-a-microcontroller-illustration.webp",[31,406,408],{"id":407},"can-i-connect-a-5-v-sensor-to-an-esp32","Can I connect a 5 V sensor to an ESP32?",[13,410,411,412,417],{},"Not directly to a pin. The ESP32 runs its I\u002FO at 3.3 V and the datasheet's high-level input limit is the supply voltage plus 0.3 V. A 5 V output, such as an ",[20,413,416],{"href":414,"rel":415},"https:\u002F\u002Fdocs.arduino.cc\u002Fresources\u002Fdatasheets\u002FA000066-datasheet.pdf",[50],"Uno R3"," pin (its IOREF is tied to 5 V), can damage the chip. Use a level shifter or a resistor divider on any signal that comes from a 5 V part, and check the sensor's own voltage range first: many I2C sensors accept 3.3 V.",[31,419,421],{"id":420},"how-do-you-start-programming-a-microcontroller","How do you start programming a microcontroller?",[423,424,425,433,444],"ol",{},[426,427,428,432],"li",{},[429,430,431],"strong",{},"Pick a board."," For a connected first project, an ESP32 dev board with a USB port works. Note that the on-board LED pin differs per board and some boards have none.",[426,434,435,438,439,443],{},[429,436,437],{},"Install a toolchain."," The Arduino IDE 2 with the Espressif board package is the quickest start, and PlatformIO suits larger projects. The ",[20,440,442],{"href":441},"\u002Fblog\u002Farduino-ide-vs-platformio-for-esp32","Arduino IDE vs PlatformIO comparison"," helps you choose.",[426,445,446,449,450,453],{},[429,447,448],{},"Upload a blink sketch."," If your board defines ",[150,451,452],{},"LED_BUILTIN",", this blinks it once per second:",[455,456,463],"pre",{"className":457,"code":459,"filename":460,"language":461,"meta":462},[458],"language-cpp","void setup() {\n    pinMode(LED_BUILTIN, OUTPUT);\n}\n\nvoid loop() {\n    digitalWrite(LED_BUILTIN, HIGH);\n    delay(500);\n    digitalWrite(LED_BUILTIN, LOW);\n    delay(500);\n}\n","blink.ino","cpp","",[150,464,459],{"__ignoreMap":462},[423,466,468],{"start":467},4,[426,469,470,473,474,477,478,485,486,492],{},[429,471,472],{},"Add libraries."," Install them with the Arduino IDE's Library Manager, or list them in ",[150,475,476],{},"platformio.ini"," under ",[20,479,482],{"href":480,"rel":481},"https:\u002F\u002Fdocs.platformio.org\u002Fen\u002Flatest\u002Fprojectconf\u002Fsections\u002Fenv\u002Foptions\u002Flibrary\u002Flib_deps.html",[50],[150,483,484],{},"lib_deps",". The Gizmo Ticker pins its versions that way in ",[20,487,490],{"href":488,"rel":489},"https:\u002F\u002Fgithub.com\u002Fopen-gizmo\u002Fgizmo-ticker\u002Fblob\u002Fmain\u002Fmicrocontroller\u002Fplatformio.ini",[50],[150,491,476],{},":",[455,494,499],{"className":495,"code":497,"filename":476,"language":498,"meta":462},[496],"language-ini","lib_deps = \n    majicdesigns\u002FMD_Parola@3.7.5\n    majicdesigns\u002FMD_MAX72XX@3.5.1\n    bblanchon\u002FArduinoJson@7.2.2\n","ini",[150,500,497],{"__ignoreMap":462},[13,502,503],{},"Every library costs flash and SRAM, so check the size after each one you add.",[31,505,507],{"id":506},"where-to-go-from-here","Where to go from here",[13,509,510],{},"A microcontroller is one chip with a CPU, SRAM and pins that runs one program, and on an ESP32 that program sits on FreeRTOS beside the Wi-Fi stack. Its limits are the point: kilobytes of RAM, 3.3 V pins and a radio that can draw 240 mA in a burst. This post did not run measurements of its own: the numbers are the vendors', and the exact figures change per chip and board revision.",[13,512,513,514,516,517,521,522,524],{},"Next, read ",[20,515,392],{"href":391}," to pick a variant, or follow the ",[20,518,520],{"href":519},"\u002Fblog\u002Fhow-to-build-a-crypto-ticker-with-esp32-and-max7219","Gizmo Ticker build"," to see a finished firmware from ",[150,523,152],{}," to the LED matrix.",{"title":462,"searchDepth":526,"depth":526,"links":527},2,[528,536,540,541,542,543,544,545,546],{"id":33,"depth":526,"text":34,"children":529},[530,532,533,534,535],{"id":41,"depth":531,"text":42},3,{"id":67,"depth":531,"text":68},{"id":85,"depth":531,"text":86},{"id":108,"depth":531,"text":109},{"id":130,"depth":531,"text":131},{"id":144,"depth":526,"text":145,"children":537},[538,539],{"id":171,"depth":531,"text":172},{"id":203,"depth":531,"text":204},{"id":223,"depth":526,"text":224},{"id":257,"depth":526,"text":258},{"id":276,"depth":526,"text":277},{"id":344,"depth":526,"text":345},{"id":407,"depth":526,"text":408},{"id":420,"depth":526,"text":421},{"id":506,"depth":526,"text":507},"guides","Guides","2026-11-14T00:00:00Z","2026-06-27T00:00:00Z","A microcontroller is one chip with a CPU, RAM and programmable pins that runs a single program. How it works, how it differs from a Raspberry Pi, what to buy.","md",[554,557,560,563,566],{"question":555,"answer":556},"What is a microcontroller in simple terms?","A microcontroller is a small chip that holds a processor, working memory (SRAM) and programmable input\u002Foutput pins, and runs one program called firmware. It reads sensors and buttons, makes a decision and drives outputs such as LEDs, motors and displays. An ESP32 and an ATmega328P are both microcontrollers.",{"question":558,"answer":559},"What is the difference between a microcontroller and a Raspberry Pi?","A Raspberry Pi is a single-board computer built around an application processor, such as the Arm Cortex-A76 in the Pi 5, and it runs Linux from a microSD card or SSD. A microcontroller board such as an ESP32 runs one firmware program from flash, with kilobytes of RAM instead of gigabytes.",{"question":561,"answer":562},"Is the ESP32 a microcontroller?","Yes. The ESP32 is a family of microcontrollers from Espressif Systems. The original ESP32 combines two Xtensa LX6 cores at up to 240 MHz, 520 KB of SRAM, 34 programmable GPIOs, Wi-Fi and Bluetooth. Its program flash sits on the module next to the chip, not inside it.",{"question":564,"answer":565},"Are ESP32 pins 5 V tolerant?","No. ESP32 GPIO pins work at 3.3 V, and the datasheet limits a high input to the supply voltage plus 0.3 V. Connecting a 5 V output, such as a pin on an Arduino Uno R3, straight to an ESP32 pin can damage the chip. Use a level shifter or a voltage divider.",{"question":567,"answer":568},"Is Arduino a microcontroller?","No. Arduino is a family of boards plus a software framework. The microcontroller is the chip on the board: an ATmega328P on the Uno R3, a Renesas RA4M1 on the Uno R4. The same Arduino framework also programs ESP32 chips through the arduino-esp32 core from Espressif.","\u002Fimages\u002Fblog\u002Fwhat-is-a-microcontroller.png","An instructor presents an ESP32 microcontroller, its pinout, and connected components.","en",{},true,"\u002Fblog\u002Fwhat-is-a-microcontroller",{"title":5,"description":551},{"loc":574},"blog\u002Fwhat-is-a-microcontroller","A microcontroller is a single chip with a CPU, RAM and programmable pins that runs one firmware program. An ESP32 is one; a Raspberry Pi is a computer built on a microprocessor.",[580,581,582,583,584],"Microcontrollers","ESP32","Embedded Systems","Electronics","Firmware","3AggoyWFUafjepdHHO6lNwkGJlWYf_Y6xv9NLRzkkng",[587,594,601,608],{"title":588,"description":589,"image":590,"categoryText":548,"categorySlug":547,"tags":591,"path":593},"ESP Web Tools: Flash an ESP32 From Your Browser","Flash an ESP32 from the browser with ESP Web Tools or esptool-js: how Web Serial, the manifest and the flash offsets work, with a real OpenGizmo manifest.","\u002Fimages\u002Fblog\u002Fesp-web-tools-flash-esp32-from-browser.jpg",[581,584,592,23,582],"Development Tools","\u002Fblog\u002Fesp-web-tools-flash-esp32-from-browser",{"title":595,"description":596,"image":597,"categoryText":548,"categorySlug":547,"tags":598,"path":600},"ESP32 Strapping Pins by Chip: S3, C3, C6, Classic","Every ESP32 strapping pin on the classic ESP32, S3, C3 and C6 with its default level and what it selects, straight from the datasheets, plus safe-use rules.","\u002Fimages\u002Fblog\u002Fesp32-strapping-pins-by-chip.jpg",[581,375,580,599,582],"Hardware","\u002Fblog\u002Fesp32-strapping-pins-by-chip",{"title":602,"description":603,"image":604,"categoryText":548,"categorySlug":547,"tags":605,"path":607},"ESP32 Partition Table Explained: Flash Layout and OTA","What the ESP32 partition table is, how the partitions.csv columns work, the Arduino-ESP32 schemes with sizes, flash offsets by chip, and what N16R8 means.","\u002Fimages\u002Fblog\u002Fesp32-partition-table-explained.jpg",[581,584,582,606,23],"PlatformIO","\u002Fblog\u002Fesp32-partition-table-explained",{"title":609,"description":610,"image":611,"categoryText":548,"categorySlug":547,"tags":612,"path":391},"What Is the ESP32? Specs, Variants and Which to Buy","The ESP32 is Espressif's Wi-Fi and Bluetooth microcontroller family. See the original's specs, how the S3, C3 and C6 differ, and which board to buy.","\u002Fimages\u002Fblog\u002Fwhat-is-the-esp32.png",[581,580,613,582,614],"IoT","Wi-Fi",[616,622,628],{"name":617,"slug":618,"path":619,"count":620,"image":621},"Comparisons","comparisons","\u002Fblog\u002Fcategories\u002Fcomparisons",8,"\u002Fimages\u002Fblog\u002Fesp32-ota-update-methods-compared.jpg",{"name":623,"slug":624,"path":625,"count":626,"image":627},"Builds","builds","\u002Fblog\u002Fcategories\u002Fbuilds",6,"\u002Fimages\u002Fblog\u002F3d-printed-esp32-enclosure-design-guide.jpg",{"name":629,"slug":630,"path":631,"count":632,"image":633},"Troubleshooting","troubleshooting","\u002Fblog\u002Fcategories\u002Ftroubleshooting",5,"\u002Fimages\u002Fblog\u002Fesp32-brownout-detector-was-triggered.jpg",1795511563785]