STMICRO STM8 Category - Page 2 of 2 - CNX Software - Embedded Systems News

ESP-14 WiFi Module Combines ESP8266 with STM8S MCU

ESP8266 WiFi modules can be purchased for less than $3, while some STM8S 8-bit MCUs board sell for just above $1. A.I. Thinker decided to combine both by adding an STMicro STM8S003 micro-controller to ESP-12E module and called that ESP-14. ESP-14 specifications: WiSoC – Expressif ESP8266-EX WiSoC MCU – STMicro STM8S003F3P6 8-bit MCU @ 16 MHz with 1KB RAM, 8KB flash, and 128 bytes EEPROM Connectivity – 802.11 b/g/n WiFi I/Os – STM8: 15 GPIOs also supporting I2C, SPI, UART, and up to 5 10-bit ADC ESP8266: E_GPIO0 to select operating mode (running or download) Power Supply – 3.3V Power Consumption – System Standby mode 70 mA; 0.5 μA shutdown @3.3V Dimensions – 24 x 16 mm STM8S controls ESP8266 by AT commands, and all but one of the I/Os are directly connected to STM8S. I can see at least two advantages: 5 ADC inputs are available, and for battery […]

How to Program STMicro STM8S $1 Board in Linux

In January, I discovered there was such thing as a one dollar development board based on STMicro STM8S103F3P6 8-bit MCU with 1KB SRAM, 8KB flash, and 640 bytes EEPROM, some GPIOs as well as I2C, UART, SPI, ADC, and PWM signals. Links to documentation and source code were provided, but development tools were only Windows based. However, one of my reader informed me SDCC (Small Devices C Compiler) supported STM8, and development in Linux should be feasible. So I decided to buy the board on eBay for $1.62, as well as an ST_link V2 programmer for STM8 / STM32 for $4.52 in order to flash the firmware. The board came pretty quickly, i.e. within 2 to 3 weeks. But due to a lost package, the programmer took nearly 3 months to reach me, as the seller had to re-send after I failed to receive it within 2 months. It comes […]