1. Description

kidsbits blocks coding I2C BMP280 Altimeter module is fully compatible with kidsbits control board and Lego building blocks.

You can easily connect it to kidsbits control board for communication using an RJ11 cable without worrying about wrong connection and damage.

The kidsbits BMP280 module mainly uses the BMP280 sensor, a temperature and air pressure sensor, which is an absolute air pressure sensor designed for mobile applications.

The sensor module is available in an extremely compact package with small size and low power consumption. It features proven piezoresistive pressure sensor technology with high accuracy and linearity, as well as long-term stability and high EMC robustness.

2. Technical Parameters

  • Interface: EASY plug
  • Operating voltage: DC 5V
  • Operating current: 2.7uA @ 1Hz sampling rate
  • Air pressure measurement range: 300hPa~1100hPa (elevation +9000~-500m)
  • Air pressure measurement accuracy: 0.16Pa (±1m)
  • Temperature measurement range: 0℃~ 65℃
  • Temperature measurement accuracy: 0.01℃
  • Operating temperature: -40℃~+85℃
  • Average measuring time: 5.5ms

3. Wiring Diagram

4. Import kidsbits library

Begin with the Mixly blocks coding, you should first import the corresponding kidsbits library for those sensor modules.

Connect the control board to your computer using a USB cable.

Then open the Mixly blocks software 0.998, set the board to UNO R3, select your correct COM port. On the upper right corner you can switch the language.

After that, click Import, import the keyes-kidsbits library. Shown below.

If import custom library successfully, you should see the sensor module library shown below.

Click on the display screen block of keyes_kidsbits, you can directly use the corresponding module. Shown below.

5. Upload Code

Open the code folder we provided, you are able to directly open or drag the code to Mixly window.

You can click the Code to check the C language.

6. Troubleshooting

If upload failed, how should you do?

1)Check out the board and COM port; make sure that you have selected the proper Board (UNO) and COM port. You can see the COM port matching with that of your computer’s Device Manager.

2)Check out the library folder. Here we can see the problem shown in the prompt window.

Open the library route, and delete the utility folder inside both libraries and hardware folder.

After delete the utility folder, compile and upload the code again.

If still fails, check out the folder route, whether you have deleted the utility folder well.

When you have deleted all the utility folders, compile and upload the test code once again; you should see the code is compiling and uploading successfully.

Well done. Open the serial monitor to check what result you will see.

7. Test Result

Hook it up and upload the code success, open the monitor and set the baud rate to 9600.

The monitor window is showing the value of the current ambient temperature and air pressure.

8. Resources Download

https://drive.google.com/open?id=1pB9j0Alt8XeKWzd2LIwhSGD7Orl5kEfm

Leave a Reply

Your email address will not be published. Required fields are marked *