element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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
Vertical Farming
  • Challenges & Projects
  • Design Challenges
  • Vertical Farming
  • More
  • Cancel
Vertical Farming
Forum EFM32ZG Sensor-Puck connection...
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 4 replies
  • Answers 1 answer
  • Subscribers 3 subscribers
  • Views 1007 views
  • Users 0 members are here
Related

EFM32ZG Sensor-Puck connection...

RWReynolds
RWReynolds over 10 years ago

Ok, has anyone else tried to work with the SensorPuck.

 

I have the Sensor-Puck connected to the EFM32ZG. And I've managed to configure Simplicity to recognize the puck for debugging. But there is no example software for the puck and I can't seem to locate the correct source code for the sensor-puck at SL. I found a link that says it's for the source code for the Sensor Puck firmware, V1.0. But I can't get it to compile. Missing includes and such. I found versions of some of the files but i wouldn't be willing to burn the image even if I could get it to compile.

It's at the very bottom of this page.

Sensor Software | Silicon Labs

 

And if I can get it compiled or not, can I read it from the J-TAG - I/O header if ti's in I/O mode. Not really finding any docs on that.

 

Any help appreciated.

 

Cheers,

Rick

  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz over 10 years ago +2 suggested
    Hi Rick, The sensor puck works out of the box with android (and IOS too I guess) if the app is downloaded. If you wanted it to work with (say) raspberry pi or beaglebone black then a Bluetooth LE to USB…
Parents
  • RWReynolds
    0 RWReynolds over 10 years ago

    OK, here's an update on the situation with the sensor-puck.

     

    The great news... I entered a tech support ticket with Si Labs yesterday and received a response today. I lke their support model just fine. Very comprehensive ticketing system and a quick response. Can't ask for any more than that. image

     

    The good news... They sent me updated files on developing for the puck through the JTAG port on an EFM32 device. This document shows that if you get things setup correctly you can get to the source code for the puck's firmware from inside SimplicityStudio. It specifies the EFM32WG but I will try it with the EFM32ZG and see how she goes. They also sent a document explaining how to consume the data "advertisements" from the puck. Advertisement simply being a data packet. Along with the additional documentation, they provided the following source code:

    • Source code for the Android smartphone client.
    • Source code for a Win PC based command line logger that must be used with a BLE dongle.
    • Source code for a log merge tool. For merging logs acquired from several different pucks.

     

    Once I work my way through all this I'll update this post again and let folks know how it goes. Even though you can't read the puck directly from the EFM32 controller board, I still think it might be quite useful. I have an RPi and the EFM32ZG talking serially using the expansion header. I bet I can get a BLE dongle working on the Pi and consume the puck data from there. Then I can connect the Pi to the EZR32WG serially and acquire data from the puck. Then wireless back to the central EZR32 board for logging and out to the cloud. Nice! If it works. lol...

     

    Cheers,

    Rick

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • RWReynolds
    0 RWReynolds over 10 years ago

    OK, here's an update on the situation with the sensor-puck.

     

    The great news... I entered a tech support ticket with Si Labs yesterday and received a response today. I lke their support model just fine. Very comprehensive ticketing system and a quick response. Can't ask for any more than that. image

     

    The good news... They sent me updated files on developing for the puck through the JTAG port on an EFM32 device. This document shows that if you get things setup correctly you can get to the source code for the puck's firmware from inside SimplicityStudio. It specifies the EFM32WG but I will try it with the EFM32ZG and see how she goes. They also sent a document explaining how to consume the data "advertisements" from the puck. Advertisement simply being a data packet. Along with the additional documentation, they provided the following source code:

    • Source code for the Android smartphone client.
    • Source code for a Win PC based command line logger that must be used with a BLE dongle.
    • Source code for a log merge tool. For merging logs acquired from several different pucks.

     

    Once I work my way through all this I'll update this post again and let folks know how it goes. Even though you can't read the puck directly from the EFM32 controller board, I still think it might be quite useful. I have an RPi and the EFM32ZG talking serially using the expansion header. I bet I can get a BLE dongle working on the Pi and consume the puck data from there. Then I can connect the Pi to the EZR32WG serially and acquire data from the puck. Then wireless back to the central EZR32 board for logging and out to the cloud. Nice! If it works. lol...

     

    Cheers,

    Rick

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • RWReynolds
    0 RWReynolds over 10 years ago in reply to RWReynolds

    Ok, another update on trying to read the sensor-puck from an RPi. No luck so far. image

     

    I acquired a PLUGABLE USB 2.0 BLUETOOTH ADAPTER, which may be the whole problem. I have source code, and Windows binaries, from SiLabs for sensor-puck logger software. Here's what I've tried so far:


    1. First I just wanted to get the provided software working on Windows. I can't even seem to find usable drivers for the Plugable dongle for Windows 7, 8.1 or 10. So, no go on using the SiLabs binaries.
    2. I have ported the source code to Linux C. Trying to use BlueZ and rfcomm to talk to the dongle has been iffy at best. I can scan for the puck and I get a MAC address but no name, or at least (unknown) for the name. If I cat /dev/rfcomm0 with the dongle inserted, just to make sure it's there at all, it just blocks and sits there. I'm pretty sure it's at least aware of the dongle because if I remove it then cat reports "no known path to host".
    3. SiLabs explains that the puck is a transmit-only device and that the logger application is receive only. I think that means there's no real pairing occurring. But I can see in their source code that they are transmitting to the puck and doing discovery. So, I'm not sure what all that means. This is my first foray into the BLE world.

     

    So basically I'm stuck. I would really like to get this working on the Pi. I'm hesitant to go back to SiLabs because all of the info and source code was provided on an as-is basis with no support offered. I guess I should at least go ask.

     

    Anyone have any suggestions here?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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