I have a breadboard prototype working with a cabled (waterproof and regular temp) DS18B20 sensor and a AM2302 sensor on a 3B+. All is well with it recording at a set interval from each sensor. I'd like to run this from a Zero W and thought that would be straightforward. I moved the breadboard to the Zero and booted it with the same SD card that I used with the 3B+. It breaks with no 28-* folder being created in /sys/bus/w1/devices/. I know there are multiple threads here on how to get a Pi to recognize a DS18B20, but I'm successful on the one Pi already. Is there some obvious reason why a Zero is different when running the same OS install? I have 4.7K pullup resistor on the DS18B20. I've tried a 2.2K and a 10K with no effect.
If I swap the breadboard/OS back to the 3B+, it works.
I also set up a new card running Stretch (as the other one is). I added the dtoverlay line to /boot/config.txt and executed the 2 modprobe commands (as my script does in the first test):
sudo modprobe w1-gpio
sudo modprobe w1-therm
The results are the same. Any suggestions? Thanks.