Showing posts with label Arduino. Show all posts
Showing posts with label Arduino. Show all posts

Monday, 27 January 2014

"If you can't fix it with a hammer, you've got an electrical problem"



Well it looks like we've got an electrical problem then.  After a long spell of debugging communication issues between the Arduino and the BeagleBone, we had run into another challenge: the GPS.
Pictured above the team has taken the Arctica (the boat) and her sensors outdoors to see if we can get a fix with the GPS.  The GPS is the eyes of Arctica and without it  she would loose all sense of purpose in her life. At the time we couldn't get the GPS to pick up any satellites and thus couldn't get a fix. Either the GPS itself (hardware) or somewhere within the many lines of code that Daniel has hand crafted (software), something wasn't working.

After some background research on the GPS and how it works, along with a new GPS, we managed to get a proper fix.  However nothing is ever easy and we are now faced with the task of sending the way points from the Arduino to the BeagleBone for course plotting.  This involves setting up the "mailing procedure" of the data. This procedure lets the BeagleBone know what it should be receiving (GPS coordinates) and tells it not to sign for the parcel if it thinks it's getting garbage data.

Guess we'll be giving the hammer a rest for a bit. Although some days I'm sure Dan feels that a little persuasion here and there wouldn't hurt.


Wednesday, 21 March 2012

Electronics Rev2

We've recently put together our new electronics package.  It is essentially a breakout board for all of the different off the shelf boards we use. Check it out!  It has a Seeedstudio Arduino Mega as the master controller, a 3.5A 5V switching regulator from Pololu, SD Card data logging, 4x 12A motor controllers.  The motor controllers are controlled by two Arduino Pro Mini's (2 motor controllers to each mini) which take quadrature encoder signals as feedback for motor position and current feedback for torque limiting and control.  Big improvement over our previous protoboard ratsnest.
Our second generation wind sensor is almost put together as well.  It uses a AS5040 magnetic encoder chip.  So far the whole thing weighs less than 15g. (ignore the mastic tape I needed something to hold the vane on temporarily)  It outputs a pulse at 1kHz equal with the width equal to the orientation of the magnet attached to the wind vane shaft.