Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] Interfacing RTC, EEPROM, I2C, sensor, keypad to PIC18F4550

Status
Not open for further replies.

rahulsiva

Member level 1
Member level 1
Joined
Jan 23, 2015
Messages
34
Helped
1
Reputation
2
Reaction score
1
Trophy points
8
Location
coimbatore
Activity points
208
Interfacing RTC,EEPROM,I2C,sensor,keypad to PIC18F4550

hi..
i needed to connect a Ext.EEPROM (24lc64) & RTC(DS1307) with i2c 2 wire SDA & SCK. keypad and 5 push button as to connect in controller ....to do perform of input a proximity sensor (i.e.square waveform) i need to calculate a RPM with stop timing and find maximum one pulse for one tour...
i needed store rpm in EEPROM...
 

Re: Interfacing RTC,EEPROM,I2C,sensor,keypad to PIC18F4550

What do you want us to do?

Refer this tutorial as far as I2C communication is concerned.

**broken link removed**

Push buttons can be easily interfaced using a port pin of your microcontroller.

Refer this anyway: highered.mheducation.com/sites/dl/free/0072402415/55328/alc_ch07.pdf

Develop your own algorithm, we can help you with that. try to code yourself. Best Luck!
 

Re: Interfacing RTC,EEPROM,I2C,sensor,keypad to PIC18F4550

Which Compiler are you using ? Do you know how to use external interrupts or T0CKI pin to count pulses. What is the max RPM ? Please provide your circuit in Proteus form or .png format. What Clock frequency are you using for PIC ?
 

Re: Interfacing RTC,EEPROM,I2C,sensor,keypad to PIC18F4550

compiler HI-tech,mp lab v8.91....clock frequency 20MHZ . I need use ext.interrupt counting pulses...maximum RPM as to calculate by it own...

- - - Updated - - -

thank for response....i had made code for LCD,RTC,I2C,KEYPAD,separate...but....cause error & non working in combine those code in one source code....till now 4bit lcd,RTC(i2C) is connect ..keypad combine cause error...


compiler HI-TECH,MP Lab v8.91
 

Attachments

  • final.PNG
    final.PNG
    55.2 KB · Views: 215

Re: Interfacing RTC,EEPROM,I2C,sensor,keypad to PIC18F4550

Please Zip and post the complete MPLAB project files. I will try to integrate all different codes.
 

Re: Interfacing RTC,EEPROM,I2C,sensor,keypad to PIC18F4550

i need to calculate the RPM....by proximity sensor..pls provided me clear step detail....program
 

Re: Interfacing RTC,EEPROM,I2C,sensor,keypad to PIC18F4550

hello

have a look on this
it's handle a proximity sensor to calculate speed and kms for a bicycle
and also manage I2C for DS1307,24LC256, LCD 4x20

use of RB0 interrupt to count .. (because low frequency !)
:laugh: maxi is 1000Hz => 8293 Km/H who want to try it in real world ..
for higher frequency RA4 Timer0 input is better .. up to 20 MHZ !
 
  • Like
Reactions: ud23

    ud23

    Points: 2
    Helpful Answer Positive Rating
Re: Interfacing RTC,EEPROM,I2C,sensor,keypad to PIC18F4550

i need help in external EEPROM (24lc256) i have taken program of 64k eeprom can same program can be use in 256k program..in below.txt

looking forward u response..
 

Attachments

  • EEPROM.txt
    3.8 KB · Views: 135
  • Like
Reactions: samuka

    samuka

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top