
Innholdsfortegnelse:
2025 Forfatter: John Day | [email protected]. Sist endret: 2025-01-23 15:02



Meld deg på YouTube -kanalen min ……….
Dette er den Bluetooth-kontrollerte bilen som brukte HC-05 Bluetooth-modul til å kommunisere med mobil.
Vi kan styre bilen med mobil via Bluetooth.
Det er en app for å kontrollere bilens bevegelse.
Trinn 1: Krav



- Arduino uno
- Motorskjerm
- Batteri for motor (over 4v og over 1amp)
- Power bank på 5v for å drive arduinoen
- HC-05 Bluetooth-modul
- Robot chassis
Trinn 2: Monter chassiset


Monter motor, hjul og chassis….
Som gitt instruksjoner med chassis.
Trinn 3: Last ned zip -filen

- Last ned zip -filen
- Og trekk det ut
github.com/vishalsoniindia/Mobile-Controll…
Trinn 4: Legg til AF -motorbiblioteket




- Pakk ut zip -filen
- Åpne den utpakkede mappen
- Kopier AF -motormappen
- Gå nå til dokumentseksjonen
- Åpne arduino -mappen
- Åpne nå biblioteksmappen
- Lim inn AFMotor -mappen
- Lukk den deretter
Trinn 5: Last opp program



- Koble arduino til bærbare datamaskiner eller PCer
- Åpne den utpakkede mappen igjen
- Åpne bilprogrammet
- Gå til verktøyene i arduino -programvare
- Sørg for at kortet er arduino Uno og port der arduino er tilkoblet
- Last opp programmet
Trinn 6: Kretsforbindelser



- Lodd to ledninger på arduinos 0 og 1 pin som er RX og TX.
- Fest motorskjermen på toppen av arduino
- Koble til alle motorene på motorskjermen som angitt i kretsen.
- Venstre motor er koblet til M3 og M4
- Høyre motor er koblet til M1 og M2
- Hvis en motor roterer i motsatt retning, reverser deretter tilkoblingen til motoren
Trinn 7: Legg til Bluetooth -modul




- Ta en Bluetooth -modul
- Koble to hunn til hun ledning på +5v og GND
- Koble Bluetooth + 5v og GND med servo + og - på motorskjermen som vist på bildet.
- Koble RX av arduino til TX av Bluetooth -modul
- Koble TX av arduino til RX på Bluetooth -modulen
Trinn 8: Slå på Arduino og motorer


- Koble strømbanken til arduino via USB -kabel
- Koble batteriet til motorskjermen
Trinn 9: Koble til appen



- Slå på Bluetooth
- Søk etter ny enhet
- Klikk på hc-05
- Skriv inn passordet 1234
- Når den koblet sammen åpen spillbutikk
- Søk etter arduino Bluetooth rc bil
- Last ned appen og åpne
- Klikk på innstillingsikonet
- Klikk på koble til bil
- Klikk på hc-05
- Rødt lys blir grønt, det betyr at det er tilkoblet
- Ferdig
Trinn 10: Alt ferdig

Nå er alt gjort til venstre, høyre og opp, pil ned i appen for å betjene roboten.