(2024-05-12, 07:37 PM)Hillzzz Wrote: Hi all,
I have finished printing the case in ASA which has better strength and UV resistance than ABS. It is often used to make car parts so it should stand up to a marine environment quite well.
It is very hard to print on a cheap printer like my Ender S1 plus but with a lot of testing I found settings that mostly worked. I decided to have a recess at the back on the outside for the Druk Buck-Boost power supply. It supplies 12 volts 5 amps from any input voltage between 8volts and 36volts. Since the power supply has its own heat sink and is waterproof it made sense to put it on the outside so that it did not add to the heat inside. However the recess made the case much harder to print.
Talking of heat I swapped out the Pi 4 for a Pi 5, both have the standard fan heatsinks and I was interested to find the pi5 runs about 23 degrees c cooler. It settled at 44 degrees C while the Pi 4 was running at 67.2 degrees C.
I am very happy with the screen which is much clearer than an iPad. I also printed a screen cover in TPU which you can see in the second image. TPU is a bit elastic so i printed it slightly smaller so that it fits tightly and that works quite well. At the side is a slot for an external USB port this also has a TPU cover. On the back are power, Combined 5 pin Seatalk1/NMEA 0183 input output and NMEA 2000 sockets. Next thing to finish is the screen dimming software.
That's looking great! I had my first sea trial at the weekend with mine! All went really well, I'm very happy with it.
(2024-05-12, 11:47 AM)Hillzzz Wrote: Hi Frazer, Could you possibly give me some pointers with the code for dimming with PIGPIO? I have tried incorporating what I thought would work into my screen dimmer slider and it doesn't Cheers and thanks H.
Sure, I'll grab the code next time I'm at the boat. She's in the process of being relocated from the east coast of Scotland to the West at the moment, so may take another week or so.
I have my notes though if that would help? The basics are that I am using a systems service that starts on boot, setting the duty cycle to 75% (this is modifiable to your preference), the slider app (tkinter) then communicates with that service to change the duty cycle upon request. This results in being able to close the slider app and not have the brightness drop to zero!
Cheers,
Fraser