|DMS Consulting | sitemap | log in
|This is a free Spanglefish 1 website.
Java I2C Robotic Arm
To add I2C devices so that a robotic arm can be controlled remotely.
Basic control was easy using one of the many motor controllers. After trying several, the L298N was chosen for its versatility.
The first problem was trying to stop the motor hitting the maximum movement. Micro switches were considered but were difficult to fit. Measuring the motor current and watching for the stall current was tried.
The next requirement was a range finder to sense objects. The SRF02 Ultra sonic range finder was the first choise. It supported I2C and had a small footprint.
The HC-SR04 was the next choice. This sensor has much better
This is how far the project has got.
What NextThe implementation of the HC-SR04 sensor is looking possible.
It is likely to involve two range finders
Sensing the arm movement is very important.
The next attempt will use variable resistors and an I2C A2D device.
The motors also need speed control that will use PWM of the LN298N.