Winter Project

You know the drill..

Moderators: Redneck_Randy, badmoonrising, lakerunner

Message
Author
User avatar
BobG
Posts: 1842
Joined: Mon May 14, 2012 6:24 am
Location: Gilpin County, CO

Winter Project

#1 Post by BobG » Fri Feb 27, 2015 11:02 am

OK, so I've built a bow thruster for the pontoon.
Being the electronic hobbyist that I am (now that I am no longer an electronic engineer), it just makes sense that I would build a microcontroller-based control box for it.

It's mostly complete!
ThrustArmController.jpg
ThrustArmController.jpg (319.33 KiB) Viewed 4402 times
2012 Tahoe 24' Fish-n-Fun Tritoon, with Mercury 115 HP 4-Stroke
"Trine SS Cape" (Trying 2S Cape)
Add a battery: viewtopic.php?t=13546&p=105893#p105893
I'm not a liberal, but I play one on this site.

User avatar
woolznaz
Posts: 752
Joined: Tue Jul 21, 2009 7:42 am
Location: Carefree, Arizona

Re: Winter Project

#2 Post by woolznaz » Fri Feb 27, 2015 11:25 am

Uh-oh..... man, I don't want to "one up" you, Bob, but I'm not sure about that micro-controller. I would have gone macro.... but that's just me. 220/221, whatever it takes. :biggrin2

Seriously, this is really cool. I look forward to seeing how this works out and seeing the "business end" of what it is powering. Keep the photos and info coming and thanks for sharing!
2007 South Bay 925 Tri-toon
5.7 Volvo I/O
Tow Vehicle: Toyota Tundra, 1794 Edition

User avatar
BobG
Posts: 1842
Joined: Mon May 14, 2012 6:24 am
Location: Gilpin County, CO

Re: Winter Project

#3 Post by BobG » Fri Feb 27, 2015 11:28 am

Let's see if I can post the business end again...
20140505_070941[1].jpg
20140505_070941[1].jpg (86.57 KiB) Viewed 4314 times
2012 Tahoe 24' Fish-n-Fun Tritoon, with Mercury 115 HP 4-Stroke
"Trine SS Cape" (Trying 2S Cape)
Add a battery: viewtopic.php?t=13546&p=105893#p105893
I'm not a liberal, but I play one on this site.

User avatar
BobG
Posts: 1842
Joined: Mon May 14, 2012 6:24 am
Location: Gilpin County, CO

Re: Winter Project

#4 Post by BobG » Fri Feb 27, 2015 11:37 am

So it works. I just used a bunch of relays to control it last season, and a 200 pound actuator - which I had some issues with burning out actuators. Now, with a microcontroller monitoring the progress of the actuator, and the current it's drawing (and an upgrade to a 1,000 pound actuator), I don't expect to have any more issues with THAT!
2012 Tahoe 24' Fish-n-Fun Tritoon, with Mercury 115 HP 4-Stroke
"Trine SS Cape" (Trying 2S Cape)
Add a battery: viewtopic.php?t=13546&p=105893#p105893
I'm not a liberal, but I play one on this site.

Blessed
Posts: 116
Joined: Tue Sep 02, 2014 7:43 am
Location: Tims Ford Lake, TN

Re: Winter Project

#5 Post by Blessed » Sun Mar 01, 2015 8:12 pm

Awesome! Keep us posted on your progress!!!
2010 Sun Tracker 21' Fishin' Barge 90hp Optimax
2003 Chevrolet Silverado Z71
2000 Georgie Boy Cruise Master
Acts 16:31 (KJV)

User avatar
tuned
Posts: 1259
Joined: Wed May 26, 2010 11:40 pm

Re: Winter Project

#6 Post by tuned » Mon Mar 02, 2015 1:31 pm

Ur my hero Bob. I've been reading into Arduino etc...trying to squish the techonology into a remote water-cannon controller. My poor old head is starting to swim. Maybe when I was young and mentally flexible
ToddBob
'Al the Mirthmaker' (The Third)
Build-- viewtopic.php?f=16&t=14007
Rainy Lake/Voyageurs National Park
International Falls, MN

User avatar
BobG
Posts: 1842
Joined: Mon May 14, 2012 6:24 am
Location: Gilpin County, CO

Re: Winter Project

#7 Post by BobG » Tue Mar 03, 2015 1:08 pm

The PicAxe microcontrollers are super simple to work with. It's really weird to be programming in BASIC, but one language is as good as the next, as far as I'm concerned. Talk about dichotomy - I program in C#.NET at work. While I've never programmed in BASIC for a living, it's the first language I learned, back in 1973 or so.

It doesn't LOOK like the BASIC I learned 42 years ago!

if ArmDownSwitchIn = 1 then
; Lower the arm
if ArmStatus != StatusDown then
ArmDirection = DirectionDown
DesiredPulseCount = 0
Gosub MoveArm
endif
else
; Raise the arm
if ArmStatus != StatusUp then
ArmDirection = DirectionUp
DesiredPulseCount = 0
Gosub MoveArm
endif
endif
2012 Tahoe 24' Fish-n-Fun Tritoon, with Mercury 115 HP 4-Stroke
"Trine SS Cape" (Trying 2S Cape)
Add a battery: viewtopic.php?t=13546&p=105893#p105893
I'm not a liberal, but I play one on this site.

User avatar
tuned
Posts: 1259
Joined: Wed May 26, 2010 11:40 pm

Re: Winter Project

#8 Post by tuned » Wed Mar 04, 2015 6:00 am

BobG wrote:The PicAxe microcontrollers are super simple to work with. It's really weird to be programming in BASIC, but one language is as good as the next, as far as I'm concerned. Talk about dichotomy - I program in C#.NET at work. While I've never programmed in BASIC for a living, it's the first language I learned, back in 1973 or so.

It doesn't LOOK like the BASIC I learned 42 years ago!

if ArmDownSwitchIn = 1 then
; Lower the arm
if ArmStatus != StatusDown then
ArmDirection = DirectionDown
DesiredPulseCount = 0
Gosub MoveArm
endif
else
; Raise the arm
if ArmStatus != StatusUp then
ArmDirection = DirectionUp
DesiredPulseCount = 0
Gosub MoveArm
endif
endif
Thx Bob. I looked up PicAxe and it does look marginally easier to muddle through. It also looks like the chip could be flashed via USB, which would simplfy things greatly. I remember (vaguely) working with BASIC in the dark ages as well (along with playing Oregon Trail on the phone modem. My family always starved in the mountains). It looks like it has been modified a bit for PicAxe but nothing too brutal. Thank god no C+ for me :nana
I've got a friend fresh from the service with a bunch of drone/robotics programming in him. He may be able to shed some light on my options as well.
ToddBob
'Al the Mirthmaker' (The Third)
Build-- viewtopic.php?f=16&t=14007
Rainy Lake/Voyageurs National Park
International Falls, MN

User avatar
BobG
Posts: 1842
Joined: Mon May 14, 2012 6:24 am
Location: Gilpin County, CO

Re: Winter Project

#9 Post by BobG » Wed Mar 04, 2015 2:56 pm

tuned wrote:I looked up PicAxe and it does look marginally easier to muddle through. It also looks like the chip could be flashed via USB, which would simplfy things greatly.
Exactly. I tweak the code, and write it back to the chip, which immediately starts executing it. Makes for very easy debugging and incremental development. Very cool that you have direct control of the input and output pins from BASIC (and analog to digital conversion as well!)
2012 Tahoe 24' Fish-n-Fun Tritoon, with Mercury 115 HP 4-Stroke
"Trine SS Cape" (Trying 2S Cape)
Add a battery: viewtopic.php?t=13546&p=105893#p105893
I'm not a liberal, but I play one on this site.

User avatar
tuned
Posts: 1259
Joined: Wed May 26, 2010 11:40 pm

Re: Winter Project

#10 Post by tuned » Wed Mar 04, 2015 5:26 pm

BobG wrote:
Exactly. I tweak the code, and write it back to the chip, which immediately starts executing it. Makes for very easy debugging and incremental development. Very cool that you have direct control of the input and output pins from BASIC (and analog to digital conversion as well!)
And they say that all libs are brain-dead :rofl
ToddBob
'Al the Mirthmaker' (The Third)
Build-- viewtopic.php?f=16&t=14007
Rainy Lake/Voyageurs National Park
International Falls, MN

User avatar
woolznaz
Posts: 752
Joined: Tue Jul 21, 2009 7:42 am
Location: Carefree, Arizona

Re: Winter Project

#11 Post by woolznaz » Wed Mar 04, 2015 5:59 pm

Where is the button to switch the thread language back to English?
2007 South Bay 925 Tri-toon
5.7 Volvo I/O
Tow Vehicle: Toyota Tundra, 1794 Edition

margaritaman
Posts: 6078
Joined: Tue Feb 16, 2010 3:37 pm
Location: Florida

Re: Winter Project

#12 Post by margaritaman » Wed Mar 04, 2015 6:21 pm

woolznaz wrote:Where is the button to switch the thread language back to English?
Press 1
Cruising the salt waters of East Florida.

User avatar
woolznaz
Posts: 752
Joined: Tue Jul 21, 2009 7:42 am
Location: Carefree, Arizona

Re: Winter Project

#13 Post by woolznaz » Wed Mar 04, 2015 8:59 pm

margaritaman wrote:
woolznaz wrote:Where is the button to switch the thread language back to English?
Press 1
:biggrin2
or "marque uno"
2007 South Bay 925 Tri-toon
5.7 Volvo I/O
Tow Vehicle: Toyota Tundra, 1794 Edition

User avatar
BobG
Posts: 1842
Joined: Mon May 14, 2012 6:24 am
Location: Gilpin County, CO

Re: Winter Project

#14 Post by BobG » Thu Mar 05, 2015 10:39 am

woolznaz wrote:Where is the button to switch the thread language back to English?
For C# (C sharp) SetLanguage(string langval);
For FORTRAN, call SetLanguage(1)
For Pascal, throw out your shift key and enter some curly braces...or something like that.
For COBOL multiply your age by your weight returning gibberish.

:roll:
2012 Tahoe 24' Fish-n-Fun Tritoon, with Mercury 115 HP 4-Stroke
"Trine SS Cape" (Trying 2S Cape)
Add a battery: viewtopic.php?t=13546&p=105893#p105893
I'm not a liberal, but I play one on this site.

User avatar
woolznaz
Posts: 752
Joined: Tue Jul 21, 2009 7:42 am
Location: Carefree, Arizona

Re: Winter Project

#15 Post by woolznaz » Thu Mar 05, 2015 3:25 pm

BobG wrote:
woolznaz wrote:Where is the button to switch the thread language back to English?
For C# (C sharp) SetLanguage(string langval);
For FORTRAN, call SetLanguage(1)
For Pascal, throw out your shift key and enter some curly braces...or something like that.
For COBOL multiply your age by your weight returning gibberish.

:roll:
I thought you were leading me down the wrong path there for a minute, BobG, but then I realized that was all in Kelvin and I was using Celsius, which was further complicated by not correcting for time zones. Silly me! Oh, and when I multiplied my age by my weight my computer started smoking. Is that a bad sign? :biggrin2

Now, carry on you mad scientists. I'm sorry for dumbing down your thread.

I love your project, by the way. I'm sure some windy day on the water while docking in front of a crowd in tight quarters I'm going to wish I had the brains to duplicate it!
2007 South Bay 925 Tri-toon
5.7 Volvo I/O
Tow Vehicle: Toyota Tundra, 1794 Edition

Post Reply