Bumper-Sensor: Unterschied zwischen den Versionen
Aus www.wiki.ardumower.de
(→Code) |
(→Einführung) |
||
Zeile 1: | Zeile 1: | ||
=Einführung= | =Einführung= | ||
+ | |||
+ | [[File: Ardumower_BumperDuino.jpg | 400px]] | ||
+ | |||
Ardumower's bumper sensor (called 'BumperDuino') is based on a pressure sensor and helps us to detect obstacles. | Ardumower's bumper sensor (called 'BumperDuino') is based on a pressure sensor and helps us to detect obstacles. | ||
Zeile 5: | Zeile 8: | ||
<gallery> | <gallery> | ||
− | |||
File: Ardumower_bumperduino_outdoor.jpg | BumperDuino pressure sensor tube | File: Ardumower_bumperduino_outdoor.jpg | BumperDuino pressure sensor tube | ||
File: Bumperduino_example.jpg | BumperDuino Beispiel | File: Bumperduino_example.jpg | BumperDuino Beispiel |
Version vom 3. Juni 2016, 08:01 Uhr
Inhaltsverzeichnis
Einführung
Ardumower's bumper sensor (called 'BumperDuino') is based on a pressure sensor and helps us to detect obstacles.
The PCB module and sensor can be purchased as complete kit via the shop .
Bauanleitung
Building instructions can be found in the BumperDuino manual.
Schaltbilder
Code
You can download the Arduino Code here. Important: Choose 'Arduino Uno' as bootloader.
To upload the code, set jumper to 'VUSB' and connect an USB-TTL adapter to J4 (USB-LIGHT) as follows:
J4 (USB-LIGHT) 1 -- USB-TTL GND 2 -- not used 3 -- USB-TTL +5V 4 -- USB-TTL TX 5 -- USB-TTL RX 6 -- USB-TTL DTR (reset)
All steps are described in more detail here: FT232RL USB-adapter manual.
Verbinden mit Ardumower
Set jumper to 'VIN', and connect VIN and BUMPER-OC to Ardumower as follows: VIN (+) -- 9-12V (-) -- GND BUMPER-OC DC1 -- Ardumower bumper left/1 DC2 -- Ardumower bumper right/2