Sunday, June 07, 2009

Spybotics Internals

This is a repost of a page I created in 2003 on LUGNET. While the Spybotics line has come and gone, I thought it important to archive this information for anyone who might still be tinkering with these little guys. I know I break them out every once in awhile myself. If you have something to add to this post, drop me a line or leave a comment.

This is not an official LEGO® document or web site. LEGO® and Spybotics® is a trademark of the LEGO Group, which does not sponsor, authorize, or endorse this document. Copyright © 2003-2009 Steven B. Combs & Bricks in my Pocket (BimP) except where noted. All rights reserved. All photos taken and manipulated by Steven B. Combs unless noted. Images hosted by Brickshelf L.L.C. and LUGNET.)

Gigamesh G60 Spybotics (3806)

Purpose:
The purpose of this page is to document and present the internals of the Spybotic Programmable Controller and the Spybotic Programmable Remote Controller. With the assistance of the LUGNET community the internals of the Spybotic Programmable Controller will be dissected, analyzed, and documented. This page will also serve as a links clearing house for Spybotic related control software and hardware additions/modifications. It is not the intent of this document to reveal any trade secrets but rather provide the LEGO Robotic enthusiast with additional information that will allow them to stretch the limits of this device and add to the enjoyment and service life of the product.

This page is inspired by Kekoa Proudfoot’s RCX Internals page, however, the amount of detail presented is based on the contributions of the LUGNET community since I do not have the technical expertise to completely document technical specifications of the firmware and hardware.

All LUGNET readers are encouraged to assist with the development of this resource and provide feedback. If you have technical skills and/or information to provide, please contact me at steven.combs@gmail.com. At present I am looking for the assistance of an embedded systems professional or EE to provide firmware and electronic information.

Note: This is a working document with much work to be done before it is complete.

The thread of discussion about this project can be found at right.


Spybotics Programmable Controller Internals
Steven Combs
In my free time (yeah...sure Steven) I have begun a little project. It will require the assistance of this group, so if you have some time please visit: (URL) offer some feedback and assistance by responding to this post or e-mailing me at (...) (6 years ago, 4-Jan-03, to lugnet.robotics.spybotics) «

Introduction:
The Spybotics Programmable Controller (SPC) is programmable, microcontroller-based device that can simultaneously operate two motors, one touch sensors, one light sensor, an infrared serial communications interface, and a light output device.

The Spybotics line consists of four differing Spybots shown below (images ©2002 LEGO ):
Gigamesh G60 w/212 elements
Snaptrax S45 w/201 elements
Shadowstrike S70 w/193 elements
Technojaw w/ 244 elements

All four sets contain the same SPC and SPRC. Included are additional LEGO elements to make each Spybot unique in appearance and function.

Primarily geared toward the 10-16 year-old market, the Spybot concept is quite unique. Part computer game and part remote controlled vehicle, the Spybotics system is a an original product. The user or “Agent” first builds his/her Spybot from scratch, using the instructions displayed on the computer screen, and is then presented with missions that can be completed for points. These missions generally involve setting up a physical obstacle course (using spot lights, books and/or other heavy objects) in a large area, downloading a program to the Spybot, and attempting the objective. To control the Spybot during the mission, the Agent uses the Programmable Remote Controller (SPRC). Once the objective is completed (or not) the results are then uploaded back to the computer where the score can be compared to prior missions or uploaded via the Internet to compare against other Agent’s scores.


SPC External Features:
Like most electronic devices that are encased with plastic, the SPC plastic housing protects the internal components (printed circuit board (PCB), motors, batteries, and sensors) and provides the product’s visual aesthetics. For the Spybot, the case also provides LEGO component connection functionality.

The SPC’s overall bounding dimensions are found in the table below.

Description

English (in)

Metric (mm)

LEGO (studs)

Width

2.50

63.50

8

Length

4.75

120.65

15

Height

2.00

50.80

6

The SPC housing is manufactured and molded from a special blend ABS polymer (see news articles at right for more details).


Re: ABS... but which one?
Jim Hughes
Pedro: Your assumptions are absolutely correct. Most of Lego's plastic is a special (top secret) version of Bayer Novodur. Lego also uses a version of Lustran and, more recently, a version of Makrolon. If you spend enough time on the Bayer site they (...) (6 years ago, 3-Jan-03, to lugnet.general)


Re: Melting Point of ABS (Re: Strengthening Gears)
Jim Hughes
Thomas: Lego uses primarily Bayer Novodur (and apparently to some extent Bayer Lustran) for its bricks. The exact composition of the Novodur is of course, like the recipie for Coke, is top secret, but it is probably closest to Bayer Novodur P2M-V A (...) (7 years ago, 6-Mar-02, to lugnet.technic)


SPC Disassembly:
Disassembly of the SPC is very simple and requires only a small Philips screwdriver. Use the steps to the right to open the SPC.

1. Turn the SPC over.
2. Remove the screws found at the locations shown in the figure at right.
3. Carefully separate the top and the bottom (SPC is not sealed with any adhesive).
4. Turn the bottom half over to reveal the SPC internals.


Click to view super size image


SPC Internal Description:
Once the cover is removed and the bottom half is turned over, the internal components of the SPC are revealed (see image at right).


Click to view super size image

The SPC consists of the following hardware and firmware features (information taken from the LEGO Mindstorms 2.5 SDK available at http://mindstorms.lego.com/sdk2point5/default.asp)

Storage

Functional Blocks

Events

Inputs

Outputs

ROM. 7 tasks, 96 engine subroutines, 64 sound effects, and 8 LED animations

Sound control

bump

1 light sensor

1 piezo speaker

CPU RAM. 32 global variables (including 3 counters), 4 local variables per task, 80 stack entries shared between tasks and subs

Motor control

vll

2 IR receivers

2 motors

4k EEPROM. 256 byte scratchpad, 8 tasks, 32 subroutines, 16 sound effects, 8 LED animations

LED control

opto

1 touch sensor

1 laser LED (VLL)



VLL output

counter



7 display LEDs



ping control registers

timer



4 IR transmitters



communications registers (link, RC, and UART registers)

world change







world relations tables (other robots and controllers)

IR/PC msg







3 counters









4 timers and timer controls







SPRC External Features:
Programmable Remote Controller information coming soon.

The SPRC’s overall bounding dimensions are found in the table below.

Description

English (in)

Metric (mm)

LEGO (studs)

Width

n/a

n/a

n/a

Length

n/a

n/a

n/a

Height

n/a

n/a

n/a

The SPRC housing is manufactured and molded from the same blend of ABS as the SPC.


SPRC Disassembly:
Disassembly of the PRC is also simple and requires only a small Philips screwdriver. Use the steps to the right to open the SPRC.

1. Turn the SPRC over.
2. Remove the screws found at the location shown in the figure below (coming soon).
3. Carefully separate the top and the bottom (SPRC is not sealed with any adhesive).
4. Coming Soon

SPRC Internal Description:
Send e-mail to steven@bricksinmypocket.org to contribute to this section.

Related Links:
Lego Spybotics Homepage

The official LEGO Spybotics homepage. Very little technical information is present.

LUGNET Spybotics Newsgroup

You probably found this page while browsing this newsgroup. Use this link to discuss all things Spybotics.

Spybot (Hack)

A Japanese site similar to this one. The link automatically uses BabelFish to translate the contents into very broken English.

Not Quite C (NQC) Homepage

Variant of the C programming language modified for the RCX brick. Newer versions of NQC also provide support for Spybotics.

NQC 2.5 Spybotics Support

Up to date information on NQC and Spybotics.

Joybrix

JoyBricx is an application that allows the remote controll of Spybots and the Bionicle RC Fighter using a joysticks, game pad, keyboard, or mouse. It also allows the user to save the events for later playback.

Bricx Command Center (NQC IDE)

The best integrated development interface (IDE) available for NQC. Automates and structures coding. Allows real time manipulation of RCX. Supports Spybotics.

Apress’ LEGO Spybotics Secret Agent Training Manual Page

Wednesday, April 01, 2009

New BimPCast Hotline

Have something to say? Want to make a recommendation for future shows? Want to share a MOC? Have an event that you want advertise? Give us a call on the new BimPCast Hotline, powered by Google Voice.


Please remember that any message may be used in future shows. Long distance charges may apply. We're looking forward to hearing from you!

Saturday, March 21, 2009

Spring Break is here!

And we won't be recording this weekend, but rather spending time relaxing and enjoy friends and family. We'll be back in a couple of weeks. In the meantime I've uploaded our second show (and it's almost as bad as the first) to put a smile on your face. You'll also notice that we now have Show Notes for episode 1 and 2. You can find past show by clicking here.

As always, feel free to send us feedback. We've been receiving some wonderful e-mails from our listeners, both old and new!

Monday, March 16, 2009

Unexpected LEGO Goodness

One of the blogs I review regularly is Darren Rowse's ProBlogger. While reviewing a recent post I was greeted by the following image credited to Helico. I just love finding our favorite brick used in obscure and useful ways. The Juggler is being used here in a way that is very relevant to our lives as I try and juggle our commitments and our love of the LEGO community.


Learn more by clicking on over to Helico’s Flickr page and where he states:

The juggler is the most popular of my shots with LEGO bricks here on Flickr. Therefore, I place him in a better resolution in my photo stream.

And if you want to get serious about blogging, make sure you take a look around ProBlogger.

Thursday, March 12, 2009

Message to RSS Feed and BimPCast watchers

I'm slowly beginning the process of uploading older shows. As an experiment, I recently posted my first show which occurred March 23, 2005. This will show up as a new podcast if you are subscribing to the feed so disregard unless you want to relive the old days of the BimPCast.

Boy, we sure have come a long way. The audio and production value on that first show were atrocious; however, it is a fun listen if you want to laugh with me at myself! I'll also be including some show notes for this first episode a bit later and possibly some "inside baseball" additions for historical posterity. If there's other content from the past that you would like to see, drop me a line.

As I've said in past posts and during the BimPCast, it will take some time to get the site back up to speed, but when we're done, I think you'll enjoy having access to our past shows with interviews from some of the best AFOLs out there.

"Keep on Building"

Tuesday, March 10, 2009

We have vignette!

Nikki and I were tickled to find an e-mail message from Swedish AFOL listener Stig-Erik Blomquist. Stigge began listening to us right as we began our four-year hiatus. Here's his story...

Sometime, a long time ago, I somehow found my way to your site and podcast...The last three years I haven't visited the site everyday, but like once every few months, and so, one day last week I found the headline that you had started casting again, so I quickly got the two new files (the test and #25) downloaded, and into my cell phone...

Like most of you, Stigge was probably shocked that we even came back! He continues...

One of the first things I heard on the first "real" show, was that Nikki has been TIED TO HER CHAIR. I decided that called for a vignette, but didn't get to do it before I heard the first half of the second show (#26), which gave a few more details about your tech set-up, and thus this little thing was made and photographed, in order to let you know that someone acctualy listens to your show.

Really? Someone actually listens to our show? Well now, there's one of the three listeners! Here's the fun part. Check out the vignette that Stigge created based only on information we relayed during our last two BimPCasts. Pay particular attention to the rope around “Nikki's” waste (a reference I made during BimPCast 26).

This was so much fun, we wondered if anyone else had it in them to recreate our “studio” as a vignette. So, if the other two listeners would like to create a vignette with your idea of our setup, give it a shot and send it to us. We'd love to feature it! Who knows, if you really encourage us, we might take an actual picture and share later.

“Keep on Building!”

Monday, March 09, 2009

BimPCast 26 - Ticket to Ride {repost for iTunes}

Our second episode since our hiatus. We didn't use TalkShoe for this one due to some technical issues, but never fear, we were able to get an episode out this morning. You can click the links below to download, listen and view the show notes.

BimPCast 26 - Ticket to Ride

View the Show Notes

PRODUCTS DISCUSSED DURING THIS SHOW:

Tuesday, March 03, 2009

BimPCast 26 Schedule

Alrighty folks. It's time to prepare for the next BimPCast. Nikki and I will be recording live on TalkShoe this Saturday (March 7th) at 11am CST. We didn't have anyone join us last week and would love to have our listeners come join us and be a part of the show. You can listen live and chat with us while we record or become a part of the show by phoning in using your mobile phone, land line phone, Skype or the TalkShoe client (learn more by visiting our TalkShoe page). We'll take calls at the end of the show. So, consider joining us for a leisurely Saturday morning of LEGO chit chat. It'll be just like our own little virtual LEGO Users Group meeting!

Leave a comment below or drop us a line if you think you might be joining us. We have new e-mail addresses:

Steven: steven@bricksinmypocket.org
Nikki: nikki@bricksinmypocket.org

And lastly, your homework assignment. Recommend stories to us via Delicious by simply adding the tag bimpideas. You can view current bimpideas submissions using the following URL:

http://delicious.com/tag/bimpideas

{Update} Recommend a BimP Featured MOC to us via Delicious using the bimpmoc tag. You can view recommended MOCs using the following URL:

http://delicious.com/tag/bimpmoc

Monday, March 02, 2009

BimP has a new logo...again!

As we mentioned in our last post, we've been working on a major design mod for the BimP site. As part of that mod we've modified the logo...again. Here's a preview of the new BimP logo being used as part of our new iTunes album art image. Compare this one to the one in the header. Let us know what you think.

Sunday, March 01, 2009

BimP 2.0 redesign underway

As discussed in our last Podcast, we are slowly, but surely, redesigning the BimP website and you can follow along. The BimP 2.0 design updates can be found at:

http://bimp2.blogspot.com

Help us along the way by visiting occasionally and providing feedback via the comments or e-mail (bricksinmypocket@gmail.com). We also mentioned on BimPCast 25 that we were slowly adding all the old content that has not been transferred since our move to the Blogger platform. This content may (not sure) appear on the BimP 2.0 design before finally making it's way here. There's not much to look at now as we are in the layout phase of the design process. After that we will move to content inclusion and then on to branding. Bare with us as we build a fresh new home for the BimPCast. This is going to take some time.