A Quick Project With PsyFi32, OLED Display, and TOF Sensor.

About: We're a group of fun-loving, electronic DIY'ers with Smart-Prototyping.com. We hope to share useful guides and tutorials as well as the cool things we think up every-once-in-awhile. Enjoy!

Intro: A Quick Project With PsyFi32, OLED Display, and TOF Sensor.

How quickly can you do a project, to use an OLED display showing the TOF sensor’s data, controlled by an Arduino Uno or ESP32 development board?

If you are a beginner, the biggest challenge is the connections, there are many pins you need to recognize to connect the three modules together. if It takes you an hour, the connections may still be wrong. This would make me very angry, and I would drop the project.

Now that we have the I2C Qwiic(quick) version modules, you can finish all the connections within 10 seconds.

This is an example to show you how good the Qwiic I2C is.

Requirements:

Hardware

Firmware

Step 1: The Hardware Connection

The connections are super easy. See the picture here (Note: the connection sequence doesn’t matter).

If you haven’t installed the necessary drivers and ESP32 Arduino IDE core, please refer to this tutorial.

Step 2: Let's Run the Example Code in Arduino IDE

Let's run the example code in Arduino IDE.

The RFD77402 TOF sensor can measure distances very fast. If you use your hand to test it, you can see the distance changes very quickly.

If you want to use Arduino Uno, you can choose to use our Qwiic version Zuino UNO, the connections and the code will be the same. I would highly recommend you to use our PsyFi32(ESP32 based) development board, the PsyFi32 is more powerful than Arduino Uno and smaller in size, with WiFi and bluetooth chips. We are going to share more IOT projects around PsyFi32.

Enjoy Qwiic and keep making cool stuff!

Share

    Recommendations

    • Metalworking Contest

      Metalworking Contest
    • Audio Contest 2018

      Audio Contest 2018
    • Furniture Contest 2018

      Furniture Contest 2018

    Discussions