Well, it has been nearly two years since I looked at the Dalek project.
Last time I was looking at using a Raspberry Pi to control the Arduino, which would in turn control the motors in the Dalek.
Since then, I build my own Shield to fit the Arduino (and munged up the circuit design, rendering it useless), repurposed the USB camera that I bought to use in a security system, moved house, and generally forgot about the whole thing.
I’ve had a rethink over the last few days about the whole thing, and looking back on past ideas, I’ve come up with some better ones…
I’m replacing the Arduino with a PiFace Digital. This will solve most of the power problems. That, along with a Camera Module designed for the Pi will cut down on the USB sockets needed.
Next, for connectivity, I’m only having a WiFi dongle on the Pi, and a wired Ethernet socket on the outside case. Anything else is really going to be superfluous.
The question is, though, should it act as a WiFi hub, or should it connect to my existing network?
As the Piface Digital only has two SPDT relays on board, I’m going to use those to control the power on/off for the motors for now, just giving me forward movement for now. Eventually I plan to enable bi-direction operation on both motors, as was the case with the Arduino Dalek project before I made a balls-up of soldering the circuit. This time I won’t be trying to cram it all onto one small board, so it won’t be as hard to mess with.
A problem I have come across is that, unsurprisingly, the Piface Digital does not have any analogue inputs. This is going to make the distance sensors difficult to implement for now. I’m sure I’ll come up with something though.
So, for now the immediate goals are:
- Get the motors working in one direction.
- Get the Pi to either connect to my existing wireless network, or act as a WiFi hub