Тёмный
raspberry4sailing
raspberry4sailing
raspberry4sailing
Подписаться
Tutorials for Raspberry related projects at home, on a sailyacht or a campervan, Node-RED, sensors and... let's see!

All projects are done because I was keen to learn, play or create something useful. I did a tutorial to dig a bit deeper into the topic and to to share my findings in a pedagogically/didactically sound way.

Some are in German language, some in English. Enjoy, subscribe, leave a comment ;)
Комментарии
@pocahontaskowalski235
@pocahontaskowalski235 6 дней назад
Hallo... mir erschließt sich nicht wenn mittels OBD eine Strombegrenzung auf AGM eingestellt wird, die dann wiederum nicht greifen soll bei LiPo4!?!?! Hat dies mal jemand live nachgemessen??? Intelligente AGM Laderegler sollten selbst in max. Aufgedreht keiner LiPo4 schaden können! Zumal dortige Ströme eher die LM überlasten würden! ...ich merk schon, ich messe den demnächst einmal selber... bei anzunehmender gleicher Ladeschlussspannung kann das eigentlich nicht so sein! Danke für das Video, zumin ein Plan B ;)
@geezenslaw
@geezenslaw 11 дней назад
Hi Peter... thanks for the pre-programmed MAIANA... working quite well just need to get the device on my N2K backbone...
@HuibKuiper
@HuibKuiper 21 день назад
Dear Sir would it be possible to get your flow of the mpu9250 for node red the first part i could follow from your RU-vid movies but for the last parts i am lost thanks in advance huub
@Rich-can-do
@Rich-can-do Месяц назад
Really interesting. Ty for sharing.
@kemlogray7553
@kemlogray7553 Месяц назад
Please turn off the guitar noise so we can hear all the words not just 80%. Otherwise great commentary.
@afyusufi
@afyusufi Месяц назад
@sir-real thanks for sharing all the informative videos around open marine, please let us know if you ever decide to conduct a hands on event showing how to wire all the various boat electronics to the raspberry pi/ open plotter!
@Sir-Real
@Sir-Real 28 дней назад
Interesting idea, hands on event. But this would take a larger team for planning and conducting. But could be funny!
@sergioandresbenitezhernand2542
@sergioandresbenitezhernand2542 Месяц назад
what's it plotting?
@Sir-Real
@Sir-Real Месяц назад
I use OpenPlotter currently as a dashboard only (plus NMEA multiplexer). It shows position, time, wind speed and angle, boat speed and my solar data (charging current,.voltages).
@Reichi89
@Reichi89 Месяц назад
Hey Sehr gut und verständlich erklärt. Allerdings fehlt mir irgendwie ein direkter Schaltplan mit beiden Sensoren ☺️
@mattdog01
@mattdog01 Месяц назад
Hello, A man who has the same appreciations as I do, love it. I am interested inn adding a tilt compensated compass heading for my raspberry pi sailboat autopilot. Do you have a link to any code that would provide this functionality in python? Thanks for any help you can provide.
@Sir-Real
@Sir-Real Месяц назад
I would use the MacArthur HAT and the IMU connector: macarthur-hat-documentation.readthedocs.io/en/latest/i2c.html#internal I am now using an ICM-20948 instead of the MPU, which seems to work pretty well with PyPilot: openplotter.readthedocs.io/en/latest/pypilot/imu.html So, you get a lot onboard without spending too mich energy in low level sensor integration.
@Sir-Real
@Sir-Real Месяц назад
Hi guys! If you watch this video, two hints from my side as I had to do this again on a Raspberry Pico: - if yo do not get the right information, e.g. no sync byte, either GND is not connected or the baud rate of 1000 is not supported by your UART - in my video we did calculate the charging current but we used 10mA/bit instead of 100mA/bit. Please correct this in your code!
@Sir-Real
@Sir-Real Месяц назад
Kleiner Hint: Ich musste das gerade nochmal auf einer PICO nachbauen. Es ist wichtig, dass sowohl 1000 Baud unterstützt werden, was nicht jeder UART-Adapter mitmacht, sonst stimmen die Daten nicht. Wenn GND nicht sauber ist, ebenso. Außerdem muss die Abtastrate hoch genug sein, damit das Sync-Byte xAA vorne ist. Sonst wandert es und man muss längere Datensätze lesen und erstmal sortieren. Was ich noch ergänze möchte: Die S16 für den Ladestrom ist in 100mA/Bit angegeben. Im Video haben wir 10mA/Bit kalkuliert. Das ist offenbar ein kleiner Typ gewesen, der mal eben um den Faktor 10 daneben liegt.
@user-gc3gi7fe5q
@user-gc3gi7fe5q 2 месяца назад
Danke für dein Video! ist ja schon ein paar Jährchen alt.. in der aktuellen openPlotter Version 3 finde ich kein Kplex mehr. Ist das irgendwo untergegangen?
@Sir-Real
@Sir-Real Месяц назад
Tatsächlich benutze ich selbst kein KPLEX mehr. Wenn du nur einen schlanken NMEA Multiplexer benötigst, ist das mit Node-RED sehr einfach und verlässlich machbar. Dazu hab ich ein Video gemacht. Damit bin ich die letzten Jahre wunderbar ausgekommen. Wenn du OpenPlotter nutzen willst, dann ist Signal K inzwischen das Herzstück und bietet (unter anderem) einen TCP NMEA 0183 Multiplexer per default auf Port 10110. Alle NMEA Signale, die irgendwie in Signal K landen, gehen direkt wieder raus auf 10110, so z.B. auch AIS, was man dann mit dem Plotter abgreifen kann. Oder man liest direkt Signal K auf Port 3000, was z.B. OpenCPN könnte. Kurzum: KPLEX kann man durch diverse einfache Lösungen ersetzen, je nachdem was man braucht.
@jillesspruyt7003
@jillesspruyt7003 2 месяца назад
Thanks for the video. A question; so get http requests are not possible? Only websockets? After watching your video I am thinking of having hardware switches/buttons connected to a shelly uni which can send http get requests commands. By sending this commands I think it would be possible to show a visual status light in a KiP dasboard, with Single K as source, along with other gauges and meters.
@Sir-Real
@Sir-Real Месяц назад
I was dealing with this question recently, because websockets e.g. via a Raspberry Pico are possible, but not that easy. The REST API is limited as discussed - BUT: You can use TCP and even UDP connections to send data w/o using Websockets. I decided now to use UDP to send some simple sensor data. You need to add a connection in Signal K, UDP with Port, and you can send data quite easy (fire and forget). However, not very safe, nothing you can use if you system is connected to any Internet. But it is something I would love to add to my video as this is a valid way for some systems. If I find time, I will do it ;)
@sebastianztel.4951
@sebastianztel.4951 2 месяца назад
Hello, I have a small issue. After installing a package, it's not working for me, and upon "deploy," I immediately get an error "Error: ENOENT: no such file or directory, open '/dev/i2c-1'". What am I doing wrong? I have I2C enabled, and the program stats.py is working for me, so the display is functional. I don't have the stats.py program active in the background, so I'm not sure what I'm doing wrong. The OLED display has the address 0x3C and is visible when I enter the command: sudo i2cdetect -y 1
@Sir-Real
@Sir-Real Месяц назад
Hi Sebastian, I can't assist on coding questions as this needs some work, e.g. setting up a similar system, often the OS has changed if we talk about older videos, updates and I might even not be in this topic that deep anymore. So, I always recommend to publish your code in according forums to get help on coding level. A little hint: ENOENT means Error - no entry (found). If I see /dev/BLABLA we are talking about devices which must exist on Linux level in the dev directory. With ls /dev you will see devices existing (on command line). But: I2C is usually not existing on that level, only UART etc. if you realize the I2C connection e.g. with a library on Node-RED.
@sebastianztel.4951
@sebastianztel.4951 Месяц назад
@@Sir-Real Thank you for your reply. The problem was due to the use of the docker container (for NodeRed), it did not have permissions to access I2C. After reinstalling NodeRed without docker, everything works fine. Thanks.
@peteralund
@peteralund 2 месяца назад
this gives the feel of installing a soundcard back in the 90's really awful experience
@wtfpwnz0red
@wtfpwnz0red 2 месяца назад
Everything that's easy is easy because enough people did it the hard way, so that the process became smooth
@Sir-Real
@Sir-Real 2 месяца назад
Full flexibilitiy is usually killing the plug and play feeling which you expect from UX optimized mass products. On the other hand technical creativity is offered with these kind of open source solutions. I think both own their place. What has changed compared to prior times: Today it is very easy and cheap to integrate sensors, displays, to generate dashboards, send mails or forward data... 😀
@edmartinage7199
@edmartinage7199 3 месяца назад
Thanks for all your hard work on these videos ! I was going through this one again after putting the new macHat on. I was trying to roundtrip the AIS sentence through the NMEA ports (like you did in another video) - and it was not initially working. Eventually, it seemed like I needed to add a final terminator to the string. The Wiki implies this is required, but none of the examples anywhere show any special chars. This debug from the Daisy also shows this final terminator as well. Working great now.
@bybeka1
@bybeka1 3 месяца назад
🤩
@paste
@paste 3 месяца назад
Super, Dankeschön für die Anleitung! Welche Baunummer hast du?
@Sir-Real
@Sir-Real 3 месяца назад
Keine Ahnung. Muss ich gucken. Why?
@sebell69
@sebell69 3 месяца назад
you did not clean/remove all the mold (lipstick on a pig). The mold will come back in a decade or so not that you might care (just and observation on my part) But thank you I was looking for that type of foam for a project at home
@Sir-Real
@Sir-Real 3 месяца назад
Don't you think that this is now trapped in a layer of Epoxy which we used the glue the foam in?
@sebell69
@sebell69 3 месяца назад
@@Sir-Real yes it is! But it still there mold and it will eventually bleed out. If u start w/a clean surface free of contamination it would have probably outlast the rest of the ship!
@mimivrc4148
@mimivrc4148 3 месяца назад
I got a pimoroni pico display pack to use with my project over a $7 OLED monochrome sh1106 display and the pimoroni pico display pack is lacking a LOT of functions the sh1106 has. spent an entire night trying to make use of it and it just lacked sooo much in it's library. I spent hours trying to find a simple way to blit to the framebuffer and couldn't get it. where the sh1106 was just "display.blit(activity, 64, 0, 0)". duno how likely they are to ever add more functionality to it but I was pretty disappointed
@Sir-Real
@Sir-Real 3 месяца назад
Thanks for sharing this. I was not that disappointed with the Pimoroni lib and wondering that the 1106 was more powerful, but if I have time, I will take a closer look.
@mimivrc4148
@mimivrc4148 3 месяца назад
@@Sir-Real Yeah, check out the framebuffer library for it. it's suuuper easy to do something like this enabledSprite = LoadSprite('enabled.PBM', width=16, height=16) def LoadSprite(filename, width, height): # print(file) with open(filename, 'rb') as f: f.readline() # magic number f.readline() # creator comment f.readline() # dimensions data = bytearray(f.read()) return framebuf.FrameBuffer(data, width, height, framebuf.MONO_HLSB) you now have a sprite you can reuse very efficiently at any time and it is any arbitrary size. the PBM is a tiny single sprite file (the PBM contains a little bit of metadata that you could use as well but I don't bother personally) display.blit(enabledSprite, x, y, TRANSPARENTCOLOR, COLOR) the above is the biggest thing that seems impossible with the pimoroni pico display. read through a few long threads of people talking about it but none have conclusions. with just this and the primitive shapes (line, fill_rect) you can pretty much do everything! and very efficiently
@wallisgillwindsensors30
@wallisgillwindsensors30 3 месяца назад
Let me know if you want to build a low cost high quality NMEA2000 WindSensor to use with OpenCPN/SignalK etc. Cheers!
@kimberlyjacobsen4148
@kimberlyjacobsen4148 3 месяца назад
You should make a secondary channels called raspberry5sailing 😜
@Sir-Real
@Sir-Real 3 месяца назад
😜 I wait with renaming until Rapsberry 6 😜
@boatMatthias
@boatMatthias 3 месяца назад
Kann man parallell zur starterbatterie einen alten mttp solarregler an den dc2dc Eingang anhängen? Oder ist das das Setup von dem du kein fan bist? Ich habe im aktuellen System noch ein trennrelais/landstrom Ladegerät, bei dem ich aber nicht sicher bin wie genau die Verkabelung aussieht. Das Ziel ist es, die blei Hausbatterie, ohne große Eingriffe ins System durch eine Lithiumbatterie zu ersetzen.
@Sir-Real
@Sir-Real 3 месяца назад
Also in meinem Setup ist der DC2DC nur an, wenn die Lichtmaschine an ist. D.h. du kannst deinen Regler an die Starterbatterie hängen, aber der lädt dann nur die Starterbatterie und die ist normalerweise nicht leer. Der Lithiumbatterie hilft das nicht. Alternativ müsstest du den DC2DC immer einschalten, das ist nicht mein favorisierten Setup, genau. Aber manche machen es so, ich sehe da nur die genannten Nachteile/Risiken.
@boatMatthias
@boatMatthias 3 месяца назад
Tolles Video, da bleibe ich gleich dran! Für die Spannung ist's wurscht, aber schön einen bekannten Motor zu sehen. Habe auch einen VP 2003.
@Sir-Real
@Sir-Real 3 месяца назад
Ist ein 2002er 😉
@paste
@paste 3 месяца назад
Moinsen, machst du irgendwann auch ein Update zum Decksrefit deiner Granada? Oder können wir uns so dazu einmal austauschen?
@Sir-Real
@Sir-Real 3 месяца назад
Hi, Wollte ich schon so lange machen, aber komme nicht dazu. Dabei sind wir längst fertig und zufrieden ;) Ich mach das nochmal. Aber wir können uns trotzdem gerne austauschen. PN gibt es hier ja leider nicht, aber wie erreicht man dich?
@paste
@paste 3 месяца назад
@@Sir-Real Gute Frage, leider hast du keine Emailadresse für deinen Channel hinterlegt. :-)
@Sir-Real
@Sir-Real 3 месяца назад
Ja, damit man da nicht ständig SPAM bekommt. Aber ich kann eine Einmal-Adresse sharen und dann tausachen wir darüber unsere richtigen Mailadressen aus. Ich hab aber jetzt angefangen, den Refit in einem kurzen Video komplett zusammen zu fassen. Das sollte nächstes Wochenende fertig sein und online gehen...
@mantas6293
@mantas6293 3 месяца назад
will the shrink wrap survive UV after one season?
@PeterA650
@PeterA650 3 месяца назад
Several years under the California sun and it still looks new.
@Sir-Real
@Sir-Real 3 месяца назад
I hope so. I think Peter did chose it carefully. Let's see if someone has got MAIANA installed for a while and can share his experience here
@Phantom-mk4kp
@Phantom-mk4kp 3 месяца назад
I thought class B AIS transmission was legal in europe for pleasure boats, am i mistaken
@Sir-Real
@Sir-Real 3 месяца назад
It is. But you need a (generic) radio approval. This has nothing to do with AIS. All radio systems, which are sending, need it.
@Phantom-mk4kp
@Phantom-mk4kp 3 месяца назад
@@Sir-Real Ah I see, it's because the device hasn't got necessary approval, thanks
@kenkrige1594
@kenkrige1594 Месяц назад
Is there a list somewhere of devices that are approved for AIS transmission in EU? I am struggling to find a list anywhere.
@Sir-Real
@Sir-Real Месяц назад
@@kenkrige1594 I don't know. However, usually all "offical AIS" transceivers which you can buy in online shops for marine stuff are registered. So, it is a special case here that we talk about rather a project instead of a product thing.
@SVRockChalk
@SVRockChalk 3 месяца назад
Do you have a link to the product?
@Sir-Real
@Sir-Real 3 месяца назад
Of course. I will add this also in the description: shop.openmarine.net/home/15-maiana-ais-base-kit.html
@olafscherdin2683
@olafscherdin2683 3 месяца назад
Ansonsten toller content, danke!
@olafscherdin2683
@olafscherdin2683 3 месяца назад
Ist TX nur mangels Zertifizierung nicht erlaubt oder gibt es andere Gründe?
@Sir-Real
@Sir-Real 3 месяца назад
Man benötigt eine Funkzulassung, das hat nichts mit AIS zu tun, wenn man Geräte in den Markt bringt, die aktiv senden. Ist leider etwas bürokratisch und daher für offene Systeme etwas schade. Also es geht nicht explizit um Schifffahrt oder AIS, sondern um die Funkzulassung grundsätzlich
@papazuf5142
@papazuf5142 3 месяца назад
Интересно, спасибо.
@magnumxs1100
@magnumxs1100 3 месяца назад
I am a complete novice when it comes to Raspberry Pie, I have installed a multiplexer and AIS transponder on our boat in the UK and combined the NMEA 00183, installed an NMEA2000 backbone and a WiFi hotspot using just a domestic router I had spare. Your video has given me the confidence to attempt a Raspberry Pie install in a, new to me, boat in Greece so I can get the AIS and NMEA data on my iPad with Navionics, so I am watching your excellent tutorials from the beginning, your method of explanation is very understandable, interesting and enjoyable. Great work😊!
@Sir-Real
@Sir-Real 3 месяца назад
Thank you so much for your nice feedback! Really appreciate that! PS: But you need to call it PI not Pie, so that the Raspberry guys do not think they create cakes 😀
@Sir-Real
@Sir-Real 3 месяца назад
sorry, I had to reupload this video as I had some blank minutes rendered ;)... so, I lost the comments and views. Happy if you comment again...
@erhardtvanderwalt1550
@erhardtvanderwalt1550 3 месяца назад
Thanks for a great video. Following this I get an issue that my picow is rejected by the broker. Any suggestions?
@Sir-Real
@Sir-Real 3 месяца назад
You can define levels of security for MQTT. If you need encryption, authentication etc. But I can't help in detail via the comment section, best is to post your code in a forum.
@michaelpaolini7753
@michaelpaolini7753 3 месяца назад
What IMU board are you using ? Board maker ?
@Sir-Real
@Sir-Real 3 месяца назад
I am now using the ICM-20948.
@MineFacts2
@MineFacts2 3 месяца назад
what is the country code for the us?
@jaysloan289
@jaysloan289 4 месяца назад
I would love to see a video on using no red to send data to signal K. Thanks for sharing!
@victorhuffel4823
@victorhuffel4823 4 месяца назад
Great video. Can this script also be used with RPi 2 (b)?
@Sir-Real
@Sir-Real 4 месяца назад
Not 1:1. This Micropython script is made for the pico, using the pico pins and pico libraries. Of course the basic principle can be translated to any PI but you need to exchange the libraries and take the right pins etc
@integratedinfinity848
@integratedinfinity848 4 месяца назад
Thank you for the quality of knowledge you gave to us
@carstenholyshit5066
@carstenholyshit5066 4 месяца назад
Hallo Sir, böse Zungen behaupten dass Seatalk -> nmea2k mit dem pi5 nicht bzw noch funktioniert. Kannst Du das verifizieren? Schönen Gruß und Danke für dein Video.
@Sir-Real
@Sir-Real 4 месяца назад
Es steht zumindest auf der offiziellen Seite der MacArthur HAT. Also ich hab es nicht getestet, aber davon würde ich ausgehen, dass Seatalk mit der Pi5 nicht funktioniert.
@carstenholyshit5066
@carstenholyshit5066 4 месяца назад
@@Sir-RealDanke Dir! Ergo könnte ich den HAT nur mit dem pi4 nutzen. Oder einen anderen multiplexer e.g. Miniplex von ShipModul "einschleifen".
@Sir-Real
@Sir-Real 4 месяца назад
@@carstenholyshit5066Geht es dir um Seatalk oder um NMEA2000? Das sind ja getrennte Eingänge und gelistet ist nur Seatalk. Ich vermute die MacArthur wurde für den PI4 entwickelt, dann kam währenddessen der PI5.
@carstenholyshit5066
@carstenholyshit5066 4 месяца назад
@@Sir-RealIch überlege einen Raymarine ACU-400 anzuschaffen und möchte aber gerne meine ST60 Geräte und die ST7002 Bedieneinheit weiter nutzen. Ergo muss ich ST1 nach STng bzw nmea2000 wandeln. Ich will mir aber nicht diesen ITC5 Wandler von Raymarine verbauen. Diese ganze Produkt Abhängigkeit schränkt nur ein.
@catmeowman
@catmeowman 4 месяца назад
I have a question , how do you get the NMEA 2000 sentences off the can bus in Node red
@Sir-Real
@Sir-Real 4 месяца назад
You need to set-up your system to use the SPI interface for the MCP2515/MCP251XFD and get some CAN nodes installed in Node-RED. As I do not have a NMEA2000 instrument here I didn't do it so far - but check this quite similar post here: forum-raspberrypi.de/forum/thread/59776-mit-node-red-can-bus-lesen-und-schreiben-mit-dem-rs485-can-hat-modul-funktionier/
@bybeka1
@bybeka1 4 месяца назад
Thanks for the nice explanation
@Eric..F
@Eric..F 4 месяца назад
Thank you! Thank you! Thank you for taking the time to explain and create invaluable content!
@thats-no-moon
@thats-no-moon 4 месяца назад
Very cool video, building my own stack for next season. Thankfully I don't need the dAISy HAT as I am using MAIANA Base Kit directly with the MacArthur HAT. Mast- und Schotbruch aus Stralsund :)
@Pajaro95076
@Pajaro95076 4 месяца назад
I am having trouble following you when obtaining your GitHub API. I CANNOT see where your curser(arrow) goes to obtain your API. I have an GitHub account but it's confusing to follow their API instructions. Can you HELP me and suggest a RU-vid tutorial to obtain a GitHub API? Thank you very much...
@Pajaro95076
@Pajaro95076 4 месяца назад
Never mind the help. I figured where to generated the API Key. Thanks for thinking of responding! 🤨
@daisywong-ke1kz
@daisywong-ke1kz 5 месяцев назад
Welcome back man, never stop that! We'd love to offer you some boards if you need them in the upcoming content. (PCBWay Daisy) :D
@pmgear
@pmgear 5 месяцев назад
Thanks for sharing!
@spink2050
@spink2050 6 месяцев назад
at last an easy to understand video Many thanks More vids please