We upgraded to 4.19, loaded the 1W dtb from /lib/firmware and things just work. I think it's looking for the 1 W interface to be on P9. 12 which works out to Gpio 1-28 which is also known as gpio 60. At this point it shows up under /sys/bus and "just works". Couldn't say that for 4.14 and I've no idea why.
Or there's a PRU-based approach which TJF can tell you about. Not sure what the difference between the two is, though we only use it for a single sensor. Maybe I'll try that out tomorrow. Jim On Wed, May 15, 2019, 8:13 PM Walter Cromer <[email protected] wrote: > I've made a lot of progress thanks to the Exploring Beaglebone book. I am > turning AC pumps and motors on with relays that I control from the digital > outputs through opto-isolators. But when I needed to read a water proof > temperature probe, I got stuck. I bought the DS18B20 and didn't comprehend > it was Dallas single-wire interface. I thought it was just a waterproof > TMP36 which I was already reading successfully. > > The examples for the DS18B20 are all pre-UBoot.(I'm running 4.4.14 now). > I compiled a device tree overlay but don't know how to get it loaded, where > to put it so it gets loaded, what file to change and what the command > should be to have it load on boot. Is this all in the book somewhere? If > not, could you share a resource that would help me? > > On Wednesday, May 15, 2019 at 1:42:40 PM UTC-4, TJF wrote: >> >> >> >> Am Mittwoch, 15. Mai 2019 15:41:06 UTC+2 schrieb P B: >>> >>> Does anyone have any tips or any recommendations for learning resources >>> to get over this hurdle? >>> >> >> Check out libpruio <https://github.com/DTJF/libpruio> and its online >> documentation >> <http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/index.html>. >> No device tree trouble, all settings in your code (single sourced). >> >> Regards >> > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/90814ecc-368c-46b5-9ade-d10e88d3d919%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/90814ecc-368c-46b5-9ade-d10e88d3d919%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAGS%2B2h-BGfh9kYW9Xg6N45TAoO28wNc1DN_5hVA0QLL%2BY7Ufzg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
