DIY Autohelm ST4000+ Remote ControlPURPOSE:I basically wanted to create a remote control for my Raymarine ST4000+ for under $100.00.This remote is to
#include <RCSwitch.h>int ledPin = 13; // LED connected to digital pin 13int NO = 0;int YES = 1;int HIGHH = 1;int LOWL = 0;
delay(100); // programming delayif (mySwitch.available()){int value = mySwitch.getReceivedValue(); // get key fob value w
14.) Make sure you check all your wiring and the power connections are of the right polarityotherwise the magic smoke may escape.15.) Next download th
#define LAMP_OFF 0x00#define LAMP_ON 0x0C#define PLUS_ONE 0x07#define MINUS_ONE 0x05#define PLUS_TEN 0x08#define MINUS_T
digitalWrite(SEATALK_TX_OUT, LOWL); // allow output to floatif (mySwitch.available()){int value = mySwitch.getReceivedValue(); // get key fob value wh
}mySwitch.resetAvailable();}}void SendKeystrokeMsg ( int cData ){int cError;do {CheckBus(); // wait for bus to be idledigitalWrite(ledPin, HIGHH); //
int SendBit ( int cError, int cBit ){int cX;// this is bit-banged code, it must be adjusted to give 208uS bit times (4800 baud)if ( cError != YES ) //
16.) Hook up the adaptor as described at the beginning of this project and run SEAMON1.exe.17.) Hook up your Arduino to the adaptor.18.) Next using th
19.) Next plug into your autopilot (Raymarine st4000+) at you own risk!20.) Press the remote buttons and see the results. I get about 25 feet reliably
Revision Aug 29, 2014Added a different Enclosure and finished picture.Enclosure is a Hammond 1591CSFLBK @ $5.95
Hardware Costs:Arduino Uno + ProtoType Shield (Free shipping) $18.00http://www.ebay.com/itm/NEW-UNO-R3-ATMEGA16U2-Board-Proto-Type-Shield-For-Arduino-
315 MHZ Receiver $5.00http://www.adafruit.com/products/1098
315 4 Button Transmitter $7.00http://www.adafruit.com/products/1095
Enclosure $9.00http://www.ebay.com/itm/Arduino-Project-Box-Official-Arduino-Enclosure-Case-/321421439488?pt=Educational_Toys_US&hash=item4ad635f20
Raymarine Flat Plug (Optional) $30.00http://www.defender.com/product3.jsp?path=-1|344|2028705|2028871&id=98747You can find used on Ebayhttp://www.
The adapter shown will help you with diagnosing problems. The circuit is shown is from the ThomasKnauf page http://www.thomasknauf.de/rap/seatalk3.htm
Construction:1.) Assemble the prototype shield2.) Unsolder the existing Header pins from the Receiver (optional). If you don’t, the receiver will sita
Connect the power and ground of the receiver to the power and ground connections on theShield. Also solder one end of a wire to pin 14 on the receiver
Komentáře k této Příručce