Plug-in XBee Adapter for the S2
Phil Pilgrim (PhiPi)
Posts: 23,514
The S2's DB-9 serial connector provides battery power (Vin) to pin 8. This allows for the possibility of plug-in modules that receive their power from the S2. A natural use for this capability is an adapter for the XBee family of wireless interface modules, so I decided to make one. This was kind of a stealth project that I designed one day last week on a whim. The boards arrived today, and I'm happy to say that they work! Here's a photo:
Because the XBees run on 3.3V, and the XBee Pro requires up to 215 mA during transmit, it was impractical to step the battery voltage down with a linear regulator. So, in order to save wasted power and heat, I've included a switching regulator circuit on board the adapter. Also, since the S2 provides and requires RS232 (inverted) serial, it had to include transistor inverters. Other than that, it's a small, simple device that fits entirely within the S2's turning radius and doesn't cover up the LEDs or get in the way of the power switch or input button.
I have no idea yet about manufacturing or even whether there'd be any demand for such a device. Is this something that people might want?
-Phil
Because the XBees run on 3.3V, and the XBee Pro requires up to 215 mA during transmit, it was impractical to step the battery voltage down with a linear regulator. So, in order to save wasted power and heat, I've included a switching regulator circuit on board the adapter. Also, since the S2 provides and requires RS232 (inverted) serial, it had to include transistor inverters. Other than that, it's a small, simple device that fits entirely within the S2's turning radius and doesn't cover up the LEDs or get in the way of the power switch or input button.
I have no idea yet about manufacturing or even whether there'd be any demand for such a device. Is this something that people might want?
-Phil
Comments
S2 x 3
Roving Network WiFi??
-Phil
The people will also want instruction and demonstration...
oh, and the people would really like schematics too.
Go! Phil Go!
-Tommy
http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/bluewolf/List/0/SortField/4/ProductID/752/Default.aspx
The Bluewolf module is paired with their XBee host board, but it won't work with either Scribbler model. So if you could get it to work with a Boe-bot as well it would be great. I plan to pair the Bluewolf module with a Wixel and take a crack at wireless programming of the Boe-bot.
-Phil
Thanks,
-Phil
-Phil
Hello Phil,
Nice project! I think there is definitely interest in these. In regards to the power can't you just add a 3-pin SIP header and use a jumper to select which pin provides power? Either that or pads that could be solder bridged to select the voltage. You could put a tiny trace between the two as the default for the S2 which could be easily cut when you want the other power source.
Robert
Todd
Joshua
I am now shoehorning the XBee inside the S2 (Yes inside ...the idea of plugging onto the RS232 thingy eluded me ..Duhh ).......
I am successfully using it as a Cable-Free link using the Tiny Logo OBJ shown in the forum post "Here"
I have reduced the XBee power setting to its lowest setting as i don't envisage out of site control (just to prolong operation).... i think the S2s Hacker port 5 volt is any-ways rated for 1.2 A max (correct me if i am wrong)
Thanks for the continued interest -- and your patience! I was holding off because I wanted to pair it with a joystick-type remote controller. But I've come to the conclusion that there is a better way to go about that part. So the plan now is to proceed with the adapter by itself. I've got another loooong-awaited module going into production now (1500 boards made and a quote for the assembly). When that's out the door, I can revisit the XBee adapter.
BTW, because of all the SMD parts, it will probably come premade -- or possibly as a semi-kit, with only the through-hole parts to solder. The latter is a little harder, though, since testing is not as easily accomplished.
-Phil
So that leaves wireless data exchange with the S2, which the XBee module can still handle. But I'm not sure how much interest remains for such an app.
-Phil
Email me your postal address, and I'll send you one of the plug-ins to try out with your WiFly module.
-Phil