richardghirst / PiBits

819 stars 565 forks source link

Servoblaster is blocking OneWire on GPIO4 on RPi 3 #97

Open amigatommy opened 7 years ago

amigatommy commented 7 years ago

Since updating my Pi and changed everything to devicetree functionality, i have a problem: As long as servoblaster is active (PWM for LED dimming in a fishtank, from 8 am to 8 pm) the onewire Interface on GPIO4 is no more working. In this time i have no temperature readings from my DS18B20, it is not working and not present for the software. After 8 pm the onewire interface works normaly, now servoblaster is at 0% dimming. When its 8 am, no onewire measuring to 8 pm. I tried with the --pcm option, no luck. Defined in /etc/init.d/servoblaster is: OPTS="--min=0% --max=100% --cycle-time=2000 --p1pins=11" Whats wrong there, i dont see the problem, can you help me please ?

amigatommy commented 7 years ago

When Servoblaster is active on GPIO17 (Pin 11), there is only "w1_bus_master1"-Folder in "/sys/bus/w1/devices". The DS18B20 device is lost. When Servoblaster dimming is at 0%, all works. I dont know, which components are in conflict, hardware or software, have you an idea ? Or blocks Servoblaster GPIO 4 allthough it should only use GPIO17 ? I cannot find any infos about used hard- and software resources of onewire driver.