The PIC 12F629 and 12F675 have a factory set oscillator calibration value written to the last program memory location during manufacture. When programming the PIC the programmer software should read this value out, merge it with the program data being written to the PIC, and then write it back...
This article describes a 2-Digit Counter using a Microchip PIC12F629.
It shows what can be done with an 8-pin chip having just 5 output lines and one input line.
The chip drives two7-segment displays and this would normally require 7 lines to drive the segments plus another one or two lines to select the displays.
We have shown how a single line can be used to drive two different segments by using the tri-state of an output...
This unit uses one TSAL6100 IR/LED emitter from Digi-Key. This IR diode has a narrow (10 degree) radiation pattern at 940 NM. It is driven via 2n2904 transistor for maximum current pulses. The detector is a Vishay TSOP4838 38Khz integrated receiver module. The 38Khz signal for the emitter is generated in software. Here is the idea: Send out a 38Khz IR signal and look for its reflection off a nearby object. Both the emitter and detector are optically and electrically.....
This is a lamp timer capable of operating two separate relay switches. Outputs can be in three (or restricted to two) states: OFF, delayed ON and constant ON. Delayed ON mode is indicated by the LEDs. The source code is easily customizable for your needs: set your desired delay time or disable constant ON state. press the button once to turn on the lamp for a pre-defined delay. while ON, press the button again to turn the lamp constant ON (turn off delay timer). press the.....
The PIC 12F629 and 12F675 devices have an internal 4Mhz oscillator that enables the devices to be used without an external crystal or RC network. This frees up one or two pins for I/O use and allows the device to be built into minimum component count designs.
The internal oscillator needs to be calibrated and this is achieved by reading a factory programmed calibration setting and writing it into the OSCCAL register during initialisation of the device by the.....
The circuit above illustrates using the IR receiver module along
with a PIC12F629 microcontroller to decode 5 individual IR remote
control keys so the circuit will only toggle one of the 4 outputs
when a particular key is pressed. The 5th key is assigned to the
master clear function that toggles off the 4 outputs. Works with
most hand held IR remote controls that send a single data stream.
However, some remotes send multiple groups of data and only the.....
This software functions as a long period astable mutivibrator. The mark and space period can be set from 1 second up to a maximum 65535 seconds (18h12m15s). Using the internal 4Mhz RC oscillator delays with an accuracy of 99% or better can be achieved
The code also implements an edge triggered reset and an active low hold function. The reset edge can be configured for rising or falling edge. The hold function is active low and stretches the timed period for as long.....
A simple rotating display. Just spin and enjoy. While the "Air display" is rotating, it writes the message on the air. Because the "persistence of the vision", you will be able to read the message. The operation is super simple and you don't need an user manual. Press the button to turn it on. Press the button to change the message and press the button to turn it off...
The circuit uses (RGB) Red, Green and Blue high brightness LEDs that are pulse width modulated (PWM) to vary the intensity of each colour LED. This allows effectively any colour to be generated with rapid changing strobe effects, fast and slow colour fades as well as static colours. The data used to set and change the colours is held in an easy to edit file so if you don't like the sequences provided with it, you can modify the sequence data include file yourself and.....
Transmitters & Receivers
Sensors & Detectors
Low Frequency Amplifiers
Regulated Power Supplies