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
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
sfera [2016/11/24 10:33] claude |
sfera [2016/11/24 14:20] (current) claude |
||
---|---|---|---|
Line 19: | Line 19: | ||
<code>screen /dev/ttyAMA0 19200</code> | <code>screen /dev/ttyAMA0 19200</code> | ||
- | (baud rate taken from the data sheet) | + | //(baud rate taken from the data sheet)// |
Bluetooth is disabled: | Bluetooth is disabled: | ||
Line 29: | Line 29: | ||
</code> | </code> | ||
+ | Raspberry Pi, model 3 B | ||
+ | <code> | ||
+ | uname -a | ||
+ | Linux raspberrypi 4.4.9-v7+ #884 SMP Fri May 6 17:28:59 BST 2016 armv7l GNU/Linux | ||
+ | </code> | ||
+ | |||
+ | Weather station is the basic Elsner P03 without modbus. | ||
+ | |||
+ | ===== Update 24. Nov 16, 14:15 ===== | ||
+ | |||
+ | > Can you please add this to /boot/config.txt | ||
+ | > <code>dtoverlay=pi3-disable-bt</code> | ||
+ | > Also, from the command line: | ||
+ | > <code>sudo systemctl disable hciuart</code> | ||
+ | > then reboot and try again? | ||
+ | |||
+ | Didn't work. Yet. | ||
+ | |||
+ | But I stumbled upon this: | ||
+ | |||
+ | <code> | ||
+ | $ cat /boot/config.txt | ||
+ | enable_uart=0 | ||
+ | </code> | ||
+ | |||
+ | Setting this to enable_uart=1 did the trick. | ||
+ | |||
+ | {{::p03-rs485.gif?nolink|}} | ||
+ | |||
+ | WOOHOO! \o/ |