Bumper sensor: Unterschied zwischen den Versionen

Aus www.wiki.ardumower.de
Wechseln zu: Navigation, Suche
(Code)
(Connecting to Ardumower)
Zeile 47: Zeile 47:
 
   
 
   
 
  BUMPER-OC
 
  BUMPER-OC
  DC1 -- bumper1 output
+
  DC1 -- Ardumower bumper left/1
  DC2 -- bumper2 output
+
  DC2 -- Ardumower bumper right/2
  
 
=Videos=
 
=Videos=
 
#[https://www.youtube.com/watch?v=IW93kSheB68 Introduction BumperDuino]
 
#[https://www.youtube.com/watch?v=IW93kSheB68 Introduction BumperDuino]
 
#[https://www.youtube.com/watch?v=Crvdqs4AtvQ Making Of BumperDuino]
 
#[https://www.youtube.com/watch?v=Crvdqs4AtvQ Making Of BumperDuino]

Version vom 15. Januar 2016, 12:40 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 -- Ardumower bumper left/1
DC2 -- Ardumower bumper right/2

Videos

  1. Introduction BumperDuino
  2. Making Of BumperDuino