Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Servoblaster is blocking Onewire at GPIO4 on RPi 3 #1

Open
amigatommy opened this issue Oct 22, 2017 · 2 comments
Open

Servoblaster is blocking Onewire at GPIO4 on RPi 3 #1

amigatommy opened this issue Oct 22, 2017 · 2 comments
Assignees
Labels

Comments

@amigatommy
Copy link

amigatommy commented Oct 22, 2017

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
Copy link
Author

Sorry for the doublepost Stuart, continuing in richardghirst's repository !
Can you have a look at it please ?
Thanks a lot !
Greetings Thomas

@srcshelton
Copy link
Owner

srcshelton commented Dec 7, 2017

Sorry, I've only just seen this!

Using the various 'pins' options should allow the remapping of GPIOs without disrupting other uses, and you're right that setting --p1pins=11 should avoid GPIO4.

Could you build the servodebug binary (gcc -Wall -O2 -o servodebug servodebug.c), run this, and then invoke servodagain with your --p1pins parameter, and confirm whether GPIO4 seems to be being updated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants