Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - jjv

Pages: [1]
1
Hi,

I have an original RFDuino (RFD22102) and I'm trying to get it to read a ds18b20 temperature sensor over the one wire interface.  I am using the arduino 1.8.3 IDE and have the RFDuino updated to the lastest firmware.

I first tried accessing the ds18b20 with a normal Arduino using the 'official' OneWire library 2.3.3 https://github.com/PaulStoffregen/OneWire .  This worked fine, I can read the temperature.  I then used the same circuit and same code (except for changing the pin number) on the RFDuino and it compiled fine but it was not able to find any devices on the bus.  I don't have an oscilloscope but it seems the data pin is just sitting at 1.1 volts.

I then found this post on this forum.
http://forum.rfduino.com/index.php?topic=103.msg3912;topicseen#msg3912

This person had some 'hacked' one wire code that was created from the version 2.2 of the 'official' one.  It was to fix compile issues.  I didn't have issues compiling the 2.3.3 one but I figured I'd give it a try.  It did not produce different results.  I even tried it with older versions of the arduino IDE.

People clearly are getting one wire to work with RFDuino.  Is there something I'm missing?  Is there a hidden RFDuino version of One Wire library I should be using?

Thanks,

Pages: [1]
anything