Let's Make Robots!

beginer in electronics needs to program

hi, im a twelve year old boy who is not an expert  AT ALL, but knows the basics

i've made bristlebots, speaker tones, dc motor cars  and other stuff

BUT

when i have to program  in arduino UNO i just copy other codes from other people

cause...  I dont know how to program at all!!!! i think arduino's language is c,and i don't know  how to program

 

anybody knows how to program arduino

and can give me a little tutorial about key words and etcetera like setup, delay, control of dc motors sensor etc...

please help

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Here is a very helpful playlist for Arduino tutorials. They are aimed at beginners,

and contain over 5 hours of good stuff. I recommend watching them all in order as some

of the later episodes build on things learned in earlier episodes. Have fun!

 

http://www.youtube.com/course?list=ECA567CE235D39FA84

 

 

I am also very new to this whole robotics business, but it seems to me that PicAxe boards are easier to learn how to program. They use a version of BASIC, which is much easier to code that C

Beginner's All-purpose Symbolic Instruction Code is what BASIC stands for. You can see from the acronym that the language was constructed to make it easy for noobs to pic up and write code. C/C++ are much more powerful. All of that said, even if this is just a hobby for you, picking up another language or two will help you to write better code, and, be able to use new hardware that is shown to work on different chips.

Always!!
For anyone who is a noob, it is highly recommended that you start with BASIC, learn the concepts of programming (the concepts remain the same even if the keywords change) and then switch over to C/C++ when you feel you have enough time and resources (arduino board and a free weekend are all you need). However, if you want to start with Arduino C/C++ here is the best reference you'll ever find- http://arduino.cc/en/Reference/HomePage

I didn't start with BASIC, but I have used it and I think it teaches bad programming practices and severely limits the programmer's horizons about what's possible to do with software.

With the millions of tutorials on arduino (about 4,490,000 results on google) and milions of tutorials on C, I'd say any normal person should be able to start programming in under a week, you just have to be patient.

...and I myself started out with C++ and have never entered the basic domain but for anyone who doesn't speak programming languages (meaning intended), its good to start with basic as its closer to English than C/C++/Arduino is. Its the first reason why HLL was created in the first place- so that the language is closer to English than it is to machine code. You can implement the same code you type in C or basic in binary/machine code/assembly and generally, it'll be a bit faster but it'll be less easy to read and understand for humans.

You could also try ArduBlock. This could jumpstart your programming skills. You can stick to Arduino and learn to solve problems with software - but not bother about programming language complexity. http://letsmakerobots.com/node/29716

so it seems i am aiming too high by choosing arduino for a beginner like me... ok

thanks for the advice!!!

i'll start looking for PIC then...

 

thnx

My only earlier point is that BASIC was meant for beginners. There is no reason you can't pick up arduino's version of C++. I believe you should attempt a number of different tutorials before you give up on arduinos right now.