Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   swerve drive with arduino mega 2560 (http://www.chiefdelphi.com/forums/showthread.php?t=148661)

ajlapp 02-06-2016 20:31

Re: swerve drive with arduino mega 2560
 
Quote:

What type of operater station do you have and how will it communicate with the Mega? Wireless? Wired (tethered?
I've been slowly walking her towards these next steps.

Our free RobotOpen library and driver station will make tele-operation via wifi dead simple once she gets there. RC is an option too, but why not use the stuff designed for Arduino. :)

http://www.team221.com/robotopen/index.html

I think she can run this thing in autonomous only mode as well...she never mentioned needing tele-operation.

beckster1999 06-06-2016 09:50

Re: swerve drive with arduino mega 2560
 
i would like to make it so that it is possible to drive it with sensors or a remote, as in have them both as an option. but im not sure how to put either a sensor or connect a remote to it. for me, the steps are really the things I need the most help with

beckster1999 06-06-2016 09:58

Re: swerve drive with arduino mega 2560
 
also, im not sure what kind of sensor i should use

beckster1999 06-06-2016 10:10

Re: swerve drive with arduino mega 2560
 
im going to use four IR sensors; one in each direction

ajlapp 06-06-2016 10:40

Re: swerve drive with arduino mega 2560
 
Before this project gets all the way off the rails let's just keep making some forward progress.

The very next step you need to accomplish is to get the speed controller spinning the motor using commands from the Arduino. The "Servo" example is a good starting point.

Start there and see if you can get any action.

beckster1999 06-06-2016 11:04

Re: swerve drive with arduino mega 2560
 
I cant find it.... also, i can talk at most points but I can only work on it from about 10-11 each day with maybe half an hour to an hour difference in when, but still only an hour of work

ajlapp 06-06-2016 11:20

Re: swerve drive with arduino mega 2560
 
In the Arduino IDE

File->examples->servo

beckster1999 07-06-2016 10:28

Re: swerve drive with arduino mega 2560
 
it's not there

beckster1999 07-06-2016 10:32

Re: swerve drive with arduino mega 2560
 
it has servo mood indicator

ajlapp 07-06-2016 10:41

Re: swerve drive with arduino mega 2560
 
make sure you have the newest IDE installed....I'm using 1.6.9...servo is under "examples" near the bottom.

beckster1999 07-06-2016 10:47

Re: swerve drive with arduino mega 2560
 
as in the newest upgrade

Mike Bortfeldt 07-06-2016 10:52

Re: swerve drive with arduino mega 2560
 
If you are still having trouble finding it, you can find an example servo application here.

Mike

tr6scott 07-06-2016 11:02

Re: swerve drive with arduino mega 2560
 
1 Attachment(s)
See attachment.

beckster1999 07-06-2016 11:02

Re: swerve drive with arduino mega 2560
 
i don't think that there are servos on it yet

beckster1999 07-06-2016 11:05

Re: swerve drive with arduino mega 2560
 
and it is also arduino 1.6.9


All times are GMT -5. The time now is 14:34.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi