CE 432 Lab 2021 Fall
Lab 5
Name:
Nicolas Llarena
Email: Njllarenaarias@fortlewis.edu

1. Tutorial 5 - Joystick/Stepper Motor Tutorial



2. Introduction
The purpose of this lab is to use a Joystick to control the movement of a stepper motor. We will learn how to use wifi transceiver together with joystick on arduino to be able to control a stepper motor. This tutorial will be useful for future projects.
3. Materials
Materials Quantity
Arduino UNO
2
Breadboard
1
Jumper Wires
20
Open-Smart 2.4 GHz Transceiver
2
Joystick
1
A4988 Driver
1
NEMA 17 stepper motor
1

4. Results

Task 1
               
Figure 1.  Images showing the output of the joystic bein moved in the serial monitor of the Arduino.


Task 2

Figure 2. 
Circuit
connections of the transmitter and receiver with the two Arduino boards and the joystick.


                
Figure 3.  Output of the receiver when moved joystick displayed in the serial monitor.


Task 3



Video 1.
Stepper motor being controlled by a joystick with two transceivers working as transmitter and receiver.






Discussion

This tutorial was fun and a little time consuming. We learned a lot about transmitters and receivers and how to use them to send and receive data. learning how to use a joystick was also helpful since many modern applications use joysticks. hopefully we will be using joysticks in future projects or classes. Fortunately, I had no issues with any of the tasks in this tutorial besides some connections in the final task that needed my attention.