This Arduino project uses a 128x64 OLED display to show a formatted currency value on the screen. The project includes multiple buttons to adjust the currency denomination and reset button. The displayed values update in real-time.
- Arduino (e.g., Uno, Nano)
- 128x64 OLED Display
- Push Buttons
- 10kOhm Resistors (pull-down for counter signal lines)
- Breadboard and jumper wires
- Displays a formatted currency value on the OLED screen
- Supports multiple currency denominations
- Allows user to cycle through currency denominations
- Real-time counter updates
[Will upload picture of setup here]
Adafruit_GFXAdafruit_SSD1306
-
OLED Display:
VCCto 5VGNDto GNDSCLto A5SDAto A4
-
Buttons:
buttonDebounce: Pin 5buttonDenomination: Pin 4buttonReset: Pin 6INTERRUPT_PIN1: Pin 2INTERRUPT_PIN2: Pin 3
-
Connect the components as per the schematic/picture.
-
Install the required libraries:
- Open Arduino IDE
- Go to Sketch > Include Library > Manage Libraries...
- Search for "Adafruit GFX" and "Adafruit SSD1306"
- Install both libraries
-
Upload the code to your Arduino board:
- buttonDebounce (Pin 5): Increases the debounce time.
- buttonDenomination (Pin 4): Cycles through different currency denominations.
- buttonReset (Pin 6): Resets the counters to zero.
This project is licensed under the MIT License - see the LICENSE file for details.