Warning: Declaration of action_plugin_indexmenu::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/lib/plugins/indexmenu/action.php on line 18 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/lib/plugins/indexmenu/action.php:0) in /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/inc/auth.php on line 495 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/lib/plugins/indexmenu/action.php:0) in /home/httpd/vhosts/scratchbook.ch/wiki.scratchbook.ch/inc/actions.php on line 210 Debugging the RS485/Raspi [Scratchbook]

Debugging the RS485/Raspi

  • LED is glowing, “flashing” (getting dark shortly) every second, as the weather station sends data every second

  • We've connected the logic analyzer after the sferalabs board. Data comes in, all fine.

…and can be decoded.

However,

When I connect to it, it shows no data.

screen /dev/ttyAMA0 19200

(baud rate taken from the data sheet)

Bluetooth is disabled:

$ cat /etc/modprobe.d/raspi-blacklist.conf
blacklist btbcm
blacklist hci_uart

Raspberry Pi, model 3 B

uname -a
Linux raspberrypi 4.4.9-v7+ #884 SMP Fri May 6 17:28:59 BST 2016 armv7l GNU/Linux

Weather station is the basic Elsner P03 without modbus.

Update 24. Nov 16, 14:15

Can you please add this to /boot/config.txt
dtoverlay=pi3-disable-bt


Also, from the command line:

sudo systemctl disable hciuart


then reboot and try again?

Didn't work. Yet.

But I stumbled upon this:

$ cat /boot/config.txt
enable_uart=0

Setting this to enable_uart=1 did the trick.

WOOHOO! \o/

sfera.txt · Last modified: 2016/11/24 14:20 by claude
Back to top
GNU Free Documentation License 1.3
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0