Skip to content

The code that will be loaded on to the Arduino to control the drinking machine.

License

Notifications You must be signed in to change notification settings

Tauheed-Elahee/Drinking-Machine-Arduino-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The code that will be loaded on to the Arduino to control the drinking machine.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages