SH-RPi V1 OP 3RPI 4 cant get 1W to work - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3) +--- Thread: SH-RPi V1 OP 3RPI 4 cant get 1W to work (/showthread.php?tid=4714) |
SH-RPi V1 OP 3RPI 4 cant get 1W to work - leif_klasson@hotmail.com - 2023-06-21 Hi, I have an Rpi 4with Openplotter 3 installed. Tested and verified that it worked with 1W connection for 2 temp sensors, type DS18B20. Worked as expected. Then after installation of SH-Rpi hat V1 from hatlab, I can't get it to work. I also have some ADS1115 on I2C, and these ones work as expected. GPIO and 1W is enabled according to startup check. I have tried with removed the old 1W connections, but no new are popping up as before, and the old ones aren't working any more. Any ideas? /Leif RE: SH-RPi V1 OP 3RPI 4 cant get 1W to work - holgerw - 2023-06-22 you need to selectr an gpio pin for onewire, this is sepcified at booting pi via an txt-line sitting in /boot/config.txt. normaly this is pin 4. check this or post your /boot/config.txt and your gpio pin where your onewire data pin is connected. we will able to help you out quickliy with this information. RE: SH-RPi V1 OP 3RPI 4 cant get 1W to work - leif_klasson@hotmail.com - 2023-06-22 Hi, first part was already in config.txt, overlay for 1W: dtoverlay=w1-gpio And in Openplotter setting the default are pin 4 as it says. I added it anyway to config: dtoverlay=w1-gpio,gpiopin=4 But same result. I now remembered that I have forgot the 4,7 kohm pullup, but it was working before without that. When trying refresh in Openplotter GPIO settings, it also says GPIO disabled? But startup check is ok? /Leif RE: SH-RPi V1 OP 3RPI 4 cant get 1W to work - holgerw - 2023-06-22 Is it enabled in raspi-config? Get your Sensors gnd, data and +3.3 Volt? Is there an Resistor of 2…5kohm between data and + 3.3 Volt? RE: SH-RPi V1 OP 3RPI 4 cant get 1W to work - Sailoog - 2023-06-23 It will not work without the pull up resistor. You should never edit /boot/config.txt manually in openplotter. RE: SH-RPi V1 OP 3RPI 4 cant get 1W to work - holgerw - 2023-06-23 If you can‘t get it working, for his sailorHat ask Matti :-) RE: SH-RPi V1 OP 3RPI 4 cant get 1W to work - leif_klasson@hotmail.com - 2023-07-25 Thanks for all help. After added a 4,7 kohm resistor, it worked like a charm the two weeks we where out. Last thing to fix is the N2K connection, will check with Mr HatLab ;-). /Leif |