Contact

If you would like to contact me, you can send me an email at banderies@gmail.com, or leave a comment below (or on a post for that matter).

Advertisements

29 thoughts on “Contact

  1. Hi!
    I have recently started working on a dream of building Star Wars droids. I have started small with a Mouse Droid which basicly is a rc car. It didnt take me long before I understood thar controling it with a PS3 controller and an Arduino board was the way to go.
    Im a newbie on Arduino and to get the controller to talk to the Arduino was easy but the I got totaly stuck. I read a100 different forum threads looked att more you tube clips than I can remember. Nothing worked! I was soo close to give up.

    I just tried your trim code (nice bonus with trim) and It works!!!
    You are my hero! I cant thank you enough!!!

    Now Im gona compare and try to understand what was wrong with my code so I can start puting in more functions like sound and lights and so on.

    Thank you again!!!

  2. Hi Martin,

    I’ve only ever used the USB host shield to connect to my PS3 controller, so this is a little beyond my knowledge. I would suggest that you reach out to the library developers: https://github.com/felis/USB_Host_Shield_2.0. They’ve been very helpful in the past.

    However, if you just want to send data to your computer via Bluetooth, you can just use a cheap Bluetooth transceiver: https://www.amazon.com/dp/B071YJG8DR/ref=sspa_dk_detail_0?psc=1&pd_rd_i=B071YJG8DR&pd_rd_wg=SnL9t&pd_rd_r=T367S7QWA109ABEBSCHJ&pd_rd_w=Z11GD. I use this one all the time for wireless telemetry. No extra code is required. Just connect it to your Arduino’s serial pins (RX and TX) and use Serial.print() or Serial.println() (or more advanced serial read/write commands if you want). You can connect to the transceiver via Bluetooth on your computer and pull the data (and send data) from it like a USB port. The only limitation is the range, which is about 30 feet.

    Best,
    Barrett

  3. Hey Barrett,

    I’m just a beginner with Arduino and what I’m trying to do is take an incoming audio signal and then transmitted through a Bluetooth dongle. What I’m wanting to do is to display the incoming audio signal in the plotter window. I watched your video on connecting a dongle with a PS4 controller and just wanted to ask if you had any idea how to pull this off. The Bluetooth dongle that I’m using for this is the Sennheiser BTD 800 USB Bluetooth Network Card. I’ve currently been messing about with this SPP sketch from the USB Host shield library 2.0. If anyone has any ideas on how to program it to do this, it would be much appreciated. Thanks.

    #include
    #include

    // Satisfy the IDE, which needs to see the include statment in the ino too.
    #ifdef dobogusinclude
    #include
    #endif
    #include

    USB Usb;
    // USBHub Hub1(&Usb); // Some dongles have a hub inside

    BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so
    /* You can create the instance of the class in two ways */
    SPP SerialBT(&Btd); // This will set the name to the defaults: “Arduino” and the pin to “0000”
    int incomingAudio = A0;

    void setup() {
    Serial.begin(9600);
    #if !defined(__MIPSEL__)
    while (!Serial); // Wait for serial port to connect
    // – used on Leonardo, Teensy and other boards with built-in USB CDC serial connection
    #endif
    if (Usb.Init() == -1) {
    Serial.print(F(“\r\nOSC did not start”));
    while (1); //halt
    pinMode(incomingAudio, INPUT); // set pin A0 to be input

    }
    }

    void loop() {

    Usb.Task(); // The SPP data is actually not send until this is called, one could call SerialBT.send() directly as well

    (SerialBT.connected); {
    incomingAudio = analogRead(A0);
    SerialBT.println((incomingAudio)); // Send INCOMING AUDIO
    }
    {
    if (Serial.available())
    SerialBT.write(Serial.read());
    if (SerialBT.available())
    Serial.write(SerialBT.read());
    }
    }

  4. Hello,

    Have you taken a look at the example code included with the library? It demonstrates all of the functions that are used with the controller. If your crane uses servos, all you will need to do is map the controller data to the servos. My RC car code on this website demonstrates this.

  5. Hello, sorry for my bad English, I’m Brazilian. I’m setting up a crane project, the control will be done by Arduino, but I’m a beginner in that. I wanted to know how I do the commands and everything to use the ps3 control or the new control of xbox one s that has bluetooth, my email is leandro.mf@live.com, and if you can help I thank you very much.

  6. hello there, you have done a great job in this project. good work.

    i am doing a project similar to this . but i am not using bluetooth device . i want to control it through joystick via ZigBee (xBee) and my motors are not excle one. these are simple dc motors. i want to control the robot through joystick and trasmitt data via Zigbee.

    if you can reply me soon that would be of great help. Thankyou.
    (sorry for bad english)
    regards.

  7. Hi Ricardo,

    I do not see a difference in the two lines of code that you included in your comment (it looks like the pin numbers are missing). I have had trouble posting certain symbols before (as they get interpreted as HTML code). Try sending the same text to my email: binderies@gmail.com. Until I can see the code I won’t be much help.

    Regards,

    Barrett

  8. Hey i had a quick question and I am having trouble using the Arduino mega and the USB host shield. On the the USBcore.h file I modified the code to:

    typedef MAX3421e MAX3421E; // Official Arduinos (UNO, Duemilanove, Mega, 2560, Leonardo, Due etc.), Intel Edison, Intel Galileo 2 or Teensy 2.0 and 3.0
    #endif

    Then, uploaded the board_qc sketch to check if everything was operating fine, but nothing was working. From there, I started testing a few things and when I modify the code to

    typedef MAX3421e MAX3421E; // Official Arduinos (UNO, Duemilanove, Mega, 2560, Leonardo, Due etc.), Intel Edison, Intel Galileo 2 or Teensy 2.0 and 3.0
    #endif

    And I upload the board_qc sketch and everything is working good. I don’t know, find it strange that when you change the pins to it works. So my question is if it only works when i change the pins to and everything is working fine so what pins is the USB host shield actually using for communication with the Arduino mega? Is there any fix?

    Thank you for time

  9. Hi Baran,

    If you open the library folder and search for “rumble” in the keywords.txt file, you will find the following keywords: “setRumbleOff KEYWORD2”, “setRumbleOn KEYWORD2”, “RumbleHigh LITERAL1”, “RumbleLow LITERAL1”.
    If you open the PS3BT.cpp file and search for “rumble” you will find the two functions (KEYWORD2) listed in keyboards.txt (i.e. PS3BT::setRumbleOff() and PS3BT::setRumbleOn(Rumble mode)). It appears that you call setRumbleOff() to turn vibration off, and setRumbleOn(RumbleHigh OR RumbleLow) to turn the vibration on. I do not have the required hardware on me to test this at the moment, but I’m guessing these commands will work. The following commands compile for me:

    PS3.setRumbleOff();
    PS3.setRumbleOn(RumbleHigh);
    PS3.setRumbleOn(RumbleLow);

    Where “PS3” is an instance of PS3BT.

    I hope this helps.

    Regards,

    Barrett

  10. Hi Martyn,

    No, that is not normal. The only thing I can imagine that would cause this is if data was not being received from the controller properly. I would suggest contacting the library developers.

    Regards,

    Barrett

  11. Hi Barret
    I have successfully connected a Sixaxis controller via a bluetooth dongle and I am getting data from the controller as expected. However the joystick appears to stream continuously – is this normal. Thanks for the video instruction- it really helped

  12. Hello, can some help me in creating a Arduino code. I have a Arduino maga, motors control shield, and a USB shield. I want to be able to use a PS3 analog controller to control 2 DC motors. Where one motors works of Up and Down while the other motors works on Left to Right.

  13. Bill,

    From what I understand from your comment, you should be able to use an Arduino UNO for your project as long as you use an external power supply for your servos. The Arduino will not be able to source enough current to power four servos. You should be able to drive four servos easily using this library (it is included with the Arduino IDE): http://arduino.cc/en/reference/servo. Control of servo movement is explained in the link provided. As for your photocell, as long as you are familiar with analogRead (http://arduino.cc/en/Reference/AnalogRead) you should be able to use a photocell to trigger your servos.

    Regards,

    Barrett

  14. hi there just would like to fine out what this arduino uno? does and how because i like to use some servos . the FOUR are going to to be used to run a coal loader one for the shutter valve and one for the chute on two different lines .so i guess im asking if i can use a double pole switch springing back to center ?so one can toggle down the chute and then use another to open the shutter valve with servo then toggle one up to close the valve with servo using the arduino? to regulate how far the movement on servos all FOUR will be used at different times and if you think i can use the arduino what one or system should i use . I do have a system that is not hooked up yet and that system is for a model train signal semaphore the goes up stops then will go up to green all is done with photo cells and a programable circuit board that starts and stops at different times it goes for 115.00 $ and that is all run buy the cells and power . so hope its not to much ? thanks

  15. Hi slamnj,

    Finding dongles that work is difficult. Even though those should work, it seems to depend on the batch. If I remember correctly, I purchased mine from the eBay link (on the post). However, of the two dongles I purchased from the eBay link, one arrived broken. The dongles from you link should work, but I cannot guarantee it. I would suggest ordering dongles from multiple places and testing them until you find one that works. I would also suggest referring to the following website, which is by the developers of the USB host shield: http://www.balanduino.net/home. They sell kits that include dongles, so you may want to ask them where they get theirs.

    Regards,

    Barrett

  16. Hello Navya,

    I believe so. The PSoC5 has both SPI and I2C capability, so as long as you are able to write code equivalent to mine, you should be able to replicate my results.

    Regards,

    Barrett

  17. Hi.. I have seen your project “3d accelerometer using ardiuno..can u do that using psoc5?

  18. Harry,

    That could be a result of a number of things. Have you read your ESC’s manual. There should be information on what the beeping patterns mean.

  19. Hey Barret, Im trying to control and ESC though a PS3 controller using the UNO.
    When I power on the ESC, it keeps beeping constantly. Is this normal?
    What must I do in order to stop the beeping?

  20. The code you have will compile if you have installed the USB host shield library properly. So far everyone who has reported problems like you describe have had these errors because they failed to install the USB host shield library correctly. See this post for instructions.

  21. Hey I was working on the PS3 controlled RC car and with the code provided there were just lined and lines of errors can you help of send me your code that will compile.

  22. syedidros,

    If you’re trying to measure impact then you will want to record the G’s experienced by the object in question. You can do this using an accelerometer and recording the data on an SD card (via an SD card shield). If you’re interested in this method there are some sources I can provide.

    Barrett

  23. Hy bro, great works you ‘ve here. I actully have a ADXL355 sensor that works along with arduino and I’m supposed to do a project in the collage that aims to detect the position of the person by using this sensor, any thought you would share it with me i will soo thankful.

  24. hi Barret,

    I am looking for some advice on how to design a impact measuring system using arduino uno. can you help me?

  25. Hi Gyasi,

    Are you referring to my project with the RC car? If so, I’ve posted a link to my code under the embedded video.

  26. Hi there, I completed a similar project, my project was the arduino uno, bluetooth dongle, USB shield, PS3 controller and the motor shield. I don’t have any coding experience and the project halted. Do you have the code you used and would you share it. I would like to see this thing work other that the sample arduino codes I have used. Thanks so much

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s