Society of Robots - Robot Forum

Software => Software => Topic started by: monsieurpo on May 22, 2010, 09:51:19 AM

Title: help me please (beginer question)
Post by: monsieurpo on May 22, 2010, 09:51:19 AM
hi everybody i want to start programing my own robot but i want to learn the picbasic (for starting) i have some questions.


1.can i control a servo with bluetooth with picbasic?

2.can i build a walker with picbasic?

3.what is the difference between picbasic and C ?

4. does C have more features?

5.is picbasic a good language to start?? (i found c difficult... :-\)



thank you (sorry for my bad english im a french canadian)
Title: Re: help me please (beginer question)
Post by: Ro-Bot-X on May 22, 2010, 02:49:41 PM
First of all, what kind of microcontroller your robot have? Because only some languages work with a certain microcontroller. Picbasic is for PIC microcontrollers. If you have AVR microcontroller, then look at Bascom, that is the AVR's basic compiler. But I would recommend to start with Arduino, because it uses C language, that is more powerfull than Basic language, and it is a lot easier to learn than AVR GCC. Arduino has the simplicity of Basic and the power of C. You can find lots of examples of Arduino code on the net. And they have a French section on their forum.
Title: Re: help me please (beginer question)
Post by: MikeK on May 22, 2010, 07:50:10 PM
1. yes
2. yes
3. uhhh...they're different languages with different syntax
4. no
5. as good as any other
Title: Re: help me please (beginer question)
Post by: monsieurpo on May 22, 2010, 09:38:32 PM
Thank you very much i forgot a last question wath is the most easyer language?
Title: Re: help me please (beginer question)
Post by: Razor Concepts on May 22, 2010, 11:42:51 PM
Basic is the easiest (it's in the name  :D )
Title: Re: help me please (beginer question)
Post by: monsieurpo on June 04, 2010, 03:31:59 PM
well i dont know if i should use arduino language or pic basic...(robot-x sent me some arduino tutorial     thx :) but where can i find picbasic tutorial i found nothing interesting on google....


Title: Re: help me please (beginer question)
Post by: HyperNerd on June 05, 2010, 08:55:35 AM
This page (http://www.picbasic.co.uk/forum/showthread.php?t=1240) referrs to the book PIC BASIC An Introduction.

If you really want to use BASIC to program PIC microcontrollers, I suggest MikroBASIC. It's what I used before I got an arduino, and its pretty easy to learn. The only drawback is the free version has a limit of 2000 lines (I think)

There are loads of tutorials for MikroBASIC on google, like:
http://www.mikroe.com/pdf/mikrobasic/1st_project_pic_basic.pdf (http://www.mikroe.com/pdf/mikrobasic/1st_project_pic_basic.pdf),
http://www.mikroe.com/old/books/picbasicbook/01.htm (http://www.mikroe.com/old/books/picbasicbook/01.htm),
and http://www.robodyssey.com/resources/PICProject/index.htm (http://www.robodyssey.com/resources/PICProject/index.htm)

 -HyperNerd
Title: Re: help me please (beginer question)
Post by: KurtEck on June 05, 2010, 09:09:12 AM
Other Microcontrollers to use basic on include the BasicStamp: http://www.parallax.com/tabid/295/Default.aspx (http://www.parallax.com/tabid/295/Default.aspx)

Or ones by BasicMicro: http://www.basicmicro.com/ (http://www.basicmicro.com/) They have two lines that are pic based microcontrollers (BasicAtom and Nano).  Of there stuff I prefer the Atom Pros, which are renesas H8 based systems. 

As for what is the easiest to learn, that is difficult to say.  There are tons of examples and tutorials that are based on the Basic Stamp.  But I personally prefer the Basic Micro stuff as it allows me to get to the underlying power of the microprocessors.

I also personally prefer C but that does have a bigger learning curve.

Good Luck
Kurt