Ardumower Gasoline: Unterschied zwischen den Versionen

Aus www.wiki.ardumower.de
Wechseln zu: Navigation, Suche
(Wiring)
(Wiring Arduino and model R/C receiver)
 
(94 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
Ardumower Gasoline R/C is an ordinary gasoline powered mower converted to remote control (R/C) 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_gasoline1.jpg | x400px]]
+
[[File: Ardumower_gasoline_rc.png | x150px]]
[[File: Ardumower_gasoline5.jpg | x400px]]
+
 
 +
[[File: Ardumower_gasoline1.jpg | x350px]]
 +
[[File: Ardumower_gasoline5.jpg | x350px]]
 +
[[File: Ardumower_remote.jpg | x200px]]
 +
 
 +
=Video=
 +
[[File: video.png]]
 +
[https://www.youtube.com/watch?v=LpxVweEZALs 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=
 
=Parts list=
 +
 +
[[Image:Ardumower_gasoline_parts.jpg|thumb|700px|Overview]]
 +
 +
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:
 
Click on a part for more details:
Zeile 18: Zeile 34:
 
*[https://www.marotronics.de/DC-DC-Spannungsregler-LM2596S-Step-Down-Regler-einstellbar 1x DC/DC converter]
 
*[https://www.marotronics.de/DC-DC-Spannungsregler-LM2596S-Step-Down-Regler-einstellbar 1x DC/DC converter]
 
*[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]
*a model R/C receiver and a remote control
+
*Arduino Nano I/O shield
 +
*[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]
 +
*[https://www.marotronics.de/MBR1045-Schottky-Diode-45V-10A 1x diode 10A]
 
*[https://www.marotronics.de/Not-Aus-Schalter-Emergency-Stop-Switch-Pushbutton 1x emergency switch]
 
*[https://www.marotronics.de/Not-Aus-Schalter-Emergency-Stop-Switch-Pushbutton 1x emergency switch]
 
*[https://www.marotronics.de/Hohlstecker-Einbaubuchse-fuer-Gehaeuse-55-x-25-mm 1x charging socket]
 
*[https://www.marotronics.de/Hohlstecker-Einbaubuchse-fuer-Gehaeuse-55-x-25-mm 1x charging socket]
 +
*[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
 +
*5x M8x80 screws, nuts, slices for mounting free wheel
 +
*8x M4x90 screws, slices for mounting tire on clamp
 +
*8x M4x15 screws, slices for mounting gear motors
  
 
=Motors=
 
=Motors=
Zeile 29: 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=
 
Use 4 screws and a plate to support the free wheel.
 
Use 4 screws and a plate to support the free wheel.
[[File: Ardumower_gasoline4.jpg | 500px]]
+
 
 +
[[File: Ardumower_gasoline4.jpg | x400px]]
 +
[[File: Ardumower_gasoline8.jpg | x400px]]
  
 
=Control box=
 
=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. The emergency switch is to switch on and off the battery. The fuse holder will hold the 4A fuse. The DC/DC converter converts the Ardumower Power Pack battery 24v down to 9v for the Arduino voltage input. The motor drivers control the motors via the Arduino Nano. The signal of two model R/C receiver channels are sent to the Arduino to steer the mower and to control the speed. The charging socket is used to connect the Ardumower charger for charging the battery.
+
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.  
  
 
[[File: Ardumower_gasoline2.jpg | x350px]]
 
[[File: Ardumower_gasoline2.jpg | x350px]]
Zeile 41: Zeile 71:
  
 
==Wiring==
 
==Wiring==
Connect the components as shown below.
+
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.
 +
 
 +
[[File: Ardumower_gasoline_schematics.png | x400px]]
 +
 
 +
==Wiring Arduino and motor drivers==
 +
[[File: bts7960.jpg | x100px]]
  
 
Connect your left BTS7960 motor driver to these Arduino pins:
 
Connect your left BTS7960 motor driver to these Arduino pins:
left BTS7960   Arduino
+
'''left BTS7960   Arduino pin'''
 +
GND            GND
 +
VCC            +5V
 
  R_EN          A1   
 
  R_EN          A1   
 
  L_EN          A0
 
  L_EN          A0
Zeile 51: Zeile 88:
  
 
Connect your right BTS7960 motor driver to these Arduino pins:
 
Connect your right BTS7960 motor driver to these Arduino pins:
right BTS7960   Arduino
+
'''right BTS7960   Arduino pin'''
 +
GND            GND
 +
VCC            +5V
 
  R_EN            A3
 
  R_EN            A3
 
  L_EN            A2
 
  L_EN            A2
Zeile 57: Zeile 96:
 
  L_PWM          11
 
  L_PWM          11
  
Connect your model R/C receiver to these Arduino pins:
+
==Wiring Arduino and model R/C receiver==
model R/C channel    Arduino
+
On your R/C transmitter, you will need 2 channels (speed, steering):
  CH_Steering         5   
+
 
  CH_Speed           6
+
[[File: rc_transmitter1.png | x200px]]
 +
 
 +
[[File: rcreceiver.jpg | x100px]]
 +
 
 +
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==
 +
[[File: arduinonano.jpg | x100px]]
 +
 
 +
Finally, download the Arduino IDE and upload this code to your Arduino Nano:
 +
 
 +
# Download and install [https://www.arduino.cc/en/Main/Software Arduino IDE]
 +
# 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! :-)
  
==Arduino==
+
==Questions, help, discussion==
Finally, upload this code to your Arduino Nano:  
+
German: http://www.ardumower.de/index.php/de/forum/eure-ardumower-umsetzung/1431-ardumower-gasoline-r-c-benzinrasenmaeher#13672
  
https://github.com/Ardumower/ardumower/blob/master/code/tests/rcmower/rcmower.ino
+
English: http://www.ardumower.de/index.php/de/forum/your-projects/1432-ardumower-gasoline-r-c-conversion#13674

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