|
| Budget: |
$ 100-300 |
| Status: |
Closed
for Bidding (selected
user phoenixmicro)
|
| Project
Creator: |
|
| |
Rating: (No Feedback Yet)
|
| Required
Skills: |
,
,
,
|
| Attached
Files: |
(None) |
 |
|
|
|
|
|
|
|
|
|
|
Description
Software driver for RTC DS32B35 connected to PIC 16F689.
The required program must be written in C for the PIC 16F689, preferably compatible with CCS C compiler. It will have the followings specifications: To read the logical state of 4 input pins To interface the RTC DS32B35 to read the date and current time, setup of date and hour. To read, to write the data in FRAM inside to the RTC chip. To communicate with the outside through UART port of PIC To save in FRAM a log with date, time and minutes of the last 5 events of the 4 inputs pin. They must be saved only if different by 1111 The last event, if different by 1111, must be sent in output in loop through serial port, with a frequency of 2 seconds. The sending will end to the receipt of a of alarm stop message by serial port. It will need to define a communication protocol that will allow the interaction with the outside, sending and receiving commands through the PIC UART Whose commands must allow: Reading of current date and time RTC Configuration Alarms RTC set and reset Reading data in FRAM Writing data in FRAM Clear FRAM data Reading of logical state of the 4 inputs pin of the PIC Reading log state of the 4 inputs pin of the PIC. the log of the last 5 events must be written in FRAM combined to the date and hour To send in loop the binary value of 4 pins, combined to date, hour and minutes of the last log, different by 1111. It will go out of the loop to the receipt from UART, of a message of alarm stop. Will be required the schematic about the connections of RTC DS32B35 and the PIC 16F689 A sample code to drive the RTC (DS32B35) using a 8051-type microcontroller, it’s available at http://www.maxim-ic.com/images/appnotes/3974/3974Program.txt
Reminder
You may not start working in this and any project before
your bid is accepted. Any user who violates this policy
may have their account permanently suspended.
|