karam alomari
Newbie level 1
- Joined
- Apr 18, 2013
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,279
This project calculates the time of entering the car to the parking and the time to go out and calculates the cost.
When a car enter the park , the IR beam between the transmitter and receiver will be disconnected. The disconnection will trigger the interrupt which will save the arrival time from RTC to the EEPROM ,
The same configuration is set at the exit .. but this time we get the time of departure and save it to the EEPROM … the we subtract the two values and Multiplication to Tariff rate and calculate the cost and show the time and the value of cost on the screen
Component
Pic18f4520
voltage regulation 7805
lcd 16x2
Real time clock(RTC)
IR sensor (transmitter & receiver)
i don't know how write the code to program the pic and simulation please help me>>>
When a car enter the park , the IR beam between the transmitter and receiver will be disconnected. The disconnection will trigger the interrupt which will save the arrival time from RTC to the EEPROM ,
The same configuration is set at the exit .. but this time we get the time of departure and save it to the EEPROM … the we subtract the two values and Multiplication to Tariff rate and calculate the cost and show the time and the value of cost on the screen
Component
Pic18f4520
voltage regulation 7805
lcd 16x2
Real time clock(RTC)
IR sensor (transmitter & receiver)
i don't know how write the code to program the pic and simulation please help me>>>