Pages: [1]   Go Down
Author Topic: arduino code  (Read 1328 times)
0 Members and 1 Guest are viewing this topic.
ross-on-wye
Offline Offline
Newbie
*
Karma: 0
Posts: 15
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi i'm asking for a big favour here i need a code for the following setup for my seafox rov:

arduino number 1 receives signals from ps2 controller on pins 13, 12, 11 and 10 and a current + voltage sensor on pins 0 and 1. once the signals from the ps2 controller have been decoded they need to be sent by serial to arduino number 2 which takes the signals so it can control 3 esc's (on pins 10, 9 and 6) and 3 relays (on pins 8, 7 and 4) (relays will be controlled with transistors).

Arduino number 2 also sends signals from a lm35 on pin 0 and 4 outputs from a digital compass on pins 4, 5, 6 and 7 which all need to be sent to arduino number 1 then onto a video overlay board as well as the signals from the current + voltage sensor.

esc's 1 and 2 will be forwarded by pushing the right joystick forward
esc's 1 and 2 will be reversed by pushing the right joystick backward
esc 1 will be forwarded by pushing the right joystick left
esc 2 will be forwarded by pushing the right joystick right
esc 3 will be forwarded by pushing the left joystick forward
esc 3 will be reversed by pushing the left joystick backward

relay 1 will be turned on when l1 is pressed and turned off when released
relay 2 will be turned on when r1 is pressed and turned off when released
relay 3 will be turned on when r2 is pressed and pressing r2 again will turn it off

all the readings from the sensors will be sent to the video overlay board


voltage + current sensor: http://www.coolcomponents.co.uk/catalog/product_info.php?products_id=433
video overlay board: http://www.coolcomponents.co.uk/catalog/product_info.php?products_id=723
digital compass: http://www.zagrosrobotics.com/shop/item.aspx?itemid=551

would really appreciate some help smiley
« Last Edit: March 02, 2012, 05:12:52 pm by electronicscrazy1996 » Logged

Offline Offline
Edison Member
*
Karma: 26
Posts: 1339
You do some programming to solve a problem, and some to solve it in a particular language. (CC2)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
i'm asking for a big favour here i need a code for the following setup

Are you asking for a complete sketch (2 in fact) for this project ?   smiley-eek
Logged

ross-on-wye
Offline Offline
Newbie
*
Karma: 0
Posts: 15
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yes i would like a code that i can just upload straight to my arduino's
Logged

0
Offline Offline
Tesla Member
***
Karma: 118
Posts: 8962
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
would really appreciate some help

So how much of this complex project have you completed so far?
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Offline Offline
Edison Member
*
Karma: 26
Posts: 1339
You do some programming to solve a problem, and some to solve it in a particular language. (CC2)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yes i would like a code that i can just upload straight to my arduino's

How much are you willing to pay ?    smiley-evil
Logged

ross-on-wye
Offline Offline
Newbie
*
Karma: 0
Posts: 15
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


So how much of this complex project have you completed so far?

none so far



How much are you willing to pay ?    smiley-evil

dont really know, however much it takes to make
Logged

Offline Offline
Edison Member
*
Karma: 26
Posts: 1339
You do some programming to solve a problem, and some to solve it in a particular language. (CC2)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's ok here (and with me) to ask for complete projects. I was puzzled because you initially posted the question in the "wrong" part of the forum. :-)
Logged

ross-on-wye
Offline Offline
Newbie
*
Karma: 0
Posts: 15
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i'm quite new to the forum so i didn't know quite where to put it
Logged

Offline Offline
Edison Member
*
Karma: 6
Posts: leet
If you're not living on the Edge, you're taking up too much space!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I can help you...
https://www.freelancer.com/users/3242859.html
Logged

If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

ross-on-wye
Offline Offline
Newbie
*
Karma: 0
Posts: 15
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i've posted my requirements on freelancer for you to look at
Logged

ross-on-wye
Offline Offline
Newbie
*
Karma: 0
Posts: 15
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just to say that i am still looking for someone to create my code so if your interested please contact me for updated requirements
Logged

Pages: [1]   Go Up
Jump to: