- Netduino Forums
- → Falstaff's Content
Falstaff's Content
There have been 8 items by Falstaff (Search limited from 20-April 23)
#10067 AX-12 servo interface
Posted by Falstaff on 24 February 2011 - 05:04 AM in Netduino 2 (and Netduino 1)
#9748 Quad.Net Quadrocopter for .NETMF
Posted by Falstaff on 18 February 2011 - 06:01 AM in Project Showcase
#9744 Compatible Shields and Accessories
Posted by Falstaff on 18 February 2011 - 05:21 AM in Netduino 2 (and Netduino 1)
This shield may not be directly compatible with the Netduino as it uses a diode on the XBee DIN line to interface with the Arduino 5V logic levels. This is not required when interfacing to the 3.3V logic levels of the Netduino, so I shorted it with a small piece of wrirewrap wire. I don't know if it would have worked without modification with the Netduino Plus as I did not try it.
Details and photos can be found at my website.
#9743 Compatible Shields and Accessories
Posted by Falstaff on 18 February 2011 - 05:17 AM in Netduino 2 (and Netduino 1)
This shield is not directly compatible with the Netduino. It expects PWM interface on data pins 3 and 11. The Netduino does not support PWM on those pins. So I bent those pins over on the underside of the board to prevent that connection and jumpered those connections to data pins 9 and 10 where the Netduino can provide PWM.
There is also a solder jumper "V-Logic" which must be changed from it's delivered setting of 5V to instead use 3.3V logic levels compatible with the Netduino.
Other than that, usage was straight-forward.
Details and photos can be found at my website.
#9742 Netduino Bot
Posted by Falstaff on 18 February 2011 - 05:08 AM in Netduino 2 (and Netduino 1)
Highlights:
* Netduino Plus (though no +plus+ features used)
* Sparkfun XBee Shield
* Sparkfun Ardumoto Motor Driver Shield
* PS2 XBee radio controller
Both Sparkfun shields required some minor modification to make them usable with the Netduino. Those details are on my website but I'll also post them to the "Compatible Shields" thread.
Details, photos and videos can be found at my website.
I have no particular plans for this project. The experience gained will be useful as I move on to my next project of controlling AX-12 Dynamixel servos (and eventually an AX-12 robotic arm) with the Netduino and the PS2 radio controller.
#9313 Integrated Help files and documents?
Posted by Falstaff on 11 February 2011 - 06:28 AM in Visual Studio
I did switch to online help to pick this up, though I prefer local help. Full Sandcastle help files would be nice. But even just having the self-documenting tags for intellisense and parameter help, etc. goes a long way. Fortunately the same work gets you both quite easily! Odd that the MS .NET MF has online help, but no intellisense documentation.Hi Falstaff,
With Visual Studio 2010, Microsoft moved most of the help online (including the .NET Micro Framework SDK documentation).
For the AnalogInput and PWM Netduino classes, there are a bunch of samples on the forums (just search for either one). If you run into any troubles, we'll be happy to walk you through it. [We're also working on a Sandcastle-style online help system for Netduino classes.]
Chris
#9148 Integrated Help files and documents?
Posted by Falstaff on 08 February 2011 - 06:06 AM in Visual Studio
#9026 AX-12 servo interface
Posted by Falstaff on 05 February 2011 - 08:10 AM in Netduino 2 (and Netduino 1)
First let me briefly describe my project: I already have developed a PC-based .NET/C# solution for driving AX-12+ "Dynamixel" servos using a USB2Dynamixel interface. My library is featured on the CrustCrawler site where the servos are available. I also offer a sample program to operate an AX-12 Robotic Arm using a PC joystick. Since I already have an XBee module embedded in a PS2 controller from a previous combat robot project, I'm hoping that using something like the Sparkfun XBee shield should get me up and running fairly quickly with a nice wireless joystick. But there are a few interface issues that I need to resolve to drive the AX-12 servos: (these are perhaps tightly-coupled issues)
(1) interface voltage: The AX-12 is 5v while the Netduino is 3.3v. I did find a nifty little level converter at Sparkfun that just might help. The TX side of this can apparently be used in a bidirectional way.
(2) interface logic: The AX-12 uses a single-wire half-duplex serial interface, with the following suggested driver circuit:
I've seen 3.3v device designs (using the Propeller) that drive the one line thru a level shifter. The Propeller can apparently use the one IO pin for both transmit and receive while still achieving the necessary high baud rate.
I've seen 5v designs (using ATmega's) that tie a TX and RX pin together directly to the AX-12 and rely on careful enabling in the software so that only one is active at a time. But the need to interface a 5v device complicates just a bit.
3) interface speed: The AX-12, by default, operates at 1M bps. It looks to me like the Netduino processor at 48MHz should handle that OK with a UART function. I'm not sure if the drivers and libraries might need some tweaking for the receive buffers to keep up at that speed. But I suspect it can be done. The incoming data arrives in short and sparse packets. I do have some concerns for the level shifter operating at that frequency. The AX-12 can be configured for lower speeds, but it's not recommended.
4) interface current draw: I don't see any specs for current draw on the AX-12 signal line, but they daisy chain indefinitely and I don't know if they boost the signal from one to the next. So I'm thinking I may need some kind of beefier driver/buffer. Perhaps I should just build the circuit as above and level-shift that final IO line. Perhaps there's a device that can do it all? I've not started looking into that yet.
So that's where I'm at. I don't think any of these issues are too terribly difficult. But any advice is appreciated. I hope to make a contribution to the community and have some fun!
- Netduino Forums
- → Falstaff's Content
- Privacy Policy