This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using moitessier hat and GPIO
#1
Sailors,
Winter is upon us and it's time to plan for next season. I've been tinkering with OP and A RPI 3 for a while, and plan to launch my setup next season. Before moving on, I have one question I need some assistance with. I plan to buy the HAT as soon as it is available, but I also would like to use the GPIO's for sensors and switches. Is there a common breakout board or how do you guys solve this? Pictures anyone?
Best regards,
Ranur
Reply
#2
i use node red and an arduino with firmata for extra gpio pins.
Reply
#3
(2019-10-24, 07:37 PM)jim321 Wrote: i use node red and an arduino with firmata for extra gpio pins.

So - for a newbie... You are essentially replicating the GPIO port through an Arduino which you then connect to the USB hub of your RPI? That simple? And then you connect the 1W, your input/output sensors to the Arduino? :-D Can you use several Arduinos or just one?
Reply
#4
i use the pin on the raspberry pi for 1wire i dont have a moitessier hat so its not a problem
as for the arduino i have had 3 connected at once two mega's 1 nano .powered with a usb hub
one mega was used for canbus the other was for sensors switches and relays the nano was for pypilot
ive used gas sensors pir sensors lots of different switches " float,magnetic toggle" and relays.thru out my testing.
Reply
#5
(2019-10-23, 09:00 PM)Ranur Wrote: Sailors,
Winter is upon us and it's time to plan for next season. I've been tinkering with OP and A RPI 3 for a while, and plan to launch my setup next season. Before moving on, I have one question I need some assistance with. I plan to buy the HAT as soon as it is available, but I also would like to use the GPIO's for sensors and switches. Is there a common breakout board or how do you guys solve this? Pictures anyone?
Best regards,
Ranur
I use an esp32 and send the data as signalk over wifi, works really well and means you font have to go near the fragile Pi gpio pins.

Sent from my SM-T813 using Tapatalk
Reply
#6
(2019-10-23, 09:00 PM)Ranur Wrote: Sailors,
Winter is upon us and it's time to plan for next season. I've been tinkering with OP and A RPI 3 for a while, and plan to launch my setup next season. Before moving on, I have one question I need some assistance with. I plan to buy the HAT as soon as it is available, but I also would like to use the GPIO's for sensors and switches. Is there a common breakout board or how do you guys solve this? Pictures anyone?
Best regards,
Ranur

Hi, have a look at this tread: http://forum.openmarine.net/showthread.p...807&page=9
Reply
#7
Wink 
(2019-10-25, 05:57 AM)PaddyB Wrote:
(2019-10-23, 09:00 PM)Ranur Wrote: Snip...
I plan to buy the HAT as soon as it is available, but I also would like to use the GPIO's for sensors and switches. Is there a common breakout board or how do you guys solve this?
I use an esp32 and send the data as signalk over wifi, works really well and means you font have to go near the fragile Pi gpio pins.
So compared to Jim's suggestion. The advantage of using an esp 32 is the wireless connectivity, whereas the advantage of the Arduino is that I already have 12V in place on different connection points. I was planning to rebuild my boat circuitry - looks like I need to factor in not only 220V AC and 12 DC but also 5 V DC... Any hocus pocus to get the data from the esp32? Be gentle and explain it to me like I am dense ok..   Confused Blush
Reply
#8
So a solution like this http://signalk.org/2019/08/20/sensors-part-2.html except that the you use esp32 instead of the esp8266?
Reply
#9
(2019-11-01, 08:56 AM)Ranur Wrote: So a solution like this http://signalk.org/2019/08/20/sensors-part-2.html except that the you use esp32 instead of the esp8266?
Something like that. The esp32 is quite a powerful device though needs some power when transmitting wifi, not that hard to do with a decent size buck power supply.
It's actually very cheap these days to get PCBs made by jlcpcb.com, I'm looking at getting some more boards made up with voltage,current, barometer, temperature sensors - will share the link here.
Previous thread here - http://forum.openmarine.net/showthread.php?tid=1666

Sent from my SM-T813 using Tapatalk
Reply
#10
(2019-11-01, 09:33 AM)PaddyB Wrote:
(2019-11-01, 08:56 AM)Ranur Wrote: So a solution like this http://signalk.org/2019/08/20/sensors-part-2.html except that the you use esp32 instead of the esp8266?
Something like that. The esp32 is quite a powerful device though needs some power when transmitting wifi, not that hard to do with a decent size buck power supply.
It's actually very cheap these days to get PCBs made by jlcpcb.com, I'm looking at getting some more boards made up with voltage,current, barometer, temperature sensors - will share the link here.
Previous thread here - http://forum.openmarine.net/showthread.php?tid=1666

Sent from my SM-T813 using Tapatalk
You wouldn't happen to have a link to the sketch you are running on the esp32 do you? :-)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)