Category Archives: Arduino

Using a TCRT5000 sensor with your Arduino

You need to know if an object is close to another one but without using a contact switch? The TCRT5000 sensor is a great and cheap option for that! It essentially consists into 2 parts bundled together: an infrared emitter and a photo-transistor.   Drawing 1: No object close to sensor Drawing 2: An object is close to the sensor,… Read more »

Using a Real-Time Clock (RTC) – NXP PCF8563P – with an Arduino

In this post, I will explain what a Real-Time Clock (RTC) is about and how to use it in your circuits. I will be using the NXP PCF8563P chip for the examples. You can find the data sheet for that chip here. A RTC is used to keep track of date & time in your circuit and make it available… Read more »

Adding pins to your Arduino using I2C and a PCF8574P chip

You are working on a project built around an Arduino and you realize you won’t have enough I/O pins to do everything? There are different ways of working around that limitation. One of them is to use an Inter-Integrated Circuit (I2C) bus and a PCF8574P chip. That chip will provide you with an additional 8 I/O pins at the cost… Read more »