Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: BANE on July 10, 2008, 06:47:30 PM
-
Hello, I'm thinking purchasing an PIC microncontroller capable of bluetooth for programming it as well as a PS3 6 axis. Any recommendations?
Bane
-
you want a microcontroller board or just a tiny microcontroller recommendation?
-
you want a microcontroller board or just a tiny microcontroller recommendation?
I'm not too sure actually, being that i don't know much about PIC controllers. What I what to do basically is make the same set up that this guy has or equivilent.
http://www.pabr.org/sixlinux/sixlinux.en.html (http://www.pabr.org/sixlinux/sixlinux.en.html)
I probably should have asked the guy that made that webpage :D
Bane
-
just get a BlueSmirf Module or get a regular bluetooth to serial converter . Then you can use that to program and communicate ( in your program you would have some command to reset the PIC or AVR and allow programming , but all other commands would just be regular communication)
-
Why PIC?
Most people here use AVR, and its all I personally use now - meaning, better tech support for you :P
http://www.societyofrobots.com/robot_faq.shtml#best_microcontroller
-
I'm using a arduino + bluesmirf and am very happy with it. I also have tried something similar to you in that I tried hooking up my wiimote via Glovepie. I ended up having a bit of interference and was not able to make it work at the moment. If you use the sixaxis over usb this should not happen to you. The sixaxis is also supported by glovepie http://carl.kenner.googlepages.com/glovepie (http://carl.kenner.googlepages.com/glovepie).
-
Why PIC?
thanks, and i really don't care what it is, i just something that can communicate with my Laptop or PS3 controller. I was reading some post and i saw that they were using PIC. BTW I just found this tuturial using BlueSMiRF with my SSC-32
http://www.lynxmotion.com/images/html/build125.htm (http://www.lynxmotion.com/images/html/build125.htm)
Bane
-
I did my robot using bluetooth module (bluesmurf) from sparkfun with an atmega8.
It cost about 80 dollars. The atmega8 is like a 3 dollar chip, damn shipping and bluetooth module :P
I got my chip from digikey.
If you go with say the atmega8 for it to have its usart synchronized with the module you have to run it at higher speeds than its default speed.
Different speeds are mentioned in the datasheet. So I'd recommend also picking up a 14.7456MHz (49US package) crystal which is the speed I'm using. You'll want to get 2 small (20pF) caps for the crystal.