CE432 2022 Fall
Lab 6
Name:
Braden Morrow
Email: bdmorrow@fortlewis.edu

1. Lab 6 - Joystick / Stepper Motor Tutorial

2. Introduction
The purpose of this tutorial was to practice sending and recieving signals with the 2.4GHz wireless modules, reading in data from a joystick, and controlling a stepper motor.

3. Results
Task 1:
This task just asked us to get the joystick reading into the serial monitor in Arduino. Figure 1 shows the results of reading in the joystick to the serial monitor. The code for this task is in Tutorial6 -> Task1.


Figure 1. Results from Reading in Joystick to Serial Monitor

Task 2:
This task asked us to send the values generated by the joystick to another Arduino microcontroller (in my case an Arduino Mega2560) using the 2.4 GHz wireless modules. We then needed to display the sent values on ther serial monitor. Figure 2 shows this process. The code for this task was a paired down version of the code used for Task 3.

Figure 2. Results from Transferring Data using 2.4GHz Wireless Modules

Task 3:
This task asked us to send the values generated by the joystick to another Arduino microcontroller (in my case an Arduino Mega2560) using the 2.4 GHz wireless modules and then control a stepper motor using these values. Figure 3 shows this process. The code for this task can be found in Tutorial6 -> Task2_T (the transmitter code) and Tutorial6 -> Task2_R (the reciever code).


Figure 3. Results from Controlling a Stepper Motor using a Joystick and 2.4 GHz Wireless Modules


5. Discussion
This was a good introduction to the use of the 2.4 GHz wirless modules. From previous classes I've used both the joystick and stepper motor before, but this was a unique control scheme compared to those previous porjects. It was also more fun to work on than just sending basic values over the modules.