The STC15Fx chips use a simple TTL/CMOS async programming interface that is suited to the common USB-RS232(TTL) adapters. This article describes a low cost programmer that also allows the programming application to Vcc (so initiating the boot loader automatically).
Above is the programmer ($2.50 on eBay) and a small adapter that plugs into the top row of the 2×5 header on the programmer.
DIP-28 are located carefully so that the pins 10-18 are in the socket, the same connections are used for both chip sizes for STC15F104E and STC15F204E. Continue reading Basic programming jig for STC15F104E and STC15F204E chips #3
STC produce the U8W & U8 programmers for a range of their chips.
The thing has a JST 7way XH socket provided for an ISP connection to a target board. It is accessed through a cutout in the acrylic housing, but the cutout is no bigger than the shoulder on an XH plug and one cannot get tools in beside it to pry the plug out without pulling on the wires.
The good thing is that there is an inexpensive “XH plug saver” sold to the RC market, it provides a means of getting a convenient grip on the plug without pulling on the wires.
First step is to mill out the case opening to accommodate the XH plug saver.
Next, add the XH plug saver to the XH plug, and it all works. Continue reading XH plug savers on the STC U8W & U8 programmer
A recent purchase of an inexpensive ($6) speaker polarity tester prompted a need for a stand alone driver for speakers.
Above, the tester has a microphone that senses the polarity of the pressure wave and indicates with one of two LEDs.
The tester comes with a CD containing a file that can be used to provide the test signal on a complete system with CD player, but there is a need for a stand alone driver for testing bare speakers or speaker units.
Speaker tick generator (for polarity testing) described a stand alone test pulse generator based on re-purposing a brushless DC motor controller (ESC, used for RC models).
This article describes a simple tick generator using a inexpensive 8051 type MCU (STC15F104E) and a H-bridge IC (TC427).
Above, the prototype was build on a small piece of Veroboard. DC input of 6-15V is applied to the 2.1×5.5mm DC jack, and speaker output is on the screw terminals (nearest to DC jack is -ve). Continue reading Speaker tick generator #2 (for polarity testing)
Fox Flasher MkII and several follow on articles described an animal deterrent based on a Chinese 8051 architecture microcontroller, the STC15F104E.
This is an update after several years operation outside, and some in service modifications to improve performance.
Above is the original basic schematic.
Above is the revised schematic. One only high current LED driver is shown, use as many as needed. The battery charger / protection module is based on TP4056 and DW01 chips and modules sell on eBay for $1 or so. Continue reading Fox flasher MkII update 7/2019
The STC15Fx chips use a simple TTL/CMOS async programming interface that is suited to the common USB-RS232(TTL) adapters, some of which are less than A$2 on eBay (CH341 chip).
Above, the completed adapter. DIP-28 are located carefully so that the pins 10-18 are in the socket, the same connections are used for both chip sizes for STC15F104E and STC15F204E. Continue reading Basic programming jig for STC15F104E and STC15F204E chips
ESP01S first experience outlined steps to get a ESP01S up and running.
This article lays out an example IoT submission to Thingspeak using Expect as the test frame. Continue reading ESP01S IoT – Thingspeak GET submission
I purchased some ESP01S ESP8266 based WiFi modules on eBay.
Above, the ESP01S is a basic module comprising an ESP8266 and 1MB SPI flash memory (~$2.50 on eBay). Continue reading ESP01S first experience
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).
Above is the U8W. It was supplied without any documentation by an Aliexpress seller. Requests from the seller and from STC have not yielded any information. Continue reading Trying to make sense of the STC U8W chip programmer
Fox flasher MkII described a LED driver for an animal deterrent using a Chinese 8051 architecture microcontroller, the STC15F104E.
Above, the schematic. A very simple circuit with just a handful of electronic components (one capacitor, two resistors, one LDR, one Polyswitch, 4 x LEDs and the MCU). Note the capacitor in shunt with the LDR, it is to reduce noise and to provide a level of RFI protection. Continue reading Fox flasher MkII – update 07/2019
Fox flasher MkII – high power 2 LED solar powered beacon described a LED driver for an animal deterrent using a Chinese 8051 architecture microcontroller, the STC15F104E.
This article documents its failure in June 2019 after five years service. Continue reading Fox flasher MkII – high power 2 LED solar powered beacon – update 6/2019