Bumper sensor: Unterschied zwischen den Versionen

Aus www.wiki.ardumower.de
Wechseln zu: Navigation, Suche
(Connecting to Ardumower)
(Code)
Zeile 34: Zeile 34:
 
  5 -- USB-TTL RX
 
  5 -- USB-TTL RX
 
  6 -- USB-TTL DTR (reset)
 
  6 -- USB-TTL DTR (reset)
 +
 +
<gallery>
 +
File: Bumper_duino_usb_ttl.jpg | BumperDuino and USB-TTL adapter
 +
</gallery>
  
 
=Connecting to Ardumower=
 
=Connecting to Ardumower=

Version vom 15. Januar 2016, 12:39 Uhr

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 Shopping.png .

Building instructions

Building instructions as well as instructions for programming the Arduino can be found in the BumperDuino manual.

Schematics

  1. GitHub folder
  2. 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)

Connecting to Ardumower

Set jumper to 'VIN', and connect VIN and BUMPER-OC to Ardumower as follows:
VIN
(+) -- 9-12V
(-) -- GND

BUMPER-OC
DC1 -- bumper1 output
DC2 -- bumper2 output

Videos

  1. Introduction BumperDuino
  2. Making Of BumperDuino