Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. pysense
    Log in to post

    • G

      Restore RTC value after Pysense go_to_sleep
      Expansion Board • pysense rtc rtc memory • • gabrielapb  

      2
      0
      Votes
      2
      Posts
      403
      Views

      J

      @gabrielapb You could try the following: save the current timestamp to NVS before going to sleep on wake-up: retrieve the saved timestamp from NVS retrieve the "remaining sleep" from the Pysense using pysense.get_sleep_remaining current timestamp is approximately saved + sleep interval - remaining Note this won't get you a very precise time (as it doesn't take into account boot time, and I'm not sure of the accuracy of the Pysense clock), and the offset to the real time will increase with the number of sleep periods, but it's helpful to have at least of rough idea of the time until you can get the actual time through other means. The alternative is to use the module's deep sleep rather than the Pysense's deep sleep, but that may not be possible depending on your actual use case.
    • C

      Guru Meditation Error & Magnetic Interference (EMI/RFI)
      FiPy • fipy pytrack pysense guru meditation • • combaindeft  

      32
      0
      Votes
      32
      Posts
      4681
      Views

      J

      Seems like this is related to WIFI in some way. When turning off WIFI (pycom.wifi_on_boot(False)) problem goes away. I am not using WIFI in any way, but maybe powerlines or WIFI accesspoint makes my W01 panic? This is the application I have been running during the test: from machine import Pin import utime LED.append(Pin('P3', mode=Pin.OUT)) while True: LED.value(1) utime.sleep_ms(100) LED.value(0) utime.sleep_ms(100) I havent been able to decode the core dumps, can I send them to someone for investigation? This forum didn´t allow me to post it here.
    • C

      Pysense bricked? Pin voltages wrong (0.2V instead of 3.3V)
      Expansion Board • pysense battery power pins voltage • • catfeeder  

      1
      0
      Votes
      1
      Posts
      276
      Views

      No one has replied

    • T

      Sending Pysense data to mySQL database
      Expansion Board • wipy pysense database mysql pymysql • • Tr234__  

      2
      0
      Votes
      2
      Posts
      340
      Views

      C

      I’ve experienced similar issues when using MySQL databases. What you’re experiencing can most likely be linked to some kind of server problem. That’s what it’s boiling down to most of the time. One of my clients was having a real bad time with his database and I identified the faulty server as being the culprit behind most of the issues. Once we switched him up to a cloud server all of the connectivity problems were gone. Also, you could try using a service like Aiven for MySQL. With that you can connect appliances to your databases with ease. I hope I could help you, and you figure out the problems.
    • T

      Pysense module error
      Expansion Board • wipy pysense error modules si7006a2 • • Tr234__  

      3
      0
      Votes
      3
      Posts
      327
      Views

      P

      Hey. Could you try reflashing the latest firmware. Including using the checkbox to wipe flash. And reupload and try the code again. Thanks
    • Y

      PySense Firmware Upgrade - Device Not Recognized
      Getting Started • firmware pysense dfu-util zadig • • YNGVV  

      4
      0
      Votes
      4
      Posts
      565
      Views

      M

      @paul-thornton The timing is rather critical. Couldn't you extend the time window for updating to let's say 30s?
    • S

      Difficulty in running the basic drivers from PyCom...
      Getting Started • pysense wipy3.0 • • SafariAl  

      3
      0
      Votes
      3
      Posts
      404
      Views

      S

      @paul-thornton Just did. :)
    • John Baird

      Feeding external power to a pysense board
      Getting Started • pysense power power supply charging vin • • John Baird  

      11
      1
      Votes
      11
      Posts
      1185
      Views

      John Baird

      @SiMoS-IoT Thanks. Given the state of Pycom documentation and the large quantities we are going to need we have decided to build our own solution, so the power feed issue will go away. I really like the approach to power Pycom have, but the fact we can't get any documentation on how it functions, other than a few system calls, means we can't take it into production. I'll probably still keep using it, but only for interests sake.
    • G

      Connect a pytrack and a pysense to a single Lopy4.
      LoPy • lopy4 pytrack pysense • • Gaby  

      1
      0
      Votes
      1
      Posts
      247
      Views

      No one has replied

    • C

      Why can't the schematics for the expansion boards be released?
      Expansion Board • gpy pysense schematics • • curtis.hendrix  

      3
      2
      Votes
      3
      Posts
      616
      Views

      P

      An effort to bring all documentation inline is ongoing at the moment and things should be clearer going forward. We are aware of a few conflicting pieces of information that need clearing up. Ill pass along the feedback about schematics being made available to the public.
    • M

      Pinout Pysense etc.
      Discussion • pysense documentation schematics • • Martinnn  

      2
      2
      Votes
      2
      Posts
      378
      Views

      robert-hh

      @martinnn Full ACK.
    • M

      Serial communication using PySense
      Expansion Board • pysense uart help rpi • • Mellow  

      7
      0
      Votes
      7
      Posts
      726
      Views

      V

      HI Mellow, I would be very interested to find how you did this.
    • H

      Pysense doesn`t connect when using external header
      Expansion Board • pysense error external pins • • han  

      3
      0
      Votes
      3
      Posts
      500
      Views

      H

      @rskoniec On the gnd pin is a ground connected from a ldr, on the 3 volt pin is the ldr connected and the analog signal is converted to a digital signal to pin 3. The Pysense isn`t connected to the external board with the ldr when I was trying to upload the code. Now is there only ten headers soldered to the Pysense. I used a pair of female headers for the gnd and 3 volt pins and maile headers for the sensor pins
    • M

      Pysense getting started don't run
      Pymakr • pysense • • manel  

      2
      0
      Votes
      2
      Posts
      477
      Views

      dan

      @manel Hi, have you tried doing a power cycle? If it still doesn't work, try updating the firmware and checking the "Erase flash file system" box.
    • P

      Transmit data from pycom wipy pysense or pytrack via bluetooth or wifi
      MicroPython • pytrack pysense wifi bluetooth • • priis  

      2
      1
      Votes
      2
      Posts
      604
      Views

      A

      You can use an FTP client (like FileZilla) to see and transfer files on the flash drive of your device via a static wifi (e.g. have your device and laptop connected to your home wifi) or by using your device as an access point (connect your laptop to the device wifi). https://docs.pycom.io/gettingstarted/programming/ftp
    • P

      Bluetooth, pyserial
      MicroPython • pysense bluetooth receive send laptop • • priis  

      1
      0
      Votes
      1
      Posts
      534
      Views

      No one has replied

    • A

      sending pysense accelerometer data to TTN
      LoPy • lopy pysense • • abhishek2101  

      10
      0
      Votes
      10
      Posts
      1283
      Views

      A

      @robert-hh but i dont see the mqtt integration in my console ?
    • S

      2.7V power supply
      LoPy • lopy4 pysense power supply regulator 2.7 • • sslupsky  

      6
      0
      Votes
      6
      Posts
      892
      Views

      robert-hh

      @sslupsky AFAIK, the enable pin is not accessible.
    • M

      Safe boot on Pysense (again, schematic?!)
      Expansion Board • pysense schematics • • Martinnn  

      5
      0
      Votes
      5
      Posts
      969
      Views

      dan

      Hi @martinnn, Thanks for noticing, I've forwarded it to the team and we'll work on that. These shortcuts work in Atom, but they clash with VSCode's shortcuts.
    • D

      How to Deep sleep with SiPy + Pysense + 3.7V LiPo
      Guides • pysense sipy deep sleep low power • • dmayorquin  

      9
      2
      Votes
      9
      Posts
      2701
      Views

      D

      @StijnK setup_sleep() is a function contained in the pycoproc.py library, and according to its code the maximum value is 2^24 - 1. So the maximum sleep time you could set is 16777215 seconds, which is about 4660 hours (more than six months). Here is the code of pycoproc.py in Github: https://github.com/pycom/pycom-libraries/blob/f848adcfb937e7b7bbc5f78db95840fa26dabe11/pybytes/pysense/lib/pycoproc.py#L24
    • 1
    • 2
    • 3
    • 4
    • 5
    • 8
    • 9
    • 2 / 9