Hi, I'm a 14 year old maker. I mainly use Arduino UNO and things I can buy from the fry's shop I live next to or things from around the house. My younger sisters were drawing keyboards on paper and pretending to be a cashier at a fast food chain, so, I got inspired and made my own with cardboard, the arduino, and a few parts.
You Will Need
- Arduino UNO
- 16x2 LCD
- 4x4 keypad
- Some wires
You Will Want
- A cardboard box
- An old cardboard toilet paper roll
- A piezo buzzer (highly recommended)
I'll attach the code at the end. By the way, I'm using an lcd screen from tinkerkit, which is now out of business. You will have to modify the code if you are using a standard lcd screen. I may update this later to show how to make this without the tinkerkit lcd screen.
Watch the video then let's get making!
Step 1: Build the Register
Using A Knife Or Razor
You'll need to make three cuts on your cardboard box, you can use anything but I used a dual bladed batman knife for some reason. Make one for the power cord unless you plan on using a 5V for power. I would make this cut out of view from the potential customer for better presentation. Your next two cuts will be on top. Make one for the power cords that will power the lcd screen and make one for the 4x4 keypad to fit through. Oh yes, one more cut that may not be necessary in some cases. My cardboard tube for the lcd screen was too long so I cut it, you may need to do that too.
You'll want to tape down two things, first, tape down the cardboard tube over the hole that will be used for the lcd power cords later. You can tape down the keypad now, but I would do it last, after the arduino is in place.
Step 2: Code Your Register
Personally, I think you could make code better than mine, but if you're in a rush, you can just use mine.
Note: This is old code, I would recommend you add a piezo buzz as soon as the total is displayed, to give the cashier heads up that they can select the next item.
UPDATE: I uploaded new code that has real prices and now the 'A' is a back button in case you make a mistake.
Step 3: Put It All Together
Place the Arduino in the box and connect the keypad and the lcd screen. Tape down the keypad.
Tip: Cut two notches in the cardboard tube and then put the lcd screen in the notches so it stands up.
So, the pinout goes as follows. The buzzer's '+' should be matched to Arduino pin 5. The keypad's pins from left to right should be Arduino pins 9 8 7 6 13 12 11 10. The lcd pinout will be on the next step.