Kaufen Sie aus den OSOYOO | Kaufen Sie aus dem Vereinigten Königreich | Kaufen Sie aus Deutschland | Kaufen Sie aus Italien | Kaufen Sie aus Frankreich | Kaufen Sie aus Spanien | Kaufen Sie aus Japan | |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
In diesem Tutorial werden wir das Osoyoo Model-3 Robot Learning Kit verwenden, um ein einfaches ferngesteuertes Smart Car zu erstellen. Sobald die Installation des Autos abgeschlossen ist, werden wir eine Infrarotfernbedienung verwenden, um die Bewegungen des Autos zu steuern, einschließlich Vorwärtsfahren, Rückwärtsfahren, Linksabbiegen und Rechtsabbiegen.
Schritt 1: Installieren Sie das Grundgerüst des Smartcars gemäß Lektion 1. Wenn Sie die Installation in Lektion 1 bereits abgeschlossen haben, belassen Sie es einfach so.
Schritt 2: Fügen Sie ein IR-Empfangsmodul dem Auto hinzu.
Hinweis: Es gibt einige Unterschiede zwischen den beiden Versionen des OSOYOO Motor Shields (V1.0 und V1.1 / V1.2).
Wenn Sie das OSOYOO Motor Shield V1.1 erhalten haben, installieren Sie das IR-Empfangsmodul bitte wie folgt auf dem OSOYOO Motor Shield V1.1:
Wenn Sie das OSOYOO Motor Shield V1.0 erhalten haben, lesen Sie bitte dieses Tutorial:
OSOYOO Model-3 V2.0 Robot Car Lesson 2: IR Remote Controlled (OSOYOO Motor Shield V1.0)
Open-sourceSoftware(IDE) | ![]() |
Laden Sie die IDE hier herunter: https://www.arduino.cc/en/Main/Software?setlang=en |
7-Zip ist ein kostenlosesZip-Programm, das Zip-Dateien entpackt. | ![]() |
Laden Sie 7zip hier kostenlos herunter. https://www.7-zip.org/ |
Installieren Sie die neueste IDE (Wenn Sie die IDE-Version nach 1.1.16 haben, überspringen Sie diesen Schritt bitte).
Laden Sie die IDE von https://www.arduino.cc/en/software, herunter und installieren Sie die Software.
Installieren Sie die IRremote-Bibliothek in die IDE (Wenn Sie die IRremote-Bibliothek bereits installiert haben, überspringen Sie diesen Schritt bitte)
Laden Sie die IRremote-Bibliothek von folgender Webseite herunter https://osoyoo.com/picture/2WD_Car_V2.0/code/IRremote.zip, und importieren Sie sie in die IDE (Öffnen Sie die IDE-> klicken Sie auf Sketch->Include Library->Add .Zip Library)
Wählen Sie im Popup-Fenster Ihren Download-Ordner aus und wählen Sie die gerade heruntergeladene IRremote.zip-Datei aus.
Laden Sie Lesson 2 sample code, herunter, entpacken Sie sie und Sie sehen einen Ordner namens lesson2.
Verbinde das OSOYOO Basic Board für Arduino mit einem USB-Kabel mit dem PC, öffne die IDE -> klicke auf Datei -> klicke auf Öffnen -> wähle den Code “lesson2.ino” im Ordner “lesson2” aus, lade den Code auf das Board.
Hinweis: Schalten Sie Ihre Batterie aus oder ziehen Sie Ihren Netzadapter aus, wenn Sie den Sketch-Code auf das OSOYOO Basic Board für Arduino hochladen.
Wähle das entsprechende Board und den Port für dein Projekt aus und lade den Sketch auf das Board hoch.
Testen:
Drücken Sie die IR-Controller-Tasten, um die Bewegungen des Autos zu steuern:
Hinweis:
Fehlerbehebung:
Einige Benutzer haben festgestellt, dass diese IR-Fernbedienung nicht funktioniert. Der Grund könnte sein, dass die IR-Fernbedienung einen anderen Tastencode sendet, der nicht mit unserem Beispielcode übereinstimmt. Um dieses Problem zu lösen, gehen Sie bitte wie folgt vor:
Schritt A) Holen Sie den IR-Code jeder Taste Ihrer IR-Fernbedienung. Kopieren Sie den Code aus folgendem Link: https://osoyoo.com/wp-content/uploads/samplecode/irdemo2.ino
Laden Sie das obige Sketch in Ihr OSOYOO Basic Board für Arduino hoch und öffnen Sie den Seriellen Monitor in Ihrer oberen rechten Ecke.
Schreiben Sie den IR-Code Ihrer Steuerknöpfe ◄ ► ▲ ▼ -Taste auf,
Bitte ändern Sie den Wert jeder Schaltfläche in den obigen Zeilen, um den Code aus Schritt A) zu entsprechen. Wenn Sie nicht wissen, wie Sie Änderungen vornehmen können, senden Sie einfach eine E-Mail an [email protected] und geben Sie uns den Code jeder Schaltfläche aus Schritt A) an. Ich kann Ihnen helfen, den Code zu ändern und eine neue Sketch-Datei per E-Mail an Sie zu senden.
Mit der oben genannten Methode können Sie auch andere IR-Sende-Geräte (z. B. Fernsehfernbedienung, DVD-Fernbedienung, Klimaanlagen-Fernbedienung usw.) verwenden, um das Auto zu steuern. Verwenden Sie einfach Schritt A), um den Schlüsselcode Ihrer Fernbedienung zu erhalten, und ändern Sie die Sketch-Datei in Schritt B). Es wird funktionieren.
DownLoad Url osoyoo.com
You must be logged in to post a comment.
Hi,
I just got a robot car for Christmas, but the IR sensor doesn’t work, I have confirmed it’s wired correctly but even with the debug code it shows no commands from the remote, even when trying with another IR remote.
David
Do you remove the plastic sheet in the remote controller.
Do you see any indicator turning on when you press remote controller?
If no indicator on, it may be some wrong with remote.
Please give me your order No and address, I’ll send the replacement to you.
Elaine @OSOYOO
buonasera il mio problema con la lezione due che non si carica su arduino err.pinmode(); non definito in attesa di risposta un grazie
Hi, Do you mean you can’t upload the code?
si esatto non carica il codice
Do you test other lessons? Do you get the same error? If so, please confirm whether you install the bluetooth module on the expansion board.
If not, please check whether you install the IRremote library correctly.
il bluetooth si installa e il led del modulo è fissa ma il robot non si muove ho provato con lesson 2 mi da sempre lo stesso errore proverò con le librerie grazie
Please remove the bluetooth and confirm you have install IRremote library. Thanks.
Hi! What can I do if I can not download the IRremote zip file on my Mac?? Or I can’t add it to the library ?? thank you!
It says it is not a supported file
Please check download page of your browser after you open the link: https://osoyoo.com/picture/2WD_Car_V2.0/code/IRremote.zip.
Please unzip this file and copy this folder and paste it to the path: your computer–>document–> arduino
Hi, I’m trying to get the IR codes of my remote’s buttons, but when I open the serial monitor and press the buttons, it won’t display their codes. I removed the protective film, and tried everything, but it still won’t work.
Please provide your order ID and full address to my email address: [email protected].
I’ll send the IR receiver as the replacement to you.
After following the steps for lesson 1 I’m still not able to get the car to move. I turn it on it and does not do anything. When connected to the PC it lights up and makes a noise but that is it. Please assist
Please check whether the battery and battery case install correctly or not.
Could you read the voltage of the battery on voltage meter on the car?
Please take photos about the car and send to my email address: [email protected].
The rechargeable battery that came with the car is no good that’s why I could not get it to move. I had to buy a disposable battery from the store. Are you able to send a replacement since the original one that came with the unit is defective??
Please provide your order No and address.
I just emailed you my information
OK, the battery will be shipped ASAP.
The tracking number is 9400111206203991989505.
If any query, please feel free to contact me.
Elaine