top of page
RobotElectronics.png

Electronics

Here I will go in to more detail about the electronics developed for the robot and the perimeter wire system

Motor controller front wheels

MotorDriver.png

This early version of the robot includes a single L298N motor driver that gives power to the two front wheels and is controlled by the Arduino Uno.

Here I present how the motor controller is connected to the Arduino and source code for controlling the motors.

Ultra sound sensor

UltraSoundSensor.png

The robot has two ultra sound sensors to stop the robot from running into people and other objects that could be inside the perimiter wire area.

Here I present how the two ultra sound sensors are connected to the Arduino and source code for how to detect objects.

DC step down converter

DCConverter2.png

To power the Arduino from the 18V battery you need a DC step down converter that needs to step down the voltage to lower than 12V.

Here I present how the DC step down converter is connected to the battery and to the Arduino power in port.

Motor controller cutting motor

CuttingMotor.png

In the robot back electronic box I have placed two L298N motor drivers. One is for the two front wheels and the other is for the grass cutting motor.

I will go in to details about how the battery is connected to the motor driver and how the driver is connected to the cutter DC motor and the source code to control the cutter.

Perimeter wire station

PerimeterStation4.png

The Perimeter wire station is a quite simple system using a Arduino Uno connected to a L298N motor driver to send out a 5KHz square pulse on the wire. The motor driver is powered by a 12V battery and connected to the perimeter wire via two 10 ohm resistors and two 10µF capacitor to create a pulse that the pulse sensor on the robot can detect.

Robot perimeter sensor

PerimeterSensor2.png

The robot has two perimeter pulse sensors. The sensor consist of a coil that builds up a charge when being placed close to a wire with a changing electric charge (perimeter wire pulse). The two coils are placed on each side of the robot front and are each connected to a LM358 operation amplifier with the output connected to a analog input on the Arduino.

Motor controller front wheels

Below are the sections for building and connecting the parts, schematics for detailed connection description and finally source code examples running on the Arduino Uno 

EarlyPrototype1.jpg

Build Steps

Schematics.png

Schematics

Code3.png

Source Code

Schematics

This is the schematics for the Motor controller front wheels

FrontWheelMotorControllerScemathics.png

Ultra sound sensor

Below are the sections for building and connecting the parts, schematics for detailed connection description and finally source code examples running on the Arduino Uno 

EarlyPrototype1.jpg

Build Steps

Schematics.png

Schematics

Code3.png

Source Code

Schematics

This is the schematics for the two ultra sound sensors on the robot

UltraSoundSensorSchematics.png

DC step down converter

Below are the sections for building and connecting the parts, schematics for detailed connection description and finally source code examples running on the Arduino Uno 

EarlyPrototype1.jpg

Build Steps

Schematics.png

Schematics

Code3.png

Source Code

Schematics

This is the schematics for the Step-Down converter to convert 18V main battery to 10V for the Arduino that needs at least 7V input and you should not go over 12V as it might overheat the Arduino voltage regulator. 

StepDownSchematics.png

Motor controller cutting motor

Below are the sections for building and connecting the parts, schematics for detailed connection description and finally source code examples running on the Arduino Uno 

EarlyPrototype1.jpg

Build Steps

Schematics.png

Schematics

Code3.png

Source Code

Schematics

This is the schematics for the motor controller cutting motor 

CuttingMotorControllerSchematics.png

Perimeter wire station

Below are the sections for building and connecting the parts, schematics for detailed connection description and finally source code examples running on the Arduino Uno 

EarlyPrototype1.jpg

Build Steps

Schematics.png

Schematics

Code3.png

Source Code

Schematics

PerimeterStation.png

This is the schematics for the perimeter wire station

Robot perimeter sensor

Below are the sections for building and connecting the parts, schematics for detailed connection description and finally source code examples running on the Arduino Uno 

EarlyPrototype1.jpg

Build Steps

Schematics.png

Schematics

Code3.png

Source Code

Schematics

Amplifier_schematics.jpg

This is the schematics for the perimeter sensor amplifier

©2022 by Robelibob. Proudly created with Wix.com

bottom of page