go away spammer

Author Topic: Where to start? new robot  (Read 2638 times)

0 Members and 1 Guest are viewing this topic.

Offline cloneTopic starter

  • Jr. Member
  • **
  • Posts: 38
  • Helpful? 0
Where to start? new robot
« on: January 11, 2009, 09:09:33 PM »
I wanna make a robot.. and what it does is at a certain temperature it will turn off a heating device.  it will use a thermistor as the temperature sensor, and a solenoid to control the power of the heating device.  I want to be able to add more sensors later on as well as more output ports aswell.

what kind of micro controller do you think i should get for this? where should i start?

Offline dt

  • Beginner
  • *
  • Posts: 6
  • Helpful? 0
Re: Where to start? new robot
« Reply #1 on: January 12, 2009, 12:51:50 AM »
I guess any board will do, if you know some C then you can go with the Arduino :)
The language for Arduino is pretty simple...
bool device = 1; //1 for true/on
if(temperature > 90)
      device = 0; // 0 for false/off
.
.
.

Offline frodo

  • Supreme Robot
  • *****
  • Posts: 329
  • Helpful? 2
  • BOW DOWN TO MY MIGHTY STARE!!
Re: Where to start? new robot
« Reply #2 on: January 12, 2009, 02:25:45 AM »
arduino is a different robot programming language in between BASIC and C which is compatible with the roboduino board.
« Last Edit: January 12, 2009, 05:18:32 PM by frodo »
OMG!!!! I AM SUPREME ROBOT!!!

Check out my Web

Offline chelmi

  • Supreme Robot
  • *****
  • Posts: 496
  • Helpful? 15
    • Current projects
Re: Where to start? new robot
« Reply #3 on: January 12, 2009, 11:28:17 PM »
arduino is a different robot programming language in between BASIC and C which is compatible with the roboduino board.

Naaaaa

The Arduino "Language" is C (or even C++) plus an extensive set of libraries to easily access the hardware. But its still C.

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: Where to start? new robot
« Reply #4 on: January 13, 2009, 06:55:42 AM »
it is C with an extensive library.
BUT because there are soooo many libraries and a majority of people ONLY use the subroutines that were prewritten for them in the libraries, it is in effect sort of like BASIC. I bet you many of the people using the Arduino think that Arduino is a language and is similar to BASIC.
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline chelmi

  • Supreme Robot
  • *****
  • Posts: 496
  • Helpful? 15
    • Current projects
Re: Where to start? new robot
« Reply #5 on: January 13, 2009, 10:19:16 AM »
it is C with an extensive library.
BUT because there are soooo many libraries and a majority of people ONLY use the subroutines that were prewritten for them in the libraries, it is in effect sort of like BASIC. I bet you many of the people using the Arduino think that Arduino is a language and is similar to BASIC.

That's very subjective. People thinking it's similar to BASIC doesn't make it sort of like Basic.
Maybe it's my background in computer science, but Arduino and C have the same syntax, same type system, same execution semantic and share most of their core library (avr-libc).
BASIC as a completely different syntax, a completely different type system, the execution semantic is remotely similar, and the core library is not even comparable (what version of basic are we talking about anyway?).

I know, I sound a bit pedantic :) but saying that it's similar to basic is somehow misleading.
And don't get me wrong, I LOVE the Arduino. I own a board and I use the *libraries* quite often.

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: Where to start? new robot
« Reply #6 on: January 13, 2009, 03:34:25 PM »
I see what you are saying and I agree: Syntax and Execution Style is different between Arduino and BASIC

However, I was referring to how complex procedures are prewritten to be one line commands in both Arduino and BASIC. For example SEROUT is a one line command to send out a software serial byte , it is used in both Arduino and BASIC . By the Arduino, SEROUT is a prewritten subroutine that is very complex ( software serial is pretty complex). One could also argue that SEROUT by BASIC is also prewritten subroutine since the compiler converts the SEROUT command to its equivalent code in assembly language. So it is possible to make the case that both Arduino and BASIC use prewritten subroutines/commands to do complex functions - making it very easy for the end user to make a program.
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline ArcMan

  • Supreme Robot
  • *****
  • Posts: 519
  • Helpful? 4
  • Mmmm... Plasma
Re: Where to start? new robot
« Reply #7 on: January 13, 2009, 04:03:45 PM »
I know, I sound a bit pedantic :)

That's alright.  All engineers are pedantic.  Just ask my wife.  :P

Offline frodo

  • Supreme Robot
  • *****
  • Posts: 329
  • Helpful? 2
  • BOW DOWN TO MY MIGHTY STARE!!
Re: Where to start? new robot
« Reply #8 on: January 13, 2009, 05:22:52 PM »
lol, as i was saying, arduino language is like in the middle of C and BASIC because of the libraries used/available.
OMG!!!! I AM SUPREME ROBOT!!!

Check out my Web

 


Get Your Ad Here