Society of Robots - Robot Forum

Software => Software => Topic started by: Geoege on April 04, 2009, 01:54:53 AM

Title: Help with Stamp Box with basic stamp 2sx
Post by: Geoege on April 04, 2009, 01:54:53 AM
Need help with getting servos to turn or better yet programming tips.
Title: Re: Help with Stamp Box with basic stamp 2sx
Post by: SmAsH on April 04, 2009, 02:13:04 AM
wait so please explain your question further. please include:
what language you want to program in
what you want it to do
what your experience is
and what microcontroller your using, then we can talk.
Title: Re: Help with Stamp Box with basic stamp 2sx
Post by: superchiku on April 04, 2009, 02:27:05 AM
duh basic stamp means it should use basic language.. .i think.. .
Title: Re: Help with Stamp Box with basic stamp 2sx
Post by: Canabots on April 04, 2009, 06:04:05 AM
The BASICStamp serries uses a programming language called PBASIC. It is supposed to be very similar to BASIC. I'm sure you can find information about servo control and syntax on the internet. Also, if you already have the PBASIC software, then start it, go to "Help" -> "PBASIC Reference". You should find all the commands you are capable of using with your version of the software.
Title: Re: Help with Stamp Box with basic stamp 2sx
Post by: galannthegreat on April 06, 2009, 01:38:53 PM
There is a million and one books written on BASIC Stamps, that would be a good way to learn about BS2 servo control, and pretty much anything, and don't forget a universe of knowledge is on the web about this too.
Title: Re: Help with Stamp Box with basic stamp 2sx
Post by: GearMotion on April 06, 2009, 03:01:58 PM
The commands to start with would be the PULSEOUT command and a PAUSE command.

Over and over... :-P
Title: Re: Help with Stamp Box with basic stamp 2sx
Post by: Canabots on April 06, 2009, 03:51:21 PM
There is a million and one books written on BASIC Stamps, that would be a good way to learn about BS2 servo control, and pretty much anything, and don't forget a universe of knowledge is on the web about this too.

That I'd most certainly have to agree with. Look around a bit (that's what I did).

You may also want to take a glance at the Boe-Bot Code. It does use the BS2 but coding should be very similar, if not identical. (The BOE-Bot's base uses 2 servos for locomotion).