Search

Zx Lee

Personal Blog on Electronics and Programming

Category

Tutorial

Display Arduino Analog Input using LabVIEW

In my previous article, I have made the Bridge Monitoring System using Wireless Sensor Network project, which allows me to display all the related measurements from Arduino on my PC. Therefore, in this article, I am going to explain in details on how to display the Arduino measurements using Laboratory Virtual Instrument Engineering Workbench (LabVIEW). Two analog inputs of Arduino will be measured and displayed on a graph in LabVIEW. Continue reading “Display Arduino Analog Input using LabVIEW”

Advertisements

PCF8574A 8 bit I/O Expander

In this tutorial, I am going to show a I/O expander method using PCF8574A, which is a 8 bit I/O expander using I2C bus. This is another alternative other than using shift registers to expand either inputs or outputs such as 74HC595 (outputs) or 74HC165 (inputs). One of the advantages of using PCF8574A I/O expander is that it uses I2C bus, which requires only two data lines, they are clock (SCK) and data (SDA). Therefore, with these two lines, you can control up to eight of the same chip by changing the address input, providing extra 64 I/O pins.

PCF8574 Continue reading “PCF8574A 8 bit I/O Expander”

74HC165 8 bit Parallel in/Serial out Shift Register

Previously, I’ve made a tutorial on how to use a 74HC595 Serial In/ Parallel Out Shift Register, which is useful in expanding output pins. In this tutorial, I am going to show another shift register which is capable of expanding input pins. The IC that I am using is 74HC165 Parallel In/ Serial Out Shift Register. One of the advantages that need to be stressed on is that by using only four pins, I can get eight input pins. Moreover, it can be cascaded, thus you can have any amount of input pins with only four pins with the help of this shift register. Continue reading “74HC165 8 bit Parallel in/Serial out Shift Register”

2048 on Arduino

I had think of making a game on Arduino quite a while. An idea strikes to my mind while I was playing a quite popular game which is available on apps and pc, 2048. 2048 is actually a game created by Gabriele Cirulli, aged 19, Itallian web developer. The objective of this game is to slide the tiles and combine them to create the tile of 2048. Source: Wiki

2048

Continue reading “2048 on Arduino”

Colour Sensor

Previously I have made a colour sensor using Arduino but don’t have the time to update it on my blog. Today I am going to share the details of this mini project. Basically, the sensor consists of three LEDs and Light Dependent Resistor (LDR). The LDR will detect the colour and display it to another RGB LED. Besides display it on the RGB LED, the colour will also display on PC. RGB LED is commonly used in display colours on LCD or OLED such as the monitor and television. Continue reading “Colour Sensor”

Infra-red Sensor (IR)

What is infra-red (IR)? Infra-red is an electromagnetic wave who wavelength is between 0.75 microns to 1000 microns (1 micron = 1µm). Since infra-red is out of visible light range, we can’t really see IR with naked eye. However, there is a method to “see” IR which will be shown later on. Some of the infra-red applications includes night vision, hyperspectral imaging, and communications. We also use IR daily in our TV remote or any device remote.

infrared
IR range in electromagnetic spectrum

Continue reading “Infra-red Sensor (IR)”

GPS Bee Kit (Part 2)

In my previous article, GPS Bee Kit (Part 1), I have shown a few methods how to read NMEA messages directly from your computer without an Arduino. In this post, I will explain some basics of the NMEA message and how to make a simple interface with Arduino and GPE Bee Kit.

gps8 Continue reading “GPS Bee Kit (Part 2)”

GPS Bee Kit (Part 1)

Global Positioning System (GPS) is a space based satellite navigation system that provides location and time information. Initially, GPS only available for military used in tracking, but now it is available to everyone. GPS is widely used in application such as military, robotics, astronomy and etc. But we can also see the application of GPS in our daily life such as navigation system in advance car or mobile phone with built in GPS. A basic GPS provides information such as location (latitude and longitude), altitude, speed, and time.

gpsa1 Continue reading “GPS Bee Kit (Part 1)”

74HC595 8 bit Shift Register

Have you ever wondered how people made their projects controlling tons of LEDs with just a single Arduino? Controlling all the LEDs individually requires a lot of pins. So, now I am going to introduce you to shift register. In this tutorial the shift register that we are going to use is 74HC595, 8 bit shift register. By using shift register, you expanded a lot of output pins from your Arduino, that is the best part! Continue reading “74HC595 8 bit Shift Register”

Blog at WordPress.com.

Up ↑