|Published (Last):||28 July 2013|
|PDF File Size:||16.92 Mb|
|ePub File Size:||2.36 Mb|
|Price:||Free* [*Free Regsitration Required]|
Step-by-step tutorial and sample code. Many thanks to Craig Peacock. As it spins, it forms pictures. The photo to the right shows a game of tetris implemented on the spinning led rotor! Sample routines that come with the Hi-Tech C compiler.
He is an excellent programmer for PIC micros, and manages to make them do things that I barely thought were possible. They give a window into the way he does his code, and perhaps you will learn a few tricks from him : Enjoy!
It was water cooled, and each run would take 24 hours and cost the client a lot. Unfortunately, as the story goes, there was a problem with the water supply controller, and it would periodically drop pressure and the machine would shut down.
This means the run would have to be started again. So, Mike Pearce designed a water-monitor. It would measure the flow, based on pulses from a flow meter. If the pulses dropped below a pre-determined threshold, it would log the date and time out to a serial port.
They set up a PC with a serial program, and came back the next day to see exactly when the flow had dropped. Mike tracked down the problem and had the system adapted to counter for the glitches, due to this nice piece of design work.
Phase control is a simple even time-slice method, with levels of output. Timing for 50Hz and 60Hz has been included - selectable by commenting out the unwanted option. There is more info in the. Entire archive. From readme. The archive contains the Hi-Tech C source code, Protel 99 schematic and pcb files, and. Schematic for demo board. This project combines the use of the 1-wire routines, serial routines, a P.
Uses 12C Note: this is an assembly language project, not a Hi-Tech C based project.
C sample code for PIC micros and Hi-Tech C
ATMEL AT89C51RD2 DATASHEET PDF
PIC18F452 LED Blinking Code and Proteus Simulation