Elmwood no more, long live Elmwood! Elmwood Electronics and PiShop are now together!
Please order via PiShop.ca, as we are no longer taking orders through this site.
More details are in our blog!
EF04042
Octopus Electronic Bricks! You can use them build electronics projects just as easy as piling bricks! By using Octopus electronic bricks, you may connect Arduino or compatible boards easily with various digital, analog and I2C/Uart interfaces. These breadboard-less firm connections includes an extensive collection of modules like potentiometers, sensors, relays, servos, and even buttons. Just plug and play!
This brick uses the DS18B20 1-Wire digital temperature sensor from Maxim IC. It can report degrees Celcius with 9 to 12-bit precision, -55C to 125C (+/-0.5C). Each sensor has a unique 64-Bit Serial number etched into it that can allow for a huge number of sensors to be used on one data bus.
Quick Start
Hardware Connection
Connection note: Connect this module to the P1 port on OCTOPUS:BIT.
Programming
Click the "Advanced" selection in the Makecode to check more coding selections.
We need to add a package for the coding. Click "Add package" from the bottom of the page and search"https://github.com/Tinkertanker/pxt-ds1820-temperature-sensor"; in the dialog box, then download the equivalent package.(Pointed by the red arrows below)
Code
Program link.
Results
The value of the temperature shows on the micro:bit.
Resources:
Please visit the ElecFreaks wiki page for more info about this product. It will be appreciated if you can help us improve the documents, add more demo code, or create tutorials.
Collections: ElecFreaks
Type: Octopus Electric Bricks