cat w1_bus_master1/w1_master_max_slave_count
Hello,I want to use 1-wire DS18B20+ sensors with the BBB.On my breadcrump is work with 2 sensors.My question:with:he show me max 10 sensors ... why?cat w1_bus_master1/w1_master_max_slave_count
I need around 25 sensors with a wire length of 50m.Is this possible?
I use all 3 wires (GND, VCC (5V) and Data)
In a thermal solar system I use eight sensors with a bus radius of 15 m and a weight of 45 m (BBB GPIO, no additional hardware, simple cable and RJ12 connectors).
- The radius of a network is the wire distance from the master end to the most distant slave.
- The weight of a network is the total amount of connected wire in the network.
echo 20 > w1_master_max_slave_count
bash: w1_master_max_slave_count: Permission denied
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/78193f8e-87c7-4350-aab7-917a30f08df3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
| Virus-free. www.avast.com |
Hello!1. Max sensorsWhen I try:echo 20 > w1_master_max_slave_count
I get:(of course I´m rootbash: w1_master_max_slave_count: Permission denied
sudo su
echo 20 > w1_master_max_slave_count
exit
2. Polling timeWell, 19sec in total is OK! It are just room temperatur and this must not update so fast. But can I add more as 10 sensors because of Point 3?3. max cable lengthI mean the total cable length of the 1-Wire bus ... when I connect in Daisy-Chain I have around 50m to the last 1-Wire sensor.
root@c0a80090:/sys/bus/w1/devices/w1_bus_master1# echo 20 > w1_master_max_slave_countbash: w1_master_max_slave_count: Permission denied
root@c0a80090:/sys/bus/w1/devices/w1_bus_master1# echo 20 > w1_master_max_slave_countbash: w1_master_max_slave_count: Permission denied
w1_master_max_slave_count root@c0a80090:/sys/devices/w1_bus_master1# ls -lZ w1_master_max_slave_count-r--r--r-- 1 root root ? 4096 May 2 14:45 w1_master_max_slave_countroot@c0a80090:/sys/devices/w1_bus_master1# ls -lZ w1_master_max_slave_count-rwxrwxrwx 1 root root ? 4096 May 2 15:18 w1_master_max_slave_countroot@c0a80090:/sys/devices/w1_bus_master1# echo 20 > w1_master_max_slave_countbash: echo: write error: Input/output errorWhat happens when you pass the parameter at module load time? (In order to test, unload the kernel driver and reload with option w1_max_slave_count=30 )
BR