Using A Playstation 2 Controller with your Arduino Project
Le Mon 16 May 2016
Because of the interest, in my "PS2 Controller Sketch for ESCs and Stuff" page, I decided to write a more comprehensive guide for using the Playstation 2 controllers on Arduino based projects for the The Shed Magazine. They accepted it and published it in their February March 2016 issue. They have very kindly allowed me to include the article on my website, which is what this page is all about. You will find a link to a downloadable version of the article as published as well as the code and hi-res images of all diagrams produced.
Lire la suite - Read More …Par Hamish Trolove, Catégorie : Tech Projects
Tags : Arduino / PS2 / Playstation / ESC / Servo /
Autres articles
ROV Control Sketches – Fourth Edition
Le Mon 04 April 2016
This update is the eighth edition of the ROV control sketches. This update includes modifactions to the circuit boards and code to accommodate an i2C bus which the MS5803-14BA Depth Sensor and HMC5883L Digital Compass connect to.
Par Hamish Trolove, Catégorie : Tech Projects
Tags : ROV / Arduino / PS2 / Playstation / ESC / Servo / Camera / Electronics / Communication /
Lire la suite - Read More …Arduino Library Collection
Le Thu 21 January 2016
Throughout my various Arduino-based projects I have made use of quite a number of excellent libraries that are not part of the standard Arduino IDE. To future proof these projects against the original sources of these libraries disappearing or updated libraries not working for these projects I have collected up the various libraries I have used and will host them here. In the first instance I would suggest going to the original sources for these libraries for the most up to date versions. The versions I am hosting here will not be updated.
Par Hamish Trolove, Catégorie : Tech Projects
Tags : ROV / Arduino / Pressure / Electronics / Sensors / Communication / Playstation / PS2 / Serial / I2C /
Lire la suite - Read More …ROV Control Sketches – Third Edition
Le Wed 26 August 2015
This update is actually the seventh edition of the ROV control sketches brought about by the hardware being mounted on the frame, with a proper tether and with the camera in place. These updated editions now have the motors turning in the correct direction to get the best out of the ESCs in the direction that most matters. It also implements proper triggering for the Horyzon v3 camera and introduces some work arounds to fix a mismatch between what the camera says it is doig and what the topside indicator LEDs are indicating. On this last point, the onscreen cues for the camera status are a better indication of what it is doing than the topside LEDs, so these will be eliminated from the sketch and circuit in a later edition.
Par Hamish Trolove, Catégorie : Tech Projects
Tags : ROV / Arduino / PS2 / Playstation / ESC / Servo / Camera / Electronics / Communication /
Lire la suite - Read More …ROV Control Sketches – Second Edition
Le Wed 18 February 2015
Well …. actually this is the fifth edition of the sketches seeing as they have evolved somewhat with the addition of better displays, more sensors, and more data being fed back to the topside station. So this page describes the two Arduino sketches and associated circuits have been developed to feed control commands between the operator using a PS2 controller handset and the ROV. The sketches and designs presented here are the basics required to run the ROV but have better developed data exchange between the two Arduinos. The circuits and sketches have been successfully tested on dry land with the 100m CAT5 cable tether in place.
Par Hamish Trolove, Catégorie : Tech Projects
Tags : ROV / Arduino / PS2 / Playstation / ESC / Servo / Camera / Electronics / Communication /
Lire la suite - Read More …ROV Control Sketches – First Edition
Le Wed 21 January 2015
Two Arduino sketches and associated circuits have been developed to feed control commands between the operator using a PS2 controller handset and the ROV. This brings together a number of the development sketches. The sketches and designs presented here are the basics required to run the ROV and have been successfully tested on dry land with the 100m CAT5 cable in place.
Par Hamish Trolove, Catégorie : Tech Projects
Tags : ROV / Arduino / PS2 / Playstation / ESC / Servo / Camera / Electronics / Communication /
Lire la suite - Read More …PS2 Controller Sketch for ESCs and Stuff
Le Wed 22 October 2014
The ideal controller for this ROV is a wired Playstation 2 controller. Luckily they are still made and there is a library for the Arduino to talk to them. This description is for a development sketch to take input from the PS2 controller and actuate a bunch of servos and light some LEDs to simulate the systems onboard the ROV. The program is constructed to allow for easy transfer into the Master and Slave sketches that will ultimately be based on this.
Par Hamish Trolove, Catégorie : Tech Projects
Tags : ROV / Arduino / PS2 / Playstation / ESC / Servo /
Lire la suite - Read More …PS2 Controllers on Arduinos
Le Tue 17 June 2014
It appears that the Playstation 2 controllers are still actively produced and sold for very good prices. Because they are packed with quite a number of switches, and some excellent joysticks all in a well designed package they seem like a ideal choice for controlling the ROV. This page describes connecting the PS2 controllers to an Arduino.