Skip to content

Latest commit

 

History

History
33 lines (33 loc) · 1.49 KB

README.md

File metadata and controls

33 lines (33 loc) · 1.49 KB

D.D.E.D Contributers Guide

Subsystems

  • Physical Menu Interface - LCD / Button UX - Tauheed
  • App Menu Interface - Bluetooth / Android - Rishi
  • Drink Dispensing - H-Bridge Control - Seth
  • Audio Playback - SD Card / Speaker Driver - Rishi/Brandon

Specifications

Refer to the Design Spec, these include:

  • Arduino pin allocation
  • Edge cases - Please add to this list!
  • State machine to act as a structural guide for the code

Contributing Styleguide

Please use well-named camalCase variables, for example: stateRunGame instead of: staterungame

  • Try and limit the use of global variables
  • Keep functions as short as possible and easy to read

Libraries

EEPROM

  • Required for saving non-volatile data on the Arduino
  • Reference

LiquidCrystal

  • Standard libary to help manage LCD states
  • Our panel is 4x20 pixel
  • Reference

Chrono

  • Timing library that will be primarily used for user-input timeouts
  • Reference

Bluetooth

  • Not really a library, but refer to this tutorial to implement bluetooth using a serial connection

Issues

  • Code filesize may be too large for the Mega
  • Edgecases may not be covered in production
  • Too much current drawn from the Mega