Another delivery this week, this time from ebay. After finding I had the wrong kind of stepper motors in stock, I acquired a spare from ebay, this time a unipolar one. Excellent, one problem however, what is on the datasheet isn't translating to real life. The motor (Shinano Kenshi STP-58D211-02) has 6 wires, orange, black, brown, yellow, white, red with white and black being common. The other four being A, /A, B, /B.Now, regardless of how it is wired to the DDRV8805, the motor will simply not turn, it will lock in place and try to move, but nothing more. Anyone know of how these wires translate to the OUT1, OUT2, OUT3, OUT4 on the EVM?
Meanwhile, time to push on with the other components. First stop is the ZigBee kit. The sample code for this tool is quite comprehensive, lacking in documentation in a few places or just inconsistent between files, but otherwise good. It provides a good API for handling the ZigBee network as well as covering a few basics of the GPIO for the kit (Something the CC3000 didn't seem to do). If you are planning on using this as an introduction to ZigBee, do a bit of reading first to get your head around the way it is setup and to familiarise yourself with some of the terms used. A few of the terms can be slightly misleading at first (ClusterID for example), but once you go through it, they become clear.
I have one gripe about this kit though, and that is the size of the parts. While small is good and reduces cost, it feels like a little bit of mishandling is likely to destroy the headers connecting the battery pack or the programmer to the device itself. On the plus side, the pads for the device are broken out, at least the main ones for you. If you are planning on adding things to the kit and not just adapting messages etc, what looks like all of Port 2 is l for you, just be careful with spreading the load with those headers however. The available port means I might have to get creative with the communication between the WiFi portion and the ZigBee portion. If a UART or similar isn't available, something of a paralell interface may be required. This may limit the number of possible end points in this version, but given the number actually available this is not a huge issue. Future versions using their own PCB would make this easier giving the chance to break out and relevant serial pins.
Meanwhile, off to set up another repo for these parts and do some research into generating a suitable PWM signal for the lighting and motor.