|
|
Global Moderator
UK
Online
Brattain Member
Karma: 137
Posts: 19052
I don't think you connected the grounds, Dave.
|
 |
« Reply #1 on: September 03, 2009, 07:01:09 am » |
Some hints:
Start simple and build up. Don't put it all together and expect it all to work, or be easy to debug. Make sure you've got simple sketches to test all of your components in isolation from each other.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 14
Arduino rocks
|
 |
« Reply #2 on: September 03, 2009, 02:47:10 pm » |
i need a code.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Online
Brattain Member
Karma: 137
Posts: 19052
I don't think you connected the grounds, Dave.
|
 |
« Reply #3 on: September 04, 2009, 01:20:27 am » |
i need a code. We need an idea of how your robot is wired up.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 14
Arduino rocks
|
 |
« Reply #4 on: September 04, 2009, 05:03:44 am » |
Thank you very much, I have the elements but I do not know how I connect him in Arduino :-[
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 54
Arduino rocks
|
 |
« Reply #5 on: September 04, 2009, 05:37:44 pm » |
Gather all of the information that you can about each item you have (the links you provided have lots of information), useful Arduino libraries, similar system forum threads, etc.
Get each item to work on its own and then with the other subassembly parts (i.e. ir led with ir sensor, motor with motor controller). Make code to control each part/subassembly.
Combine all of the parts on a prototype board and try to combine the code so that everything works together how you want it.
Place all of the parts on permanent boards and structures.
I am relatively new to microcontrollers and I find that that is a good strategy. There is a steep learning curve but the more you work with various parts, the easier it is to make larger assemblies work. If your robot project gets too tough for you, think of easier/smaller projects to build up your knowledge.
|
|
|
|
« Last Edit: September 04, 2009, 05:38:33 pm by Lazer57 »
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 14
Arduino rocks
|
 |
« Reply #6 on: September 05, 2009, 05:30:25 am » |
Thank you very much for the answer but I cannot accomplish alone me such something. I believe that if I had my ready code it would be easier I see that it works. It does not tease, rather him I will abandon because to me it appears very difficult. I thank you, and my apology for English ( http://babelfish.yahoo.com)
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Online
Brattain Member
Karma: 137
Posts: 19052
I don't think you connected the grounds, Dave.
|
 |
« Reply #7 on: September 05, 2009, 07:18:20 am » |
Have a look around the Playground and at the examples for the libraries. There is plenty of working code with explanations there. Until you have a clear idea of what it is you want to do, and how you think you want to get there, it is going to be difficult to be more specific. Google is your friend.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 14
Arduino rocks
|
 |
« Reply #8 on: September 07, 2009, 06:41:57 am » |
I didn't accomplish something, help with code?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Online
Brattain Member
Karma: 137
Posts: 19052
I don't think you connected the grounds, Dave.
|
 |
« Reply #9 on: September 07, 2009, 07:03:27 am » |
Are you saying you need to learn programming, or do you need help with a particular aspect of programming the Arduino?
Have you tried any of the examples in the Playground and examples? Do you understand how they work and what is different about them and what you want to achieve?
Tell us what you have done, what you want to do and we'll probably be able to help, but asking for "code" when we've got no idea what you've got is pointless.
|
|
|
|
« Last Edit: September 07, 2009, 07:03:44 am by AWOL »
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 14
Arduino rocks
|
 |
« Reply #10 on: September 08, 2009, 04:16:45 am » |
I do not know your arduino for this I ask help
|
|
|
|
|
Logged
|
|
|
|
|
|