Introduction: Exam 2: Text Editor
This project will show you how to create a text editor using your Arduino Uno. The text editor will allow you to write and display text that you select on the LCD screen used in the project.
You will need:
- LCD Screen
- 1 Button
- 1 Potentiometer
- 1 Joy Stick
- Wires and Bread Board
- And of course your Arduino Uno
Let's get started.
Step 1: Step 1: Connecting the Board and the Uno
Just like in the other projects you will need to supply power to your bread board.
- Connect a wire to the negative line on the bread board and connect the other end to the ground on the Uno. This grounds the board and makes a full circuit.
- Now supply power by connecting a wire to the 5V pin on the Uno to the positive pin on the bread board.
You now have power to the board.
Step 2: Step 2: Connecting the LCD Screen
This step will show you how to connect the LCD screen to the bread board and how to wire it properly. This is the most tedious step in the project, so be careful and follow the directions correctly.
- Slot the LCD screen in the bread board. Be sure all pins are inserted.
- The pins should be inserted in the following order, remember to double check this step.
- Pin 12
- Pin 11
- Pin 10
- Pin 9
- Pin 8
- Potentiometer (Remember to connect this to power and ground)
This step is now complete.
Step 3: Step 3: Connecting the Button
The button is used to enter a character into the text editor. This is a very simple step, but remember to connect the button pin to the correct pin on the Uno, because the code is set up to use that specific pin.
- Insert the button into the board.
- Ground the bottom right pin of the button to the ground on the bread board.
- Connect the bottom left pin of the button to the positive pin on the bread board.
- Finally, connect the top right pin of the button to pin 4 on the Uno.
The button is now fully connected.
Step 4: Step 4: Connecting the Joystick
The final piece of hardware used in this project is the Joystick.
- The joystick has four pins that need to be connected the board.
- Connect the ground pin to the ground on the board.
- Now connect the power pin (VCC) to the power on the board.
- Connect the X axis pin to A1 on the Uno.
- Then connect the Y axis pin to the A2 on the Uno.
The joystick is now wired and ready to use. Be sure that the X and Y pins are connected correctly.
Step 5: Step 5: Adding the Code
The final step of the project is to add the code.
The code will be provided. Download the code and run it in the Arduino Uno. The code could have a few bugs, but it should run correctly.
Once the code is installed, you can use the Uno as a text editor.
We have a be nice policy.
Please be positive and constructive.