After part 1 and part 2 is over well, we are now focusing on the TGS2600 for contamination detection sensors.
What is TGS2600 ?
It is a metal oxide sensor developed by Figaro (USA) for the air contamination (such as Carbon Monoxide) sensors. The sensor is heated internally until the metal oxide sensor can capture the air pollutants reading in parts per million. The output from this sensors is in form of the resistance reading (in ohm , Ω ).
Here is a picture of the sensor used in Raspberry Pi.
How to connect it to the Raspberry Pi?
This is the bottom view of the cross sections of the said sensor
The schematics for the sensor connections is as followed
How to connect to Raspberry Pi ?
You can solder it but preferably it is advisable to use non - permanent connection mode by using female - female jumper (if you do not have / rusty soldering skill) .
Here is the GPIO connection in Raspberry Pi.
There are a total of 26 connections with 13 pins on each sides.
All of the GPIO pins are to be used interchangeably with one another ( except for the 3 power pins )
On the board, the P1 indicator refers to the top left of the GPIO pins.
On the breadboard, we are using a analogue to digital converter chip, a Microchip MCP03800
Search It !
Showing posts with label Technical Info. Show all posts
Showing posts with label Technical Info. Show all posts
Sunday, 8 June 2014
Saturday, 31 May 2014
Part 2 : The Software Setup
Hi, welcome to Part 2 of setup. Technically,this is not software but operating system setup.
This guide assuming that you know how to operate Windows 7 operating systems.
First of all, we need a full size SD card. You may use mini / micro sized SD card with adapter.
For this Raspberry Pi project, I used my old trusted SanDisk Ultra Class 6 SD cards
For beginner, prepare a SD card, mine was a SanDisk Ultra SDHC Class6 8GB. It is confirmed to be working for me. Any brand of card is maybe acceptable but you need to make sure that you have more than 2GB spaces as the OS for Raspbian (Raspberry Pi official OS) is known to take about 1.3 GB spaces.If you are willing, you can leave the SD cards that is working in the comment
Prepare the SD cards using SDFormatter at https://www.sdcard.org/downloads/formatter_4/. Use this options to format the SD cards
Then , surf to http://www.raspberrypi.org/downloads/ to download the OS. Select the NOOBS Offline and network install parts. After finished downloading, unzip the files and copy it into the freshly formatted SD cards.
Then , connect the Raspberry Pi to the LCD using HDMI and use select "Source" in your TV remote to select HDMI ports plugged in.
But my Raspberry Pi PWR LED lights on but there are nothing on display
There are few reasons why your Raspberry Pi is not showing anything on the LCD display.
Based on my trial and error experiments
1. HDMI cable is not plugged in properly or faulty HDMI cables. Poor connections = no output display.
2. SD card is locked . Raspberry Pi needs to unlock SD card before it can modify the contents inside SD card
Unlock it (Slider is pushed opposite of Lock directions) . Look it at the left side of the SD card (In this case Sandisk)
3. SD card not formatted correctly
You maybe skipping the format the SD card parts. Reformat using SDFormatter software and copy the NOOBS into SD card and boot them again
4. SD Card damaged
Test the SD cards can be readable in Windows machine. If not, replace with other known working SD Cards
5. Power adapter does not give enough power to the Raspberry Pi board
The adapter is supposed at least to give 5V and 0.7A
Ok , Now I can see display on the LCD screen. Now what ?
Congrats ! Now yopu can proceed to the next step.
Select Raspbian [RECOMMENDED] as it is highly optimized for Raspberry Pi.
You can select others but other Linux Distro is more confusing than the Raspbian with Windows looks alike interface.
Wait for the OS images to be fully unpack . Unpack is term used in Linux to unzip the file.
NOOBS is essentially a "packed" OS.
Remember this very well. You will need this soon...
Finally, finished install the OS after around 25 minutes.
You will see this as your first setup. You will need keyboard for this.
Press [Enter] and finished.
The screen will filled like with lines and lines of code like Matrix style .
Supposedly, it will stop at a point where system request for Usename.Type in as follows
Username: pi
Password: raspberry
And the password field may look blank when you type in but it is not. It is one of Linux security features .
The screen will scroll more.
Type startx to go to familiar Window Interface
This guide assuming that you know how to operate Windows 7 operating systems.
First of all, we need a full size SD card. You may use mini / micro sized SD card with adapter.
For this Raspberry Pi project, I used my old trusted SanDisk Ultra Class 6 SD cards
For beginner, prepare a SD card, mine was a SanDisk Ultra SDHC Class6 8GB. It is confirmed to be working for me. Any brand of card is maybe acceptable but you need to make sure that you have more than 2GB spaces as the OS for Raspbian (Raspberry Pi official OS) is known to take about 1.3 GB spaces.If you are willing, you can leave the SD cards that is working in the comment
Prepare the SD cards using SDFormatter at https://www.sdcard.org/downloads/formatter_4/. Use this options to format the SD cards
Then , surf to http://www.raspberrypi.org/downloads/ to download the OS. Select the NOOBS Offline and network install parts. After finished downloading, unzip the files and copy it into the freshly formatted SD cards.
Then , connect the Raspberry Pi to the LCD using HDMI and use select "Source" in your TV remote to select HDMI ports plugged in.
But my Raspberry Pi PWR LED lights on but there are nothing on display
There are few reasons why your Raspberry Pi is not showing anything on the LCD display.
Based on my trial and error experiments
1. HDMI cable is not plugged in properly or faulty HDMI cables. Poor connections = no output display.
2. SD card is locked . Raspberry Pi needs to unlock SD card before it can modify the contents inside SD card
Unlock it (Slider is pushed opposite of Lock directions) . Look it at the left side of the SD card (In this case Sandisk)
3. SD card not formatted correctly
You maybe skipping the format the SD card parts. Reformat using SDFormatter software and copy the NOOBS into SD card and boot them again
4. SD Card damaged
Test the SD cards can be readable in Windows machine. If not, replace with other known working SD Cards
5. Power adapter does not give enough power to the Raspberry Pi board
The adapter is supposed at least to give 5V and 0.7A
Ok , Now I can see display on the LCD screen. Now what ?
Congrats ! Now yopu can proceed to the next step.
Select Raspbian [RECOMMENDED] as it is highly optimized for Raspberry Pi.
You can select others but other Linux Distro is more confusing than the Raspbian with Windows looks alike interface.
Wait for the OS images to be fully unpack . Unpack is term used in Linux to unzip the file.
NOOBS is essentially a "packed" OS.
Remember this very well. You will need this soon...
Finally, finished install the OS after around 25 minutes.
You will see this as your first setup. You will need keyboard for this.
Press [Enter] and finished.
The screen will filled like with lines and lines of code like Matrix style .
Supposedly, it will stop at a point where system request for Usename.Type in as follows
Username: pi
Password: raspberry
And the password field may look blank when you type in but it is not. It is one of Linux security features .
The screen will scroll more.
Type startx to go to familiar Window Interface
Saturday, 17 May 2014
Part 1: The Hardware Boot Setup
For this air quality monitoring project, we are going to use a low cost but accurate enough sensors to monitor air quality. Hence, Raspberry Pi is chosen as our development platform.
What is Raspberry Pi ?
It is a low costs SBC (Single Board Computer) that is designed in UK and made in UK (in mid 2013 onwards).There are 2 types of Raspberry Pi model : Model A and Model B.
They are almost same a PC but their specs is only a bit off.
The differences are stated below.
Here is how the Raspberry Pi (Model B) will looked like (If you bought it from Element14)
Although Model A may suffice but Model B is preferable as we might need to use the network (Internet) to update the readings in future road maps of this project.
Here is short over view for each functions of the ports -
(General Purposes Input Output) GPIO - It functions to receive inputs from sensors and also as well as give commands to the stepper motor to perform turning
RCA video jack - This video jack is used on older type of CRT TV but it is not advisable to use this as the quality pictures displayed on screen is not suitable for debugging (For example the '6' is too similar to 'b')
3.5mm audio jack - This port is same as the smartphone audio port to plug in the earphone
Dual USB Ports - No into needed but their main purposes is to plug in keyboard and mouse separately
RJ45 Ethernet LAN - Plug to Internet connections using LAN cable
External Display (Display Serial Interface) - A methodbeside HDMI to hook up the display to LCD panel
HDMI - Cable that transfer high res pics and sounds to LCD panel that supports it.Recommended to buy a HDMI cable and plug it into the TV
Micro USB - The main source of power for Raspberry Pi comes from here
External Camera Board (Camera Serial Interface) - It is connected to 5MP camera recently launched by Raspberry Pi
How to power up this thing ?
Simple,use your smartphone (any brand) charger adapter (with micro USB Type A). To make sure it is working, plug in adapter with rating of 5V and at least 0.7mA and above. Shown here is my adapter for Galaxy S3 charger with 5V and 2A . The extra amps is to provide more juice during its computing intensive calculations.
The design of Raspberry Pis intentionally like that to let the developer to power the board using the smartphone charger means less cost to buy any specialized charger.
Behold, Red LED (PWR) will light on. It indicates the Raspberry Pi is working well
In next section,we are going to talk about the software (OS) setup.
We need the following items (SD Card)
What is Raspberry Pi ?
It is a low costs SBC (Single Board Computer) that is designed in UK and made in UK (in mid 2013 onwards).There are 2 types of Raspberry Pi model : Model A and Model B.
They are almost same a PC but their specs is only a bit off.
The differences are stated below.
| Model | A | B |
|---|---|---|
| RAM | 256MB | 512MB |
| USB | 1X | 2X |
| Ethernet (LAN) | No | Yes |
Here is how the Raspberry Pi (Model B) will looked like (If you bought it from Element14)
Although Model A may suffice but Model B is preferable as we might need to use the network (Internet) to update the readings in future road maps of this project.
Here is short over view for each functions of the ports -
(General Purposes Input Output) GPIO - It functions to receive inputs from sensors and also as well as give commands to the stepper motor to perform turning
RCA video jack - This video jack is used on older type of CRT TV but it is not advisable to use this as the quality pictures displayed on screen is not suitable for debugging (For example the '6' is too similar to 'b')
3.5mm audio jack - This port is same as the smartphone audio port to plug in the earphone
Dual USB Ports - No into needed but their main purposes is to plug in keyboard and mouse separately
RJ45 Ethernet LAN - Plug to Internet connections using LAN cable
External Display (Display Serial Interface) - A methodbeside HDMI to hook up the display to LCD panel
HDMI - Cable that transfer high res pics and sounds to LCD panel that supports it.Recommended to buy a HDMI cable and plug it into the TV
Micro USB - The main source of power for Raspberry Pi comes from here
External Camera Board (Camera Serial Interface) - It is connected to 5MP camera recently launched by Raspberry Pi
How to power up this thing ?
Simple,use your smartphone (any brand) charger adapter (with micro USB Type A). To make sure it is working, plug in adapter with rating of 5V and at least 0.7mA and above. Shown here is my adapter for Galaxy S3 charger with 5V and 2A . The extra amps is to provide more juice during its computing intensive calculations.
The design of Raspberry Pis intentionally like that to let the developer to power the board using the smartphone charger means less cost to buy any specialized charger.
Behold, Red LED (PWR) will light on. It indicates the Raspberry Pi is working well
In next section,we are going to talk about the software (OS) setup.
We need the following items (SD Card)
Subscribe to:
Posts (Atom)


















