In this article, we will be taking a look at the PT100 Temperature Sensor Table. So using this table, we can see how the resistance of PT100 changes with temperature.
But before we do that, we first need to know what a PT100 temperature sensor is and how it works. Right? Because having a clear idea about what this sensor is will help us know how to use it. Does that make sense? Great! Then let us start from there!
What Is PT100 Temperature Sensor?
PT100 temperature sensor is a sensor that that is made from Platinum. But what does it do? Well, we can use PT100 sensor to measure the temperature around it. So in a way, it can act like a thermometer!
Wait a second. How does a sensor made of Platinum work as a thermometer?
How does it work?
So here is the thing. A pure metal like platinum has a unique feature in that it’s resistance increases with an increase in temperature. So by just measuring the resistance across it, we can map it to it’s corresponding temperature!
Now that sounds great right? Because now just my checking the resistance of this sensor, we can tell what the temperature is. How cool is that!
But why does the Platinum behave this way? What makes it change its resistance based on the temperature?
Well, to answer this question, we need to know a little bit of the chemical structure of Platinum.
First thing first, we need to know that Platinum is a pure metal. Because of this, an electric current can flow easily through it. Alright?
So everything should work fine when you are passing current through it then, right? Well, not really!
Why? Because this free flow of electrons in Platinum is affected by the temperature around it.
You see, a metal like Platinum is made up of crystals. And these crystals starts vibrating as the temperature increases. So this increase in vibration in turn will slow down the flow of electrons!
So there you have it! This is the reason why Platinum will conduct less current as temperature increases.
So PT100 temperature sensor that is built using Platinum will take advantage of this feature. And hence, we can use it to measure resistance across it to determine the temperature!
Now that is a very nifty way to take advantage of this feature right? I mean you are measuring temperature around you by just checking resistance of a sensor. How cool is that!
So now that we know how a PT100 temperature sensor works, it is time for us to look at the PT100 Temperature Sensor Table.
What Is A PT100 Temperature Sensor Table
So as we learnt, PT100 temperature sensor’s resistance increases with increase in temperature. Right? So just by measuring the resistance across it, we can tell what the temperature around it is. Right?
But what is the formula we need to use to convert a resistance to temperature? That is when the temperature sensor table comes in handy!
So simply put, this PT100 temperature sensor table will help us map between a resistance value and it’s respective temperature. No formula required then! That is great right.
So how does this PT100 temperature sensor table look like then? Well, take a look at it for yourself:
Temperature (In Degree Celsius)
Resistance (In Ohms)
-200
18.52
-100
60.26
0
100
100
138.5
200
175.85
300
212.05
400
247.10
500
281
600
313.72
700
345.29
800
375.71
850
390.49
PT100 Temperature Sensor Table
So as you can see, there is a simple mapping between the temperature and resistance. You can then use this table as a reference to measure the current temperature across a PT100 sensor.
But before we go, did you notice one important thing in the PT100 Temperature Sensor Table? Can you spot it?
PT100 Temperature Sensor Table Image File
So if you did find that the resistance is at 100 Ohms when the temperature is at zero degree Celsius, then yes! You got hat right!
Now that is an important feature of the Pt100 temperature sensor. So its resistance is always at 100 Ohms when it is working at a temperature of 0 degree centigrade. It is a good thing to keep that in mind when working with this sensor!
Conclusion
So there you have it. Because that is all there is for you to know about PT100 sensor.
But if you still have any questions about it, do let me know in the comment section below and I will be happy to help!
So with that, I will end this article now. Have a great day you all! 🙂
In this article, we will take a look at the technical specification of Arduino Portenta. But along with this, we will also learn about its price during its release date.
Just today, Arduino launched its new product called “Arduino Portenta” at CES 2020 show in Las Vegas. So far from what I have learnt, it is an IoT device. Which means that you can use it to connect things in your house to the internet!
But not just that! The company is also claiming that we can use Arduino Portenta even in industrial applications.
Ok, all this is fine. But why do we even need this device in the first place? To answer this question, we first need to discuss the technical details of Arduino Portenta. So let us first do that!
Arduino Portenta H7 Technical Specification
Arduino Portenta H7 Processor
The Arduino Portenta H7 is driven by the ST Microelectronics’ STM32H747XI low power processor. This processor is made up of dual ARM Cortex cores.
The first ARM core present in it is a Cortex-M7 running at 480 MHz. On the other hand, the second ARM core is made up of Cortex-M4 and running at 240 MHz. So with these two cores together, this ARM processor is able to run Arduino code, Python and Javascript code as well!
Now this is very interesting! Since it can run Javascript, many of the web developers will be able to work on it!
What OS does the Portenta H7 run?
We got to know that Portenta H7 is running on Arm’s Mbed OS! This is amazing! Being able to run an embedded operating system will mean we can make use of all the resources efficiently!
What type of connectivity does the Portenta H7 have?
Arduino mentioned that they support all the standard connectivity we can expect. So that means it has support for Bluetooth Low Energy, WiFi and LTE as well!
UPDATE On The Radio Module Of Arduino Portenta
We just got to know that the Arduino Portenta features a Murata 1DX dual WiFi 802.11 chipset. This chipset also has support for Bluetooth 5.1 BR/EDR/LE!
Arduino Portenta H7 IoT Module
What GPU Type Can We Find In Arduino Portenta H7?
The technical specification of the Arduino Portenta H7 mentions that it features a Chrom-ART graphical hardware accelerator.
What does the technical specification say about Timers in Arduino Portenta H7?
Alright guys. We know that in order for us to work with any time sensitive operation we need support of timers. So how does we score here? Well luckily on the timer front, the board has a total of 22 watchdogs and general purpose timers in it. So we have all the room to take its advantages!
But what about the UART ports in Portenta H7?
Ofcourse even though we have moved towards wireless connectivity, we still need good old UART ports for many reasons. So how do we fare on this front? Well the Arduino Portenta H7 strikes back once again! It is exposing a total of 4 UART Ports. And among these 4 ports, two of the UART ports have support for flow control.
How many connectors are exposed on the Arduino Portenta H7 board?
The Arduino Portenta H7 board exposes a total of 160 pin connectors. These connectors are grouped into two 80 pin sets and will expose all the peripherals present in the Portenta H7 board.
What type of USB does Arduino Portenta H7 support?
On the USB front, Arduino Portenta H7 exposes a USB Type C connector. This USB-C connector has support for host/device, displayPort out. It can operate at high speed or full speed USB protocol configuration. The Portenta H7 USB-C also supports Power delivery.
What is the operating temperature range of Arduino Portenta H7?
Arduino Portenta H7 can operate at a temperature range lying between -40 °C to +85 °C when running without the wireless module. But with the wireless module, Portenta H7 can operate in the temperature zone of -10 °C to +55 °C.
What is the operating voltage of Arduino Portenta H7 acccording to its technical specification?
Arduino Portenta H7 works at 3.3 Volts.
What type of battery does Portenta H7 support?
The Arduino Portenta H7 runs on a Li-Po battery. This battery has an operating voltage of 3.7 Volts and a discharge rating of 7000mAh.
Does Arduino Portenta H7 support an SD Card?
Yes it does! The Portenta board has an SD card interface support. However, this SD Card interface is available only through an expansion port. So that is a bit of a bummer! 🙁
But now that we know the Arduino Portenta H7 technical specification, when will it Release?
I know I know. No matter how good the device is, we cannot take advantage of it until it gets in our hands, right? So we can understand when you are eager to know when this module is going to be released.
So from what we got to know, Arduino Portenta H7 is already made availale for beta testers. But it is going to become available for everyone by February 2020! Guys, that means we are just a month away from getting hold of it in our hands!
Now that we went through it’s technical specification, What will be the price of Arduino Portenta H7?
Cool! So now that we know we can get hold of Portenta by next month, our next question is obviously this.
How much it is going to cost?
Unfortunately at this point in time, I could not find an answer (Look for update at the end of this article for pricing information) for this. So I will continue to look out for this information. Once I find it, I will revisit this article and update it with the latest price. But until then, I can only leave you guessing about it.
But on the other hand, if you have any idea about it, let me know in the comments below. And not just that, if you have any other information about Portenta H7 in general that I have missed here, do let me know. In this way, I can update this article in the future for others to benefit out of it.
So there you have it. I have shared all the information I had about Arduino Portenta H7 here. While for me this device is something I am eagerly looking forward to, I wish it had a better name. Somehow for me, the name Portenta H7 is becoming difficult to remember. But may be it is just me I guess.
So any case, I will end this article at this point. So see you guys again in the next article. Until then, take care! 🙂
Latest Update On Arduino Portenta Price
We just got to know that Arduino Portenta will cost USD 99.90 + Tax.
So the cost of Arduino Portenta in the US will be $100 + taxes
The cost of Arduino Portenta in the UK will be around GBP 77 + taxes
The cost of Arduino Portenta in the European countries will be around 90 + taxes Euros
And finally the cost of Arduino Portenta in India will be around Rs.7200 + taxes
If you are just getting started with Raspberry Pi, connecting a simple LED to one of the GPIO pins of a Raspberry Pi and controlling it using software program that you write will give you a very good grasp of how a computer hardware and its program works internally. You will realize how you can control various aspects of a computer hardware using software, how a computer works at the bit level, how to write Python programs to control hardware and more.
In summary, working on getting an led connected to a GPIO pin of your Raspberry Pi will help you in understanding the fundamentals of a computer architecture and computer science in general.
Raspberry Pi 3B
What You Will Learn From This Project?
Connecting an LED to the GPIO pins of a Raspberry Pi to control it is a simple Beginner Raspberry Pi Project that lets you learn more about:
Raspberry Pi hardware internals
General Purpose Input/Output (GPIO) pins of a Raspberry Pi
Raspberry Pi Register Set
Ohm’s Law
Python Programming
Python Library – Raspberry Pi GPIO library
The working of an Light Emitting Diode (LED)
What Hardware Is Required To Set Up A Blinking LED Project?
This a very simple, beginner friendly Raspberry Pi project that can be set up by anyone with minimal hardware or software knowledge. The hardware components required to set up this blinking LED project is also quite minimal. You need the following hardware components available with you to get it going:
Raspberry Pi Module
Solderless Breadboard
Keyboard
Monitor
Raspberry Pi Power Supply
SD Card with working Raspbian OS
Jumper wires for rigging up the circuit
LED
Resistor (1K Ohm)
Multimeter
Theory Behind How The Raspberry Pi Blinking LED Project Work
When you look at the Raspberry Pi board, you will see a bunch of pins protruding out. Among these, there is a row of 40 pins located on one side of the board as shown in the image below.
If you look closely enough in the above image, you will notice the label “GPIO” written right under it. These pins are called the GPIO pins or General Purpose Input Output pins. What the name GPIO implies is that these pins do not have any fixed functionality within the board and hence can be used for general purposes. It means that we can connect our LED into one of these pins and can turn it ON or OFF using these pins. But how?
How to control the Raspberry Pi GPIO pins programmatically?
Raspberry Pi 3 board runs on Broadcom’s ARM CPU chipset BCM2837. Among many other things, this processor chipset has a built in GPIO controller aka General Purpose Input Output controller. The 40 GPIO pins header shown in figure 1 is connected to 40 controllable pins of the GPIO controller. Now, we can control each of these pins individually by programming the appropriate registers inside this GPIO controller.
To understand how to program each of these pins using GPIO controller, we need to look into the Technical Reference Manual or datasheet of the Broadcom ARM chipset BCM2837.
In the BCM2837 SOC (System On Chip aka CPU) datasheet linked above, if we jump into page 89 we come across a dedicated chapter talking about General Purpose Input Output (GPIO). If we go through this chapter, we can learn about all the GPIO registers available and figure out the GPIO registers we need to program to turn ON or OFF the LED we are going to connect to the Raspberry Pi 3 GPIO pins.
As the name implies, GPIO pins can be configured as either an Input pin or an Output pin. When we configure a GPIO pin as an input pin, we are sending data bit (either 0 or 1) into the Raspberry Pi BCM2837 SOC i.e. data signal is sent from outside the board to inside the board (hence the name input). On the other hand, if we configure the Raspberry Pi GPIO pin as an output pin, the board will send the data bit signal (either 0 or 1) from inside the board to the outer world where any device connected to it will receive this signal.
So, if we want to control an LED that is connected to one of the Raspberry Pi’s GPIO pin, we need to configure that pin as a GPIO OUT pin (aka output pin) so that we can send an electrical signal from the Raspberry Pi board to the external LED connected to this pin.
The configuration of a GPIO pin to be an INPUT or OUTPUT pin is controlled by programming the GPIO Controller Register called GPIO Function Select Register (GPFSELn) where n is the pin number.
So for example, if we choose to use the GPIO8 pin to control the LED, i.e. we connect our LED to GPIO 8 pin, we need to program the GPFSEL register for the GPIO 8 pin and configure it as an Output pin. When we check the datasheet at page 91 and 92, we notice that GPIO pin is configured by setting the bits 26 to 24 in the GPFSEL register (that is field name FSEL8). And from the datasheet, we also find that to set the pin as an output pin, we need to set its value as 001 i.e. bit 26 is set to 0, bit 25 is set to 0 and bit 24 is set to 1.
So, if we can somehow set these values in the GPFSEL register using a programming language such as Python, we will be able to start controlling the LED connect to this pin!
If this is all overwhelming to you, do not worry. We will not have to scratch our head a lot for now as we can simply make use of Raspberry Pi’s GPIO Python library that helps us in making most of this work for us. But I just wanted to explain to you as to what this GPIO Python library is doing under the hood.
How To Connect An LED To Raspberry Pi GPIO?
Designing The Circuit
In order to connect an LED to GPIO pin 8 of Raspberry Pi, we need to first design and understand how the circuit is going to work.
Can we connect an LED directly to a Raspberry Pi GPIO pin without a resistor?
The answer is No. Raspberry Pi provides 3.3 Volts of power on its GPIO output pin according to Raspberry Pi datasheet specification. However, if we take a look at a standard LED, we notice that it normally operates at a much lower voltage. If we look at an LED specification, we notice that a typical LED usually operates at just 1.7 Volts and draws 20 mA. So, if we need to connect this LED to the GPIO pin of our Raspberry Pi, we need to bring down the voltage delivered by the pin to our LED to operate at or under 1.7V. How to do that? We connect a resistor in series with our LED so that the 3.3 Volts GPIO output of Raspberry Pi gets split between the resistor and our LED. By choosing a right value of the resistor such that it consumes 1.6 Voltage, we can ensure that LED finally gets only 1.7 Volts.
Calculating the resistor value to connect with LED and Raspberry Pi GPIO
In order to calculate the value of resistor that we should be using, we make use of the Ohm’s Law.
Ohm’s Law is defined using the equation:
V = I/R where V is the voltage, I is the current and R is the resistor value.
So, if we want to have V=1.6 Volts consumed by our resistor so that the current coming from GPIO pin is at I=20 mA, we need to connect a resistor whose value is:
1.6 = (20 mA)/R
or R = 80 Ohms (or approx 100 Ohms)
So, we choose a resistor of value 100 Ohms connected in series with our resistor to ensure that we only get 1.7 Volts and 20 mA of current, the optimum operating values as required by our LED.
A 100 Ohm resistor is identified by the color bands: Brown, Black & Brown.
Hook up the led through 100 Ohm resistor to GPIO 8 pin of Raspberry Pi as shown in the figure below:
Note that when you are hooking up the LED, the terminal pin that is longer is positive. Once you have connected as shown in the figure, it is now time to program the Raspberry Pi GPIO controller to start controlling the LED to turn ON or OFF.
We will be using Python to program our Raspberry Pi GPIO controller. Now, the simplest way to program this is by making use of the Python GPIO library.
To install the Python Raspberry Pi GPIO module, open up your linux terminal and type the following command.
Now the above command will install the required Python GPIO library module onto our Linux development machine. Once successfully installed, It is now time to start programming the Raspberry Pi GPIO controller.
We will be toggling our GPIO pins at 1 second intervals such that our LED will turn ON and OFF forever until the Python program we write will be terminated i.e., we will be running the code to perform infinite loop of toggling the GPIO 8 pin ON and OFF.
Create a new file on your computer by typing the following command in the terminal:
touch blinky.py
This should create our new program file called blinky.py
Open up this file using nano editor by typing the following command in the terminal:
nano blinky.py
Now that the file is opened, it is time to start writing our program to control the GPIO Pin 8 using Python GPIO library module.
First thing first, we will import the Python GPIO library module using command:
import RPi.GPIO as GPIO
Next, we will import python time library to perform 1 sec sleep operation between each GPIO toggle
from time import sleep
Next, we need to configure our GPIO library to use our GPIO physical pin numbering as seen on the Raspberry Pi board physically:
GPIO.setmode(GPIO.BOARD)
This ensures that when we say GPIO pin 8 in the program, it actually maps to the GPIO Pin 8 seen on the Raspberry Pi board.
Next, configure GPIO pin 8 to be a GPIO Out pin and set its initial output value to be low:
GPIO.setup(8, GPIO.OUT, initial=GPIO.LOW)
Finally we will start an infinite loop in Python such that we turn ON the GPIO 8 (by setting it HIGH) or turn it OFF (by setting it LOW) after every 1 second delay. This is achieved using the program below:
while True: # Infinite loop
GPIO.output(8, GPIO.HIGH) # Turn GPIO 8 pin on
sleep(1) # Delay for 1 second
GPIO.output(8, GPIO.LOW) # Turn GPIO 8 pin off
sleep(1) # Delay for 1 second
That’s it, this should be all the program that we need to type in our blinky.py file and run it using the command:
python3 blinky.py
This should start turning your LED ON and OFF every second!
Here is the full code for your reference:
import RPi.GPIO as GPIO
from time import sleep
GPIO.setmode(GPIO.BOARD)
GPIO.setup(8, GPIO.OUT, initial=GPIO.LOW)
while True: # Infinite loop
GPIO.output(8, GPIO.HIGH) # Turn GPIO 8 pin on
sleep(1) # Delay for 1 second
GPIO.output(8, GPIO.LOW) # Turn GPIO 8 pin off
sleep(1) # Delay for 1 second
This should conclude our tutorial on how to get a simple LED connected to a General Purpose Input/Output (GPIO) pin turning ON and OFF using a Python program that makes use of Python Raspberry Pi GPIO library. There can be many variants to this such as using other GPIO pins, connecting more than one LEDs to multiple GPIO pins and controlling them all in different ways to display interesting patterns on the LEDs. If we are even more curious, we can also figure out a way to control the BUILT-IN LEDs that are already present on our Raspberry Pi boards to bypass their current usage and be used for by own programs for our purposes.
We will dwell into these and many other interesting ways to make use of our Raspberry Pis to understand and learn more about the computer hardware, its architecture and much more in our future articles.