<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>https://wiki.ardumower.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tapsa</id>
		<title>www.wiki.ardumower.de - Benutzerbeiträge [de]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.ardumower.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tapsa"/>
		<link rel="alternate" type="text/html" href="https://wiki.ardumower.de/index.php?title=Spezial:Beitr%C3%A4ge/Tapsa"/>
		<updated>2026-10-14T09:23:36Z</updated>
		<subtitle>Benutzerbeiträge</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://wiki.ardumower.de/index.php?title=Ardumower_PCB&amp;diff=2548</id>
		<title>Ardumower PCB</title>
		<link rel="alternate" type="text/html" href="https://wiki.ardumower.de/index.php?title=Ardumower_PCB&amp;diff=2548"/>
				<updated>2015-07-25T14:12:31Z</updated>
		
		<summary type="html">&lt;p&gt;Tapsa: /* ADC calibration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Abstract=&lt;br /&gt;
This page describes how to assemble the Ardumower PCB, flash the Arduino and configure the robot mower.&lt;br /&gt;
&lt;br /&gt;
The controller is built around a ready microcontroller board (Arduino Mega 2560 using 54 I/O pins). &lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File: Ardumower_overview.png | Components overview&lt;br /&gt;
File: Ardumower_chassis_components.png | Chassis components&lt;br /&gt;
File: Arduinomega.jpg | Ardumower's heart: Arduino Mega 2560 microcontroller&lt;br /&gt;
File: Ardumower_parts.jpg| Modules available in the shop&lt;br /&gt;
File: Ardumower_pcb_photo.jpg | Ardumower PCB connects all modules (available in the shop)&lt;br /&gt;
File: Ardumower_chassis_pcb1.jpg | Chassis and PCB inside&lt;br /&gt;
File: Ardumower_chassis_pcb2.jpg | PCB mount&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Needed modules=&lt;br /&gt;
&lt;br /&gt;
All modules can be purchased as complete kits via the [https://www.marotronics.de/index.php?k=7 shop] [[File: shopping.png|link=https://www.marotronics.de/index.php?k=7]] .&lt;br /&gt;
&lt;br /&gt;
* Main functions&lt;br /&gt;
** Arduino cable (female-female and male-female jumper cable)&lt;br /&gt;
** Arduino Mega 2560 (or Arduino Due)&lt;br /&gt;
** Adjustable DC voltage step-down modules (3.3v, 5v, 8v)&lt;br /&gt;
** dual motor driver module with integrated current sensor (2 wheel motors)&lt;br /&gt;
** current sensor module&lt;br /&gt;
** motor driver module with integrated current sensor (mower motor) &lt;br /&gt;
** Resistors, Capacitors, Fuse &lt;br /&gt;
** Piezo buzzer, button, ON/OFF switch&lt;br /&gt;
&lt;br /&gt;
* Perimeter sender (optional)&lt;br /&gt;
** Arduino Nano&lt;br /&gt;
** DC voltage step-down module &lt;br /&gt;
** motor driver module with integrated current sensor &lt;br /&gt;
&lt;br /&gt;
* Perimeter receiver (optional)&lt;br /&gt;
** pre-amplifier module &lt;br /&gt;
** Capacitor, Receiver coil &lt;br /&gt;
&lt;br /&gt;
* Additional modules&lt;br /&gt;
** IMU module (gyro, accel. compass) (REQUIRED)&lt;br /&gt;
** realtime clock module (REQUIRED)&lt;br /&gt;
** Bluetooth module (for phone control, RECOMMENDED)&lt;br /&gt;
** ultrasonic sensor module (optional)&lt;br /&gt;
&lt;br /&gt;
=PCB=&lt;br /&gt;
The printed circuit board (PCB) connects all electronic modules. The PCB is made with the following design parameters:&lt;br /&gt;
&lt;br /&gt;
* PCB dimensions 241x114mm &lt;br /&gt;
* All modules (motor driver, Bluetooth, etc.) can be soldered (or plugged) on the PCB (modules are available in the Ardumower shop)&lt;br /&gt;
* Uses the Arduino Mega 2560&lt;br /&gt;
* Optional: can use Arduino Due via additional adapter PCB&lt;br /&gt;
* Optional: integrated charging circuit (current limiting)&lt;br /&gt;
* All connections are available on connectors as well as +5V and GND&lt;br /&gt;
* Max. trace current (for motors): 8A&lt;br /&gt;
&lt;br /&gt;
=PCB versions=&lt;br /&gt;
Robot PCB v0.5 (initial prototype)&lt;br /&gt;
* [https://github.com/Ardumower/ardumower/tree/master/pcb/megashield_svn_0.5/Platinenbilder Photos]&lt;br /&gt;
* [https://github.com/Ardumower/ardumower/raw/master/pcb/megashield_svn_0.5/ardumower%20mega%20shield%20svn.pdf Schematics]&lt;br /&gt;
* [http://www.ardumower.de/media/kunena/attachments/1259/ArdumuverBestckung2015-04-221115.pdf Build instructions]&lt;br /&gt;
* [http://www.ardumower.de/media/kunena/attachments/905/TranslatedcopyofPrototypPlatine.docx.pdf Build instructions (English translation)]&lt;br /&gt;
&lt;br /&gt;
Robot PCB v1.2  (minor layout changes)&lt;br /&gt;
* [https://github.com/Ardumower/ardumower/raw/master/pcb/megashield_svn_1.2_geschlossen/ardumower%20mega%20shield%20svn.pdf Schematics]&lt;br /&gt;
* [https://github.com/Ardumower/ardumower/tree/master/pcb/megashield_svn_1.2_geschlossen/Platinenbilder Photos]&lt;br /&gt;
* [http://www.ardumower.de/media/kunena/attachments/1259/ArdumuverBestckung2015-04-221115.pdf Build instructions]&lt;br /&gt;
* [http://www.ardumower.de/media/kunena/attachments/905/TranslatedcopyofPrototypPlatine.docx.pdf Build instructions (English translation)]&lt;br /&gt;
* [https://github.com/Ardumower/ardumower/raw/master/pcb/megashield_svn_1.2_geschlossen/Dokumentation/WorkaRound20150527.pdf WorkaRound20150527]&lt;br /&gt;
* [https://github.com/Ardumower/ardumower/raw/master/pcb/megashield_svn_1.2_geschlossen/Dokumentation/WorkaRound20150530.pdf WorkaRound20150530]&lt;br /&gt;
* [https://github.com/Ardumower/ardumower/raw/master/pcb/megashield_svn_1.2_geschlossen/Dokumentation/Motor-EntstoerungREV20150531.pdf Motor-decrease noise REV20150531],  [http://www.ardumower.de/media/kunena/attachments/1725/Motor-EntstoerungREV20150531.pdf (English comments)]&lt;br /&gt;
* [https://github.com/Ardumower/ardumower/raw/master/pcb/megashield_svn_1.2_geschlossen/Dokumentation/WORKSHOP%20Protector-Board.pdf Protector board]&lt;br /&gt;
&lt;br /&gt;
Robot PCB v1.3 (in development)&lt;br /&gt;
* simplified design (Due adapter will be externally)&lt;br /&gt;
* motor driver protection&lt;br /&gt;
* battery-off circuit, safety-button&lt;br /&gt;
* sets 'reference-design' and required modules: 3x DC/DC, RTC, IMU&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' The schematics and PCB files were created with KiCad. They can be downloaded from [https://github.com/Ardumower/ardumower/archive/master.zip github] and can be edited by open source KiCAD software (Download [https://docs.google.com/uc?id=0BzTsqkQk2FRsSEhOR2tVc1p4LVk&amp;amp;export=download here] or [http://iut-tice.ujf-grenoble.fr/cao/KiCad_stable-2013.07.07-BZR4022_Win_full_version.exe here]).&lt;br /&gt;
&lt;br /&gt;
=PCB jumpers=&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Feature used&lt;br /&gt;
! YES&lt;br /&gt;
! NO&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
| Integrated charging control via adjustable &lt;br /&gt;
&lt;br /&gt;
voltage regulator (LM350T) with potentiometer&lt;br /&gt;
&lt;br /&gt;
for adjustable charging voltage &lt;br /&gt;
(recommended: NO) &lt;br /&gt;
| D7: DIODE&lt;br /&gt;
&lt;br /&gt;
D3: DIODE&lt;br /&gt;
&lt;br /&gt;
C1, C4, U4, RV1: used&lt;br /&gt;
|D7: SHORT-CIRCUIT&lt;br /&gt;
&lt;br /&gt;
D3: SHORT-CIRCUIT&lt;br /&gt;
&lt;br /&gt;
C1, C4, U4, RV1: not used&lt;br /&gt;
| Do not use if using external battery charger&lt;br /&gt;
|-&lt;br /&gt;
| External power while charging (recommended: NO)&lt;br /&gt;
| JP6: CLOSE&lt;br /&gt;
&lt;br /&gt;
JP7: OPEN&lt;br /&gt;
&lt;br /&gt;
D4: DIODE&lt;br /&gt;
&lt;br /&gt;
C5: not used&lt;br /&gt;
| JP6: OPEN&lt;br /&gt;
&lt;br /&gt;
JP7: CLOSE&lt;br /&gt;
&lt;br /&gt;
D4: SHORT-CIRCUIT&lt;br /&gt;
&lt;br /&gt;
C5: used&lt;br /&gt;
| Use to power your PCB from externally (disconnect battery from PCB) while charging&lt;br /&gt;
|-&lt;br /&gt;
| Arduino controlled charge relay (recommended: YES)&lt;br /&gt;
| JP4: CLOSE&lt;br /&gt;
&lt;br /&gt;
JP5: OPEN&lt;br /&gt;
| JP4: OPEN&lt;br /&gt;
&lt;br /&gt;
JP5: CLOSE&lt;br /&gt;
| Use for Arduino controlled charge relay (not automatic charging)&lt;br /&gt;
|-&lt;br /&gt;
| Arduino Due (3.3V I/O)&lt;br /&gt;
| LP0, ..., LP15: OPEN&lt;br /&gt;
| LP0, ..., LP15: CLOSE&lt;br /&gt;
| Do not use if using Arduino Mega&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth VCC=3.3V&lt;br /&gt;
| JP8: OPEN&lt;br /&gt;
&lt;br /&gt;
JP9: CLOSE&lt;br /&gt;
| JP8: CLOSE&lt;br /&gt;
&lt;br /&gt;
JP9: OPEN&lt;br /&gt;
| Many latest modules use 3.3V&lt;br /&gt;
|-&lt;br /&gt;
| Bluetooth programming mode&lt;br /&gt;
| JP2: CLOSE &lt;br /&gt;
| JP2: OPEN&lt;br /&gt;
| Use for reprogramming baud rate etc.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=PCB modules=&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Module&lt;br /&gt;
! Feature&lt;br /&gt;
! Pinout&lt;br /&gt;
! Optional&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
| U1&lt;br /&gt;
| DC/DC converter (10V)&lt;br /&gt;
| GND, Vout, Vin, GND&lt;br /&gt;
| No&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| U2&lt;br /&gt;
| Bluetooth (HC-05)&lt;br /&gt;
| VCC, GND, TXD, RXD, Key, LED&lt;br /&gt;
| Yes&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| U3&lt;br /&gt;
| Current sensor (charging)&lt;br /&gt;
| VCC, GND, OUT, IP+, IP-5&lt;br /&gt;
| Yes&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| U4&lt;br /&gt;
| Charge control (LM350T)&lt;br /&gt;
| AJD, OUT, IN&lt;br /&gt;
| Yes&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| U5&lt;br /&gt;
| Current sensor (charging)&lt;br /&gt;
| VCC, GND, OUT, IP+, IP-5&lt;br /&gt;
| Yes&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| U6&lt;br /&gt;
| DC/DC converter (3.3V)&lt;br /&gt;
| GND, Vout, Vin, GND&lt;br /&gt;
| No&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| U7&lt;br /&gt;
| DC/DC converter (5V)&lt;br /&gt;
| GND, Vout, Vin, GND&lt;br /&gt;
| No&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| U8&lt;br /&gt;
| Realtime clock (DS1307)&lt;br /&gt;
| Batt, GND, VCC, SDA, SCL, DS, SQ&lt;br /&gt;
| Yes&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| U9&lt;br /&gt;
| Wifi (ESP8266)&lt;br /&gt;
| TX, CH_PD, Reset, VCC, GND, GP_IO2, GP_IO0, RX&lt;br /&gt;
| Yes&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| U10&lt;br /&gt;
| Level shifter 5V-&amp;gt;3V (Arduino Due)&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| U11&lt;br /&gt;
| Wifi (ESP8266)&lt;br /&gt;
| TX, CH_PD, Reset, VCC, GND, GP_IO2, GP_IO0, RX&lt;br /&gt;
| Yes&lt;br /&gt;
| alternative mount position&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=PCB connectors=&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Connector&lt;br /&gt;
! Feature&lt;br /&gt;
! Pinout&lt;br /&gt;
! Optional&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
| P1&lt;br /&gt;
| Sonar center (HC SR-04)&lt;br /&gt;
| 5V, GND, Trigger, Echo&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P2&lt;br /&gt;
| Sonar right (HC SR-04)&lt;br /&gt;
| 5V, GND, Trigger, Echo&lt;br /&gt;
| Yes&lt;br /&gt;
|-&lt;br /&gt;
| P3&lt;br /&gt;
| Sonar left (HC SR-04)&lt;br /&gt;
| 5V, GND, Trigger, Echo&lt;br /&gt;
| Yes&lt;br /&gt;
|-&lt;br /&gt;
| P4&lt;br /&gt;
| reserved&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P5&lt;br /&gt;
| IMU (gyro,acceleration,compass) (GY-80)&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P6&lt;br /&gt;
| Lawn sensor&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P7&lt;br /&gt;
| Status LEDs&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P8&lt;br /&gt;
| Odometry right&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P9&lt;br /&gt;
| Odometry left&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P10&lt;br /&gt;
| GPS (GY-NEO6MV2)&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P11&lt;br /&gt;
| Bumper&lt;br /&gt;
| GND, GND, right, left&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P12&lt;br /&gt;
| Perimeter coil (center or left)&lt;br /&gt;
| 5V, GND, perimeter&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P13&lt;br /&gt;
| R/C remote control&lt;br /&gt;
| 5V, GND, mow, steer, speed, switch&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P14&lt;br /&gt;
| Measurement points&lt;br /&gt;
| 5V, GND, (Depending on JP15: 3.3V, 5V or Arduino 3.3V)&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P15&lt;br /&gt;
| Wheel motor left&lt;br /&gt;
| M1OUT1, M1OUT2&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P16&lt;br /&gt;
| Optional motor driver input&lt;br /&gt;
|&lt;br /&gt;
| Yes&lt;br /&gt;
| Do not connect &lt;br /&gt;
|-&lt;br /&gt;
| P17&lt;br /&gt;
| Optional motor driver input&lt;br /&gt;
|&lt;br /&gt;
| Yes&lt;br /&gt;
| Do not connect &lt;br /&gt;
|-&lt;br /&gt;
| P18&lt;br /&gt;
| Wheel motor right&lt;br /&gt;
| M2OUT1, M2OUT2&lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P19&lt;br /&gt;
| Tilt sensor&lt;br /&gt;
| 5V, GND, tilt&lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P20&lt;br /&gt;
| Button (Start/Stop)&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P21&lt;br /&gt;
| Drop sensor right&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P22&lt;br /&gt;
| Reserved&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P23&lt;br /&gt;
| Reserved&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P24&lt;br /&gt;
| Reserved&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P25&lt;br /&gt;
| Reserved&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P26&lt;br /&gt;
| Reserved&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P27&lt;br /&gt;
| Reserved&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P28&lt;br /&gt;
| Reserved&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P29&lt;br /&gt;
| Reserved&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P30&lt;br /&gt;
| Perimeter coil right&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P31&lt;br /&gt;
| Drop sensor left&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P32&lt;br /&gt;
| GND&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P33&lt;br /&gt;
| 5V&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P34&lt;br /&gt;
| 3.3V&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P35&lt;br /&gt;
| Mower motor RPM&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P36&lt;br /&gt;
| Reserved&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P37&lt;br /&gt;
| Mower motor&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P38&lt;br /&gt;
| Reserved&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P39&lt;br /&gt;
| Reserved&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P40&lt;br /&gt;
| User switches&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P41&lt;br /&gt;
| Rain sensor&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P42&lt;br /&gt;
| Charging pins&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P43&lt;br /&gt;
| Battery (24V)&lt;br /&gt;
| &lt;br /&gt;
| No&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P44&lt;br /&gt;
| Wifi module (ESP8266)&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P45&lt;br /&gt;
| Reserved&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| P46&lt;br /&gt;
| Reserved&lt;br /&gt;
| &lt;br /&gt;
| Yes&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Power supply=&lt;br /&gt;
Please also read the section 'Voltages' under [[Motor driver]] for more information on motor voltages.&lt;br /&gt;
&lt;br /&gt;
It is recommended to use a voltage step-down converter (e.g. module using LM2596) to generate the 5V voltage for the Arduino and all additional modules. Before connecting, set the voltage of the converter to 5V. &lt;br /&gt;
&lt;br /&gt;
[[File:warning.png]]Warning : never connect more than 5V on the Arduino 5V pins, or you will damage the Arduino. Therefore, always measure the 5V voltage before connecting it to the Arduino 5V pin!&lt;br /&gt;
All components together (as shown in the schematics) need about 5W power.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File: Dcdc_noise.jpg | NOTE: Keep away coil/pre-amplifier from DC/DC converters!&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Download and flash Arduino code=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;NOTE&amp;lt;/b&amp;gt;: If you have never worked with Arduino before, read our &amp;lt;b&amp;gt;[http://wiki.ardumower.de/index.php?title=Arduino_first_steps 'Arduino first steps' introduction]&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You have two options: &lt;br /&gt;
* Download [https://github.com/Ardumower/ardumower/releases github code (recommended)]  OR&lt;br /&gt;
* Download [http://www.ardumower.de/index.php/de/downloads v0.9.3 code (old, not recommended)]&lt;br /&gt;
&lt;br /&gt;
Finally, download and start the [http://arduino.cc/en/Main/Software Arduino IDE] to flash the code to your Arduino.&lt;br /&gt;
&lt;br /&gt;
'''Arduino Version''': It is very Importent that you use the Arduino IDE version 1.6.3 or above AND select the right Board (Mega 2560 or Due).&lt;br /&gt;
&lt;br /&gt;
[[File:warning.png]] Note: Always verify that the pin configuration in your Arduino code (config.h/mower.cpp) matches your actual circuit!&lt;br /&gt;
&lt;br /&gt;
=First-time calibration=&lt;br /&gt;
==Wheel motors==&lt;br /&gt;
[[File:warning.png]]Security note: For security reasons, always remove mower blades in your first tests!&lt;br /&gt;
&lt;br /&gt;
Initially, you should verify that the wheel motors are controlled correctly and in the right direction. The software offers a diagnostic mode. Open the serial console in the Arduino IDE (CTRL+SHIFT+M) and set the baudrate to 19200. The motor and sensor values should appear constantly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background-color: lightgrey; border: solid thin grey;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    20 OFF  spd    0    0    0 sen    0    0    0 bum    0    0 son...&lt;br /&gt;
    21 OFF  spd    0    0    0 sen    0    0    0 bum    0    0 son...&lt;br /&gt;
    22 OFF  spd    0    0    0 sen    0    0    0 bum    0    0 son...&lt;br /&gt;
    23 OFF  spd    0    0    0 sen    0    0    0 bum    0    0 son...&lt;br /&gt;
    24 OFF  spd    0    0    0 sen    0    0    0 bum    0    0 son...&lt;br /&gt;
    ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, press the key ‘t’ on the keyboard, and confirm using ENTER. The diagnostic mode should appear, and you can test your motors.&lt;br /&gt;
&lt;br /&gt;
==ADC calibration==&lt;br /&gt;
Run the ADC calibration once (either via serial console with command 'd' or &amp;quot;pfodApp-&amp;gt;ADC Calibration&amp;quot;), so that the received signal is symmetric around zero.&lt;br /&gt;
&lt;br /&gt;
=Diagnostics/troubleshooting=&lt;br /&gt;
Each time a sensor triggers, its corresponding sensor counter increases. The sensor trigger counters as well as the current sensor values can be viewed on the serial console. The following values are shown for the trigger counters in the serial console:&lt;br /&gt;
&lt;br /&gt;
# Time of state machine's state (ms)&lt;br /&gt;
# loop()-counts per second&lt;br /&gt;
# choosen Verbose-Mode (0=counter readings/1=current values/2=current values)&lt;br /&gt;
# current state machine state (FORW, REV, ROLL etc.)&lt;br /&gt;
# drive home? (1/0)&lt;br /&gt;
# &amp;quot;spd&amp;quot; - Control/speed motors: left (PWM), right (PWM), mower (RPM)&lt;br /&gt;
# &amp;quot;sen&amp;quot; - Current limit exceeded counter motors: left, right, mower &lt;br /&gt;
# &amp;quot;bum&amp;quot; - bumper counter: left, right&lt;br /&gt;
# &amp;quot;son&amp;quot; - Ultrasonic-distance threshold exceeded (counter)&lt;br /&gt;
# &amp;quot;pit/roll&amp;quot; - Tilt (computed by acceleration sensor)&lt;br /&gt;
# &amp;quot;com&amp;quot; - compass course&lt;br /&gt;
# &amp;quot;per&amp;quot; - Perimeter loop detected: counter&lt;br /&gt;
# &amp;quot;bat&amp;quot; - Battery voltage&lt;br /&gt;
# &amp;quot;chg&amp;quot; - Charging current &lt;br /&gt;
&lt;br /&gt;
Using the key 'v', you can toggle between sensor trigger counters and current sensor values.&lt;br /&gt;
&lt;br /&gt;
[[File:warning.png]] Additionally, you can use pfodApp (Android) to plot the sensors (trigger counters and current values) over time. This allows you to wirelessly monitor your robot mower for error diagnostics. It is highly recommended.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Ardumower_sensor_counter_plotting.jpg |Sensor trigger counters&lt;br /&gt;
File:Ardumower_plot_sensors.jpg |Sensor measurement values&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Starting the mower=&lt;br /&gt;
&lt;br /&gt;
To start the mower, you need to add a button and a buzzer:&lt;br /&gt;
&lt;br /&gt;
 pinButton —o Button o— GND (button for ON/OFF)&lt;br /&gt;
&lt;br /&gt;
 pinBuzzer —o Buzzer o— GND (Piezo buzzer)&lt;br /&gt;
&lt;br /&gt;
Now, press the button as long as you hear the beeps:&lt;br /&gt;
&lt;br /&gt;
Mode (press button for x beeps):&lt;br /&gt;
 1 beeps : Normal mowing (using blade modulation if available)&lt;br /&gt;
 2 beeps : Normal mowing (without blade modulation)&lt;br /&gt;
 3 beeps : Drive by model remote control (RC)&lt;br /&gt;
 4 beeps : Drive without mowing&lt;br /&gt;
 5 beeps : Find perimeter and track it&lt;br /&gt;
&lt;br /&gt;
=Error counter / error beeps=&lt;br /&gt;
If there's a communication problem or another serious problem, the error counter increases. The error counter can be monitored via pfodApp. Additionally, the robot mower will beep when started.&lt;br /&gt;
&lt;br /&gt;
See section [[Troubleshooting]] for details on all errors.&lt;br /&gt;
&lt;br /&gt;
==I2C bus / error beeps==&lt;br /&gt;
Several components (Arduino Nano, RTC, IMU, etc.) are communicating via the I2C bus (SDA/SCL wires). These wires should be very short (maybe even twisted) and they should be far away from DC converter and motor drivers. If there's a communication problem, the error counter will increase and robot will beep when started. The error counter can be monitored via pfodApp.&lt;br /&gt;
&lt;br /&gt;
=Settings=&lt;br /&gt;
The robot uses settings that you can adjust for your own robot and environment (via pfodApp or directly in the code). The default settings (factory settings) are stored in the config file 'mower.cpp'.&lt;br /&gt;
&lt;br /&gt;
The settings can be adjusted via Android phone ([http://wiki.ardumower.de/index.php?title=Bluetooth pfodApp]). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
  File:Cheat_sheet.png | General settings &lt;br /&gt;
  File:Speedcontrol.png | Motor speed settings&lt;br /&gt;
  File:Ardumower_config_files.png | General config file idea &lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Important: If you uploaded a new version into your robot, reset all settings via pfodApp once (Settings-&amp;gt;Factory reset). This will delete all existing settings. Old settings can produce malfunction if the internal settings format has changed.&lt;br /&gt;
&lt;br /&gt;
=Further links=&lt;/div&gt;</summary>
		<author><name>Tapsa</name></author>	</entry>

	</feed>