Comments: micro:climate Kit Experiment Guide
Looking for answers to technical questions?
We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.
If you've found a bug or have other constructive feedback for our tutorial authors, please send us your feedback!
Are the weather bit libraries not available in micro python?
Currently, there are no weather:bit libraries in MicroPython. Doing a brief search online, it looks like there are some libraries for the BME280 and DS18B20 but I have not tested it with the micro:bit. I did not find any examples for a weather meter so that would probably need to be ported over.
Where did you get the clear case to keep the weather bit and micro bit dry?
The clear case is acrylic. You might be able to find it at hardware stores like Home Depot. There's a local hardware store by SparkFun that I sometimes go to that has it. Try looking up "acrylic" to find one by you location.
However, you probably want to invest in a solar radiation shield. Nate tested out a few enclosures for his weather station with Arduino a few years ago. He found that this was the best for airflow for the sensors and to avoid heating up from the electronics from direct sunlight.
Help, so I am new to all this coding stuff, do you have complete code package I can load and walk through? Also explanation on 2nd mirobit as a remote monitor
Thanks
The tutorial is up if you have not tried using the radio function yet. Enjoy! => https://learn.sparkfun.com/tutorials/wireless-remote-weather-station-with-microbit
Hi,
Each experiment in this guide should have a download button and a way to open the code in MakeCode editor. If you open the GitHub repository for the weather:bit, you can find the code to upload to your micro:bit as well GitHub / Micro_Bit_Weather_Bit / Firmware / micro_climate Kit Experiment Guide .
As for an explanation for the 2nd micro:bit and wireless mode, there should be a radio block to enable wireless communication. I am currently working on a tutorial explaining how to set it up.
I think upon further reading I have answered my question, now just to figure out why my micro:bit keeps giving me a 'write protected' error when I try to upload to it. I may try it from a different computer, this one could have its usb ports locked down since its a work laptop.
Hi - On the climate kit Product Page it's stated ""We even included an extra experiment that includes wireless communication between two micro:bits to be able to monitor the weather without being exposed to it." Where is this in the experiment guide? Thanks. Darrell, Mission Viejo, CA
Hi,
I was updating something on this page and noticed your comment. If you set up the radio module, you can send the data from a transmitting micro:bit to a receiving micro:bit. MakeCode makes it easy to do that. Try looking here at the wireless RC micro:bot for more information on setting up a radio module to start => [ https://learn.sparkfun.com/tutorials/wireless-remote-control-with-microbit/experiment-1-sending-and-receiving-a-signal ]. Instead of using numbers, you would send the values.
A note on Experiment 5: As the write up says, the wind vane detects 16 different directions, and the Wind Direction routine in the makeCode package only decodes 8 of these. So, if you want wind direction that works more than half the time, you do need to do your own decoding (of the analogRead of pin P1). Actually, P1=255 more than half the time (the voltage on P1 appears to be zero when this happens, so the reed switches are likely not closing?). The values of P1 that I observed are as follows (there is some variability, so a +/- 4 range is probably appropriate):
Hello! I re-read the experiment and looked at the code and I think the verbage could be re-worked because it is a bit confusing. We read resistance at 16 different loci and then use those values to calculate the cardinal directions we list in the experiment: N,NE,E,SE,S,SW,W,NE. In the makecode package, the standard deviation on these values is +/- 10 which gives me pause when looking at gradations of NNE, ENE, ESE, etc. I'm logging an issue to look at the statistical analysis to verify we can get consistent accuracy with these extended directions. If it makes sense to update the makeCode (and the experiment) we certainly will. Thank you!
I'm working with the weather:bit. I'd have the weather:bit micro:bit transmit a comma delimited string to a 2nd micro:bit. I can't figure out a way in Makecode Blocks to break down the comma delimited string into multiple variables. Nor can I figure out a way to transmit an array.
Any help would be appreciated.
The MakeCode for Experiment 1 does not work. Please note the following comment in the GitHub repository:
Also, "send your feedback" doesn't work, hence this comment.
Sorry for the delay in reply. There was some issue filed in the GitHub repository about this and it has since been fixed => [ https://github.com/sparkfun/pxt-weather-bit/issues/11#issuecomment-394456714 ]. The code linked in this tutorial have been updated to reflect the package version.