Programming jig for STC15Fx DIP-8, DIP-28 chips

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).

STCMicroPgmAdapterAbove, the completed adapter. Both DIP-8 and DIP-28 are located furthese from the operating lever, and pin 1 towards the operating lever, the same jumper connections are used for both chip sizes for STC15F104E and STC15F204E.

There are two spare Gnd pins next to the black jumper above but hidden from view. They are for grounding jumpers that may be required to enable programming of some ‘bootloader protected’ chips.

The 6 pin male and female headers at lower left accept a USB-RS232 adapter (break out board style or cable) with the common Arduino pinout. The only thing that commits the pinout is the 1µF bypass capacitor between Vcc and Gnd pins and the spare Gnd pins. The USB-RS232 adapter powers the chip being programmed, and it needs to be a 5V adapter.

Alternatively one of the little MAX232 adapter boards could be used with a physical RS232 port, but power will be required.

 

Fox flasher MkII

Flashing LED driver using an ESC described a LED driver for an animal deterrent using a repurposed brushless DC motor electronic speed controller.

This article describes a simpler implementation based on a Chinese 8051 architecture microcontroller, the STC15F104E.

ff201

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). Continue reading Fox flasher MkII

Thermistor for CBAIV

I wanted to embed some thermistors in battery packs to use them with CBAIV and sought specifications from Westmountain Radio who declined to supply the information.

It is a straight forward matter to measure the resistance of a thermistor immersed in a stable bath of water, and similarly to observe the software response to standard resistors. Continue reading Thermistor for CBAIV

Time to get some experience with 32bit microcontrollers

After almost 50 years working with 8bit microcomputers and microcontrollers, I thought it about time to get my hands dirty on some 32bit microcontrollers.

The plan is to investigate two streams, one ST Microcontoller based and one ATMEL based, both ARM architecture. Continue reading Time to get some experience with 32bit microcontrollers

Capturing the AVR hex file built by Arduino on Windows

One often sees enquiries by people trying to save the hex file made during the Arduino build process.

It is not trivial, as in their wisdom, Arduino hides these details, and builds the hex file in a randomly named temporary directory for each IDE which it deletes when the IDE is closed.

There are times when you may want to save the hex file, perhaps to load it without a bootloader or using a non-supported bootloader, Flashing LED driver using an ESC was just such a project. Continue reading Capturing the AVR hex file built by Arduino on Windows

Cooling an IC2200H – update #2

I have described a solution an overheating problem with my IC2200H at Cooling an IC2200H.

IC2000HCoolingAnother solution for control of the fan to minimise nuisance draft and noise is one of the inexpensive digital thermostats on eBay.

I reviewed one of these things at Review of inexpensive Chinese thermostat – MH-1210. It had its issues, but as modified for 12VDC operation, I tested it for control of the fan in the above pic.

cctstat01Above is the thermostat, though modified, purchased for about A$12 including post and the sensor thermistor. Don’t buy the MH-1210 as some at least are shipped with incorrect calibration. Continue reading Cooling an IC2200H – update #2

Cooling an IC2200H – update

IC2000HCooling2

I have an IC2200H mounted on my operating table with 25mm clearance above the radio and ample room for convection currents to assist in heat removal. It is concerning that the case temperature reaches temperatures that are not safe to touch, temperatures in excess of 75° (55° above ambient) have been measured and that has not triggered the internal temperature protection… so it could get hotter still!

Whilst it might take a while for the radio to reach high temperatures, in the long term, it must dissipate around 139W when transmitting on HIGH power setting and at ambient temperatures as high as 35° in the shack. (Rated input is 15A at 13.6V for 65W out, leaving 139W of heat to be dissipated.)

This is one of those high power mobile radios that advertises no fan as an advantage, but it is clearly not up to the task!

The objective of this change is to keep the external parts below 60°, the (ASTM standard C1055  1999) 5 second human skin burn threshold.

Continue reading Cooling an IC2200H – update

A test run of the generic heating / cooling controller with 10k NTC thermistor sensor

The generic heating / cooling controller (hcctl) is a flexible bang-bang thermostat controller based on an ATTiny25.

hcctl101

The test load is a pot containing 1l of water and a 1200W immersion element controlled by the SSR above (on-off control). The controller board is a ‘fully optioned’ test framework, hcctl is the left hand DIP8 and the other is a TC427 H bridge (not needed for this SSR which can be driven directly from the ATTiny25 output pin) for buffered output and alarm. Continue reading A test run of the generic heating / cooling controller with 10k NTC thermistor sensor