Advertisements

Quick References

As a constant learner, I get to touch upon many ideas in different areas. This category is for me to capture those ideas which I felt people may reference to get ahead of their tasks. Most of the time, I do come back to this section of my blog to remember what I had learnt in the past.

How to associate a virtual environment with a Python project in PyCharm

When it comes to Python development, PyCharm is my favourite IDE.

Before working on a new Python project, I like to create a virtual environment and associate it with the corresponding PyCharm project. In case you like this mode of operation, this is how you can associate a virtual environment with a Python project in PyCharm.

Advertisements

How I use my Raspberry Pis to help me work on with my side projects

Undeniably, Raspberry Pi has revolutionised the way we use computing technology in our lives. In addition to being energy efficient, a Raspberry Pi is a single board computer that does not take up too much space.

Given these points, a Raspberry Pi is an ideal programmer gift and one of the things that you should buy if you are a computer programmer.

On the other hand, pursuing side projects help me explore technologies that I may not be able to explore at work. For example, through Techcoil, I got to know more about:

In case you are wondering how to use Raspberry Pis to help you work on your side projects, read on to find out more.

Helpful GPIO Pinout resources that you can reference while connecting sensors to your Raspberry Pi 3

Undeniably, the GPIO (general-purpose input/output) pins along the top edge of your Raspberry Pi 3 board is what makes it so useful for IOT projects. In case you are curious, this is how the GPIO pins looks like on a Raspberry Pi 3 B+:

GPIO pins of a Raspberry Pi 3 B+

Although there is the word GPIO on the circuit board that indicates what those pins are, there is no indication on what each individual pin does.

So how do you know which pins to connect your sensors to? Thankfully, there are several good resources that you can reference while connecting sensors to your Raspberry Pi 3 board.

In case you need it, here are some helpful GPIO resources that you can reference when you are connecting sensors to your Raspberry Pi 3 board.

Getting started with an Nvidia Jetson TX2 developer kit

When we have the right amount of data, machine learning enables us to use them for building a model that can provide answers for future questions.

Compared to CPUs, a GPU is better suited for us to build that model. This is because a GPU is very good at performing much more computations in parallel.

Although you can build your own GPU rig for machine learning, an Nvidia Jetson TX2 developer kit is easier to setup and more energy efficient. Therefore, I got myself a Nvidia Jetson TX2 developer kit to ride on the machine learning bandwagon.

In case you are wondering what is in the box and how to get started with an Nvidia Jetson TX2 developer kit, read on to find out more.

How to read temperature and humidity from a DHT11 sensor that is connected to a Raspberry Pi 3

I had always wanted to measure the temperature and humidity of the environment where my herbs are grown at.

Since I had a few pieces of Raspberry Pi 3 lying around the house, I decided to use one of them to measure the temperature and humidity of the area of the house where my herbs are.

An additional sensor is required to measure the temperature and humidity of the environment. Therefore, I went to AliExpress and got a DHT11 sensor. By connecting a DHT11 sensor to my Raspberry Pi 3, I can give it the ability to read the temperature and humidity of its environment.

Given these points, I created this post to show how to read temperature and humidity from a DHT11 sensor that is connected to a Raspberry Pi 3.

In order for us to check the temperature and humidity from the DHT11 sensor, we will build a simple Flask application that returns the temperature and humidity values as HTTP responses to HTTP clients.

Advertisements
Advertisements