Fox flasher MkII update 9/2024

Fox Flasher MkII and several follow on articles described an animal deterrent based on a Chinese 8051 architecture microcontroller, the STC15F104E.

Fox flasher MkII update 7/2019 documented a rebuild of the enclosure etc.

This is an update after five more years operation outside.

Above is a pic of the device. The polycarbonate case has yellowed a little. Importantly the cheap PVA has not crazed, it is kept dry by the outer enclosure, and a hydrophobic vent helps keeps the interior dry.

The battery is a pouch LiPo single cell, it is in good condition. A previous trial with 18650 LiIon cells showed they were unsuitable for the environmentals.

USBasp – hints

The USBasp is a really useful and quit inexpensive ISP programmer that suits AVR 8 bit microcontrollers.

This article offers some hints on buying and using the USBasp.

There are lots of sellers of these on eBay, Aliexpress etc… but there are traps in buying them. I recall buying the USBasp with cable for less than $5, but they are more like double that now… or more

The adapters with the pogo pins are simply ordinary adapters with P75-xxx (eg P75-LM2) pogo pins inserted. Continue reading USBasp – hints

Fix for a certain TM1637 LED display

There are a miriad of low cost displays for hobbyists in online shops, particularly targeting Arduinos where libraries exist to drive the most common chips.

This article looks at a 4 digit LED module particularly suited to a digital clock display. The driver chip is a TM1637, and it requires Vcc and Gnd, a data IO wire and data clock wire.

Above is an example that just didn’t work. Continue reading Fix for a certain TM1637 LED display

Fox flasher MkII update 2/2021

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 current version after 18 months in the weather. Continue reading Fox flasher MkII update 2/2021

Fox flasher MkII update 7/2019

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.

ff201Above 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

Fox flasher MkII – update 07/2019

Fox flasher MkII described a LED driver for an animal deterrent using a Chinese 8051 architecture microcontroller, the STC15F104E.

ff201a

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 – update 6/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.

FF100This 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

Fox flasher MkII – high power 2 LED solar powered beacon – update 6/2018

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.

FF100This article documents its failure  in June 2018 after three years service.

With the passage of time, the PV array surface has degraded until solar collection was insufficient to maintain the battery over several heavily overcast Winter days.

Above, a close up of the PV array surface. The pic is of about 8mm width, and one can barely see the silicon stripes which are about 2mm wide. Continue reading Fox flasher MkII – high power 2 LED solar powered beacon – update 6/2018

Inside the YHDC SCT013 current transformer

The YHDC SCT013 series is very popular for use in energy monitor projects.

Disassembly

Warning, the core is VERY hard, but VERY brittle, don’t hit it with anything hard, don’t grip in with pliers, don’t drop it on a hard surface.

The coil and half core are held in the lower housing by two obvious catches which click over the bobbin. Removal means pulling the assembly upwards gently whilst releasing the catches and feeding cable into the housing. One of the catches will probably catch on the slot in the bobbin, be prepared to release it.

 

An ideal tool for the purpose is an ordinary $2 DIP chip puller which can be used to get purchase on the two ears on the bobbin that can be seen in this pic. Push a little cable into the housing, pull upwards while releasing the catches, then feed more cable and the assembly is pulled upwards from the housing.

Above is the PCB detail. This one has a TVS (the black component) and no burden resistors. There is a place for two parallel 0806 burden resistors on the board.

The PCB floats on two plastic pin extensions of the bobbin. You may obtain benefit in securing it with two very small fillets of hot melt adhesive as above, small enough so as to not interfere with the guide rails in the enclosure.

Burden resistors

So if you wanted to add a burden resistor for 0.333V out at 50mA secondary current, R=0.3333/0.05=6.6667. You could do this with 1% resistors in the E12 value series, 12Ω and 15Ω will give the desired resistance. Likewise for 1V out, 22Ω and 220Ω in parallel will give the desired value of 20Ω.

If you wish to remove existing burden resistors, they can be removed with specialised tooling but small SMD resistors will usually melt the other side solder moments after melting the first side. Position a toothpick with one had to push the resistor sideways, with the other and use the soldering iron to eat one side to melt, move the soldering iron to the other side and push the resistor sideways with the toothpick as soon as both sides melt.

Protection

A CT that has no load could develop extreme and damaging voltage within the secondary winding in the presence of primary current. If the CT assembly does not have an integral burden resistor, it is wise to install a TVS or pair of inverse series 9V Zener diodes to prevent excessive voltage lest the external load be disconnected.

 

SCT-010-000 current transformer protection

The YHDC SCT-010-000 clip-on or non-invasive current transformer is widely used in DIY energy monitor applications, and is readily available on eBay for A$6 including post.

A key issue with current transformers is that current in the primary winding will cause excessive voltages in the secondary winding unless the secondary winding is suitably loaded. The broad rule of thumb is NEVER disconnect the output connections whilst current flows through the primary.

 

YHDC’s website is typical of Chinese web sites, and I could not find a datasheet for information on the internal circuit and possibly internal protection.
Continue reading SCT-010-000 current transformer protection