Lego RCX + BS ??
CircuitMage
Posts: 62
So, I ended up winning that Lego RIS kit at the Goodwill auction for $55. Some guy bid me up over $50!
WOW. These kits are amazing fun. Very simple. In 1 week I completed 4 projects. Now working on my 3rd improvement on a light theremin project. I would highly recommend these kits if you can find one, though on Ebay they still go over $100. The GUI programming interface is sweet. Very well made SW. I got it running with the serial port IR tower on my Dell laptop. Very Sweeeet.
A quick search here yielded nothing on Lego RCX, but google searches point to a few sources. I also found a book on Ebay for $5 on interfacing the RCX, that should be here soon, but I've already found several web pages on homebrew sensors.
Any other sources here for BS interfacing/ideas? I've already found ideas for opening more I/O ports using the BS. Very nice. I guess that's the basic idea anyway, but I would like to use the BS with the RCX block for other capabilities.
WOW. These kits are amazing fun. Very simple. In 1 week I completed 4 projects. Now working on my 3rd improvement on a light theremin project. I would highly recommend these kits if you can find one, though on Ebay they still go over $100. The GUI programming interface is sweet. Very well made SW. I got it running with the serial port IR tower on my Dell laptop. Very Sweeeet.
A quick search here yielded nothing on Lego RCX, but google searches point to a few sources. I also found a book on Ebay for $5 on interfacing the RCX, that should be here soon, but I've already found several web pages on homebrew sensors.
Any other sources here for BS interfacing/ideas? I've already found ideas for opening more I/O ports using the BS. Very nice. I guess that's the basic idea anyway, but I would like to use the BS with the RCX block for other capabilities.
Comments
I have no idea what the IR communication protocol is like with those. If the $5 eBay book has the protocol, you should be able to use a IR LED to program the RCX from a BS.
I'd think the RCX would be useful as a motor controller (IIRC it can control three motors). You might be able to use it's LCD screen and as I mentioned, you could use it to read analog inputs. You might be able to use the RCX's buttons too.
I'd think you could use the RCX's batteries to power the BS. It might take a bit of hacking to add an exteral connector. The version 1 RCXs have a barrel jack to use with an external power supply. I bet it has a protection diode you'd need to remove in order to use this connector as a power supply for your Stamp. The latter versions of the RCXs didn't have this connection. which I thought was a really bad change since it made the RCX a battery power only device.
I hope you let us know how you end up using it.
All good stuff. Yes, the inputs are analog, lots of info on the net for interfacing and customs jobs. I have not taken time to go through all the BS apps though. I think the IR comm is documented and available.
Funny how you are thinking of slaving the RCX with a BS, whereas I was thinking of slaving the BS, I need to consider both options. I'm already seeing limitations on the RCX brick though (ex. sounds are limited to 0.1 s duration, not shorter, and some very lengthy decision loops (~25 decisions) start to lag), so it may function better as a slave compared to a BS. I have seen others use the RCX as a slave controller.
I picked up an add-on kit on Ebay, that has the remote also, which lets you control the brick functions.
I have a 1.0 Brick from the 1.5 kit, so it does not have the jack. , but I was thinking about shared power too.
BS= Basic Stamp
M
I agree that pin code can be tiresome, but useful if debug/design is needed. For simple routines such as the RCX can handle, it's more fun to build/program/run over and over again. Also, I am enjoying seeing what this little board can do so I am doing things like exceeding the variable limitation with custom counter routines.