Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Calculation with GPY

    Scheduled Pinned Locked Moved GPy
    3 Posts 2 Posters 35 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      henry quach
      last edited by henry quach

      Hi all,
      I am currently doing the project to connect GPY with MAX30102 based on this tutorial:
      https://github.com/vrano714/max30102-tutorial-raspberrypi

      >>> import max30102
      >>> m = max30102.MAX30102() # sensor initialization
      >>> red, ir = m.read_sequential() # get LEDs readings
      

      I have successfully getting the the raw value [red, ir]. I am currently facing the next step in calculation the heart rate in the file hrcalc.py as it used the numpy. As per read that on the forum, numpy is too heavyload for pycom. So my solution is

      1. send the raw data [red,ir] to AWS(my iot platform) to do the calculation.
      2. alternative from numpy to do the calculation?
      1 Reply Last reply Reply Quote 0
      • rcolisteteR Offline
        rcolistete
        last edited by rcolistete

        ulab module is a micro NumPy/SciPy for MicroPython. See the topic :
        https://forum.pycom.io/topic/6234/pycom-firmwares-with-single-double-precision-and-ulab-module

        My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

        1 Reply Last reply Reply Quote 1
        • H Offline
          henry quach
          last edited by

          nice. Cheers mate

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post

          Pycom on Twitter

          Pycom