STC is a Chinese maker of microcontroller chips, mostly 8051 architecture. The whole environment is characterised by a lack of English language information, or unreliable information.
The U8W is a programmer for some of their chips, and works in concert with their ISP programming software (Windows).
I have started using Arduino Pro Micros recently, and sourced inexpensive clones from China.
Experience is that all manner of inexpensive small microcontroller modules from China are likely to have issues with the bootloader: it isn’t there, it is back level, not suited to the actual clock speed.
I have come to routinely install a current / known / working bootloader to avoid wasting time down the track.
The Pro Micro does not have an ISP header, and the QFN package does not suit a chip adapter, so the next option is an adapter that can connect to the board with no pins, male or female headers, top or bottom.
Above is an adapter built on a small piece of Veroboard. If you are ging to copy it, make it one row of holes higher. I did initially, and in a miscount of rows, I incorrectly removed the top row. The black mark identifies the pin 1 of the Pro Micro, and the adapter connects to the side with the /RST pin.
The headers on the adapter engage JP6, preserving the pin ordering, pin 1 to the black mark on the veroboard.
This article documents a project with the Espressif ESP8266.
This project is based on ESP8266 IoT DHT22 temperature and humidity – evolution 3, but uses the Bosch BME280 temperature, humidity and pressure sensor. The BME280 has been around for a couple of years, but recently, modules using the chip have become available on eBay for a couple of dollars.
The objective is a module that will take periodic temperature, humidity atmospheric pressure (barometer) measurements, and in this evolution publish them using a RESTful API.
The example platform used in this article is a Wemos D1Pro. In this case, the D1Pro is configured for an external antenna, and a modification is made to the board to add a 1N34A diode for the deep sleep reset circuit (NodeMCU devkit V1 deep sleep). A right angle header on the top of the board (as seen) and another on the underside on the opposite edge to get GND, +3.3, D3 and D4 for the BME280 sensor. There is less than $25 in parts in the pic above. Continue reading ESP8266 IoT BME280 temperature, humidity and pressure
ESP8266 remote power display for energy monitor – EV3 documented an evolved design for a real power display using emontx3 / emonhub / mqtt. This article documents an adaptation to use a 5V display module (for higher brightness). The ESP8266 is not 5V tolerant, so a logic level converter is needed.
Hardware
The remote power display uses a Wemos D1Pro module, a common 5V 4 digit 14.2mm seven segment LED module with 74HC595 shift register per digit, and a common 3V/5V logic level converter between them.
The remote power display uses a ESP8266-12E devkit 1.0 module, a common 3.3V 4 digit 14.2mm seven segment LED module with 74HC595 shift register per digit. The particular LED module has sufficient space to mount the ESP8266 inside the module.
ESP8266 remote power display for energy monitor documented a design and some variations for a real power display display using emontx3 / emonhub / mqtt. This article documents a simple compact implementation.
Hardware
The remote power display uses a ESP8266-12E devkit 1.0 module, a common 3.3V 4 digit 14.2mm seven segment LED module with 74HC595 shift register per digit. The particular LED module has sufficient space to mount the ESP8266 inside the module.
This article documents remote power display for an energy monitor system based on emontx3 / emonhub / mqtt.
The remote power display connects via WiFi and subscribes to a topic on a MQTT server, updates are published every 10s with data from the emontx3 by emonhub.
Hardware
The remote power display uses a Wemos D1Pro ESP8266 module, a common 4 digit 14.2mm seven segment LED module with 74HC595 shift register per digit, and a simple 3V/5V level converter between the two (see above shrink wrapped in the cable from the D1Pro to the display). Continue reading ESP8266 remote power display for energy monitor
The objective is a module that will take periodic temperature and humidity measurements, and in this evolution publish them using a RESTful API.
Evolution 3
The example platform used in this article is a Wemos D1Pro. In this case, the D1Pro is configured for an external antenna, and a modification is made to the board to add a 1N34A diode for the deep sleep reset circuit (NodeMCU devkit V1 deep sleep). A three pin right angle header to the top of the board (as seen) and another on the underside on the opposite edge to get GND, +5, +3, and D4 for the DHT22 data wire. There is less than $20 in parts in the pic above. Continue reading ESP8266 IoT DHT22 temperature and humidity – evolution 3