Bumper sensor: Unterschied zwischen den Versionen
Aus www.wiki.ardumower.de
(→Connecting to Ardumower) |
BenPan (Diskussion | Beiträge) (→Code: updated links to github) |
||
Zeile 27: | Zeile 27: | ||
=Code= | =Code= | ||
− | You can download the Arduino Code [https://github.com/Ardumower/ardumower/ | + | You can download the Arduino Code [https://github.com/Ardumower/ardumower/blob/master/code/BumperDuino/ 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: | To upload the code, set jumper to 'VUSB' and connect an USB-TTL adapter to J4 (USB-LIGHT) as follows: | ||
Zeile 43: | Zeile 43: | ||
</gallery> | </gallery> | ||
− | All steps are described in more detail here: [https://github.com/Ardumower/ardumower/blob/master/Dokumentation/ | + | All steps are described in more detail here: [https://github.com/Ardumower/ardumower/blob/master/Dokumentation/BumperDuino/Workshop%20BumperDuino.pdf FT232RL USB-adapter manual]. |
=Connecting to Ardumower= | =Connecting to Ardumower= |
Version vom 30. Dezember 2021, 00:12 Uhr
Inhaltsverzeichnis
Abstract
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 .
Building instructions
Building instructions as well as instructions for programming the Arduino can be found in the BumperDuino manual.
Schematics
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.
Connecting to Ardumower
Set jumper to 'VIN', and connect VIN and BUMPER-OC to Ardumower as follows: BumperDuino VIN + -- PCB1.3 +9V BumperDuino VIN - -- PCB1.3 P11 GND (2) BumperDuino OC DC1 -- PCB1.3 P11 pinBumperRight (3) BumperDuino OC DC2 -- PCB1.3 P11 pinBumperLeft (4)
Videos
BumperDuino and tilt protection
The BumperDuino is permanently improved. Here you can find a version including tilt protection:
BumperDuino using tilt protection