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
Sensors
  • Technologies
  • More
Sensors
Blog Interfacing PIR sensor to Thunderboard sense 2
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Sensors to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Haythem
  • Date Created: 13 Apr 2022 8:22 PM Date Created
  • Views 883 views
  • Likes 2 likes
  • Comments 3 comments
Related
Recommended

Interfacing PIR sensor to Thunderboard sense 2

Haythem
Haythem
13 Apr 2022

Hello everyone, this is my first time posting in the forum. 

So i am working with thunderboard sense 2 and simplicty studio. I want to use an external PIR sensor connected to the board to get PIR data in my PC. As in read the analog PIN and value and see it in my pc. 

Then i have to make this connection through bluetooth. Create a service/client with GATT configurator so that i can connect to my thunderboard with bluetooth and see the PIR data. I am very new to all of this. So it will be very helpful if you helped me even with a little code that i can run in simplicty studio so that i can read analog values of PIR sensor. This is very important for my project. Thank you all.  

  • Sign in to reply
  • BigG
    BigG over 3 years ago

    Unfortunately, there are no short cuts to learning... I suggest following the guidance given in Simplicity Studio when you plug in your Thunderboard 2 board... I believe they provide a quick start guide, which gives a great overview and provides links to explaining the Bluetooth stack etc. Understand this document and you are well on your way.

    https://www.silabs.com/documents/public/quick-start-guides/qsg169-bluetooth-sdk-v3x-quick-start-guide.pdf

    The only tip I can think of at this stage, is that as the values read from your analog pin can be larger than a byte, you will need to choose a characteristic type that matches your data type. In this case you could choose "short" or "integer" to handle the data transfer.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • embeddedguy
    embeddedguy over 3 years ago

    I had done same thing differently with RaspberryPi and a camera.

    www.hackster.io/.../raspberry-pi-home-security-system-with-camera-and-pir-sensor-6154f3

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fmilburn
    fmilburn over 3 years ago

    Welcome to element14. The PIR sensors I have used have digital output after detection with a reset after a period of time. Are you sure you need an analog read?  It has been some time since I’ve used Simplicity Studio but there are a number of examples included, almost certainly digital and analog reads. The Silabs forums would be a good place to search and ask for help as well. 

    • 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