CircuitPython on Raspberry Pi: UPDATED GUIDES for BNO055, CCS811, LIS3DH, TCS34725, and VEML6070 #CircuitPython


That’s right! It’s CircuitPython on Raspberry Pi! Wire up your favorite sensors and use the same great CircuitPython code you’ve been using with microcontrollers right on your Raspberry Pi!

We’ve got tons of projects, libraries and example code for CircuitPython on microcontrollers, and thanks to the flexibility and power of Python it’s easy to get it working with micro-computers like Raspberry Pi or other ‘Linux with GPIO pins available’ single board computers.

We’ve written a special library called Adafruit Blinka to provide the layer that translates the CircuitPython hardware API to whatever library the Linux board provides.

blinka-raspberry pi

We’ve added all the libraries to PyPi so installation is super simple via pip. We’ve also updated the CircuitPython guides! They now have sections for wiring up the sensor to and installing the libraries on your Raspberry Pi. The CircuitPython code works exactly the same way it works on microcontrollers, so the code examples will work on your Raspberry Pi too!

We have over 80 guides to update, so watch for updates to the Adafruit Learning System in batches. Here’s the next five:

Adafruit 9-DOF Absolute Orientation IMU Fusion Breakout – BNO055 – Rather than spending weeks or months fiddling with algorithms of varying accuracy and complexity, you can have meaningful sensor data in minutes thanks to the BNO055 – a smart 9-DOF sensor that does the sensor fusion all on its own!  You can read the data right over I2C and Bob’s yer uncle.

Adafruit 9-DOF Absolute Orientation IMU Fusion Breakout - BNO055

Adafruit CCS811 Air Quality Sensor – This sensor from AMS is a gas sensor that can detect a wide range of Volatile Organic Compounds (VOCs) and is intended for indoor air quality monitoring. When connected to your microcontroller (running our library code) it will return a Total Volatile Organic Compound (TVOC) reading and an equivalent carbon dioxide reading (eCO2) over I2C. There is also an onboard thermistor that can be used to calculate the local ambient temperature.

Adafruit CCS811 Air Quality Sensor Breakout - VOC and eCO2

Adafruit LIS3DH Triple-Axis Accelerometer (+-2g/4g/8g/16g) – The LIS3DH is a very popular low power triple-axis accelerometer. It’s low-cost, but has just about every ‘extra’ you’d want in an accelerometer: three axis sensing, 10-bit precision, selectable scaling, both I2C (2 possible addresses) and SPI interface options.

Adafruit LIS3DH Triple-Axis Accelerometer (+-2g/4g/8g/16g)

RGB Color Sensor with IR filter and White LED – TCS34725 – Your electronics can now see in dazzling color with this lovely color light sensor. We found the best color sensor on the market, the TCS34725, which has RGB and Clear light sensing elements. An IR blocking filter, integrated on-chip and localized to the color sensing photodiodes, minimizes the IR spectral component of the incoming light and allows color measurements to be made accurately. The filter means you’ll get much truer color than most sensors, since humans don’t see IR. The sensor also has an incredible 3,800,000:1 dynamic range with adjustable integration time and gain so it is suited for use behind darkened glass.

RGB Color Sensor with IR filter and White LED - TCS34725

Adafruit VEML6070 UV Index Sensor Breakout – This little sensor is a great way to add UV light sensing to any microcontroller project. The VEML6070 from Vishay has a true UV A light sensor and an I2C-controlled ADC that will take readings and integrate them for you over ~60ms to 500ms.

Adafruit VEML6070 UV Index Sensor Breakout

Check out these updated guides today in the Adafruit Learning System.

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Join 10,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython 2019!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/

Maker Business — Japan and the EU enter into monumental free trade agreement

Wearables — Pause before assembly

Electronics — Have the need for speed? This diode might be right for you

Biohacking — Combining HIIT with a Polarized Training Plan

Python for Microcontrollers — Blinka goes to space, a sight for Thor eyes, and CircuitPython 4, beta 5… #Python #Adafruit #CircuitPython @circuitpython @micropython @ThePSF @Adafruit

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !

No Comments

No comments yet.

Sorry, the comment form is closed at this time.