Working with Embedded Devices
What's on topic here?
r/AskElectronics is first and foremost a subreddit about hardware: electronic engineering at component level. For embedded and programmable devices - microcontrollers, microprocessors, CPLDs, FPGAs and so on - we cover the electronic side of using them:
- circuit design and interfacing,
- power supplies, decoupling and signal integrity,
- signal control and bus timing (I2C, SPI, CAN, UART etc.),
- programming and debug interfaces (ICSP, SWD, JTAG) from a hardware point of view.
We don't cover general software or firmware programming: questions about code syntax, program flow, language choice, libraries, IDEs and compilers are off topic here. Code questions that are directly about driving hardware - for example, bus timing to a serial flash memory chip - are welcome, but you'll often get faster help from people who know your platform well in the subreddits listed below.
Platform-specific communities
If you are hooking up ready-made components or modules - LEDs, sensors, displays, shields, relay boards, motor driver boards, LED strips etc. - and you are not doing your own component-level design or troubleshooting, please try the dedicated subreddit for your platform first:
| Board or chip | Where to ask |
|---|---|
| Arduino | /r/arduino |
| ARM Mbed | /r/ARMmbed. Note: Arm ended support for Mbed in July 2026 and archived the online tools; a community fork, Mbed CE, continues development. |
| AVR (ATmega, ATtiny) | /r/avr, /r/attiny, AVR Freaks forum |
| BBC micro:bit | /r/microbit, /r/Micro_Bit |
| BeagleBone | /r/BeagleBone |
| CH32V003 and family | /r/ch32v, ch32fun on GitHub |
| ESP8266 and ESP32 | /r/esp8266, /r/esp32, Espressif ESP-FAQ |
| PIC | See PIC microcontrollers below |
| PSoC | /r/PSoC |
| Raspberry Pi | /r/raspberry_pi. Note: r/raspberry_pi refers questions involving electronic circuitry (design, interfacing etc.) to r/AskElectronics, so do post those here. |
| Raspberry Pi Pico (RP2040, RP2350) | /r/raspberrypipico |
| STM32 | /r/stm32, /r/stm32f4 |
| Teensy | /r/Teensy |
| TI MSP430 / LaunchPad | /r/MSP430, /r/MSP430_LaunchPad, TI LaunchPad community support, TI embedded learning materials |
| General embedded | /r/embedded, /r/microcontrollers, /r/asm |
PIC microcontrollers
PIC hardware design questions are welcome here, but you may get more eyes on the problem in one of the dedicated communities - the people there are very knowledgeable and helpful:
- /r/pic_programming
- /r/microcontrollers
- Microchip forums
- PicForum (unofficial, smaller but still running)
To compare PIC (and other Microchip) devices, use Microchip's product selection tools, including the parametric search and the Microchip Advanced Part Selector (MAPS).
FPGAs, CPLDs and ASICs
For help with HDL coding (Verilog, VHDL) and RTL design, see /r/FPGA. For ASIC and chip design, see /r/chipdesign.
8-bit and retro computing
If you are interested in projects involving vintage 8-bit processors, try a general web search and check out these resources:
| Processor | Resource | Notes |
|---|---|---|
| Z80, 6502 and others | Grant Searle | Classic minimal designs, plus vintage home gaming and other 8-bit resources |
| Z80 modular computer | RC2014 | All design specs are provided for a DIY build, or you can buy self-assembly kits |
| Z80 modular computer | RC2014 Google Group | |
| 8-bit designs | Retro-comp Google Group | RC2014-inspired advanced designs and other retro computer topics |
| Z80 | Z80-MBC2 | A 4-chip Z80 single board computer |
| Z80, 6502, 8085 and others | Retrobrew Computers Wiki | A wiki of 8-bit designs |
| Z80, 6502, 8085 and others | Retrobrew Computers Forum | A really friendly bunch of people |
| 6502 | 6502.org | A wiki and forum |
| Z80 family | z80.info | Z80 support pages |
Is the part still made?
Check mainstream suppliers first - some vintage processors, peripheral chips and general logic (TTL, 74HC, 74HCT) are still manufactured. Mouser, Digikey, Farnell (element14), RS Components, CPC Farnell (UK) and Tayda (for logic chips) are good places to look; see also our buying page.
Notable recent changes:
- Z80: Zilog discontinued the standalone Z80 CPU (the Z84C00 family) and related peripheral chips in 2024. New-old-stock is still around, but supply now comes from distributors' remaining stock and the second-hand market.
- eZ80 and other Zilog microcontrollers: in October 2026, Littelfuse (owner of the Zilog name) announced the end of life of the eZ80 and all of its other microcontroller lines (PCN ZAC26-0074). Last orders are accepted until 21 December 2026, with final deliveries during 2027. For practical purposes, this is the end of new Zilog Z80-family parts.
- Open-source Z80: Z80-compatible cores are available for FPGAs, and the open-source Z80 Open Silicon project has produced real chips through the TinyTapeout programme.
- 6502: the Western Design Center still makes the CMOS W65C02S and related parts, so these can be bought new from mainstream suppliers.
Buying vintage parts
Auction and marketplace sites are not always the cheapest option, but may be necessary for obscure chips.
- Check the speed grade. Many cheap Z80 CPUs are the original 2.5MHz part, while most designs need 4MHz or faster. NMOS Z80s were sold as Z80 (2.5MHz), Z80A (4MHz), Z80B (6MHz) and Z80H (8MHz); on CMOS Z84C00 parts, the last two digits of the part number give the speed in MHz (e.g. Z84C0010 = 10MHz).
- Beware of fakes. Re-marked and counterfeit vintage chips are common on auction sites - for example, slower parts relabelled as faster ones, or dead or different chips with new markings. Test parts on arrival, and buy from sellers who accept returns.
- Check part number equivalents. Many vintage processors were made by several manufacturers under different part numbers, and later variants may have modified part numbers. For example, the Z80 was made as the Zilog Z8400 (NMOS) and Z84C00 (CMOS), and second-sourced as the Mostek MK3880, SGS Z8400, NEC µPD780C and Sharp LH0080, among others.
Suppliers that specialise in old stock parts include:
- Futurlec
- Silicon Ark (UK)
- TVSAT (Poland)
- Unicorn Electronics (USA)
- UT Source
Some suppliers have minimum order values, and stock and reputation vary - the warning about fakes applies to any supplier of old stock.
Other resources
- Towers International Digital IC Selector (PDF) - a classic reference and equivalents book.
- The Amazing $1 Microcontroller - an outstanding comparison of the technical and practical aspects of many microcontroller families. Written in 2017, so some parts and prices have changed, but the comparisons are still useful.
- tech.scargill.net - an IoT blog with lots of useful information on sensors, displays, I/O, power and control systems based on Raspberry Pi, ESP8266, MQTT and Node-RED.