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 ;)
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 ;)
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
@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!
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).
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.
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.
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!
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.
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?
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.
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.
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 ;)
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
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.
@@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.
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... 😀
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.
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 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!
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
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.
@@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
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.
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.
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?
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...
@@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.
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
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😊!
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 😀
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.
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
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.
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.
@@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.
@@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.
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/
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 :)
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...