forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

wifi microcontroller for psp

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
pk_volt



Joined: 26 Nov 2006
Posts: 2

PostPosted: Sun Nov 26, 2006 4:40 pm    Post subject: wifi microcontroller for psp Reply with quote

Hi everyone. My first post here.

anyways, after seeing someon controlling a robot with a psp, it really got me interested. I have experience with electronics and microcontrollers (specifically the 68Hc11). But I don't know much about wifi, but i guess I could do some research,

I was wondering if you guys have any knowledge in using the psp to communicate with a wifi-enabled microcontroller, and if so, provide any useful links/information. I've googled around, but couldn't really find much


thanks!!!
Back to top
View user's profile Send private message
alekz



Joined: 22 Nov 2006
Posts: 5

PostPosted: Sun Nov 26, 2006 10:50 pm    Post subject: Reply with quote

Hi,

I also want to do a similiar project!
I think the simpliest will be to make a Serial port plug, and connect it to the microcontroller's UART (or SPI?? what you think?), then PSP sends commands to microcontroller over this channel and microcontroller drives motors (h-bridge or motor drivers, etc).

Here is the scheme (with two PSPs):

You => PSP => Wi-Fi => PSP => Serial Interface => Microcontroller

On the robot side you can use another PSP or any other device, for example like Gumstix which is a small SBC computer running Linux, some versions have Wi-Fi.

Bye,
Alekz
Back to top
View user's profile Send private message
PspPet



Joined: 30 Mar 2005
Posts: 210

PostPosted: Thu Nov 30, 2006 7:30 am    Post subject: Reply with quote

Some general advice/comments:
If you have a Wifi controlled robot (like an AIBO http://www.aibohack.com/psp/wifitest.htm ) using a PSP or other portable Wifi ready PDA is a great choice. In general I would recommend a PDA since it has a touch screen.
If starting something new, it may not be the best combination.

I don't know the value of using a PSP on the robot itself. There are cheaper and more flexible alternatives (like the recommended GumStix line), that have fully open and documented APIs (Linux in the case of GumStix)

WiFi is overkill for a simple robot. You can build something using a small 8 bit controller, programmed in assembler or basic. In that case I recommend a simple IR remote (the PSP can do that http://www.aibohack.com/psp/roboir.htm ), or a simple low power $20 RS-232 RF module (like the Linx modules)

In the middle is Bluetooth. The Lego NXT kit uses it. There are relatively cheap bluetooth boards. However controlling it can be a pain, and needs a bluetooth device or PC (ie. not a PSP option)

On the high end is WiFi. It is more expensive and power hungry. It makes sense if you need to transmit video from the robot to the controller (megabit or two per second). For regular robot control, a few hundred bits a second is usually fast enough.
If using WiFi and you want to write a PSP controller, I strongly recommend creating the control program on a PC first, using an access point. After that is rock solid, port it to the PSP.

A battery powered PSP connecting to a battery powered robot can be difficult. An access point on the same network and in the same room can help with radio connection.

The days of 68HC11 controllers are past. Small embedded controllers with megabytes of ROM and RAM, typically running Linux are getting cheaper all the time.
Good luck with whatever you decide.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
TheRain



Joined: 30 Jun 2005
Posts: 5

PostPosted: Fri Apr 20, 2007 7:59 am    Post subject: Reply with quote

If you really want to interface to an HC11 or any other microcontroller, the DPAC Airborn WiFi to serial modules are a good choice. http://www.sparkfun.com has them and a breakout board which will be necessary as the pins on the Airborn are very small otherwise. This is not a cheap part and will run you about $128 USD.

When using the Airborn with a Microcontroller, the basic process is, Microcontroller configures Airborn for Wifi connection over serial. Once configured, Airborn streams any Wifi packets over serial to the Microcontroller.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group