The super tiny USB Rubber Ducky

We’ve seen several Security-based hardware projects from Koko (@justcallmekoko) in the past, including the Masterkey keylogger which we explored a few days back. Looking through his projects on GitHub today, I stumbled on another security-based project called the Tinyduck.

A cheap alternative to the popular Rubber Ducky, the Tiny Duck is an Attiny85 microcontroller-based pentest tool that comes in the form factor of a thumb drive, poses as a keyboard to the host computer, and allows the user inject keystrokes at high speeds.

Like the Rubber Ducky and its application in the Mr. Robot series, the tiny duck can be used to execute keystrokes to install backdoors, exfiltrate documents, or capture credentials. It will execute a prewritten script of keystrokes on a target computer as though it were a keyboard so whatever you can do with a keyboard, you can do it faster with the tiny duck and some imagination.

While a lot of similar projects exist on the internet, the goal behind Koko’s project was to make the device as small as possible, and the results speak for itself, as the tiny duck is just about the size of what one could call an overgrown fingernail.

The Tinyduck device works the same way as the Digispark Attiny85 board, right down to the bootloader. So for users who already have the Arduino IDE Set up to work with the Digispark board, the firmware upload process should be quite straightforward. However, the Github page contains guides to set the device up on Arduino IDE, for those who need it.

Like the Rubber Ducky itself, the Tinyduck’s firmware is developed using Ducky Script, which is a straight forward scripting language used to create keystroke injection binaries to be run on the original USB Rubber Ducky. However since the Tinyduck requires the Arduino IDE for firmware upload and Ducky Script is not represented by the IDE, users will have to use one of the several community-developed tools like digiQuack which helps translate Ducky Script into Arduino Code with Digispark specific libraries. Instructions for the conversion process is also available on the Github page.

Speaking on the device’s usage, Koko wrote:

“Tinyduck is intended to be a fire and forget device. Once inserted into a computer, Tinyduck will execute its preprogrammed functions without any needed user intervention. Because of the required USB support, Tinyduck will take 5 seconds to run through the micronucleus bootloader before proceeding to its main code execution”.

More information on the device and guides to building your own version of it can be found on the project’s Github page here.

Cree adds RGB surface-mount LEDs for color directional signage

Cree has announced the CV94D-FCC LED that integrates three emitters in a compact surface-mount device (SMD) package. The package includes tightly packed red, green, and blue (RGB) emitters enabling full-color signs or displays based on solid-state lighting (SSL) technology. Cree identified the target application as intelligent transportation systems, with a primary example being dynamically changeable signs that are increasingly being suspended above freeways.

We have written quite a lot of late about LED-based, directly- or self-emissive color displays. Self-emissive means the LEDs deliver the video images as opposed to, say, being used for backlights in a liquid-crystal display (LCD). The technology has long been used in applications such as sports stadium video boards and façades at locations such as Times Square in New York. Finer pixel pitch is even bringing the technology indoors.

In the transportation segment, meanwhile, dynamic signs allow cities and states to deliver important information to drivers. In the US, for example, the signs broadcast what are called Amber Alerts when a child is abducted. They also notify drivers of road closures and lately have been used to display coronavirus reminders.

Most of the freeway signage has been based on amber monochromatic technology. But signs that are either full color, or even that just have a portion of the display capable of color, can do a better job of grabbing attention and expressing a message.

The requirements for such transportation-oriented signage and facade displays share many of the same requirements from RGB LEDs and yet need difference characteristics in some aspects. For example, the tightly packed and aligned LEDs, with each package forming a pixel, ensure good far-field performance in terms of uniformity and precision. In other words, the display looks sharp from afar. Many transportation displays have used discrete, through-hole LEDs in the past and it is far harder to manufacture a precise display with such technology. The integrated RGB emitters also result in better color mixing.

Where transportation display requirements differ considerably from, say, facade displays is in viewing angle. A display board on a building or in a sports stadium needs a very broad viewing angle so as many people as possible can see the images. The freeway sign needs the brightness of the LEDs focused much more narrowly so that drivers can see the sign message from as far away as possible. Cree said the CV94D is the brightest LED on the market with a 30° beam pattern.

The color, beam, and uniformity combine with the ease of manufacturing as benefits for manufacturers of signs. SMD LEDs are assembled on automated printed-circuit board (PCB) assembly lines. And precision is a given.

Meet the Stratix 10 NX FPGA: The First AI-Optimized FPGA From Intel

As the immense value proposition of Edge Computing becomes more obvious, Chip manufacturers are working twice as hard to be the one that develops the SOC, FPGA, or MPU that provides designers with all that is needed to develop powerful Edge AI-based solutions. While a lot of progress has been made with MPUs and SOCs via impressive boards like the Google’s Coral and the intel compute stick, there are very few FPGA solutions out there with the kind of specifications required for Edge-AI. Taking a stab at this, Intel recently announced the launch of a new, AI-Optimized FPGA called the Stratix 10 NX.

The Stratix 10 NX is an AI-optimized FPGA, designed for high-bandwidth, low-latency AI acceleration applications. It delivers accelerated AI compute solution through AI-optimized compute blocks with up to 15X more throughput compared to the standard Intel Stratix 10 FPGA DSP Block. It provides an in package 3D stacked HBM high-bandwidth DRAM and up to 57.8G PAM4 transceivers.

The Stratix 10 NX comes with a unique combination of capabilities that provides designers with all that is needed to develop customized hardware with integrated high-performance AI. At the center of these capabilities is a new type of AI-optimized block called the AI Tensor Block, which is tuned for the common matrix-matrix or vector-matrix multiplications used in AI computations, with capabilities designed to work efficiently for both small and large matrix sizes. According to Intel’s spec sheet, a single AI Tensor Block achieves up to 15X more INT8 throughput compared to the standard Intel Stratix 10 FPGA DSP Block.

Asides, the AI Tensor block, the device also implements abundant Near-Compute memory stacks that allow for large, persistent AI models to be stored on-chip, reducing latency with large memory bandwidth, to prevent memory-related performance challenges usually experienced with large models.

To ensure a scalable and flexible I/O connectivity bandwidth and eliminate its limiting effect in multi-node AI inference designs, the device features up to 57.8 Gbps PAM4 transceivers, along with hard IP such as PCIe Gen3 x16 and 10/25/100G Ethernet MAC/PCS/FEC. The flexibility and scalability provided these connectivity solutions make it easy to adapt the device to market requirements.

A highlight of these 3 key features which sets the Stratix 10 NX FPGA apart is provided below;

  • High-Performance AI Tensor Blocks
    • –  Up to 15X more INT8 throughput than Intel Stratix 10 FPGA digital signalprocessing (DSP) block for AI workloads1
    • –  Hardware programmable for AI with customized workloads
  • Abundant Near-Compute Memory
    • Embedded memory hierarchy for model persistence
    •  Integrated high- bandwidth memory (HBM)
  • High-Bandwidth Networking
    • Up to 57.8 G PAM4 transceivers and hard Ethernet blocks for high efficiency
    • Flexible and customizable interconnect to scale across multiple nodes

No price information is available at the moment but more information on the features and applications of the new FPGA can be found on the product’s page on intel’s website.

A new ATMega328p board with onboard OLED Display

Made popular by the Arduino based on it, the Atmega328p has become one of the most popular microcontrollers around, thanks to the ease with which it can be programmed using the Arduino IDE. Either as a direct clone of Arduino boards like Uno and Nano or as a new board with an entirely different form factor, the number of boards based on the Atmega328p has not slowed down, with each board offering one unique proposition or the other. One of the latest board which has been enjoying a good level of success in recent times is the Atmega328p Board designed by New Zealand based Olabec.

The new board is a small form factor development board based on the Atmega328p microcontroller coupled with a 0.96″ Blue OLED display that is connected to the microcontroller via the I2C bus, ensuring the pins used by the screen can also be used for other sensors or actuators (so far they are based on the I2C communication protocol).

The new board also features an onboard serial UART which eliminates the need for an FTDI converter and makes USB connections/code upload easier. The serial UART on the device is based on the CH340, as such, you will need to have its drivers installed on your PC to be able to program the board. The board is compatible with the Arduino Uno board file so to program it with the Arduino IDE, users should select the Arduino Uno as the board type.

According to Olabec, the new board was designed for convenience. Speaking about the reasons for creating the board, he mentioned that

“Rather than have a separate Uno and display board connected with a bird’s nest of wires, the board and display are ready to use. I have also used a Mini USB connector rather than the fragile micro USB”.

For some reason, not all of the I/O pins of the microcontrollers are available on these boards. The available pins include:

  • Digital pins – D2,D3,D4,
  • Analog pins – A0,
  • i2C pins A4,A5 (SCL,SDA)
  • SPI pins through the 6 pin ICP header.

The board runs at 5V with onboard LDO 5V and 3.3V regulators, and the maximum input voltage to it’s Vin pin is 16V.

The 30 mm x 40 mm board is currently available for sale on Tindie for $28.00 and it comes with a laser-cut acrylic frame included for protection.

Meet the Innovative Smoke Alarm/Detectors from X-sense

Smoke Alarms are devices that sense smoke as an indication of fire. They are critical to safety in homes and businesses and are required for most property insurance plans. However, these devices exist in different shapes and sizes on the market, with different features incorporated by different manufacturers, in such numbers that it becomes a difficult task for a non-technical person to choose and establish the difference between them. For this reason, we thought it’d be a good idea to lend our voice to the conversation, starting with a review of one of the coolest Smoke detectors out there: the X-sense SD03.

Made by X-sense, which is regarded as one of the most innovative home safety brands, the SD03 Smoke sensor leverages the capacities of an advanced photoelectric sensor combined with the low-power and high-performance features of an ST chipset, to detect dangerous smoke levels from slow-burning and smoldering fires, quickly, in a way that empowers the device to provide the earliest possible warning of fire while minimizing false alarms.

Designed with reliability in mind, the device features routines that ensure the device is active, and is at all times capable of detection and alerts, through an automatic self-check which is performed every 10s. The check evaluates all critical elements including the sensors and battery life to be sure they are in good condition. If an issue is detected, the device notifies the user via beeps and an LED indicator.

The device was designed for all-round, 24/7 monitoring, as such, it comes with a battery capacity that is certified to comfortably power the device for the estimated product lifespan of 10years, eliminating the challenges users may face with power failure.

An applaudable part of X-sense products is the consideration for the differently-abled and their desire to promote accessibility through products. The X-sense SD03, for instance, comes with 3 LEDs which serves as a way for those with impaired hearing to check the alarm status.

Some technical specifications of the Smoke Alarm include:

  • Operating Life: 10 years
  • Power Source: 3 V CR123A lithium battery (non-replaceable)
  • Sensor Type: Photoelectric
  • Safety Standards: UL 217, ULC S531, EN 14604:2005
  • Certification: Kitemark and ETL listed
  • Standby Current: < 6 µA (avg.)
  • Alarm Current: < 60 mA (avg.)
  • Best Operating Ambient Temperature: 40-100 °F (4.4-37.8 °C)
  • Best Operating Relative Humidity: ≤ 85% RH (non-condensing)
  • Alarm Loudness: ≥ 85 dB at 10 ft (3 m)
  • Silence Duration: ≤ 9 minutes
  • Indicator Light: LED (red/yellow/green)
  • Color: White
  • Material: ABS/PC
  • Installation Method: Screw fixings and mounting bracket supplied
  • Usage: Indoor use only
  • Weight: 0.58 lbs (263 g)
  • Dimensions: 5.7 x 5.7 x 2.0 inches (146 x 146 x 51 mm)

More information on the SD03 Smoke alarm can be found on the Product page on X-sense’s Website.

SC01 Smoke and Carbon Monoxide Detector

Asides the SD03 Smoke alarm, another interesting Smoke Alarm I found among X-sense’s range of products is the X-Sense SC01 Smoke and Carbon Monoxide Detector.

SC01

The X-Sense SC01 combines all the features of the SD03, including its 10-year battery life,  with carbon monoxide detection, and a real-time display of the concentration of CO in the surrounding air, on a built-in LCD.

The 2-in-1 device ensures you get double protection from both invisible, odorless, and deadly CO, and Fire/smoke.

Like the SD03, the SC01 is designed for a 10 years life span and the inbuilt battery is designed to last for that long, removing whatever worry users might have about the performance of the device if a power failure occurs.

Also designed with Accessibility and considerations for the differently-abled in mind, the SC01 also comes with a multicolor LED that provides visual feedback to users.

Some highlight features of the SCO1 include:

  • Real-time display of accurate CO concentration levels on the LCD.
  • Detects both CO and smoke levels in the environment.
  • FIGARO® CO sensor for high sensitivity, accuracy, and reliability.
  • Extra loud buzzer with over 85 dB volume for guaranteed alarming.
  • High-capacity lithium battery for 10 years of reliable operation.
  • Approved by the ETL and BSI.

Some technical specs of the device are provided below:

  • Operating Life: 10 years
  • Power Source: 3 V CR123A lithium battery (non-replaceable)
  • Sensor Type:
    • Smoke: photoelectric
    • CO: electrochemical
  • Safety Standards: UL 217, UL 2034, ULC S531, CSA 6.19-01, EN 14604:2005, EN 50291
  • Certification: Kitemark and ETL listed
  • Standby Current: < 6 µA (avg.)
  • Alarm Current: < 60 mA (avg.)
  • Best Operating Ambient Temperature: 40-100 °F (4.4-37.8 °C)
  • Best Operating Relative Humidity: ≤ 85% RH (non-condensing)
  • Alarm Loudness: ≥ 85 dB at 10 ft (3 m)
  • Silence Duration: Smoke: ≤ 9 minutes; CO: ≤ 6 minutes
  • Display: LCD
  • Indicator Light: LED (red/yellow/green)
  • Material: ABS/PC
  • Installation Method: Screw fixings and mounting bracket supplied
  • Usage; Indoor use only
  • Weight: 0.66 lbs (300 g)
  • Dimensions: 5.7 x 5.7 x 2.0 inches (146 x 146 x 51 mm)

Going through X-sense’s product catalog revealed a bunch of other nicely designed safety devices that every homeowner should probably check out.

More information on the SC01 Smoke alarm sensor can be found on the Product’s page on X-sense’s Website. You can also check this blog post on how to turn off fire alarm.

Finally, it worths mention that the smoke alarms are reasonably priced at $27.99 for the SD30 model and $39.99 for the SC01 model.

And here is a 10% off coupon for SC01:  xsensesc01

Free Elektor Project: Q-Watt Audio Power Amplifier

Good news for all audio enthusiasts: we are proud to present yet another all-analog circuit developed entirely in house. Despite the simple design of this audio power amp with just one pair of transistors in the output stage, Q-Watt can deliver over 200 quality watts into 4 ohms with exceptionally low distortion thanks to the use of a special audio driver IC.

Free Elektor Project: Q-Watt Audio Power Amplifier – [PDF]

Pyroelectric passive infrared (PIR) sensors allow for easy integration, configuration and more design-in possibilities

KEMET (“KEMET” or the “Company”), a subsidiary of Yageo Corporation (“Yageo”), a leading global supplier of electronic components, continues to strengthen its solutions for industrial applications with its range of environmental PIR sensors. By utilizing the pyroelectric effect, these thin-film PZT sensors have both high sensitivity and fast response times to ensure rapid and accurate detection of gas, flame, motion, food, and organic compounds for industrial automation, lighting, power generation and distribution, among many other applications.

Built with hybrid micro-electromechanical systems (MEMS) technology, these high-quality environmental sensors are packaged in a small surface-mount device (SMD) for use in portable and battery-powered detectors. Their capacity for low power consumption, low maintenance, and low sensitivity to mechanical and thermal shock allows for stable performance and a lifespan of up to 15 years, making them ideal for small, smart, or IoT (Internet of Things) devices in industrial, consumer, automotive and medical applications. Compatibility with industry-standard I2C communication enables plug-and-play connectivity to microcontrollers making these sensors easy to configure, tune, and calibrate.

KEMET’s environmental PIR sensors, which use the standard semiconductor manufacturing process, are well-suited for industrial applications. These components are positioned for growth in the environmental sensor market. According to a 2020 report from 360 Market Updates*, the global environmental sensor market is expected to grow at a CAGR of 5.4 percent from 2020 to 2025 and reach USD 1550.1 million by 2025.

KEMET’s range of environmental sensors is available immediately via KEMET distributors. To learn more about their capabilities and applications, visit https://www.kemet.com/en/us/applications/sensing.html

TTGO ESP32-S2 WiFi IoT Board offers an Optional MicroSD Card with a Battery Support

For a while now, most popular ESP32-S2 boards available in the market are produced by Espressif Systems. This includes the ESP32-S2-Saola-1 and ESP32-S2-Kaluga-1. However, there is a new LilyGO TTGO ESP32-S2 board for sale. This micro board is much the same to the ESP32-S2-Saola-1 board, and it is produced in two versions, and features the same form factor, but the TTGO ESP32-S2 has a completely different pinout, and enables a MicroSD card socket and a battery cell connector on one of the boards.

 

ESP32-S-WOOR

 

At first glance, it is easy to differentiate the two boards. The board with simple features is known as “ESP 32-S2 ESP32- S- WOOR,” and it is designed with ESP32-S2W ROOM component. However, the board with more features is the “TTGO ESP32-S2 ESP32-S,” which has its own integrated circuits designed around ESP32-SC WiSoc. The TTGO ESP32-S2 boards have many similar specs. They include:

  • SoC – Espressif Systems ESP32-S2 single-core 32-bit Tensilica LX7 processor having 320 kB SRAM, 128 kB ROM
  • System Memory – 8MB PSRAM
  • Storage – 4MB flash; XY-ESP32-S only: MicroSD card socket
  • Connectivity
    • -2.4GHz 802.11b/g/n WiFi 4 connectivity
    • -Antenna
    • (i) XY-ESP32-S-WOOR: PCB antenna on module
    • (ii)XY-ESP32-S:”3D” antenna
  • USB – 1x USB-C port for power and programming via CH340C USB  to TTL chip
  • Expansion
    • -XY-ESP32-S\; 2x 20-pin headers
    • -XY-ESP32-S-WOOR: 2x 24-pin headers
      • -I/Os -GPIO, PWM, UART,SPI, I2C,I2S,ADC,USB,+5V,VBAT,GND,etc
  • -I/O voltage – 2.7-3.6v
  • Misc
    • -5V/1A via USB port
    • – XY-ESP32-S only:User button and power switch
  • Power Supply
      • – 5V/1A via USB port
  • -XY-ESP32-S only: 2pin JST connector for 3.7-4.2V battery
  • Dimensions & Weight
    • – XY-ESP32-S: 63 x 30 x 6.6mm | 7grams
    • – XY-ESP32-S-WOOR: 70 X 30 X 4.6mm| 8grams
  • Temperature Range –  -40°C – + 85°C

The two ESP32-S2 boards enable FreeRTOS having compatibility with the ESP-IDF SDK, Wi-Fi compatible with an access point, client, AP+client, and P2P modes, WPA/WPA2/WAP2, also supporting UART and OAT firmware upgrades. It seems there is no support in Arduino Core for ESP32 repository, but there is a fork on GitHub for the “ESP32-S2 R/RS Devboard.” There is also another ESP32-S2 dev board which is known as “cucumber”, With some mods, which can work well on TTGO ESP32-S2 boards.

Well, there are other third-party boards that are cheaper than the official boards, so you shouldn’t be surprised to see LilGO ESP32-S2 “XY-ESP32-S-WOOR” board being sold for $4.66, and XY-ESP32-S for $5.44 including shipping. If you have an interest in the Cucumber board, it’s available exclusively in Gravitech located in Thailand with multiple variations having sensors while some don’t have sensors, with pricing ranging from 275 to 425 THB which is about $8.6 TO $13.3 depending on the current market exchange rate. Another board coming soon is the Olimex ESP32-S2 Devkit Lipo which is not available yet, but hopefully, we get more details about it soon.

Power Meter gives accurate Measurement For energy Consumption of IoT devices

In the world of today’s technology, the Internet of Things is very popular. We see that most of the devices used to create the IoT (Internet of Things) function on small batteries or energy harvesting. We find it quite hard measuring the amount of energy being consumed by these IoT devices due to the dynamic nature of the current consumption, with popular measurement methods like multimeter, and oscilloscope having drawbacks. One method developers use is to use multiple instruments and hand calculations to arrive at an estimate of the energy consumption, but this method could be tasking. However, a solution is at hand. Say hello to the ZS1100A. The ZS1100A functions by plotting the current consumption vs time very accurately and in great detail, which can be used along with the battery model to estimate the overall battery life.

Engineers need the new ZS1100A because power consumption of IoT devices follow a particular pattern which is difficult to measure using traditional equipment. The main reasons for this are:

  • High Dynamic Range: An IoT device usually consumes a few μA in sleep mode, and few hundred mA in its transmit mode, depending on the radio. Thus, the current waveform has a very high dynamic range spanning almost 6 decades.
  • High Bandwidth: The current drawn by an IoT device can fluctuate from few mA to hundreds of mA in couple of micro-seconds. Thus, the frequency content of these current waveforms is well over few 100 KHz.
  • Long Profile Times: IoT devices sometimes have a typical profile which can last for several tens of minutes to 1 hour. They could perform irregular wake-ups during this because of some misc activities, and hence these also need to be recorded. For accurate power analysis, complete capture of the profile is needed.

Here comes the ZS1100A to solve these challenges. The product Specifications are listed below:

  • Computer Interfacing: USB 2.0, Type-B connection
    • Free GUI with waveform analysis tools (Windows-only for now)
    • Battery emulation models for most popular batteries – selecting a model automatically sets output voltage, capacity, internal resistance, and max current
    • Data can be exported to sigrok/PulseView for UART, SPI, I²C protocol analysis
    • Data can be exported as ASCII in XML
    • Excellent data compression rates – 24 hours of data takes ~10 GB
  • I/O: Front-facing pins with standard (2.54 mm/.1″) pitch in a 2×5 configuration
    • 6 digital inputs
      • Function as a logic analyzer capturing at 1 MHz
      • Voltage range of 1.8 to 5 V
      • Input impedence of 10 pF || 100 kΩ
      • 4 have 100 kΩ pull-down resistors
      • 2 have 100 kΩ pull-up resistors to VCC
    • 2 GND pins (shorted with the power supply ground)
    • 1 VCC pin
    • 1 CLK output at 1 MHz, 3.3 V, driving a load of 30 pF || 100 kΩ
    • 8 jumper wires included with purchase
  • Indicator Screen: OLED – indicating voltage, current, status, etc.
  • Electromagnetic Shielding: Aluminum enclosure provides excellent noise reduction
  • ESD Protection: On all inputs and outputs
  • Thermal Protection: An internal temperature monitor will automatically shut the unit down in case over overheating
  • Environmental Tolerances:
    • Operating temperature of 15-40°C
    • Operating humidity < 90% RH
  • Power: Barrel jack, 2.1 mm ID, 5.5 mm OD, with a center-positive
    • Input voltage of 12-15 V DC
    • Input amperage of 5 A max
    • 15 V, 3 A power supply is included with purchase
    • Consumption of < 2 W
  • Dimensions: ~ 16 x 11 x 5 cm (~ 5.9 x 4.3 x 2 in)
  • Weight: ~420 g (.93 lbs)
  • Standard Conformance: CE, FCC, RoHS

 

                                   ZS1100A IoT power profile measurement

ZSCircuits plans to manufacture in India or the United States, depending on production volume. The company says low-volume run would occur in India, while a high-volume run would occur in the United States. All fulfillment and logistics would be handled by CrowdSupply. ZSCircuits will ship the required quantity of products directly to the Crowd Supply warehouse in the USA, with backers getting their shipments from Crowd Supply directly. You can learn more about the Crowd Supply fulfillment service in this guide: Ordering, Paying, Shipping: The Details.

Funding will end on Jul 23, 2020 at 04:59 PM PDT (11:59 PM UTC). All support, including documentation, user guide, software, drivers, etc. are uploaded at anglercircuits.com . Documentation will also be made available in the project GitHub repository. More information can be found on Crowd Supply page

Top 10 Popular Microcontrollers Among Makers

At the heart of any embedded electronics device, either on a DIY or professional product level is a microcontroller. They run the codes/firmware that helps developers obtain inputs from sensors and tie it to actions executed through actuators. While they are usually developed as general-purpose components, MCUs are built with certain features and functionalities that make them suitable and (or) preferred by certain developers for certain applications, use cases, or scenarios. These features and functionalities have increased to meet current technological demands, making the microcontrollers not just more powerful, but more diverse, creating a selection headache for designers.  Today’s article will, in no particular order, highlight the 10 most popular microcontrollers based on how often they have featured in products and the size of the communities around them.

Ready? let’s go

1. STM32F103C8T6

The STM32F10C8T6 is a popular member of the STM32F103xx medium-density performance line family of microcontrollers that feature a high-performance ARM® Cortex®-M3 32-bit RISC core operating at a 72 MHz frequency and possess an extensive range of enhanced I/Os and peripherals connected to two APB buses. All members of the STM32F103x family, including the CT86, offer two 12-bit ADCs, three general-purpose 16-bit timers plus one PWM timer, as well as standard and advanced communication interfaces: up to two I2Cs and SPIs, three USARTs, an USB and a CAN.

Features:

  • ARM® 32-bit Cortex®-M3 CPU Core – 72 MHz maximum frequency, 1.25 DMIPS/MHz (Dhrystone 2.1) performance at 0 wait state memory access – Single-cycle multiplication and hardware division
  • Memories
    • 64 or 128 Kbytes of Flash memory
    • 20 Kbytes of SRAM
  • Clock, reset and supply management
    • 2.0 to 3.6 V application supply and I/Os
    • POR, PDR, and programmable voltage detector (PVD)
    • 4-to-16 MHz crystal oscillator
    • Internal 8 MHz factory-trimmed RC
    • Internal 40 kHz RC – PLL for CPU clock
    • 32 kHz oscillator for RTC with calibration
  • Low-power Sleep, Stop and Standby modes
    • VBAT supply for RTC and backup registers
    • 2 x 12-bit, 1 µs A/D converters (up to 16 channels)
    • Conversion range: 0 to 3.6 V
    • Dual-sample and hold capability
    • Temperature sensor
  • DMA
    • 7-channel DMA controller
    • Peripherals supported: timers, ADC, SPIs, I 2Cs and USARTs
  • Up to 80 fast I/O ports
    • 26/37/51/80 I/Os, all mappable on 16 external interrupt vectors and almost all 5 V-tolerant
  • Debug mode – Serial wire debug (SWD) & JTAG interfaces
  • 7 timers
    • Three 16-bit timers, each with up to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder input
    • 16-bit, motor control PWM timer with deadtime generation and emergency stop
    • 2 watchdog timers (Independent and Window)
    • SysTick timer 24-bit down counter
  • Up to 9 communication interfaces – Up to 2 x I2C interfaces (SMBus/PMBus)
    • Up to 3 USARTs (ISO 7816 interface, LIN, IrDA capability, modem control)
    • Up to 2 SPIs (18 Mbit/s)
    • CAN interface (2.0B Active)
    • USB 2.0 full-speed interface

Development Boards based on MCU:

  • Blue Pill

2. ATmega328

Arguably one of the most popular microcontrollers in the world, the Atmega328p has been the microcontroller of choice to a lot of designers who want to avoid the bulkiness of the Arduino boards, but retain the ease of programming, community support, and other amazing features associated with the Arduino development platform. It’s an 8-bit AVR microcontroller based on an advanced RISC architecture and combines 32KB ISP flash memory with read-while-write capabilities.

Features:

1KB EEPROM, 2KB SRAM, 23 general purpose I/O lines, 32 general purpose working registers, three flexible timer/counters with compare modes, internal and external interrupts,serial programmable USART, a byte-oriented 2-wire serial interface, SPI serial port, 6-channel 10-bit A/D converter (8-channels in TQFP and QFN/MLF packages), and

  • Program Memory – 32KB (Flash)
  • CPU Speed (MIPS/DMIPS) – 20
  • 1KB EEPROM
  • Digital Communication Peripherals – 1-UART, 2-SPI, 1-I2C
  • 2KB SRAM
  • 23 GPIO
  • 6-channel 10-bit A/D converter (8-channels in TQFP and QFN/MLF packages)
  • 5 software selectable power saving modes
  • 3 builtin Timers with compare modes – 2 8bit and 1 16bit
  • PWM pins – 6
  • programmable watchdog timer with internal oscillator
  • 32 general-purpose working registers,

Development Boards Based on MCU:

  • Arduino Nano
  • Arduino UNO
  • Arduino Pro Mini
  • Sparkfun Redboard
  • A host of other Arduino Clones

Standout Features:

  • Express Compatibility with the Arduino Development platform
  • Large community support due to relationship with Arduino

3. PIC16F877A

The PIC16F877A is arguably the most popular 8-bit microcontroller in the PIC family of MCUs. While it’s considered by some as old and past its time, the PIC16F877A is no doubt, still one of the most popular microcontrollers in the world. It is seen as the de-facto microcontroller for beginners looking to get into embedded development with PIC and it ends up as the microcontroller of choice for them when they become experts.

Features:

Some features of the PIC16F877A are provided below:

  • Total number of Pins – 40
  • Total number of ports – 5 (port A, port B, port C, port D, port E)
  • Operating Voltage – 2 to 5.5V
  • Number of input/output pins – 33
  • Number of ADC pins – 14
  • ADC Resolution – 10-bit
  • Number of Comparators – 2
  • Number of timers – 3
  • Communication protocols – UART, SPI, I2C
  • External Oscillator – up to 20Mhz
  • Program Memory – 14KB
  • RAM – 368 bytes
  • EEPROM – 256 bytes
  • Max PWM resolution – 10
  • Support both hardware pin and timer interrupts

Development Boards Based on MCU:

  • The PIC Development board

Dev boards are one of the reasons why PIC microcontrollers are increasingly becoming unpopular. While the PIC development boards are usually very good for beginners because they come with different components that aids learning, for the average designer, they are considered bulky and pretty much uninteresting to work with, as most of the components included are usually not needed by experienced designers.

4. Attiny85

Loved for their tiny form-factor, the ATtiny series of microcontrollers are considered as the go-to microcontroller for projects where a small form factor is desired, and the number of GPIOs required is low. Of all the microcontrollers in this series, the aTtiny85 is regarded as the most popular, presumably because it seems to have more I/O pins compared to others. While Microchip announced a new range of ATtiny chips with significant performance upgrades, the ATtiny85 is still revered, mostly because of the familiarity most designers have built with it over time.

Features:

Some features of the ATtiny85 include:

  • Total number of pins – 8
  • CPU type – RISC 8-Bit AVR
  • Operating Voltage – 1.8 – 5.5V
  • Program Memory – 8K
  • RAM Memory – 512Bytes
  • EEPROM Memory – 512Bytes
  • ADC Resolution – 10-Bit
  • Number of ADC pins – 4
  • Number of Comparators – 1
  • GPIO’s – 6
  • No of Timers – 2 8-bit timers
  • Communication Protocols-  SPI, I2C, and USART.
  • Number of PWM pins – 4
  • Maximum oscillator speed – Up to 20MHz

Development Boards Based on MCU:

  • Mini ATtiny85 USB
  • Digispark ATtiny85

Standout Features:

Stand out feature for the ATtiny85 will be their small form-factor and their relatively low power consumption features.

5. MSP430G2452

The MSP430 family of microcontrollers from TI are considered as some of the most modern microcontrollers and the most popular member of that family so far has been the MSP430G2452. The MSP430G2452 is a powerful, and relatively cheap microcontroller based on a 16-bit RISC CPU manufactured by Texas Instruments.

Features:

Some features of the MCU include:

  • Number of Comparator channels – 8
  • ADC channels – 8
  • Number of GPIO’s pins – 16
  • ADC Resolution – 10-Bit SAR
  • Number of Timers – 1 (16-bit)
  • Non-Volatile Memory – 8kB
  • Communication protocols – 1 I2C, 1 SPI
  • Low Supply Voltage Range – 1.8V – 3.6V
  • Low-Frequency Oscillator-32-kHz Crystal and also external Digital Clock Source
  • SRAM – 256B
  • Active Mode Power consumption – 220microA at 1MHz

Development Boards Based on MCU:

  • MSP-EXP430G2 LaunchPad TI Development Board

Standout Features:

The MSP430 series of microcontrollers are famous for their low power features.

6. ESP8266

The popularity of the ESP8266 cannot be contested. It is unarguably one of the most impactful microcontrollers of the last decade and it definitely was one of the pacesetters for the current trend of microcontrollers with fused communication capabilities. Developed by Espressif Systems, the ESP8266 is a low-cost Wi-Fi microchip, with a full TCP/IP stack and microcontroller capability. Multiple versions of the MCU were created in quick succession and what started initially as a Wi-Fi module for microcontrollers quickly spurned off to a module like the ESP-12e which became the heart of several projects and products.

Features:

  • Processor: L106 32-bit RISC microprocessor core based on the Tensilica Xtensa Diamond Standard 106Micro running at 80 MHz
  • Memory:
    • 32 KiB instruction RAM
    • 32 KiB instruction cache RAM
    • 80 KiB user-data RAM
    • 16 KiB ETS system-data RAM
  • External QSPI flash: up to 16 MiB is supported (512 KiB to 4 MiB typically included)
  • IEEE 802.11 b/g/n Wi-Fi
    • Integrated TR switch, balun, LNA, power amplifier and matching network
    • WEP or WPA/WPA2 authentication, or open networks
  • 16 GPIO pins
  • SPI
  • I²C (software implementation)
  • I²S interfaces with DMA (sharing pins with GPIO)
  • UART on dedicated pins, plus a transmit-only UART can be enabled on GPIO2
  • 10-bit ADC (successive approximation ADC)

Development Boards Based on MCU:

There are over 100 development boards based on the different variations of the ESP8266. To mention a few, some of these boards include;

  • NodeMCU DevkIT
  • Wemos D1
  • Wemos D1 Mini
  • Adafruit Feather HUZZAH ESP8266
  • SparkFun ESP8266 Thing

Standout Features:

Some standout features of the ESP8266 includes;

  • Integrated WiFI and Microcontroller reduces BOM and sourcing related headaches
  • Low cost
  • pre-certified (FCC and CE)
  • large Community support
  • Compatibility with popular Platforms like the Arduino IDE

7. ESP32

An upgrade to the ESP8266, the esp32 has enjoyed great support and adoption since its release few years back. it is a low-cost, low-power system on a chip microcontroller with integrated Wi-Fi and dual-mode Bluetooth. it uses the Tensilica Xtensa LX6 microprocessor in both dual-core and single-core variations and includes built-in antenna switches, RF balun, power amplifier, low-noise receive amplifier, filters, and power management modules. Designed for modern applications, ESP32 also incorporates several security features like Cryptographic hardware acceleration, flash encryption, and secure boot.

Features:

Some features of the MCU include:

  • Processors:
    • CPU: Xtensa dual-core (or single-core) 32-bit LX6 microprocessor, operating at 160 or 240 MHz and performing at up to 600 DMIPS
    • Ultra-low power (ULP) co-processor
  • Memory: 520 KiB SRAM
  • Wireless connectivity:
    • Wi-Fi: 802.11 b/g/n
    • Bluetooth: v4.2 BR/EDR and BLE (shares the radio with Wi-Fi)
  • Peripheral interfaces:
    • 12-bit SAR ADC up to 18 channels
    • 2 × 8-bit DACs
    • 10 × touch sensors (capacitive sensing GPIOs)
    • 4 × SPI
    • 2 × I²S interfaces
    • 2 × I²C interfaces
    • 3 × UART
    • SD/SDIO/CE-ATA/MMC/eMMC host controller
    • SDIO/SPI slave controller
    • Ethernet MAC interface with dedicated DMA and IEEE 1588 Precision Time Protocol support
    • CAN bus 2.0
    • Infrared remote controller (TX/RX, up to 8 channels)
    • Motor PWM
    • LED PWM (up to 16 channels)
    • Hall effect sensor
    • Ultra-low-power analog pre-amplifier
  • Security:
    • IEEE 802.11 standard security features all supported, including WFA, WPA/WPA2 and WAPI
    • Secure boot
    • Flash encryption
    • 1024-bit OTP, up to 768-bit for customers
    • Cryptographic hardware acceleration: AES, SHA-2, RSA, elliptic curve cryptography (ECC), random number generator (RNG)
  • Power management:
    • Internal low-dropout regulator
    • Individual power domain for RTC
    • 5μA deep sleep current
    • Wake up from GPIO interrupt, timer, ADC measurements, capacitive touch sensor interrupt

Development Boards Based on MCU:

Like the ESP8266 there are a lot of development boards based on the ESP32. Some of these boards include;

  • HUZZAH32
  • ESP32-DevKitC
  • NodeMCU-32S
  • ESPduino32
  • ESP32 Thing

Standout Features:

Asides WiFi, ESP32 features Bluetooth and implements security and low power features that are not available in regular devices.

8. ATMEGA32U4

The Atmega32u4 is a low-power Microchip 8-bit AVR® RISC-based microcontroller featuring 32 KB self-programming flash program memory, 2.5 KB SRAM, 1 KB EEPROM, USB 2.0 full-speed/low-speed device, 12-channel 10-bit A/D-converter, and JTAG interface for on-chip-debug. The device is able to execute powerful instructions in a single clock cycle, enabling it to achieve up to 16 MIPS throughput at 16 MHz. This gives designers the ability to optimize power consumption versus processing speed.

Features:

  • Complies fully with Universal Serial Bus Specification Rev. 2.0
  • Supports data transfer rates up to 12 Mbit/s and 1.5 Mbit/s
  • Endpoint 0 for Control Transfers: Up to 64 bytes
  • Six Programmable Endpoints with In or Out Directions and with Bulk, Interrupt or Isochronous Transfers
  • Configurable Endpoints size up to 256 bytes in double bank mode
  • Fully independent 832 bytes USB DPRAM for endpoint memory allocation
  • Suspend/Resume Interrupts
  • CPU Reset possible on USB Bus Reset detection
  • 48 MHz from PLL for Full-Speed Bus Operation
  • USB Bus Connection/Disconnection on Microcontroller Request
  • A crystal-less operation for Low-Speed mode

Development Boards Based on MCU:

The Atmega32u4 is a popular microcontroller and is featured in several development boards some which include;

  • Teensy 2.0
  • Arduino Beetle
  • Arduino Pro Micro
  • Arduino Leonardo
  • Qwicc Pro
  • Arduino Leonardo Clones

9. STM8S103F3

The STM8 family of microcontrollers offers a high-performance 8-bit core and a state-of-the-art set of peripherals in a tiny form factor, similar to what is obtainable with the  ATtiny series of MCUs. The family is made up of 4 series including; the STM8S, the STM8L, the STM8AF, and the STM8AL. Of all these, the STM8S series is considered to be the mainstream MCU and the STM8S103F3 is considered to be one of the most popular MCUs in the Series.

The 8-bit microcontroller offers 8 Kbyte Flash program memory, with an integrated true data EEPROM, advanced core and peripherals, a 16 MHz clock frequency, robust I/Os, independent watchdogs with separate clock source, and a clock security system, all of which ensures its high performance and overall system robustness.

Features:

Highlight features of the microcontroller, according to the datasheet include:

  • Core
    • 16 MHz advanced STM8 core with Harvard architecture and 3-stage pipeline
    • Extended instruction set
  • Memories
    • Program memory: 8 Kbyte Flash; data retention 20 years at 55 °C after 10 kcycle
    • Data memory: 640 byte true data EEPROM; endurance 300 kcycle
    • RAM: 1 Kbyte
  • Clock, reset and supply management
    • 2.95 to 5.5 V operating voltage
    • Flexible clock control, 4 master clock sources
      • Low power crystal resonator oscillator
      • External clock input
      • Internal, user-trimmable 16 MHz RC
      • Internal low-power 128 kHz RC
    • Clock security system with clock monitor
    • Power management:
      • Low-power modes (wait, active-halt, halt)
      • Switch-off peripheral clocks individually
    • Permanently active, low-consumption power-on and power-down reset
  • Interrupt management
    • Nested interrupt controller with 32 interrupts
    • Up to 27 external interrupts on 6 vectors
  • Timers
    • Advanced control timer: 16-bit, 4 CAPCOM channels, 3 complementary outputs, dead-time insertion and flexible synchronization
    • 16-bit general purpose timer, with 3 CAPCOM channels (IC, OC or PWM)
    • 8-bit basic timer with 8-bit prescaler
    • Auto wake-up timer
    • Window watchdog and independent watchdog timers
  • Communication interfaces
    • UART with clock output for synchronous operation, SmartCard, IrDA, LIN master mode
    • SPI interface up to 8 Mbit/s
    • I2C interface up to 400 kbit/s
  • Analog to digital converter (ADC)
    • 10-bit, ±1 LSB ADC with up to 5 multiplexed channels, scan mode and analog watchdog
  • I/Os
    • Up to 28 I/Os on a 32-pin package including 21 high sink outputs
    • Highly robust I/O design, immune against current injection
  • Unique ID
    • 96-bit unique key for each device

Development boards Based on Microcontroller:

There are a lot of breakout boards based on the STM8S103F3 microcontroller that are not sophisticated enough to be classified as a development board. Some noteworthy boards based on the MCU include;

  1. Sduino / STM8Blue and similar clones
  2. STM8S103F3 P6 Development Board

10. NXP LPC1768

The LPC1768 is a Cortex®-M3 microcontroller designed for embedded applications with low power requirements. It features a high level of integration and low power consumption at frequencies of up to 100 MHz. It’s is a high-performance microcontroller and features up to 512 kB of flash memory and 64 kB of data memory, along with peripherals like an Ethernet MAC, a USB Device/Host/OTG interface, 8-channel DMA controller and 4 UARTs, among others.

Features

Some highlight features of the NXP LPC1768 includes:

  • Arm® Cortex-M3 processor, running at frequencies of up to 100 MHz
  • Arm Cortex-M3 built-in Nested Vectored Interrupt Controller (NVIC)
  • Up to 512 kB on-chip flash programming memory
  • Up to 64 kB On-chip SRAM
  • In-System Programming (ISP) and In-Application Programming (IAP)
  • Eight channel General Purpose DMA controller (GPDMA)
  • Ethernet MAC with RMII interface and dedicated DMA controller
  • USB 2.0 full-speed device/Host/OTG controller
  • Four UARTs with fractional baud rate generation, internal FIFO, and DMA support
  • CAN 2.0B controller with two channels
  • SPI controller with synchronous, serial, full duplex communication
  • Two SSP controllers with FIFO and multi-protocol capabilities
  • Three enhanced I2C bus interfaces
  • I2S (Inter-IC Sound) interface
  • 70 General Purpose I/O (GPIO) pins with configurable pull-up/down resistors
  • 12-bit/8-ch Analog/Digital Converter (ADC) with conversion rates up to 200 kHz
  • 10-bit Digital/Analog Converter (DAC) with dedicated conversion timer and DMA
  • Four general purpose timers/counters
  • One motor control PWM with support for three-phase motor control
  • Quadrature encoder interface that can monitor one external quadrature encoder
  • One standard PWM/timer block with external count input
  • Low power RTC with a separate power domain and dedicated oscillator
  • WatchDog Timer (WDT)
  • Arm Cortex-M3 system tick timer, including an external clock input option
  • Repetitive interrupt timer provides programmable and repeating timed interrupts
  • Each peripheral has its own clock divider for further power savings
  • Standard JTAG test/debug interface for compatibility with existing tools
  • Integrated PMU (Power Management Unit)
  • Four reduced power modes: Sleep, Deep-sleep, Power-down, and Deep power-down
  • Single 3.3 V power supply (2.4 V to 3.6 V)
  • Four external interrupt inputs configurable as edge/level sensitive
  • Non-maskable Interrupt (NMI) input
  • Wake-up Interrupt Controller (WIC)
  • Processor wake-up from Power-down mode via any interrupt
  • Brownout detect with separate threshold for interrupt and forced reset
  • Power-On Reset (POR)
  • Crystal oscillator with an operating range of 1 MHz to 25 MHz
  • 4 MHz internal RC oscillator trimmed to 1 % accuracy
  • Code Read Protection (CRP) with different security levels
  • Unique device serial number for identification purposes

Development Boards:

Top development boards based on the NXP LPC1768 include;

  1. Arm Mbed LPC1768 Board
  2. Keil LPC1769 Evaluation Board
  3. LPCXpresso board for LPC1769 with CMSIS DAP probe

With 1000s of microcontrollers in existence, there are definitely a few other microcontrollers out there that probably deserve a spot on this list, but you will agree with me that the community, projects, and products that have been built around the MCUs featured in these articles are hard to match.

What are your thoughts? what other microcontrollers do you think should have made this list? Feel free to share via the comment section.

TOP PCB Companies