I just received my Wixels and I couldn’t be happier. I plugged it into a USB port (after installing libusb and libqtgui4) and it worked like a charm. The example_blink_led app loaded and ran perfectly the first time. Modifying the blink rate parameter and re-flashing worked too.
Well done folks, I’m really pleased and impressed. Thank you for making such a quality product.
I’m eager to write a custom app to program the Wixel and I was hoping to get some information about using sdcdb (and the simulator) to run and debug my app (locally, before flashing it to the chip.) Does anyone have any pointers or URLs about this? I looked online and searched the Pololu forums but I couldn’t really find much. The SDCC manual has a brief section on using the sdcdb debugger but I need more.
Also, I am going to be connecting the Wixel to a Baby Orangutan and I was wondering about potential trade-offs between the different methods:
-
SPI - native support on both sides
-
I2C - native on the AVR; software lib (Thanks Pololu!) on the Wixel
-
UART - “plain old” serial connection, native on both
-
…something else?
I also have an IMU (MiniIMU-9, wooo!) with an I2C interface, so my first thought was to just plug all three modules onto the same I2C bus and let the protocol handle it. But the I2C lib for the Wixel is master-only and I kind of want the Baby Orangutan to be in charge. I can patch the I2C lib to allow operating in slave mode, and maybe add support for multi-master at the same time, but that’s going to take awhile (especially without debugger support.)
The next option would be to plug the IMU and Wixel together with I2C and plug the Baby-O and the Wixel together with SPI or a serial connection. The Wixel will be polling the IMU and “serving” processed postion and trajectory info to the Orangutan, and (if it seems really needed) it wouldn’t be hard to write some sort of “pass-through” command interface to let the Orangutan communicate with the IMU through the Wixel.
It seems the UART route would be easist, since it wouldn’t involve writing a SPI lib for the Wixel. But writing and contributing that lib would be a lot of fun…
What do you guys think? Any suggestions?