Dear SparkFun,
I’m having similar issues as Patricia in the post below. However, I found the SparkFun MicroClimate Experiment 4 MakeCode worked on my V2 Micro:bits but not on my V1.
viewtopic.php?f=74&t=50195&p=205330&hil … re#p205330
I tried El Duderino’s advice of loading Experiment 4, then deleting the Weatherbit blocks, reloading the extension and replacing blocks. I also searched the SparkFun and GitHub forums for help but nothing has worked. When I use my V1 Microbits and run any program to get Temp data from that DS12B20 sensor the data comes back as 4095 or 0 or -1002.
I want to use these probes with students and I have many more Microbit V1s than V2s so would rather not have the V2’s out in the rain and snow. Also don’t want the V1 coding solution to be too complex for middle school students. Any advice would be appreciated on how to get the temp sensors working with Microbit V1 through the Weatherbit and Micro:Climate Kit.
Take care,
Aaron
Microsoft/MakeCode made an update that changed the back-end :-/
You might be able to use the old editor and/or extensions https://makecode.com/extensions/versioning; or try the (somewhat complex? not surte how long their attention spans are…) method to get it going in the post you’ve linked
Dear TS-Russell,
Thanks for getting back to me. I figured it was a MakeCode issue. I’ll try working with the old editor. Attention spans are roughly a student’s age in minutes at max. Although, if I understood what Patricia says in the post, “I used the extension with the update containing the full constructors lines for the pins (12 and 13) and it solved my problem” maybe I could show them. What might this look like? I played around with the Advanced → Pin blocks but couldn’t make the sensor work properly. I can get all the other sensors working together on the Micro:Climate Kit except this one. I even bought extra temp sensors because they seemed so handy but I might return them if they prove to be too much of a hassle. Thank you for your time.