Unfortunately programming micro-controllers usually requires a PC with some sort of programmer attached. It seemed to me that there should be a simple PIC programming solution much like the development boards for microprocessors that were common in the 1970/80s, one with just a HEX Keypad and a row of seven segment displays. If you only need to program a few tens of words then doing it by hand is no hardship.
The key aim was to produce something low cost, no more expensive than the USB connected programmers available but not requiring a PC or any complex software, also because the program would be entered by hand there is no need to support every single part, particularly the very large memory parts now available.
Power for the programmer can be from a 5V supply or 3 reasonably new 1.5V Alkaline cells, it draws
Processors supported are:
16F54, 12F508, 10F202, 10F206, 10F222
16F505, 12F509, 16F527
The perforation detection system uses a high voltage to cause air breakdown when the perforations, to aid tear off, come between the electrode and the feed bar at the back of the machine. The typical voltage to cause ionisation breakdown for the air is 3kV/mm. Bag thickness is <100um, and flattness better than 0.25mm implying reliable breakdown at the perforations with voltages >1000V. The HV circuit uses a flyback transformer coupled to a Cockroft and Walton multiplier to charge a 1nF high voltage capacitor. When the spark occurs the capacitor is discharged via the primary of a pulse transformer allowing the spark current to be detected.
Video of the prototype system in action, the red LED flashes when the perforations are detecetd.
A project to replace the Z80 based controller of a packing machine with a Microchip PIC based design with added fuctionality and buit in diagnostics.
3D space model render of tiny 18mm x 18mm 4 layer PCB
Compact version of the programmer - to be available as a kit.
Web site © Hanchett Electronics 2016,2018,2019.