Go Down

Topic: Omnidirectional platform control (Read 801 times) previous topic - next topic

Petricor

Hello!

First post, new to Arduino just started to learn. I have been working on a concept for a robot and I want to move the platform using a remote control for now.

I have this code:

http://www.robotshop.com/media/files/zip/4wd_omni-directional_arduino_sample_code.zip

Which allows me to move the platform in all directions, but i want to have control over it. I can use a ps3/ps2 controller.

Now, i have two arduino boards, an atmega168 and a 101. The 101 of course has the Bluetooth but the mega is the one that is driving the platform.
I have connected both boards with the pins a4/5 and GND already just have to work out the magic with the program i think.

Can anyone point me in any direction?




PaulS

Quote
just have to work out the magic with the program i think.
The first place to start is with the requirements. What, specifically, is each board supposed to do?
The art of getting good answers lies in asking good questions.

Petricor

#2
Oct 17, 2016, 07:36 pm Last Edit: Oct 17, 2016, 07:44 pm by Petricor
Ok, so the mega will be driving the platform itself 4 motors with that code. The 101 will be driving the robotic arm, and telescopic lift. So 6 servos + 2 linear actuators.

I included a wifi shield to use it to monitor the process once I start integrating sensors. For now I just want to achieve basic movements.

Btw that code is loaded into the mega right now, haven't attempted to do any handshaking yet although ive been reading a few tutorials about that.

Edit
"Hardware im using:

Mega board

http://www.robotshop.com/media/files/pdf/arduino-microcontroller-board-10009.pdf


The motor shield appears here

http://www.robotshop.com/media/files/pdf2/4wd_omni-directional_manual.pdf

The arduino 101

The servo shield

https://cdn-learn.adafruit.com/downloads/pdf/adafruit-16-channel-pwm-slash-servo-shield.pdf

The motor shield

https://cdn-learn.adafruit.com/downloads/pdf/adafruit-motor-shield-v2-for-arduino.pdf"

Petricor

The 16 channel servo shield is using these channels for the robotic arm

0,4,7,8,10,12

For joints

A,B,C,D,E,F respectively (see attached picture)

The motor shield uses

M1 and M3

Qdeathstar

#4
Oct 18, 2016, 03:58 am Last Edit: Oct 18, 2016, 03:58 am by Qdeathstar
i don't think wheels will make for a great 3d printing experience. Also, using a lift to increase z-height mostly likely won't work, since they sway quite a bit and your going to have huge problems with backlash. Combine that with the fact you appear to have limited hardware/software expertise... this seems destined for failure.
A creaking creeping shadow
stiff against the freezing fog
glares at a tickless watch.

Time has failed him -- all things shall pass.

Go Up