Category Archives: Arduino

Using the Arduino Uno R4 Wifi to Measure Temperature and Humidity With the DHT11

In this video lesson we show you how to measure temperature and humidity using the DHT11 sensor. For your convenience, we include the code below which we develop in the above video. Enjoy!

 

Create a Bouncing Pixel on the Arduino Uno R4 WiFi LED Matrix

In this video lesson we create a bouncing pixel on the Arduino Uno R4 LED Matrix. For your convenience we include the code developed in the video below.

 

Using an Arduino with Python LESSON 15: Model of Bouncing Marble in 3D Room

In this video lesson we model a 3D room, and have a marble bouncing around in the room, off of each of the six walls. Below we include the code we develop in the video above

 

Using an Arduino with Python LESSON 8: Live Thermometer 3D Visual Using DHT11

In this video lesson we connect the Arduino to a DHT11 temperature and humidity sensor. We show how to wire the device up, and then how to code the Arduino. The data is passed from the Arduino to python. We then create a live 3D thermometer model that updates as the temperature changes.

On the arduino side, this is the code which we use:

Then on the python side, we use the following code:

 

Using an Arduino with Python LESSON 5: Analog Voltage Meter in vPython

In this lesson we begin coding a 3D analog voltmeter model in vPython. We begin by connecting a potentiometer to an arduino to create a voltage divider. The voltage is read from the center tap of the potentiometer by the arduino, and then the arduino passes the data to python. Then, we animate the  analog voltmeter based on the readings passed from the Arduino. Enjoy!

Then this is the code we developed for the Python side.