Hello,
I wanted to update my Raspberry Pi to the newest Buster + Node RED, but I have a problem to activate the "NibePi Master" (https://github.com/anerdins/node-red-contrib-nibepi/ ) in Node RED using a RS485 hat:
I activated the serial port and then I read I have to deactivate the bluetooth service (RPi3B)
echo "dtoverlay=disable-bt" | sudo tee -a /boot/config.txt
sudo systemctl disable hciuart
sudo reboot
or "...bt3". Not sure !
I just have to know how to activate the RS485 Hat on Buster so that NibePi can find it at all.
On desktop config there are many options "I2C", "GPIO Remote", ... don´t know whats right to activate.
thats my:
Please help, even if it is only indirectly related to Node Red.
Is this the same Raspberry Pi you had working before ?
I thought there was an Image from NibePi that pre-installed everything needed.
Did you start a clean install with a 2nd SD card for testing ?
There not much information on the RS-485 Hat from the link you sent us.
Its just from an online shop and no useful information regarding installation in the Datasheet on that page.
I have no experience in these Hats since i use a cheap ebay USB to RS485 for my modbus tests.
but i found an article from a similar RS485 Hat that i hope you may find useful.
sudo raspi-config
goto '5 Interfacing Options'
goto 'P6 Serial'
'Would you like a login shell to be accessible over serial?' --> NO
'Would you like the serial port hardware to be enabled?' --> YES
Finish raspi-config
reboot the Raspberry Pi
TtyAMA0 becomes ttyS0
But only when using a Raspberry Pi 3, since the Bluetooth interface is addressed with ttyAMA0. The
name of the UART interface is now ttyS0. If you continue to use a previous model, you can continue to
use ttyAMA0 for the UART interface.
-> I disabled bluetooth, so I think AMA0 is correct
Also,
Can you show us a close up picture of the HAT - we might be able to spot something from the writings on the BOARD and CHIPS that lead to documentation.
Lastly, you might want to list your current /boot/config.txt and your working /boot/config.txt - to compare & see what is enabled / disabled
(you can do this with sudo nano /boot/config.txt)
the line enable_uart=1 is missing from the boot/config.txt of the new SD card ?
so that must be the problem .. add it, reboot and try again either of the following /dev/ttyS0 /dev/serial0 /dev/ttyAMA0
What I did:
sudo nano /boot/config.txt
add:
dtoverlay=pi3-disable-wifi
dtoverlay=pi3-disable-bt
save & exit
sudo systemctl disable hciuart
sudo raspi-config
--> 'Interfacing Options'
'P6 Serial'
'Would you like a login shell to be accessible over serial?' --> NO
'Would you like the serial port hardware to be enabled?' --> YES
Finish raspi-config
reboot the Raspberry Pi
again
sudo nano /boot/config.txt
enable_uart=1 should be added