Write firmware (C code) to initialize and set up battery backed up RTC. Then prove out the code on a provided demo board. I will mail the board to you.
Demo board will have:
• dsPIC (DSPIC33FJ16MC102 Microcontroller IC 16-Bit 16 MIPs 16KB (16K x 8) FLASH 28-SOIC)
• RTC (MCP7940N)
• Coin cell holder and cell
• 3 LEDs
• Pic programming port
• 9V battery that can be disconnected
• 9V to [url removed, login to view] regulator
Circuit will be provided that has all hardware. Schematics and layout will be provided (Altium). Powered by 9V battery. Backed up by a coin cell. If you need a PICKIT3 programmer I will send you one.
I will provide proto board with pic, batteries, RTC etc.
Program must be written in “C” and do the following:
Initialize the RTC
Contain comments clearly explaining code operation
Use MPlabx and xc16 compiler (downloadable for free)
Light a Red LED for the first 5 seconds of each minute, then off for 55 minutes.
Light a Blue LED for 18 hours a day every day. Off for 6 hours a day.
Light a green LED on for 1 day, then off for 1 day. On time will be from noon to 2PM
Light a white LED for the first 15 seconds of each minute, then off for 45 seconds. Must operate with 9V battery being disconnected a couple times during the 5 second on time (prove battery backup operation of coin cell).
Please let me know your desired deposit amount and final payment amount after working proto is delivered back to me along with documented source code.