Ardumower Gasoline: Unterschied zwischen den Versionen

Aus www.wiki.ardumower.de
Wechseln zu: Navigation, Suche
(Arduino code upload)
(Wiring Arduino and model R/C receiver)
 
(36 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
This page describes how you can convert your ordinary gasoline mower into a '''remote controlled (R/C)''' mower using Ardumower parts.
+
This Do-It-Yourself (DIY) project describes how you can convert your ordinary gasoline mower for about 250 EUR into a '''remote controlled (R/C)''' mower using Ardumower parts.
 +
 
 +
[[File: Ardumower_gasoline_rc.png | x150px]]
  
 
[[File: Ardumower_gasoline1.jpg | x350px]]
 
[[File: Ardumower_gasoline1.jpg | x350px]]
 
[[File: Ardumower_gasoline5.jpg | x350px]]
 
[[File: Ardumower_gasoline5.jpg | x350px]]
 
[[File: Ardumower_remote.jpg | x200px]]
 
[[File: Ardumower_remote.jpg | x200px]]
 +
 +
=Video=
 +
[[File: video.png]]
 +
[https://www.youtube.com/watch?v=LpxVweEZALs Click here for video]
  
 
=Features=
 
=Features=
Zeile 12: Zeile 18:
 
=Parts list=
 
=Parts list=
  
[[Image:Ardumower_gasoline_parts.png|thumb|700px|Overview]]
+
[[Image:Ardumower_gasoline_parts.jpg|thumb|700px|Overview]]
  
All parts can be purchased in the [https://www.marotronics.de shop] [[File: shopping.png|link=https://www.marotronics.de]]. Click on a part for more details:
+
All parts can be purchased in the shop. Click here to add all parts below to your shopping cart: [[File: shopping.png |link=https://www.marotronics.de/wunschliste.php?wlid=65730167bda2f5ffb899d0fb71d8149f&jtl=w]].
 +
 
 +
Click on a part for more details:
  
 
*[https://www.marotronics.de/Luftrad-260-mm-zB-fuer-Ardumower-Sackkarrenrad-Bollerwagenrad-Schubkarrenrad 2x 260mm tires]
 
*[https://www.marotronics.de/Luftrad-260-mm-zB-fuer-Ardumower-Sackkarrenrad-Bollerwagenrad-Schubkarrenrad 2x 260mm tires]
Zeile 27: Zeile 35:
 
*[https://www.marotronics.de/Nano-V30-ATmega328P-Board-Arduino-kompatibel-USB-CH340G 1x Arduino Nano]
 
*[https://www.marotronics.de/Nano-V30-ATmega328P-Board-Arduino-kompatibel-USB-CH340G 1x Arduino Nano]
 
*Arduino Nano I/O shield
 
*Arduino Nano I/O shield
*a model R/C receiver and a remote control (e.g. 2.4 Ghz R/C control)
+
*[https://hobbyking.com/en_us/turnigy-5x-5ch-mini-transmitter-and-receiver-mode-2.html?___store=en_us a 2 channel model R/C receiver and a remote control (e.g. 2.4 Ghz R/C control)]
 
*[https://www.marotronics.de/Sicherungshalter-fuer-5x20mm-63x32mm 1x fuse holder]
 
*[https://www.marotronics.de/Sicherungshalter-fuer-5x20mm-63x32mm 1x fuse holder]
 
*[https://www.marotronics.de/Feinsicherung-Flink-5x20mm 1x fuse 4A]
 
*[https://www.marotronics.de/Feinsicherung-Flink-5x20mm 1x fuse 4A]
Zeile 35: Zeile 43:
 
*[https://www.marotronics.de/20-Kabel-20cm-lang-female-to-female Arduino wires female-to-female]
 
*[https://www.marotronics.de/20-Kabel-20cm-lang-female-to-female Arduino wires female-to-female]
 
*2 meter wire, 0.5 mm^2 section for wiring motor drivers
 
*2 meter wire, 0.5 mm^2 section for wiring motor drivers
*5x M8 screws, nuts, slices for mounting free wheel
+
*5x M8x80 screws, nuts, slices for mounting free wheel
*8x M4 screws, slices for mounting tire on clamp
+
*8x M4x90 screws, slices for mounting tire on clamp
*8x M4 screws, slices for mounting gear motors
+
*8x M4x15 screws, slices for mounting gear motors
  
 
=Motors=
 
=Motors=
Zeile 44: Zeile 52:
 
[[File: Ardumower_gasoline3.jpg | x400px]]
 
[[File: Ardumower_gasoline3.jpg | x400px]]
 
[[File: Ardumower_gasoline6.jpg | x400px]]
 
[[File: Ardumower_gasoline6.jpg | x400px]]
 +
 +
For all technical users, here are the specifications of the gear motor (gearbox with ball bearings):
 +
 +
[[File: Ardumower_gearbox.png | x100px]]
 +
[[File: Wheel_motor_diagram.png | x100px]]
  
 
=Free wheel=
 
=Free wheel=
Zeile 84: Zeile 97:
  
 
==Wiring Arduino and model R/C receiver==
 
==Wiring Arduino and model R/C receiver==
 +
On your R/C transmitter, you will need 2 channels (speed, steering):
 +
 +
[[File: rc_transmitter1.png | x200px]]
 +
 
[[File: rcreceiver.jpg | x100px]]
 
[[File: rcreceiver.jpg | x100px]]
  
Connect your model R/C receiver to these Arduino pins:
+
Connect your model R/C receiver 2 channels (speed, steering) to these Arduino pins:
 
  '''model R/C receiver  Arduino pin'''
 
  '''model R/C receiver  Arduino pin'''
 
  GND                  GND
 
  GND                  GND
Zeile 99: Zeile 116:
  
 
# Download and install [https://www.arduino.cc/en/Main/Software Arduino IDE]
 
# Download and install [https://www.arduino.cc/en/Main/Software Arduino IDE]
# Upload this code to your Arduino Nano:  
+
# Upload this code to your Arduino Nano:   https://github.com/Ardumower/ardumower/blob/master/code/tests/rcmower/rcmower.ino
  
https://github.com/Ardumower/ardumower/blob/master/code/tests/rcmower/rcmower.ino
+
Note: After uploading, you can run the Arduino IDE serial console (CTRL+SHIFT+M) at 115200 baud to monitor the R/C signal coming in:
 
+
Tip: You can run the Arduino IDE serial console (CTRL+SHIFT+M) at 115200 baud to monitor the R/C signal coming in.
+
  
 
  steer=0  speed=100  mleft=255  mright=255
 
  steer=0  speed=100  mleft=255  mright=255
Zeile 110: Zeile 125:
 
  steer=0  speed=100  mleft=255  mright=255
 
  steer=0  speed=100  mleft=255  mright=255
 
  ...
 
  ...
 +
 +
Happy mowing! :-)
  
 
==Questions, help, discussion==
 
==Questions, help, discussion==

Aktuelle Version vom 2. September 2017, 09:29 Uhr

This Do-It-Yourself (DIY) project describes how you can convert your ordinary gasoline mower for about 250 EUR into a remote controlled (R/C) mower using Ardumower parts.

Ardumower gasoline rc.png

Ardumower gasoline1.jpg Ardumower gasoline5.jpg Ardumower remote.jpg

Video

Video.png Click here for video

Features

  • 2x gear motors running at 31 rpm, 2.45 Nm
  • powered by 29.4v Lithium-Ion battery
  • wireless control via 2.4 Ghz model R/C control

Parts list

Overview

All parts can be purchased in the shop. Click here to add all parts below to your shopping cart: Shopping.png.

Click on a part for more details:

Motors

Find a place on your mower for the gear motors. Use the clamping elements and the tire adapters to attach the tires to the motors.

Ardumower gasoline3.jpg Ardumower gasoline6.jpg

For all technical users, here are the specifications of the gear motor (gearbox with ball bearings):

Ardumower gearbox.png Wheel motor diagram.png

Free wheel

Use 4 screws and a plate to support the free wheel.

Ardumower gasoline4.jpg Ardumower gasoline8.jpg

Control box

Mount the Ardumower Power Pack battery, emergency switch, fuse holder, BTS7960 motor drivers, Arduino Nano, DC/DC converter and the model R/C receiver in a box.

Ardumower gasoline2.jpg Ardumower gasoline7.jpg

Wiring

Connect the components as shown below. The emergency switch is to switch on and off the battery. The fuse holder will hold the 4A fuse. The diode is used to get down the battery voltage by at least 0.5 volt so the overvoltage protection of the BTS7960 motor drivers does not take place when the battery is fully charged. The DC/DC converter converts the Ardumower Power Pack battery 24v down to 9v for the Arduino voltage input. The motor drivers control the two motors via the Arduino Nano. The signal of two model R/C receiver channels are sent to the Arduino Nano allowing the user to steer the mower and to control the speed. The charging socket is used to connect the Ardumower charger for charging the battery.

Ardumower gasoline schematics.png

Wiring Arduino and motor drivers

Bts7960.jpg

Connect your left BTS7960 motor driver to these Arduino pins:

left BTS7960   Arduino pin
GND            GND
VCC            +5V
R_EN           A1  
L_EN           A0
R_PWM          9
L_PWM          10

Connect your right BTS7960 motor driver to these Arduino pins:

right BTS7960   Arduino pin
GND             GND
VCC             +5V
R_EN            A3
L_EN            A2
R_PWM           3
L_PWM           11

Wiring Arduino and model R/C receiver

On your R/C transmitter, you will need 2 channels (speed, steering):

Rc transmitter1.png

Rcreceiver.jpg

Connect your model R/C receiver 2 channels (speed, steering) to these Arduino pins:

model R/C receiver   Arduino pin
GND                  GND
VCC                  +5V
CH_Steering          5  
CH_Speed             6

Arduino code upload

Arduinonano.jpg

Finally, download the Arduino IDE and upload this code to your Arduino Nano:

  1. Download and install Arduino IDE
  2. Upload this code to your Arduino Nano: https://github.com/Ardumower/ardumower/blob/master/code/tests/rcmower/rcmower.ino

Note: After uploading, you can run the Arduino IDE serial console (CTRL+SHIFT+M) at 115200 baud to monitor the R/C signal coming in:

steer=0  speed=100  mleft=255  mright=255
steer=0  speed=100  mleft=255  mright=255
steer=0  speed=100  mleft=255  mright=255
steer=0  speed=100  mleft=255  mright=255
...

Happy mowing! :-)

Questions, help, discussion

German: http://www.ardumower.de/index.php/de/forum/eure-ardumower-umsetzung/1431-ardumower-gasoline-r-c-benzinrasenmaeher#13672

English: http://www.ardumower.de/index.php/de/forum/your-projects/1432-ardumower-gasoline-r-c-conversion#13674