Basically, this robot is controlled over bluetooth, doing some tasks based on the command; Manual control (RC Mode), Autonomous (Obstacle avoider Mode), and shows a text on LCD, also control the Robot's speed.
Here, you will need to modify some parts, the HC-05 bluetooth module and the LCD. You have to make a voltage divider for the bluetooth module and adding an I2C module to the LCD (so you'll need less wires by using the I2C).
Step 3: Build it..
Just attach your arduino n every parts in their proper place, based on your creativity. You can arrange the wires so it looks neat.
Step 4: Wiring Diagram & Programming
Follow this Wiring diagram to connecting the parts. You can see the code for more clear instructions. After finished the wiring process, upload the codes into your arduino. Make sure you have release the HC-05 RX TX pins from the Arduino pins before uploading the codes.
You need to pair your HC-05 with your device first. When it is asking for passcode, enter 1234 (default HC-05's passcode).
Then:
If you're using TeraTerm: open the software, click 'Serial', choose your bluetooth port, play.
If you're using Android Phone, open the app, Proceed, choose HC-05, Open the Controller Mode, setup your controller key (Set Commands), play. You can also use the Vehicle mode, just adjust the controller key.
The key controller are: (lower case)
w : Move Forward
a: go Left
s: Move Backward
d: go Right
q: Stop
e: decrease speed
r: increase speed
x: LED ON
z: LED OFF
1: Obstacle Avoider Mode
2: Showing the text on LCD
0: Clear n turn off the LCD backlight
You can modify the codes for another task/commands. Ok, done. Hope you could make it!
In this article, we will delve into the process of installing and running the SLM(small language model) Gemma2 on the Single Board Computer (SBC) Raspberry Pi 5 using the Ollama runtime framework.