Added: 1 year ago
From: fergalreid
Views: 9,568
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (15)

Sign In or Sign Up now to post a comment!
  • well done mate i was wondrin if you could help me a little with the ardunio i making a similar thing but with a rc plane with of course a arial atachment for thr bluetooth

    pleas ereply

  • Very good!!

  • where did you get the pins ???? i need to buy some for my bluesmirf

  • @cnks1

    Don't remember - probably the same website I got the bluesmirf BT chip. You buy them in a row, split them up, and solder them on. Search for 'break away headers'.

    For example: adafruit.com/products/400 or sparkfun.com/products/116

  • that,s fantastic your pritty smart . my buddy got a fearrow the engin gets so hot

    the electrical components are getting brittal . so i was thinking

    blooth electronical components

  • Comment removed

  • Comment removed

  • @Menimitz You asked about sending commands continuously, rather than via the terminal that comes with the software.

    As you've probably figured out, while the Arduino development software does allow you to send commands by typing into the terminal, you can also open the Serial port using other software, and so write to it much more quickly.

    I was actually using some python code to send commands over a bluetooth serial interface.

    The python read the PS2 controller, and wrote to serial port.

  • @fergalreid I finally found I had serial terminal software this entire time. I have been using PuTTY for SSH but never knew it would work for this as well. The problem I had been having with my Bluetooth before that was BAUD rate problems. The documentation said it was one thing, but turns out it was actually using another.

  • how did you wired the laser ?

  • @djmohnl Very simply - I just connected one wire from the laser to ground, and the other laser wire to one of the arduino digital out pins (pin2). I then wrote pin2 HIGH to turn on the laser, and LOW to turn it off.

    Maybe I should have used resistor and capacitor to smooth the input to the laser - but the arduino seems to be providing well behaved power, and the cheap laser seems robust in practice.

    Just building the car for fun, I had no trouble with it.

  • Comment removed

  • @fergalreid hey can you please do a more in depth tutorial of how you wired the ps2 controller to the computer, and how to use an arduino to control the car? thx

  • @FutebolFanatico001 I can't go through it in full detail - it'd take weeks to write everything out - but I can try answer specific questions.

    For physically connecting the PS2 controller to the PC, I used a piece of commonly available hardware - there are loads of PS2->USB converters out there (try ebay), very cheap.

    It then took a few minutes work to get the Pygame software library to interface with that controller.

  • @FutebolFanatico001 Using the Arduino to control the car is more involved.

    I've tried to give an overview of how the whole process works in the video here, and the description - if you have specific questions, I'll answer them, but it'd take me ages to try and explain the whole process in detail - maybe I'll get around to making a tutorial in future, but no promises - there's great info out there on this sort of thing, online, though.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more