120 likes | 219 Views
Kitty Food Mountain v1.1. By: Christopher Voisine. Features. Built in clock Programmable clock and feed time 3 different times of day Duel wall plugins 4 different cup sizes. Oscillator. HCS08. Dimmer. Relay. Drill. LCD. 5V. Cup Size. 0V. Time. What Was Used. 5V M9S08SH8
E N D
Kitty Food Mountain v1.1 By: Christopher Voisine
Features • Built in clock • Programmable clock and feed time • 3 different times of day • Duel wall plugins • 4 different cup sizes
Oscillator HCS08 Dimmer Relay Drill LCD
5V Cup Size 0V Time
What Was Used 5V M9S08SH8 Start Micro Kit & Board LCD screen 3 Amp 120AC Corded Drill Dimmer Switch Cell Phone Wall Charger 1¼” PVC 7/8” Auger Drill Bit Solid State Relay 12-24DC 100-240AC 15A
Software Details • Updates clock using military time • Converts military time to civilian time • Update LCD • Check for matching alarm & clock • Turn on drill • Checks for button presses • Clock • Feeding Time • Cup Size • Time Of Day
Cup Size State Machine Time Of Day State Machine
Oscillator Calculations • MTIM Modulo Timer • 4MHz –-> 1KHz (1ms) • 4M / 2 = 2MHz auto prescale • 2M/16 = 125kHZ • 125kHz / 125 = 1kHz calibration • 1/1kHz = 1ms