Is Arduion code and programing hard to learn - The Planted Tank Forum
Reply
 
LinkBack Thread Tools Display Modes
post #1 of 28 (permalink) Old 05-25-2014, 03:00 PM Thread Starter
Planted Member
 
Ultimbow's Avatar
 
PTrader: (0/0%)
Join Date: Mar 2009
Location: Canada, Quebec
Posts: 163
Is Arduion code and programing hard to learn

So the title sais it by itself. i have a few project in mind for my tank and konwing adruino code will make it a lot easyer. I know my way around on pc but know 0% about code and programing so is worth it to get book or spend hrs on youtube to try to learn it is it simple enough to self tought if so can you refer me to some book or website that would make my learning easy and faster. Thanks
Ultimbow is offline  
Sponsored Links
Advertisement
 
post #2 of 28 (permalink) Old 05-25-2014, 04:08 PM
Planted Tank Enthusiast
 
devilduck's Avatar
 
PTrader: (3/100%)
Join Date: May 2012
Location: Los Angeles,CA
Posts: 776
As programming languages go it is not too bad. The best way to learn is to at example code and sit down and do a few simple programs. Typically you will also have to have some simple knowledge of electronics, circuits, relays etc to get the most out of an Adriano since it is used with add on boards to control other electronics.

7g Cube -
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
devilduck is offline  
post #3 of 28 (permalink) Old 05-25-2014, 05:24 PM
Planted Tank Guru
 
PTrader: (23/100%)
Join Date: Apr 2011
Location: Durham, NC
Posts: 2,261
Quote:
Originally Posted by devilduck View Post
As programming languages go it is not too bad. The best way to learn is to at example code and sit down and do a few simple programs. Typically you will also have to have some simple knowledge of electronics, circuits, relays etc to get the most out of an Adriano since it is used with add on boards to control other electronics.
This. If you want to ease your way into programming basics you can try doing some basic stuff in Ruby. Ruby has an interactive coding tutorial that you can do online to get you into the basics of things. Granted, Arduino is based on C/C++ so it's not going to be entirely like Ruby, but Ruby is definitely a great way to ease yourself into the programming world.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
freph is offline  
 
post #4 of 28 (permalink) Old 05-25-2014, 05:43 PM
Planted Tank Enthusiast
 
mistuhmarc's Avatar
 
PTrader: (18/100%)
Join Date: Oct 2013
Location: Virginia
Posts: 795
A general knowledge of coding would be beneficial; since I'm in school for programming, arduino code doesn't look so bad. I just haven't looked into it, but my techy friends know a lot more than I do when it comes to arduinos.
mistuhmarc is offline  
post #5 of 28 (permalink) Old 05-25-2014, 06:12 PM
Children Boogie
 
mistergreen's Avatar
 
PTrader: (13/100%)
Join Date: Dec 2006
Location: Cincinnati
Posts: 16,743
You can check out my beginner's guide here
http://aquatictechtank.net/viewtopic.php?f=37&t=8

I've been meaning to do video tuts of this. soon maybe.
mistergreen is offline  
post #6 of 28 (permalink) Old 05-26-2014, 02:32 AM Thread Starter
Planted Member
 
Ultimbow's Avatar
 
PTrader: (0/0%)
Join Date: Mar 2009
Location: Canada, Quebec
Posts: 163
Thanks will have a check mister
Ultimbow is offline  
post #7 of 28 (permalink) Old 05-26-2014, 07:00 AM
Planted Tank Obsessed
 
PhysicsDude55's Avatar
 
PTrader: (0/0%)
Join Date: Oct 2011
Location: Dallas, TX
Posts: 339
I have an Arduino controlling my tank. I'm a low voltage controls Electrical Engineer.... so its pretty easy for me.

As far as coding goes, Arduinos are pretty easy, but there's still quite a learning curve in learning how to write loops, variable types, etc. I was able to learn C++ pretty well in 1 semester taking a 3 hour course, and I think you could learn C++ well enough to do Arduino stuff by doing 10 hours of tutorials or something, if you're already a pretty techy person.

The biggest advantage of using an Arduino is it is CHEAP compared to other automated options, at the cost of A LOT of time. I've spent easily 60 hours on my code and setup.

Here's a video of my tank, its currently being changed a lot, but the Arduino controls are nifty and really a conversation piece :-)

http://youtu.be/Ch1JMTL4d3M
PhysicsDude55 is offline  
post #8 of 28 (permalink) Old 05-26-2014, 03:38 PM
Planted Tank Obsessed
 
PTrader: (0/0%)
Join Date: Feb 2012
Location: USA
Posts: 411
The Arduino platform was originally created for artists to create interactive and responsive art installations. The majority of whom have zero programing experience. The code was written to be fairly user friendly. Loops are useful and not all that difficult to learn depending on what you are trying to do.

There is such a large pool of code posted on line that you really don't have to write anything from scratch. Just find some code that pretty much does what you want it to, then modify it for your application.

You can get one of the starter kits that will come with a prototyping board, parts, and a booklet with projects. You start off uploading and modifying some basic code and building some simple circuits. If you have zero experience in electronics and programming, this is a great way to learn since it goes in small easy to follow steps, but the steps aren't so slow that you get bored. There will also be lots of help available if you run into issues. Intimidation free way of getting into it.

I usually feel kind of guilty using the quick reply... my replies are rarely quick.
Beer is offline  
post #9 of 28 (permalink) Old 05-26-2014, 04:06 PM
Children Boogie
 
mistergreen's Avatar
 
PTrader: (13/100%)
Join Date: Dec 2006
Location: Cincinnati
Posts: 16,743
Quote:
Originally Posted by Beer View Post
The Arduino platform was originally created for artists to create interactive and responsive art installations.
It wasn't made for artists specifically. Engineers use it to fast prototype their products. You don't have to spend a lot of time brain storming. It's also made for the hobby biz.


I have an art installation idea for the arduino but I'm waiting for another product to come into the market.
mistergreen is offline  
post #10 of 28 (permalink) Old 05-26-2014, 08:14 PM Thread Starter
Planted Member
 
Ultimbow's Avatar
 
PTrader: (0/0%)
Join Date: Mar 2009
Location: Canada, Quebec
Posts: 163
Thanks guy will look at the "learning kit" form arduino that was my fisrt idea but dint want to invest for something i would be able to use. So will give it a try and see how bad or good i can be with it thanks for the info
Ultimbow is offline  
post #11 of 28 (permalink) Old 05-27-2014, 03:10 AM Thread Starter
Planted Member
 
Ultimbow's Avatar
 
PTrader: (0/0%)
Join Date: Mar 2009
Location: Canada, Quebec
Posts: 163
So i been looking on flebay for kits and there a so many copie of the arduino board.... should i go with the original or some copie a actualy worth it?

I know if i get the hang of it the uno board wont be big enough for all the aplication i want to do so if i go with the mega 2560 will it be a lot different then the uno for learning? Should i stick with the uno for now and just get the mega later?
Ultimbow is offline  
post #12 of 28 (permalink) Old 05-27-2014, 01:38 PM
Children Boogie
 
mistergreen's Avatar
 
PTrader: (13/100%)
Join Date: Dec 2006
Location: Cincinnati
Posts: 16,743
The clones work pretty well actually. I got a mega clone for $14 and it's working pretty well.

Go with the mega. It has more input/output pins and more memory, sram and flash memory. Coding is the same as the uno.
mistergreen is offline  
post #13 of 28 (permalink) Old 05-27-2014, 09:11 PM
Planted Tank Guru
 
PTrader: (0/0%)
Join Date: Jun 2013
Location: WI
Posts: 11,125
Quote:
Originally Posted by PhysicsDude55 View Post
I was able to learn C++ pretty well in 1 semester taking a 3 hour course, and I think you could learn C++ well enough to do Arduino stuff by doing 10 hours of tutorials or something, if you're already a pretty techy person.


In other words.. no...

But like anything.. it is in the eye of the beholder..
jeffkrol is offline  
post #14 of 28 (permalink) Old 05-29-2014, 09:50 PM Thread Starter
Planted Member
 
Ultimbow's Avatar
 
PTrader: (0/0%)
Join Date: Mar 2009
Location: Canada, Quebec
Posts: 163
So finnally i desided on a kit so this is what i order.Click image for larger version

Name:	uploadfromtaptalk1401400207925.jpg
Views:	70
Size:	76.6 KB
ID:	327058 and clock module
Ultimbow is offline  
post #15 of 28 (permalink) Old 05-29-2014, 09:57 PM
Planted Tank Obsessed
 
PhysicsDude55's Avatar
 
PTrader: (0/0%)
Join Date: Oct 2011
Location: Dallas, TX
Posts: 339
Quote:
Originally Posted by jeffkrol View Post
In other words.. no...

But like anything.. it is in the eye of the beholder..
Yeah I think you're generally right. If you do relatively simple things with it, and use pre-made kits and relay board, etc. then you can get away with mostly modifying sample code to suit your needs, and its really not that difficult.

If you try to do some more complicated tasks, then things might start getting overwhelming pretty quickly.

I buy the cheap chinese knockoff board, since they're really pretty much identical. The only difference I've found is the authentic Arduino boards have better and more reliable USB drivers on them, but the processors are the same.

If you buy any expansion boards or shields, I would recommend getting them from ADA Fruit (http://www.adafruit.com/), all their parts are tested with sample code, whereas on Ebay a lot of sellers will list things that aren't truly compatible or are very difficult to get to work with an Arduino.

Just my 2 cents.
PhysicsDude55 is offline  
Reply

Tags
None

Quick Reply
Message:
Options

Register Now



In order to be able to post messages on the The Planted Tank Forum forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.

User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
Please enter a valid email address for yourself.

Email Address:
OR

Log-in










Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode



Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome