The Martian Hexadecimal Pathfinder Project

by cristinepotu7171 in Circuits > Arduino

615 Views, 3 Favorites, 0 Comments

The Martian Hexadecimal Pathfinder Project

22.jpg
The Martian And Arduino! Free Code!

A project that reproduces the communication scene between Mars and Earth from the well-known movie, The Martian


Supplies

1848691-40.jpg
s-l1600.jpg
images (1).jpg
step_28byj48.jpg
ir-1-500x500-1-e1553781340361.jpg
download (5).jpg
downloadV.png

1.Arduino Nano

2.ST7735 Display

3.Stepper module

4.Stepper motor

5.Infrared module

6.3x push buttons

7.Visuino and Arduino IDE software

Schematic Diagram

schematic.jpg

We make the connections strictly following the connection diagram in the attachment.There is no need for pull up resistors for the buttons, they are made of software.



The Code

snapshot19.png
snapshot20.png
snapshot36.png
snapshot63.png

The project code is compiled in Visuino, but the attachment is also in IDE format. We open the application and load the code into the Arduino controller.

Construction of the 'Pathfinder'

snapshot43.png
snapshot51.png
snapshot66.png
snapshot67.png
snapshot68.png
snapshot71.png
snapshot72.png
snapshot73.png

We make the electrical connections, after which we proceed to the mechanical construction. I chose for the 'hexadecimal circle' pawns with a flag on which I noted the hexadecimal writing from 0 to 9 and from A to F. It will be considered to mount the center of the motor. in the center of the formed circle. We type a letter on the display, write down the data and insert the flag where the arrow stops. Pay attention to the zero point, to the infrared sensor.


Testing the Device

IMG_20230115_102858.jpg
IMG_20230115_102835.jpg
snapshot67.png
snapshot66.png

We start the device from the batteries on the Vin pin of the Arduino (6-12 volts) or via the miniUSB plug. The 3 operations that the device automatically decodes will appear on the screen. Also, the arrow will move every time it is fed to point 0. From the 2 buttons, we choose one of the 26 letters of the alphabet. Press the third button and the device will send decimal coordinates to the motor. The engine will follow routes after hexadecimal writing. At the end of the cycle, the device will clearly display the transmitted letter from hexadecimal.

I hope you liked my project, if you have questions you can put them in the comments section! Enjoy!