Hi, I am

Yeo Chai Heng

 

I was born in and am living in Singapore,

an island city-state with beautiful skylines.

 

I am currently employed as a Solutions Engineer @ PayPal

 

I am also a Management of Technology student @ NUS

I build things with tools from the computing world:

I write on my blog:

How to show the temperature and humidity of your room on a Heltec WiFi Kit 32 attached to a DHT11 / DHT22 sensor

When you have a DHT11 / DHT22 sensor, you can measure the temperature and humidity of your room. If you attach the sensor to a Heltec WiFi Kit 32 development board, you will be able to put up the readings on a 0.96 Inch OLED screen.

Given these points, let's look at how we can show the temperature and humidity readings of your room on a Heltec WiFi Kit 32 development board attached to a DHTXX sensor.

Why get a Wio Terminal for your next IoT project?

If you have 30 USD and is looking for a microcontroller, then you will want to consider the Wio Terminal.

Since Seeed Studio had kindly sent me one for free, I got to picture my 30 bucks alongside the box:

Wio Terminal front of box with 30 USD

Although 30 bucks is not a lot of money, it is good to know what the Wio Terminal is capable of before buying. When we do so, we can prevent adding on to that electronics stockpile which is collecting dust in the house.

Given these points., let's look at why you will want get a Wio Terminal for your next IoT project.

Why use a Raspberry Pi 4B as a desktop computer?

Ever since the Raspberry Pi first appearance, many people have been hoping to use it as a desktop computer.

When the Raspberry Pi 4B came along, we saw some upgrades that can turn those hopes into reality.

Given that, let's look at some reasons why you will want to use a Pi 4B as a desktop computer.

How to prevent "Uncaught ReferenceError: jQuery / $ is not defined"

When you want to build a microsite, jQuery can help you simplify client side interactivity. If you build your website with WordPress, then you will be able to use jQuery in the custom theme that you are building.

Since you will base your site interactivity on jQuery, you may write JavaScript codes that throw the following error:

Uncaught ReferenceError: jQuery / $ is not defined.

In some cases, the error may appear randomly, making it hard to detect.

So how can we prevent our JavaScript codes from throwing a "Uncaught ReferenceError: jQuery / $ is not defined"?

How to use pycrypto, python-qrcode and Flask-RESTPlus to create QR codes that can send encrypted data to an endpoint

If you want to direct someone to a web page without saying a word, then you can use QR codes to do so.

For example, your QR code reader will direct your phone's browser to visit our home page when you scan the following QR Code:

Techcoil home page QRCode

Given that, you can use QR codes to send HTTP requests to an endpoint of your HTTP server. In addition, you can embed data that you wish to send to the endpoint in the QR codes.

With this in mind, let's look at how we can use pycrypto, python-qrcode and Flask-RESTPlus to create QR codes that can send encrypted data to an endpoint.

That's all for now...

If you wish to know more about me, you can visit these websites: