Larsey
Posts: 37
Joined: Fri Jun 29, 2012 5:27 pm

Raspberry Pi goes mobile, WP7 joins the ride

Tue Aug 14, 2012 6:59 am

Thought I could share with you people my latest project for the Pi :D

Read all about it at my blog, http://blog.fagerbakke.net/2012/8/13/ra ... -ride.aspx.

What I've done is removing the "brains" of a toy car and replaced it with a Pi connected to a motor controller. With the Pi connected to the wifi network I could connect and send commands to it.

:-)

amigarulez
Posts: 42
Joined: Wed Jul 18, 2012 10:16 am

Re: Raspberry Pi goes mobile, WP7 joins the ride

Tue Aug 14, 2012 7:18 am

Well done, cool project!

Larsey
Posts: 37
Joined: Fri Jun 29, 2012 5:27 pm

Re: Raspberry Pi goes mobile, WP7 joins the ride

Tue Aug 14, 2012 7:26 am

Thank you!

As I mention in the blog this is my first project, I've only done a "turn on a LED"-type of project before. The Raspberry Pi platform is really a rich platform that allows you to do all kind of crazy stuff :D

But what I would want would be a distro leaning more towards this kind of work - arduino style in a way. I'm sure I could modify the existing distro, but I'm no Linux wizard :D

Hugh Jarse
Posts: 46
Joined: Mon Mar 05, 2012 5:03 pm

Re: Raspberry Pi goes mobile, WP7 joins the ride

Tue Aug 14, 2012 7:45 am

Larsey wrote:Thought I could share with you people my latest project for the Pi :D

Read all about it at my blog, http://blog.fagerbakke.net/2012/8/13/ra ... -ride.aspx.

What I've done is removing the "brains" of a toy car and replaced it with a Pi connected to a motor controller. With the Pi connected to the wifi network I could connect and send commands to it.

:-)
Very nice job Lars.

mikerr
Posts: 2774
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

Re: Raspberry Pi goes mobile, WP7 joins the ride

Tue Aug 14, 2012 7:47 am

Looks great - can you list the motor controller used, and connections to the pi ?
Android app - Raspi Card Imager - download and image SD cards - No PC required !

Larsey
Posts: 37
Joined: Fri Jun 29, 2012 5:27 pm

Re: Raspberry Pi goes mobile, WP7 joins the ride

Tue Aug 14, 2012 8:02 am

mikerr wrote:Looks great - can you list the motor controller used, and connections to the pi ?
Sure I can :-):

Motor controller is http://www.canakit.com/dual-motor-l298- ... k1122.html, it's quite expensive but gets the job done. It's also good for future projects since it very robust and versatile.

Each motor is controlled by 3 pins, for motor one it was IN1, IN2 and ENA. What you have to do is enable ENA with a "high" signal. A "low" signal is the pin turned off. IN1 and IN2 decides the direction of the motor. Enabling one makes the motor go one way, etc with the other.

I got my notes back home, but I just found 3 x 2 available pins (i think it was 10, 11, 12 and 20, 21, 22)

amigarulez
Posts: 42
Joined: Wed Jul 18, 2012 10:16 am

Re: Raspberry Pi goes mobile, WP7 joins the ride

Tue Aug 14, 2012 8:13 am

Well for a first project I'm impressed;)
Under Arch Linux Mono is quiet usable, so you can "share" code with you WP7 app;)

Larsey
Posts: 37
Joined: Fri Jun 29, 2012 5:27 pm

Re: Raspberry Pi goes mobile, WP7 joins the ride

Tue Aug 14, 2012 8:28 am

amigarulez wrote:Well for a first project I'm impressed;)
Under Arch Linux Mono is quiet usable, so you can "share" code with you WP7 app;)
How do you go about it with the GPIO? You might be writing a wrapper or something to python, or is a feature already built in?

amigarulez
Posts: 42
Joined: Wed Jul 18, 2012 10:16 am

Re: Raspberry Pi goes mobile, WP7 joins the ride

Tue Aug 14, 2012 8:33 am

Larsey wrote:How do you go about it with the GPIO? You might be writing a wrapper or something to python, or is a feature already built in?
Some wrappers exists i.e.
https://github.com/cypherkey/RaspberryPi.Net

Larsey
Posts: 37
Joined: Fri Jun 29, 2012 5:27 pm

Re: Raspberry Pi goes mobile, WP7 joins the ride

Tue Aug 14, 2012 8:36 am

amigarulez wrote:
Larsey wrote:How do you go about it with the GPIO? You might be writing a wrapper or something to python, or is a feature already built in?
Some wrappers exists i.e.
https://github.com/cypherkey/RaspberryPi.Net
Very tempting :D thanks. Ill look into it. In my case the python server (tcp server) was a very straight forward thing.

sfrmashin
Posts: 4
Joined: Sat Dec 08, 2012 9:23 am

Re: Raspberry Pi goes mobile, WP7 joins the ride

Tue May 21, 2013 7:05 am

I realize that this is almost a year old at this point, but I'd love to see how you accessed your Pi via WP7 and the link no longer works. Please keep me updated!

Return to “Automation, sensing and robotics”