Projects

Create Musical Tone using PIC Code

Create Musical Tone using PIC Code

The mikroC PRO for PIC provides a Sound Library to supply users with routines necessary for sound signalization in their applications. Sound generation needs additional hardware, such as piezo-speaker (example of piezo-speaker interface is given on the schematic at the bottom of this page). Library Routines Sound_Init Sound_Play Sound_Init Prototype void Sound_Init(char *snd_port, char snd_pin); […]

Create Musical Tone using PIC Code Read More »

Multiple Servomotors

Multiple Servomotors

Using a modified version of the last program, we can control as many servomotors as we have I/O lines on port B. In the next listing, we will control two servos in the same manner as we controlled a single servo in the previous program. The circuit is shown in figure 4 (below). The program

Multiple Servomotors Read More »

12F675 Tutorial 5 A Temperature data logger using PIC EEPROM.

12F675 Tutorial 5 : A Temperature data logger using PIC EEPROM. using pic microcontroller

EEPROM is useful for storing long term data such as data logger information and this PIC microcontroller EEPROM project saves the temperature from an LM35DZ IC to the PIC’s internal long term data storage area.  The project follows on from the last project using the virtually the same hardware. It stores temperature readings internally at

12F675 Tutorial 5 : A Temperature data logger using PIC EEPROM. using pic microcontroller Read More »

Rotary Encoders schematich

Rotary Encoders

Rotary encoders are very versatile input devices for microcontroller projects. They are like potentiometers expect of digital nature and unlike analogue potentiometers they never wear down. Rotary encoders not only provide 360 degrees of rotational freedom they also allow digital positioning information to be gained without the use of analogue to digital converters (ADCs). When

Rotary Encoders Read More »

Relay Timer with PIC16F628

Relay Timer with PIC16F628

Here is 0 to 99 minutes relay timer using PIC16F628 microcontroller and 16 character LCD display. The microcontroller is PIC16F628A running at 4.0 MHz clock using an external crystal. An HD44780 based 16×2 character LCD is the main display unit of the project where you can watch and set the timer duration using tact switch

Relay Timer with PIC16F628 Read More »