Summary of MICROCHIP PIC EXAMPLES ASSEMBLY PROJECT
This collection provides eight Microchip PIC assembly projects with full source code, libraries, diagrams, and applications for interfacing. Projects include a GPS-to-SD data logger, temperature recorder, infra-red transmitter, and several RS232-based converters bridging RS232 with I2C, SPI/SD, IR, and PS/2 interfaces, useful for prototyping and standalone devices. All RS232 references are TTL-level and require level conversion for true RS232 voltages.
Parts used in the GPS TO SD-CARD DATA LOGGER PIC16F819:
- Microchip PIC16F819 microcontroller
- GPS receiver module
- Secure Digital (SD) memory card
- SD card socket
- Serial interface wiring (TTL RS232 level)
- Power supply (suitable voltage for PIC and GPS)
- Clock/crystal or oscillator for PIC (if required)
- Passive components (resistors, capacitors) for interfacing
- PCB or prototyping board
Parts used in the TEMPERATURE RECORDER PIC12F683:
- Microchip PIC12F683 microcontroller
- Serial EEPROM
- Thermistor temperature sensor
- Resistors for thermistor divider
- Power supply
- PCB or prototyping board
Parts used in the INFRA-RED TRANSMITTER PIC12F675:
- Microchip PIC12F675 microcontroller
- Infra-Red LED
- IR receiver (for testing, optional)
- RS232 serial connection at TTL levels
- Resistors for LED drive
- Power supply
- PCB or prototyping board
Parts used in the RS232 I2C INTERFACE PIC12F675:
- Microchip PIC12F675 microcontroller
- RS232 serial connection at TTL levels
- I2C devices to interface (EEPROMs, sensors, etc.)
- Pull-up resistors for I2C lines
- Power supply
- PCB or prototyping board
Parts used in the RS232 SPI INTERFACE SD CARD PIC16F819:
- Microchip PIC16F819 microcontroller (with SSP port)
- RS232 serial connection at TTL levels
- SD card and SD card socket
- SPI wiring and level-appropriate resistors
- Power supply
- PCB or prototyping board
Parts used in the RS232 INFRA-RED INTERFACE PIC12F683:
- Microchip PIC12F683 microcontroller
- Infra-Red LED and IR receiver
- RS232 serial connection at TTL levels
- Resistors for LED drive
- Power supply
- PCB or prototyping board
Parts used in the RS232 PS2 INTERFACE PIC12F683:
- Microchip PIC12F683 microcontroller
- RS232 serial connection at TTL levels
- PS/2 keyboard or mouse connector and device
- Resistors and wiring for bit-banged PS/2 lines
- Power supply
- PCB or prototyping board
All source code, libraries, and other files, complete with diagrams practices Microchip PIC assembler’s eight projects. In particular interface applications can be useful for different projects. GPS to SD-Card Data Logger pic16f819 This project combines a GPS receiver module,… Electronics Projects, Microchip PIC Examples Assembly Project “microchip projects, microcontroller projects,
All source code, libraries, and other files, complete with diagrams practices Microchip PIC assembler’s eight projects. In particular interface applications can be useful for different projects.
GPS TO SD-CARD DATA LOGGER PIC16F819
This project combines a GPS receiver module, a Microchip PIC microcontroller and a Secure Digital memory card to make a GPS data logger.
TEMPERATURE RECORDER PIC12F683
This project uses a Microchip PIC microcontroller, a serial EEPROM and a thermistor to create a temperature recorder.The temperature is measured and stored at user programmable intervals; this can be from 1 second to 256 seconds. The time interval is set by programming it and the start time into the EEPROM.
INFRA-RED TRANSMITTER PIC12F675
This project uses a Microchip PIC microcontroller and an Infra-Red LED to act as a PC controlled cable TV changer. The purpose of this is so that my MythTV Personal Video Recorder (PVR) can change channels on the cable TV set-top box when making a recording. A very simple program on the computer sends the channel number over RS232 to this PIC based IR transmitter which creates the correct waveform for the digits to be sent.
RS232 CONVERTERS
This pages lists some various RS232 converter projects that use Microchip PIC microcontrollers. These are the basic building blocks and prototype implementations of different interface standards for which I have written code. After building each of them on prototyping board they have been built as stand-alone devices that can be used for interfacing or debug. They are also useful for prototyping functions that are to be used in PIC projects because the interface commands can be tested from software on a PC without needing to write them as PIC code first.
RS232 I2C INTERFACE PIC12F675
This project is a Microchip PIC microcontroller with an RS232 serial interface on one side and an I2C interface on the other. The I2C interface uses bit-banging on an 12F675 device. Important All mention of RS232 on this page actually refers to RS232 waveforms operating at 5V TTL levels not +/-12V levels which would destroy the PIC device. An appropriate converter between the two must be used.
RS232 SPI INTERFACE SD CARD PIC16F819
This project is a Microchip PIC microcontroller with an RS232 serial interface on one side and an SPI interface on the other. The SPI interface uses the SSP port on a 16F819 device.
RS232 INFRA-RED INTERFACE PIC12F683
This project is a Microchip PIC microcontroller with an RS232 serial interface on one side and an Infra-Red receive and transmit interface on the other. Important – All mention of RS232 on this page actually refers to RS232 waveforms operating at 5V TTL levels not +/-12V levels which would destroy the PIC device. An appropriate converter between the two must be used.
RS232 PS2 INTERFACE PIC12F683
This project is a Microchip PIC microcontroller with an RS232 serial interface on one side and an PS/2 (keyboard or mouse) interface on the other. The PS/2 interface uses bit-banging on a 12F683 device.
Source: http://www.gedanken.demon.co.uk/ Microchip PIC microcontroller Examples alternative link :
FILE DOWNLOAD LINK LIST (in TXT format): LINKS-10387.zip
Source: MICROCHIP PIC EXAMPLES ASSEMBLY PROJECT
- What does the GPS to SD-Card Data Logger combine?
It combines a GPS receiver module, a Microchip PIC microcontroller, and a Secure Digital memory card to make a GPS data logger. - Which PIC is used for the GPS data logger project?
The project uses a PIC16F819 device. - Are source code and diagrams provided for the projects?
Yes, all source code, libraries, and diagrams are provided for the eight projects. - What RS232 voltage level is assumed in these projects?
All mention of RS232 refers to RS232 waveforms operating at 5V TTL levels, not +/-12V levels. - What must be used when connecting to true RS232 +/-12V devices?
An appropriate converter between TTL levels and +/-12V RS232 must be used. - Which project uses a serial EEPROM and a thermistor?
The Temperature Recorder project using a PIC12F683 uses a serial EEPROM and a thermistor. - Which project uses the PIC SSP port for SPI?
The RS232 SPI Interface SD Card project uses the SSP port on a PIC16F819 device. - Can the RS232 interface projects be used for prototyping functions for other PIC projects?
Yes, they are useful for prototyping functions because interface commands can be tested from PC software without writing PIC code first. - What is the purpose of the Infra-Red Transmitter project?
It acts as a PC-controlled cable TV changer so a PVR can change channels on the set-top box when recording.







