I2C comunication between PIC24f128, PIC 16f873 and EEPROM 24C512 (LCD)

reading

This circuit is a little more complex because the Master manages two Slaves which are the PIC16F873 and the 24C512 EEPROM.

The Master uses the simulator to control 4 analog inputs which are 2 Ultrasonic Distance Sensors, a speed sensor, and a temperature sensor. Each of these sensors is read by the master, and then it sends data to the PIC16F873 and transfers it to the LEDs of its PORTB. While the EEPROM is memorized the name of functions which is associated with the sensor's value.
For more details see the sequences below

  1. Master reading the first analoque sensor
  2. The Master calls and reads the cell of EEPROM where the name of the first sensor is located
  3. The Master writes to the Slave (PIC16F873) the name of the sensor which previously read from the EEPROM and analogue valore from the first sensor
  4. The Slave PIC16F873 send all information to the LCD and LEDs via the PORTB
  5. Same cycles for others 3 Sensors

The assembly routine can be downloaded here after registration

For more details click here

favicon bacd

+(39) 347 051 5328

Italy - Kazakhstan

09.00am to 18.00pm

About

We offer the best and economical solutions, backed by 27+ years of experience and international standards knowledge, echnological changes, and industrial systems.

Marketing Materials

Spring Renovation
Industry
US Gas Company
Construct
Plus Project
Vam Drilling Service
X Project
X Project
Cabrrus Training

Marketing Materials1

Spring Renovation
Industry
US Gas Company
Construct
Plus Project
Vam Drilling Service
ultrasonic sensor
ultrasonic sensor
Cabrrus Training