LCD Keypad Shield & Arduino UNO R4 Minima for Soccer prediction
I have received as an early adopter the Arduino UNO R4 minima and I wanted to needed to make a fast prototype of a Machine Learning project over the UNO R4, so I have used the DFRobot LCD and Keypad shield. From electronics point of view, the entire operation was to snap the shield.
From software side, download this library https://wiki.dfrobot.com/_SKU_DFR0374__SKU_DFR0936_LCD_Keypad_Shield_V2.0
Go to Arduino IDE, add zip and that´t it.
There is a ready to be used example of key detection and also for the LCD display.
I did program an entry system using iterations over an array.
case btnUP:
{
arrayIndex++;
if (arrayIndex>arrayMax){
arrayIndex=0;
}
clearLine2();
lcd.setCursor(0, 1);
lcd.print(countries[arrayIndex] + " (" + String(fifaRank[arrayIndex])+")" );
break;
}
I have downloaded the trained model from Edge Impulse. Added as a Zip library and called the inference with the entry from the keypad.