Alternative remote control for the Pi - Raspberry Pi Q&A, Help & Troubleshooting

I've been searching for a way to control my raspberry pi via Bluetooth and my phone or ps3 controller. I am using Openelec. Has anyone attempted this? Any success?

1Emerson1 said:
I've been searching for a way to control my raspberry pi via Bluetooth and my phone or ps3 controller. I am using Openelec. Has anyone attempted this? Any success?
Click to expand...
Click to collapse
If you are using OpenELEC, just turn on the webservice. Then, you can use XBMC remote or other 3rd party apps and control via WiFi.
If you really want to do Bluetooth, then you need a bluetooth transmitter/adapter for your RPi.

https://play.google.com/store/apps/details?id=org.leetzone.android.yatsewidgetfree

I appreciate the responses. I am looking for a way to control my Raspberry Pi via bluetooth is because I won't have internet access all the time so I am looking for a control that works with bluetooth. I was also thinking of using a IR control.

A small keyboard with a touch pad might work. Wired would be more reliable/easier to set up than bluetooth. Also, if you're using it with an hdmi TV, you could get a good universal remote and set the keymap for your preference. I have done both of those in hotels, when I might not feel like trying to get the pi and the phone on the wifi and talking to each other.

I've successfully used one of these keyboards/touchpads as gotcha640 describes with my B+ and Openelec - works very nicely. I also have CEC access through my TV remote (an LG) which after a little tweaking to get a couple of extra keys working and mapped (welcome back contextual menu!) is good for routine operations, with the keyboard/touchpad coming into play for operations that need filenames etc. But equally the keyboard cursor keys or the mouse pointer select both work fine too.
The kbd/pad has a little dongle that plugs straight into the Pi. Works fine over the range of my lounge, although you do have to remember to point the keyboard toward the TV as the IR sender is a little directional (but nothing that causes an issue).

Related

Best way to control a robot for the least $$$?

I have a robot lawnmower, Friendly Robotics Robomow RL500. It's like a Roomba for the lawn, you set it loose and let it go. Problem is, it's not very smart. For one, it gets stuck on occasion, requiring me to check on it regularly and free it if it gets stuck. It also needs to be driven out onto the lawn and turned on, and when it's done I need to go find it and drive it back. Worst of all, there is a part of the lawn that is too narrow for it to function automatically so I have to manually mow that part with an annoying wired controller, and it is much slower than a regular mower so walking behind it at a snail's pace holding a wired controller is very boring.
My idea is to make it so I can put a camera on it so I can drive it via Wifi from the comfort of my home. Somehow I will need to be able to stream video over Wifi and send commands to the robot as well, and whatever device receiving the commands will need to be able to activate the switches on the wired controller.
2 ways I thought of to do this:
1. Use one of my extra Windows Mobile phones as a "brain". They all already have a camera and Wifi. All I would need is the software to stream video over Wifi and a control program to control the robot. Microsoft has a Robotics Studio that may help me to write my own program using VS.NET. None of my phones have a serial port or USB Host controller, so I was thinking maybe I can use a Bluetooth-to-UART board and connect that to some kind of controller to activate the switches on the control panel.
2. Use a WRT54G and run Linux. This will probably cost more because I don't have a 54G. I will also need to buy some kind of camera for it, like a networked camera. It has an RS232 port that can be used to connect to some kind of controller to activate switches on the control panel. I KNOW this solution has been done, because there is a video out there of a 54G-controlled R/C car being controlled via Wifi and streaming video back. I would probably need to write my own program in C in Linux (I don't know C), unless I can find the link to that RC car again and see if that guy will share his source.
Any thoughts on which way is the best way to go?
Jejeje
Try this
http://www.youtube.com/watch?v=GaquxmK-kp4

Snesoid + ps3 controller or 360 controller

I am using the official Motorola otg cable and trying to map buttons in snesoid but while the directional buttons map normally when I try to map the regular face buttons it just says unknown. I have the same experience with a ps3 controller and a 360. Does anyone have insight on this?
Sent from my Nexus One using XDA Premium App
I had a similar issue with two wiimotes with CCs attached. Some of the keys mapped as "unknown" but they did actually work ingame. Try mapping them all without worrying about the unknowns and see if it works.
Have exactely the same problem here, and keys dont work either exept for the direcional DPAD input. Any advice?
XSJoJo said:
Have exactely the same problem here, and keys dont work either exept for the direcional DPAD input. Any advice?
Click to expand...
Click to collapse
I'm experiencing the exact same situation, I've tried with a 360 controller, ps3 controller, and a plain logitech ps3 still usb controller that the system won't even recognize. main reason i got the otg cable was for this functionality, oh well. btw are you rooted? which method did you use to upgrade to 3.1? do you have the 3G xoom or wifi only?
Hey there,
Got a wifi.
Found out that the problem is just emulator specific, in the N64 and one PSX emulator the controller works as described.
When using fpse it works perfectly and I can play games without any problems: in the Settings it tells me the key number (192 for example) instead of unknown. Must be some kind of problem in the app-key handling I think.
Tried to change the keyboardlayout of the Controller, but I cant get it to work with the other emu's.
Regards
it's there any way to map de directional buttons (cross) and the analog stick in the same setting??? there are games that are unplayable without the directionals buttons and the analog stick at the same time for example brave fencer musashi(psx) or vagrant story and any game that use the dualshock control

Modding with bluetooth hardware

Does anyone know a way to use the hardware from an old phone to add bluetooth to a PS3 Guitar Hero controller? I found out that the GH controllers do not have BT natively, and instead rely on a RF connection to a RF matched dongle attached to the PS3. I have the controller, but no dongle, so I thought it might just be easier to cannibalize an old BT enabled phone (perhaps a Moto W490 or RAZR) to connect it. I know that this could come with having to make a boarde and program it, which I am ready to do if necessary.
Thoughts? Has anyone done this successfully before? Is this even possible???

Compatible Bluetooth Mouse?

Has anyone found a compatible bluetooth mouse? I can't find a standalone bluetooth mouse that will successfully pair with my DB (I have tried a Targus Model#: AMB04US and a Think Outside BT Mouse).
Furthermore, all posts I can find relating to the subject are for a keyboard with a built-in trackpad but I hate trackpads. I want to use a standalone bluetooth mouse and don't want to have to buy a dock (I am using the Webtop hack that bypasses the need for a dock).
Thanks in advance.
I successfully used my MS Bluetooth Mouse 5000 on the web-top. But here's the thing that might be causing your issue with the other mice: When I went to pair the mouse with the web-top it was waiting for me to enter a pairing code on the phone screen window and since i had that window behind a Firefox window and I didn't realize it the pairing process kept failing.
Logitech has a mouse out meant for android tablets. Maybe give that one a try?
XDA Community: Please post other mice that have worked?
TheNinthPlayer said:
I successfully used my MS Bluetooth Mouse 5000 on the web-top. But here's the thing that might be causing your issue with the other mice: When I went to pair the mouse with the web-top it was waiting for me to enter a pairing code on the phone screen window and since i had that window behind a Firefox window and I didn't realize it the pairing process kept failing.
Click to expand...
Click to collapse
Thanks for the suggestion. I get the pairing code window, but when I enter 0000, 1234, or 4321 (per Motorola Support's suggestion), they all fail. Targus support says it is because there is no PIN required. So if I enter something then delete the pin I entered (just to get the OK button to activate), it still fails.
I'm glad to hear that the MS Bluetooth Mouse 5000 works though. It appears reasonably priced online. Motorola wants me to go buy their mouse for $40+shipping. Seems a bit steep for something that clearly isn't working due to software incompatibility.
XDA Community: Please post other mice that have worked?
I wanted to close out this topic by giving others the following insight:
The MS Bluetooth 5000 mouse works flawlessly with my Droid Bionic both in standalone mode (nothing attached) and in Webtop mode (with the WebtopMod_Hack that enables you to get to webtop without a dock). I purchased it for $18 from a seller on eBay and found other sellers listing it for $20-$25.
Hope this helps future purchasers out.
Same here...
I'd also like to chime in and say the Microsoft Bluetooth Mouse 5000 works just fine.
It really irks me though, because I have an older (ironically) Bluetooth Mouse 8000 which I really liked because it had an integrated laser pointer and presentation controls on the underside of it. I could never get it to pair.
Microsoft must have made some changes in the device firmware stack because now with the 5000, I could get it to pair to my Bionic using the passkey 0000.
No matter what I tried, the 8000 would not pair.
-Rob
I've just picked up Logitech's V470, and it works great! No issues
www(dot)logitech(dot)com/en-us/428/3287
Stock, rooted, web top mod
Ebay link for $19.95 Microsoft 5000 Bluetooth Mouse
http://www.ebay.com/itm/220875044915
Just thought it would be helpful for someone!! I just bought one thanks for the tips.
jlee1026 said:
I've just picked up Logitech's V470, and it works great! No issues
www(dot)logitech(dot)com/en-us/428/3287
Stock, rooted, web top mod
Click to expand...
Click to collapse
Identical setup (stock, rooted, webtop mod), identical results! In fact the V470 has worked on DX, Xoom, and now the Bionic for me with no issues.
Same problem with microsoft notebook presenter mouse 8000
Same problem. Imposible to sync MS Mouse notebook . (Asus Transformer Prime TF201)
robroy90 said:
I'd also like to chime in and say the Microsoft Bluetooth Mouse 5000 works just fine.
It really irks me though, because I have an older (ironically) Bluetooth Mouse 8000 which I really liked because it had an integrated laser pointer and presentation controls on the underside of it. I could never get it to pair.
Microsoft must have made some changes in the device firmware stack because now with the 5000, I could get it to pair to my Bionic using the passkey 0000.
No matter what I tried, the 8000 would not pair.
-Rob
Click to expand...
Click to collapse
I have the wireless Apple Mighty Mouse that I use with my Mac and that paired up well with the phone.
I'm running the latest CM9 SELFKANG. The cursor works fine. Scrolling with the trackball is great. Clicking is fine. But it lags and locks up horribly on stock. Anyone else notice that?
Mouse Acceleration?
Do you have any mouse acceleration with the mice you have tried? I just tried to plug in a Logitech MX518 to the USB-port and i have terrible mouse acceleration (when you move the mouse slowly the mouse sensitivity is really low, but when you move the mouse fast the sensitivity is much higher).
I need to find a mouse that does not do this (or a program that will correct it).
I found a solution to this maddening issue!!!
Solution is very simple!
1) Download an app called bluetooth pairing in Play Store, its in japanese but all you need to do is click the magnifying glass icon, then click your device and hit the big blue button that comes next..
2) Disable and enable your bluetooth on the phone, the device is already paired
3) Select the device and it works perfectly.
Discovered this fix accidentally..
I use the Microsoft Bluetooth Notebook Mouse 5000. Works awesome no need for a third party program the mouse cursor works fine and you can find tune the mouse cursor in the language and input settings of the settings menu. I really like using the scroll wheel and you can even use right click with in ES File Explorer.
I use this same mouse with my laptop.
Sent from my Nexus 7 using Tapatalk 2
Anyone tried a Razer Orochi mouse? That is the bluetooth mouse I want to pick up for my laptop since I hate dongles and am adding a bluetooth transmitter internally to the laptop. Would be nice to have a mouse that will work for both my laptop and for my DB with the lapdock. I know that with the lapdock most USB dongle wireless mice will work but I hate dongles and I know one day I'm going to lose the stupid thing and be SOL.

Xbox 360 controller

Is it possible to get a wired 360 ontroller working with the Note 2? I've seen it working properly with other android devices and can get the pad to work with a custom IME app but not working as a proper gamepad.
Any ideas or is it not possible with this phone with stock rom?
Chrissssssss said:
Is it possible to get a wired 360 ontroller working with the Note 2? I've seen it working properly with other android devices and can get the pad to work with a custom IME app but not working as a proper gamepad.
Any ideas or is it not possible with this phone with stock rom?
Click to expand...
Click to collapse
It is not recognised as a native gamepad on stock software. You can use it mapped with USB/BT Joystick Centre (using an IME, as you say). I've used one that way with the Note II.
There was a mod on the XDA front page last week about a mod for the Nexus 7 that allows it to be recognised as a native gamepad, that may work with the Note II also (although it was in relation to another device the brief perusal of the thread that I had made it look like it would be widely applicable).
Are there any pads that are recognised without any messing? I've seen people mention the PS3 controller with an app that gives full analog support, maybe I'll have to get one of them instead.
I've seen some drivers for the 360 pad, xpad.ko and something but couldn't get them to work with my Note2.
How many games work with them anyway?
Chrissssssss said:
Are there any pads that are recognised without any messing? I've seen people mention the PS3 controller with an app that gives full analog support, maybe I'll have to get one of them instead.
I've seen some drivers for the 360 pad, xpad.ko and something but couldn't get them to work with my Note2.
How many games work with them anyway?
Click to expand...
Click to collapse
I used the PS3 controller on my OG EVO 4G with the SixAxis.apk and it works great! It is compatible with everything because as far as the phone is concerned it sees it as another keyboard. So you can even navigate your launcher/apps with it once its enabled. You just have to download an app to your PC to change the MAC Address on your PS3 controller (very easy and straight forward and takes all of 10 seconds) and your ready to go.
I didn't know until I saw this thread that a 360 controller could be used as well. Ill have to look into that. I would rather do something that was directly connected for games because even though the PS3 Bluetooth is cool, there is a slight lag with Bluetooth. I would be interested to see if a wired controller fixed that.
I think game controllers in Android is still very much in its infancy. So many game still don't support the things, and I HATE touch screen gaming with a passion.
Once released, the MOGA will be recognized as a native controller. I'm not a T-Mobile customer but I'm sure you could buy one from them without a plan. They are set to release for approx. $50.
New games will already be mapped to this controller, I would assume that software to make this usable with older games is not too far behind.
spotopolis said:
I used the PS3 controller on my OG EVO 4G with the SixAxis.apk and it works great! It is compatible with everything because as far as the phone is concerned it sees it as another keyboard.
Click to expand...
Click to collapse
So does it just map to key presses like the way I can get the 360 controller to work? Or can it also be used analogically? Is that a word? On the Sixaxis Controleller info it says:
Support as a native gamepad in Android 3.1+ devices. Full support for analog sticks and analog triggers
Hmm, I don't think this is going to be as easy as I was expecting
PS3 controllers work as native gamepads, plug them in via USB OTG and they work without any additional software. Number of games they work in is limited however, only games that allow keymapping or that have inbuilt support for gamepads (like Shadowgun for example). If you use the Sixaxis Controller app then you can use PS3 controllers wirelessly, and also emulate touch as well, meaning the number of games that become playable with the PS3 controller increases massively - see here:
NZtechfreak said:
PS3 controllers work as native gamepads, plug them in via USB OTG and they work without any additional software. Number of games they work in is limited however, only games that allow keymapping or that have inbuilt support for gamepads (like Shadowgun for example). If you use the Sixaxis Controller app then you can use PS3 controllers wirelessly, and also emulate touch as well, meaning the number of games that become playable with the PS3 controller increases massively - see here:
Click to expand...
Click to collapse
The reason I had to use the SixAxis.apk is because my phone only natively supports Gingerbread and so it needs the software. No OTG support.
I thought I was going to be able to use Joystick Center for some emulator goodness but it crashes every time I try to use it
I might have to try out my Wii remote, see if I can have some luck with that instead, although that doesn't have enough buttons for some games.
Chrissssssss said:
I thought I was going to be able to use Joystick Center for some emulator goodness but it crashes every time I try to use it
I might have to try out my Wii remote, see if I can have some luck with that instead, although that doesn't have enough buttons for some games.
Click to expand...
Click to collapse
Strange, USB/BT Joystick Centre works fine for me.
You can use a Wii Classic Controller if you need more buttons for emulators (does require a WiiMote to plug into though, so cumbersome). If you can track one down the Datel Retro Wireless controller is better.
Strange. Wonder why it's not working for me. It works fine when I first run it and detects the controller but when I press back to save the settings the homescreen hangs and if I try going back to Joystick Center it displays a white screen and never does anything. I have to clear the app cache before it'll work again.
Please, I might be a little slow in understanding but just be patient with me. Just a simple question:
Is it possible to use either controller simply by connecting it with a usb without needing to root my phone? If so which one, if not both?
Sent from my SGH-T889 using xda app-developers app
Tweh said:
Please, I might be a little slow in understanding but just be patient with me. Just a simple question:
Is it possible to use either controller simply by connecting it with a usb without needing to root my phone? If so which one, if not both?
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
The Xbox 350 controller for Windows works without Root, but requires the paid app USB/BT Joystick Centre.
PS3 controller works without Root and without any additional apps.
Number of games that will work with either controller that way is quite limited though, only emulators, games with native gamepad support (Shadowgun, Riptide, a few others), and games that will allow control button mapping (like Meganoid). With Root you can do a lot more with PS3 controllers because you can use the Sixaxis Controller app to set up touch emulation, which makes many, many more games playable with the controller.
Well I finally got the controller working with joystick Center. I installed he Omega ROM and it's now working. Shame it won't work as a gamepad. My Bluetooth speakerphone isn't working perfectly with the new ROM though :S
Hmm, I tested it too and my xbox 360 wired usb controller works not the right way .....
I have the N2 smart dock station and the xbox 360 wired controller
Also I bought the BT/Joystick center, here the stick works fine but in gta 3 onlz the left stick to move and rotate works fine. no kezs to jump ......
I use wanam 1.5 rom Android 4.1.1 with redpill .10 kernel
I have tested other roms with 4.1.2 but theres the same problem.
Perhaps this is only a key mapping for the controller.
... the smart dock is awsome !
Has anyone been able to get the wireless USB dongle working via. an OTG cable? This is for a wireless 360 controller. I've seen it working on other android devices...
Moga lacks some buttons. Best hassle free controller out there right now is the onlive wireless controller. It like a cross between the ps3 and Xbox controller. Simple Bluetooth pairing. No rooting required. Downside is that it cost 50 dollars. I've bought scuf controllers though so price was OK to me.
Best controller that works out of the box via USB is a genuine Sony PS3 SixAxis controller. If you want to use PS3 controller's wireless capability you'll need to root and buy the SixAxis app which is well worth the few bucks for it.
My XBOX 360 controller works perfectly in conjunction with USB/BT Joystick Centre.
A great app and well worth the money. GTA vice city plays very well and on the Note II.
I haven't played Need for Speed™ Most Wanted yet but I expect it to change the game completely
Can anyone think of any other good uses for the controller on android as the buttons can be mapped to pretty much any keyboard stroke so im sure there some handy uses

Categories

Resources