Search found 429 matches

by Magneto
Wed Feb 03, 2010 9:10 am
Forum: Microcontrollers
Topic: Heater Project with PIC Microcontroller
Replies: 0
Views: 1983

Heater Project with PIC Microcontroller

This Heater project can be used to control waterbath heaters and other specialist temperature controlled equipments This project combines the use of the 1-wire routines, serial routines, a P.I.D (Proportional, Integral, Derivative) calculation, ADC, and a interrupt driven burst mode heater control. ...
by Magneto
Wed Feb 03, 2010 9:03 am
Forum: Microcontrollers
Topic: working with I2C module in PIC16877
Replies: 0
Views: 1924

working with I2C module in PIC16877

Example code for I2C, routines for PIC16F877 to write to the 24LC01B EEPROM, using the PICDEM 2 demo board from Microchip.
PIC_Hi-Tech_C_I2C_for_EEPROM_24LC01B.zip
(5.37 KiB) Downloaded 336 times
by Magneto
Wed Feb 03, 2010 9:02 am
Forum: Microcontrollers
Topic: I2C with PIC
Replies: 0
Views: 1939

I2C with PIC

Example Hi-Tech C code for I2C, interfacing to Microchip 24LC01B non-volatile EEPROM and Dallas Temperature sensors DS1775 and DS1721
PIC_Hi-Tech_C_I2C_for_24LC01_and_Dalla_temp.zip
(3.6 KiB) Downloaded 331 times
by Magneto
Wed Feb 03, 2010 8:59 am
Forum: Microcontrollers
Topic: USB Serial port on PIC18F4550
Replies: 0
Views: 4102

USB Serial port on PIC18F4550

USB example for PIC18F4550. Plug your PIC18F4550 into your PC using a USB cable. A virtual RS232 COM port is created, allowing your application to print RS232 messages into HyperTerminal. Allows porting of legacy code that used RS232 comms. This project is a modified form of the CDC (Communications ...
by Magneto
Wed Feb 03, 2010 8:51 am
Forum: Microcontrollers
Topic: Excellent CRC code.
Replies: 0
Views: 1775

Excellent CRC code.

// Update the CRC for transmitted and received data using // the CCITT 16bit algorithm (X^16 + X^12 + X^5 + 1). unsigned char ser_data; static unsigned int crc; crc = (unsigned char)(crc >> 8) | (crc << 8); crc ^= ser_data; crc ^= (unsigned char)(crc & 0xff) >> 4; crc ^= (crc << 8) << 4; crc ^= ((cr...

Go to advanced search