Pokitto as the AI of a robot

I would love to see Pokitto to be the AI of a robot vehicle, like an Arduino device is this Kickstarter: https://www.kickstarter.com/projects/1818505613/codey-rocky-your-new-coding-companion/description
Also an ability to detect light and colors brings interesting possibilities for guiding the robot.

A shame that Lego Mindstorms are so expensive.

Hrm, come to think of it I wonder if K’nex would work?
I’ve got a feeling the holes on the Pokitto’s arms might just work.
If not, some people have come up with some interesting lego to knex adaptors that are 3D printable, and if a suitable one doesn’t exist there’s probably a way to make one.

I know it’s possible to hotwire a K’nex motor because there’s examples of how to do it online. (With Arduino rather than Cortex, but same principle.)

(Assuming Knex works out cheaper of course.)

In the Finnish computer magazine “MikroBitti”, there was a comparison of RasPi based robot vehicles. The “CamJam EduKit 3” got a very good points, especially considering the price, about 20 euros only ! (without RasPi, of course):

There is even instructions, how to make a lego chassis for it:

What do you think, would it be hard to replace RasPi with Pokitto? I know that the code must be adjusted (Python!) for Pokitto, but how about HW wise?

There is (at least) one problem with this if converted to Pokitto GPIO. The RasPi GPIO has two 5 V pins. 5 V is used by the ultrasonic distance sensor in the Kit. As the input pins in RasPi shold be supplied with 3.3 V, there are voltage divide resistors to split the voltage between the input pin and GND. It is explained here:


Pokitto GPIO does not provide 5 V, so I have to use external power. There is already external power source for the two motors: 4 x AA batteries. Could I use that for the distance sensor also? I guess motors are using 6 V. How do I have to connect it and what kind of resistors are needed?

I appreciate any help as electronics is something quite far away from my comfort zone :slight_smile: