Exam 2: Text Editor

11

1

1

Posted

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.

  1. 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.
  2. 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.

  1. Slot the LCD screen in the bread board. Be sure all pins are inserted.
  2. The pins should be inserted in the following order, remember to double check this step.
    1. Ground
    2. Power
    3. Pin 12
    4. Pin 11
    5. Pin 10
    6. Pin 9
    7. Empty
    8. Empty
    9. Empty
    10. Empty
    11. Pin 8
    12. Ground
    13. Potentiometer (Remember to connect this to power and ground)
    14. Power
    15. Ground
  3. The potentiometer is used to control the brightness of the LCD.

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.

  1. Insert the button into the board.
  2. Ground the bottom right pin of the button to the ground on the bread board.
  3. Connect the bottom left pin of the button to the positive pin on the bread board.
  4. 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.

  1. The joystick has four pins that need to be connected the board.
  2. Connect the ground pin to the ground on the board.
  3. Now connect the power pin (VCC) to the power on the board.
  4. Connect the X axis pin to A1 on the Uno.
  5. 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.

Share

    Recommendations

    • Trash to Treasure

      Trash to Treasure
    • Microcontroller Contest

      Microcontroller Contest
    • Pocket-Sized Contest

      Pocket-Sized Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    Comments