Joined: May 20, 2011 Posts: 17 Location: US East Coast
Posted: Mon Jun 27, 2011 3:27 pm Post subject: Building and using the Bridge
I'm getting ready to build the Bridge and have a couple of questions.
1. Looking at the code source, it appears that the serial LCD connectors were used in an earlier version (pre-3.5) version of the bridge and may be used rather than the 4 line LCD which is directly mounted on the board.
2. I assume I can change the source to send data to both the built-on 4 line LCD and a simpler 2 line LCD to be located in my V-berth.
3. It looks like you put silicone on your capacitors when you build your bridges. Why?
I like your code. You have been very thorough and provided ewnough comments for me to see how it works. thank you
Joined: Mar 26, 2006 Posts: 419 Location: Mannheim / Germany
Posted: Tue Jun 28, 2011 11:04 am Post subject: Re: Building and using the Bridge
jferguson wrote:
1. Looking at the code source, it appears that the serial LCD connectors were used in an earlier version (pre-3.5) version of the bridge and may be used rather than the 4 line LCD which is directly mounted on the board.
That's correct. Both - the serial line and the 4-line parallel connection are available in the hardware and in the software.
In the software, you can select which connection to use by setting a proprocessor variable in the "global.h" file.
#define LCD_PARALLEL = 4 line parallel mode
/* #define LCD_PARALLEL */ = serial mode.
The serial mode takes a little bit more space in software. Since processor memory is pretty much all used up, it can be necessary to disable some other functions in order to get enough space for the serial display mode.
jferguson wrote:
2. I assume I can change the source to send data to both the built-on 4 line LCD and a simpler 2 line LCD to be located in my V-berth.
Sure. You find the LCD Display routines in stalk.c
If you you more detailed info - let me know.
jferguson wrote:
3. It looks like you put silicone on your capacitors when you build your bridges. Why?
Just to protect the capacitors form mechanical vibrations and to improve mechanical stability of the board.
jferguson wrote:
I like your code. You have been very thorough and provided ewnough comments for me to see how it works. thank you
Thank's. I think you can never have too much comments. I should have even more
Last edited by FWallenwein on Wed Jun 29, 2011 8:39 am; edited 1 time in total
Joined: May 20, 2011 Posts: 17 Location: US East Coast
Posted: Tue Jun 28, 2011 10:48 pm Post subject:
Frank,
thanks for the answers. I built mine last night and it seems to work fine. I don't always get things right the first time, but I took unusual care and didn't work on it too late at night.
I wonder if you have archives of discussions about the code? I ask, because it would waste much less of your time if I read what other people have asked about.
But one question. Is it possible to interrogate the bridge with the terminal to see what the configuration is already set to? maybe something like
$SNBSE,0
Joined: Mar 26, 2006 Posts: 419 Location: Mannheim / Germany
Posted: Wed Jun 29, 2011 8:39 am Post subject:
John,
Quote:
But one question. Is it possible to interrogate the bridge with the terminal to see what the configuration is already set to? maybe something like
$SNBSE,0
Yes, with the terminal, you can read the setting.
Just type
$SNBSE,0<ENTER>
the bridge will reply
$SNBSE,0,0.000 or $SNBSE,0,0.001 .....
or
$SNBSE,2<ENTER>
the bridge will reply
$SNBSE,0,0.005
( I know - should be $SNBSE,0,1 instead of 0.001 - but that's something I'll habe to fix in one of the next software releases. )
Quote:
I wonder if you have archives of discussions about the code? I ask, because it would waste much less of your time if I read what other people have asked about.
Unfortunately not. Actually there haven't been very may discussions about code. 99.9% of the users just want to have a fully assembled and working bridge.
Every bridge comes with the sources - but there is virtually no feedback regarding the sources.
I wish more users would change or extend or work with the software - but that's very rare.
Joined: May 20, 2011 Posts: 17 Location: US East Coast
Posted: Sat Jul 02, 2011 10:14 pm Post subject:
Frank,
The parts have now been made into a working Bridge. It is connecting a Garmin 152 GPS, a Raymarine ST40 Wind Indicator, and a Raymarine ST40 depth sounder, sending this information to a 13 year old Comapq Armada m300 by serial connection. The Armada is transmitting it to a Cellular router and to the HP notebook I'm writing this from. The software on the Armada and this HP is PolarCom which is free at Polarnavy.com. I use PolarView for navigation and driving the autopilot. It works a little bit like SeaClear but runs directly on Linux and allows display of more than one track at same time - important if you run in the same shallow water all the time.
The bridge is installed in a box. Cutting a clean hole for the LCD was the challenge it always is. I have an on-off switch for the 12 volts and a double pole - double throw switch to select navigation or bi-directional computer control for when I get into program modification.
I'm looking into adding a compass module - located away from the bridge so i can have heading information when the boat isn't running.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum