element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Remote Monitoring & Control
  • Challenges & Projects
  • Project14
  • Remote Monitoring & Control
  • More
  • Cancel
Remote Monitoring & Control
Blog CatDogFoxBot #5 : Collecting Some Temperature Data
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Remote Monitoring & Control requires membership for participation - click to join
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dubbie
  • Date Created: 1 Aug 2019 4:49 PM Date Created
  • Views 3692 views
  • Likes 9 likes
  • Comments 27 comments
  • remotemonitoringcontrolch
  • grideye
  • catdogfoxbot
  • temperature sensing
Related
Recommended

CatDogFoxBot #5 : Collecting Some Temperature Data

dubbie
dubbie
1 Aug 2019

The GridEye sensor is working so now I have to work out how to recognise when a cat comes along (or a dog or a fox). To help with my own understanding of what the GridEye sensor data will look like I have set up a simple experiment of the GridEye and a boiled kettle of water in an otherwise unobstructed area, but inside the house. I have changed the data displayed so that only temperature values higher than the average are displayed with anything else just being blanks. This is to help 'see' only those elements that are hotter than the background. I realise that this doesn't really work for large hot objects which fill the sensor point of view but as the sensor angle is 60 degrees this isn't going to be a problem except at very short distances.

 

So below is the data obtained at 50 cm

 

image

 

This is the data at 75 cm

 

image

 

This is the data at 100 cm

 

image

 

This is the data at 150 cm.

 

image

 

This is not quite what I was hoping for. At the close range there is a nice cluster of the higher temperature pixel values but  as the distance increases the number of pixels registering the higher temperature reduces quite quickly, which I did expect, but also the temperature drops as well, which I was not expecting. But after thinking about it, it does make sense. The sensor has a wide 'beam width' of 60 degrees so the area collected by each sensor increase rapidly and the temperature shown is going to be an average of the whole of that pixel area. So the sensed temperature will drop as more and more of the non-object, or background temperature, is included. This can be seen most clearly in the data at 150 cm where there is almost no discernible higher temperature pixels, just one pixel at 24 degrees, with the rest effectively being the background temperature.

 

This data is collected inside the house on a relatively warm day using a pot of hot water and now I will attempt to collect some data from outside during the early evening into the night to see if it might be better. At present I do not have a long lasting battery power source so I will be running the system from a USB cable out of my office window. I know that cats sometimes walk past this window so perhaps they will oblige tonight.

 

There is also the problem that cat fur is designed to keep cats warm so although the cat body will be at a higher temperature of approximately 38 degrees, the external temperature of a cat might not be. Maybe I'll find out tonight.

 

Dubbie

  • Sign in to reply

Top Comments

  • beacon_dave
    beacon_dave over 5 years ago in reply to dubbie +3
    I think perhaps shabaz has the answer in his video here: Building a Thermal Imaging System with the Raspberry Pi 3, Sense HAT and Panasonic Grid-EYE ... just need to get the cats to carry candles, and…
  • beacon_dave
    beacon_dave over 5 years ago in reply to genebren +3
    There is a bit more detailed info on the Grid-Eye field of view contained within the published application notes: https://eu.industrial.panasonic.com/sites/default/pidseu/files/application_notes_grid-eye_0…
  • shabaz
    shabaz over 5 years ago in reply to beacon_dave +3
    Hi Dubbie, Great project! I'd forgotten about the GridEye experiments, hopefully the links from Dave can help you. There's some ways of doing blob identification, that may be enough for you to see if there…
Parents
  • BigG
    BigG over 5 years ago

    Have you thought about adding another sensor into the mix?

     

    From the looks of things you need to have a way of determining how far the object is away and then cross reference this with the grid eye data. An ultrasonic sensor came to mind as this is pretty good at distance estimation below 1 metre and its field of view is not too narrow.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dubbie
    dubbie over 5 years ago in reply to BigG

    BigG,

     

    I toyed with the idea of additional sensors but then that seems to make the use of GridEye a bit redundant. I'm sure that GridEye will provide the data needed to recognise a cat, I just have to work out how to extract that information.

     

    Dubbie

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 5 years ago in reply to dubbie

    ...I'm sure that GridEye will provide the data needed to recognise a cat, I just have to work out how to extract that information...

     

    Have you looked at the software which was included with the Grid-eye evaluation  kit ?

     

    https://eu.industrial.panasonic.com/grideye-evalkit

     

    https://na.industrial.panasonic.com/products/sensors/evaluation-kits/lineup/grid-eye-amg8834eval-evaluation-kit

     

    There appear to be some API's for subject detection and the source code appears to  be available for download.

     

    Panasonic also reference this paper in relation to the Grid-eye sensor:

     

    "Probabilistic method to determine human subjects for low-resolution thermal imaging sensor"

    https://ieeexplore.ieee.org/document/6798925

     

    which may include some useful information about extracting information from the sensor data.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dubbie
    dubbie over 5 years ago in reply to BigG

    I hadn't thought of that. Do cats get hotter when they run about? Or even do cats run about as it's not something I remember them doing much. The odd sprint and that's it. Generally they seem to just slink about. Plus they are much the same size so you can (possibly) get some idea of distance from the size of the hot blob - but as there are only 64 pixels there's not much discrimination. Dogs and Foxes would complicate the picture. I wonder if you could tell a fox from a cat with just the GridEye data?

     

    Dubbie

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dubbie
    dubbie over 5 years ago in reply to beacon_dave

    No, I hadn't looked at the evaluation kit software. Now I'm torn between looking at all this information or working on finishing my patio. I think the patio might win out. Also, I no longer have access to IEEE journals anymore so I cannot access the paper online.

     

    Dubbie

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • BigG
    BigG over 5 years ago in reply to dubbie

    Have kids... had to watch "the secret life of pets"... and it confirmed my view of cats... I suppose, once a dog lover always a dog lover...

     

    cat v fox. Maybe this would depend on type and size of cat as typically should be a little smaller. My guess is that the body mass (tummy hot spot) for a cat would be lower off the ground than say a fox or dog by the way a cat moves.

     

    Say, I entered that ieee paper title online and I found that someone (as in an Australian architectural firm!) had placed it on github (so best grab it quick): https://github.com/bvn-architecture/grideye-testing/blob/master/Papers/Probabilistic%20Method%20to%20Determine%20Human%2…

    Australian architectural firm

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 5 years ago in reply to dubbie

    Perhaps to start with, you could run a TTL serial camera module alongside the Grid-eye sensor in order to gather some test data  ?

     

    This one appears to do video motion detection as well, so could be useful in saving the JPG image plus the Grid-eye sensor values to a SD card, for later analysis:

    https://learn.adafruit.com/ttl-serial-camera/arduino-usage

    The viewing angle is 60 degrees so similar coverage to that of the Grid-eye sensor.

     

    Once you can start to make sense of the Grid-eye data, you could then remove the camera module from the final project.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • beacon_dave
    beacon_dave over 5 years ago in reply to dubbie

    Perhaps to start with, you could run a TTL serial camera module alongside the Grid-eye sensor in order to gather some test data  ?

     

    This one appears to do video motion detection as well, so could be useful in saving the JPG image plus the Grid-eye sensor values to a SD card, for later analysis:

    https://learn.adafruit.com/ttl-serial-camera/arduino-usage

    The viewing angle is 60 degrees so similar coverage to that of the Grid-eye sensor.

     

    Once you can start to make sense of the Grid-eye data, you could then remove the camera module from the final project.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • dubbie
    dubbie over 5 years ago in reply to beacon_dave

    Dave,

     

    Thanks for the link to this camera as I have been looking for small TTL cameras for some time. I used one many years ago and it was great but then they seemed to stop making them. This one looks really good but also available. Farnell do actually sell this but have a 50% surcharge just to send it from America, so not for me. RS do sell it though so I might get one from them. Not sure it will come in time for this Project14 challenge, but you never know!

     

    Dubbie

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 5 years ago in reply to dubbie

    The Pi Hut appear to have a few in stock

    https://thepihut.com/collections/adafruit-sensors/products/adafruit-ttl-serial-jpeg-camera-with-ntsc-video

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube