Nixiebunny
Member
I'm trying to add a DS18B20 temperature sensor to an underwater robot that uses the Teensy Servo library to run a set of RC drone ESCs.
I'm using the Teensy OneWire library to read one DS18B20 temperature sensor. I need to read it at least once a second.
I see glitching on the motors when the OneWire temperature read is called.
There's historically been discussion of this interrupt interference problem on the Arduino forums, but no solution for my application.
The servos are on pins 3, 4, 5, 6, 7, and 21. The DS18B20 is on pin 17.
Is there any hope? Can I temporarily suspend the RC servos while read temperature is happening?
I'm using the Teensy OneWire library to read one DS18B20 temperature sensor. I need to read it at least once a second.
I see glitching on the motors when the OneWire temperature read is called.
There's historically been discussion of this interrupt interference problem on the Arduino forums, but no solution for my application.
The servos are on pins 3, 4, 5, 6, 7, and 21. The DS18B20 is on pin 17.
Is there any hope? Can I temporarily suspend the RC servos while read temperature is happening?