I am a student taking a Micro controller program and we are currently doing Arduino related projects. What my partner and I are trying to do is make a Coin Operated Jukebox that runs on Arduino. We are at a standstill right now. Currently what we have set up is a Master Arduino that is running a 3x4 Keypad, a 16x2 LCD Display and a Coin Acceptor. We have this setup communicating across Analog pins 4 and 5 to a slave Arduino which is running the MP3 FilePlayer same program that has been modified.
The trouble we are having is that the master Arduino that is receiving the Keypad presses is reading them as integers but over the connection to the slave Arduino and once the MP3 program receives it, somewhere along the way it seems to get translated to ASCII. What we want is for the keypad presses to communicate to the slave Arduino but stay as the integer value being inputed.
The parts that we are using are:
MP3 Shield: https://www.digikey.ca/en/products/detail/sparkfun-electronics/DEV-12660/5824154
LCD Display: https://www.digikey.ca/en/products/detail/adafruit-industries-llc/714/5761219
Coin Acceptor: https://www.digikey.com/product-detail/en/sparkfun-electronics/COM-11719/COM-11719-ND/7319655
Attached are the Codes that we are using.
Any help would be greatly appreciated, thank you.
Jan24_MP3_Player_Slave_Code.ino (14.4 KB)