Author Topic: ps3 controller  (Read 6868 times)

Purplemeanie

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: ps3 controller
« Reply #15 on: April 05, 2014, 01:12:59 AM »
FWIW: I had the BT dongle from the kit go bad on me. It worked a couple of times and then no lights on the dongle when I powered the Balanduino and no BT connections.

I tried the dongle in a number of Macs and PCs but none of them would recognise it.

So I switched to a generic CSR dongle I had lying around and it's been working for the past week with no problems.

John

Lauszus

  • Administrator
  • Full Member
  • *****
  • Posts: 131
    • View Profile
Re: ps3 controller
« Reply #16 on: April 06, 2014, 04:23:20 PM »
We are very sorry to hear that so many received bad dongles!
We have contacted our supplier to get it fixed.

Regards
Lauszus

LargoLobo

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Wolf Den Electronics
Re: ps3 controller
« Reply #17 on: June 17, 2014, 03:28:41 AM »
Does anyone know how the PS3 Dualshock controller is turned off? Mine stays on until the battery runs down. Sony says you have to have the playstation console to turn it off. That it's a function of the playstation. Can anyone verify that or know how to turn off the controller by its self to save the battery?
Yours aye,
John Wolf

Lauszus

  • Administrator
  • Full Member
  • *****
  • Posts: 131
    • View Profile
Re: ps3 controller
« Reply #18 on: June 20, 2014, 05:37:21 PM »
@LargoLobo
Simply press the PS button on the controller and it the Balanduino will disconnect the controller

Regards
Lauszus

Jimmy

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: ps3 controller
« Reply #19 on: July 29, 2014, 11:04:12 PM »
@Lauszus,
Is it possible to use the PS3 controller with bluetooth.h to control other autonomous 2W/4W robots?
Wonder if you are working on adding obstacle avoidance Balanduino.  :)

Thanks,

Jimmy 

Lauszus

  • Administrator
  • Full Member
  • *****
  • Posts: 131
    • View Profile
Re: ps3 controller
« Reply #20 on: July 30, 2014, 05:14:59 AM »
@Jimmy
Yes of course! Simply take a look at the PS3BT example I have provided with the USB Host Shield library: https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/Bluetooth/PS3BT/PS3BT.ino.

No not at the moment, as I am on holiday ;)

Regards
Lauszus

Jimmy

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: ps3 controller
« Reply #21 on: August 04, 2014, 10:23:36 PM »
@Lauszus, How can I make a noise or a buzzer by pressing an O button on the PS3?

Thanks,

Jimmy

Lauszus

  • Administrator
  • Full Member
  • *****
  • Posts: 131
    • View Profile
Re: ps3 controller
« Reply #22 on: August 05, 2014, 03:42:19 PM »
@Jimmy
Simply do it like so:
Code: [Select]
if (PS3.PS3Connected && PS3.getButtonPress(CIRCLE))
    buzzer::Set();
else
    buzzer::Clear();

Regards
Lauszus

LargoLobo

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Wolf Den Electronics
Re: ps3 controller
« Reply #23 on: November 05, 2014, 02:58:07 AM »
Can I use the PS3BT sketch on an Arduino Uno with a H-05 or 06 BT device to send commands from the PS3 to the Uno? What I need to identify is the pins on the Arduino to connect the BT device.   I uploaded the sketch to an Uno and it fits and comes up fine. I just don't know what pins to use to connect the external BT board (AdaFruit EZ-Link).

Thanks
Yours aye,
John Wolf

Lauszus

  • Administrator
  • Full Member
  • *****
  • Posts: 131
    • View Profile
Re: ps3 controller
« Reply #24 on: November 05, 2014, 04:45:34 AM »
@LargoLobo
No you can't. Those modules only support SPP in slave mode. In order to communicate with PS3 controller it needs to supports HID in host mode.

Regards
Lauszus