top of page
Search

Week of 3/17

  • Writer: euanr723
    euanr723
  • Mar 20
  • 2 min read

During this week, I began to start work on developing my control system and adjusting my code. This all started by learning out how use a a joy stick. The main reason for learning to use the mechanism is because of its easy usability and ease of use for once the rover is fully built. After reading and watching some guides I learned that using the joy stick is actually very straight forward and quite simple. The main idea is that there are two different potentiometers assigned to an X and a Y direction. This then allows the user to create many different ways of controlling something.

Battery for previous project
Battery for previous project
Joystick
Joystick
full setup
full setup















After finding a joy stick in the shop I quickly set it up. As it only used potentiometers, it did not require me to download or learn any new code. Shortly after I was able to print the characters I began work on transmitting the data to the receiver. At first, I ran into many issues. Instead of printing the analog values it would print random numbers. After doing more research I was able to find that the issue was with how the data was being sent. Instead, I reorganized the variables into an array, which completely fixed the issue. After the other main goal this week with joy stick was to use it to control a motor. After coding and doing lots of trouble shooting, I was able to send a successful signal to the motor and it was able to work. The only other problem I face currently is how to get the motor to be controlled off of analog values, as currently it only works after using the "digitalWrite" function. For Friday, I hope to turn my attention briefly to my old project as I finally received the battery and adapter and hope to finally assemble the completed design and use it.




 
 
 

Recent Posts

See All

Comments


©2023 by Euan's Creations and Projects. All rights reserved.

bottom of page