PDA

View Full Version : robotic raptor based on the BASIC Stamp



Bipedguy
03-17-2007, 05:25 AM
I need a lot of help with a project I am working on. Here it is:

I am trying to build a robotic raptor based on the BASIC Stamp. At [www.crustcrawler.com], you can download a C program called GaitPIC which will handle the servoes using a 16F688 from Microchip. I will modify the program to run on my raptor. Until then, I will be testing using my current Board of Education with a new Stamp 2p with special Roboraptor legs and a neck and head packed with sensors.

Does anyone know if it is possible to get a learning capability for the Boe-bot with an extra PIC or Propeller maybe?

[Subject Changed By Moderator]

Post Edited By Moderator (Chris Savage (Parallax)) : 3/17/2007 12:38:17 AM GMT

Newzed
03-17-2007, 05:54 AM
It has been said many times on these forums - do not use "HELP" for a subject line. You will get a lot more responses if the subject line contains a brief description of your problem.

Sid

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.

That is why they call it the present.

Don't have VGA?
Newzed@aol.com (mailto:Module?Newzed@aol.com)

Bipedguy
03-19-2007, 12:34 AM
Anyway, could someone help me with this. Also nevermind the roboraptor legs and neck, gonna build those myself.


The head is another story...

Paul Baker
03-19-2007, 12:43 AM
What do you mean by learning capability?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker (mailto:pbaker@parallax.com)
Propeller Applications Engineer
[/url][url=http://www.parallax.com] (http://www.parallax.com)
Parallax, Inc. (http://www.parallax.com)

Bipedguy
03-19-2007, 12:58 AM
Oh yeah, Im switching to the propeller proto board, if it can run a servo controller

As for learning capability I mean artificial intelligence

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Robots are just lights...and clockwork."

Detective Spooner
iRobot

Mike Green
03-19-2007, 01:41 AM
The Propeller (including on the proto board) can act as its own servo controller (up to 32 servos) or can talk to an external servo controller like Parallax's.

There are no preexisting AI routines for the Propeller. You'll have to make your own. The Propeller is quite fast, can do floating point adds in under 5us, has 8 independent processors, etc.

Bipedguy
03-19-2007, 02:04 AM
Thanks Mike,

Will use the Proto board itself probably, depends though. With the size of the robot (see below), im planning on using quite a few servos.

-The raptor will be a comepletely autonomous bipedal robot which is now based on the Propeller P8X32A-Q44 (QFP) Chip.

-probably 32+ inches long

-AI(Hopefully)

-Mics to detect direction of sound

-3-axis accelerometer

and much more!

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Robots are just lights...and clockwork."

Detective Spooner
iRobot

Bipedguy
03-19-2007, 08:49 AM
Some qeustions that I need help with:


How many propellers can work together?

The AI that I am hoping to create is the raptor being able to cross a situation (say laying on my lap) to an action (say petting the robot). Any ideas for that?

What type of sensor could detect if the robot is being lifted or if it is on its side.

What type of sensor would allow the raptor to know in what position all of its continous rotation servos are?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Robots are just lights...and clockwork."

Detective Spooner
iRobot

Mike Green
03-19-2007, 09:00 AM
One of the rules of the Parallax forums is that you may not post the same or nearly the same messages on two or more forums (called cross-posting). You must pick one forum. The rules are available under the Announcements forum in the thread Forum Guidelines. Please read them.

Gadgetman
03-20-2007, 03:13 AM
Bipedguy said...
How many propellers can work together?


How many do you have?
Set up one as the 'backbone' or 'brainstem' if you like, and use up to 7 COGs running the Full-duplex serial routines to 'speak' to the other Propellers, and use the last one to do 'packet decoding' and simple routing control.
Need to control more than 7 Propellers(using nr. 8 as the backbone), just add another Propeller to the backbone...
This is of course quite wasteful...
(But gives quite a nice bandwidth)
A better solution is probably to let them share the tasks a bit more.
Place a Propeller in the hip and shoulder, and let them not only control the closest servos, but also do the linking.
Even then you should have enough capacity in them to add simple sensors and rudimentary reaction patterns in them.
(Look up the ADC routines mentioned in the Propeller forum. just by adding a couple of resistors and caps a single COG is able to do two simultaneous ADCs, and if you multiplex them, 16 or 32 is possible with a decent speed in that one COG)


Bipedguy said...

What type of sensor could detect if the robot is being lifted or if it is on its side.


Ad an accelereometer to detect movement, and a gyro to give positional information.


Bipedguy said...

What type of sensor would allow the raptor to know in what position all of its continous rotation servos are?


At what accuracy do you want it?
you could just stick a disc with a small hole on the axis, and use it with a LED and detector, to get one position, then calculate from then on, or you could add a CRAY-disc, or...

but...
Continuous rotation servos in a walking robot?
(Most leg-movements are pendulous, not rotational... )

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't visit my new website...

Bipedguy
03-20-2007, 06:46 AM
Good point. Don't you live in Norway and your closest parallax reseller is a swedish netshop. Aren't you free of homeland insecurity? Not making fun of you. Im really glad you looked at this post.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Robots are just lights...and clockwork."

Detective Spooner
iRobot

Gadgetman
03-20-2007, 11:42 PM
You go tit completely right.

Yes, the nearest reseller is a Swedish netshop(elfa.se), but they have a warehouse here in Norway, so there's no T(r)OLL to consider. They're not always the first to get new stuff(like the Propeller Prototying board), but they have a decent inventory and OK prices.

Homeland Insecurity is just a bad joke here... http://forums.parallax.com/images/smilies/smile.gif

Of course, the local yokels aren't always too smart, either...
Recently, an 87 yer old woman was banned from taking a local flight in to Bodoe where she had an appointment at the hospital to have a new prosthesis fitted. The reason she was banned? didn't have any ID papers...

You know those knife-sets people have in the kitchen?
The ones with all kinds of long, sharp blades stuck into a block of wood...
Last year(I think it was) one of the shops at Gardermoen International Airport had these for sale...
(The stores are inside the 'secure area' beyond the X-ray machines, and before the gates. And no, there's no check at the gates. )

I don't have too much time to play with Propellers(I'm working on making an X-UFO fly autonomously) at the moment, as I'm in the process of getting a new apartment and I REALLY need to get stuff packed...
(I have about two months until it's moving time... not enough time... )
So I can't help with code or technical details...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't visit my new website...

Bipedguy
03-21-2007, 02:53 AM
Kind of an odd shop for an INTERNATIONAL airport!

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Robots are just lights...and clockwork."

Detective Spooner
iRobot

Bipedguy
03-22-2007, 06:30 AM
Anyway, still need a lot of help!

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Robots are just lights...and clockwork."

Detective Spooner
iRobot