Subcategories

  • ussl

    2
    0 Votes
    2 Posts
    192 Views
    EndoMonkeyE
    I'm sure you've already solved this but if not have you tried adding the pem filetype to the global settings file pymakr.json? [image: 1559674550748-6d4417e3-4444-4382-b6c0-03bedb3daf19-image.png] This seems too simple a fix for you not to have tried it already, but you never know ;-)
  • Power Issues 5mA in pyScann +Lopy4

    1
    0 Votes
    1 Posts
    129 Views
    No one has replied
  • 0 Votes
    3 Posts
    277 Views
    C
    @tuftec rc11 exists. Be aware, there are some differences in the python implementation. flush in the print function pops up with an error message. For me this parameter never seemed to work, so it is only nasty to remove it. nvs_get throws exception on none existing dictionary key instead of None. (This may came up much earlier, but I ran into this on testing with rc11)
  • pysense+fipy reboot on connection to EAP-PEAP eduroam wifi

    bugs
    3
    0 Votes
    3 Posts
    576 Views
    F
    @Robin Hello Robin, same problem here connecting to any available WPA2_ENT wifi access-points (incl. eduroam). Very frustrating... apparently nobody comes up with a solution which is quite surprising indeed
  • PyScan RFID antenna poor range

    bugs
    3
    0 Votes
    3 Posts
    399 Views
    P
    @ramonpc did you managed to get a better range from the pyscan rfid antenna? I'm facing the same problem...
  • LTE() hangs on GPy

    1
    0 Votes
    1 Posts
    203 Views
    No one has replied
  • Pytrack upload failed

    2
    4
    0 Votes
    2 Posts
    189 Views
    robert-hhR
    @wenjen How about inserting a Pycom developemnt module into the pytrack. The Pytrack is not the target for Python code.
  • SD problems in Read/ f.truncate()

    3
    0 Votes
    3 Posts
    282 Views
    M
    @robert-hh do you see any solution to erase lines from the log file and keep them updated?
  • Can't write properly on SD

    4
    0 Votes
    4 Posts
    293 Views
    robert-hhR
    @morrison You should convert that to a printable version before writing, e.g. either with ubinascii.bin2hex(bytes2send)) or as repr(bytes2send)
  • LoPy4 purchased in Australia different than ones purchased in US?

    6
    1
    0 Votes
    6 Posts
    307 Views
    C
    @jcaron Do you really set the region explicitly in your LoRa init? Yes, we specify the region as LoRa.US915 in the code. And we specify during the firmware updater. Our frequence is: 918910000, which is in both AU and US. There are also differences related to SigFox zones, but I have definitely no idea ... Me either, but we do not use SigFox .. so, I'm assuming that is not in play here.
  • Power consumption deep sleep Pysense + lopy4

    7
    0 Votes
    7 Posts
    517 Views
    robert-hhR
    @morrison Glad you found. From the documentation it can only be guessed. The sections about pytrack and pysense are a little bit mixed.
  • Set pin out to 1 in deepsleep

    bugs
    2
    0 Votes
    2 Posts
    175 Views
    robert-hhR
    @Colateral The docs are you friend: https://docs.pycom.io/firmwareapi/pycom/machine/pin.html look at pin.hold()
  • Deep Sleep Pysense

    16
    0 Votes
    16 Posts
    840 Views
    S
    @SiMoS-IoT I'm measuring the instantaneous current draw.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • KeyboardInterrupt after wake by timer or accel interrupt

    4
    0 Votes
    4 Posts
    280 Views
    robert-hhR
    @shaunix It still may be an interaction between the PC and its driver stack and the xxPy device. Can you try to catch the KeyboardException in a try/except clause, signal the fact by the LED and then run the device with a pure simple power supply, like a smart phone charger?
  • 0 Votes
    20 Posts
    1k Views
    P
    @jcaron said in getting desperate: pysense does not start, while with another program it works: @PeterB I already raised the issue here: https://forum.pycom.io/topic/4105/py-setup_sleep-time/4 As is quite usual around here, the person in charge of documentation updates seems to have fallen into a black hole somewhere. NB: count yourself lucky, this is actually something you can infer from the source code. I've had to disassemble the Pysense PIC firmware to achieve my goals at some point. Even had to write the disassembler myself... Thank you very much. This solves possibly other unexplained problems we have seen as well. Will use the setup_sleep() now only just in front of the go_to_sleep(). I had a qucick look in to the library, Except for setting some time values, which I do not think causes the issue it calls calibrate_rtc() which in it turns calls: self._write(bytes([CMD_CALIBRATE]), wait=False) self.i2c.deinit() Pin('P21', mode=Pin.IN) pulses = pycom.pulses_get('P21', 100) self.i2c.init(mode=I2C.MASTER, pins=(self.sda, self.scl)) Perhaps the issue in one of those statements.
  • lopy4 not getting consistent Connection

    8
    1
    0 Votes
    8 Posts
    553 Views
    P
    Hi all, Finally i was able to get this around by removing the channel from 8-72 as shown below for i in range(8, 72): lora.remove_channel(i) start = 903900000 f_inc = 200000 curr = start for i in range(8): print(curr) lora.add_channel(index=i, frequency=curr, dr_min=0, dr_max=4) curr += f_inc
  • lte = LTE() getting stuck after power-on

    4
    0 Votes
    4 Posts
    346 Views
    A
    @John-Baird Hum well, when the code to create the LTE object was in a different module it was close to 8 in 10. Now I've decided to put back that part of the code in the main.py and somehow it went closer to 1 in 5. Most of the time an electrical power-off is enough though now. But it still odd. Could it be that the modem part get 'stuck' in a mode that prevent the LTE object to be created after a soft reboot?
  • NB-IoT attaching to T-mobile, USA

    bugs
    4
    0 Votes
    4 Posts
    388 Views
    E
    @Elizar we are using Hologram and T-Mobile SIMs, so I should reach out to them whitelist sequans modem chip?
  • Fail to read ble characteristic when type(char.uuid)==int

    10
    0 Votes
    10 Posts
    614 Views
    J
    @ricardo If you can read the device from other apps/devices, is there anything specific for the characteristics you get errors for? When you scan in reverse order, do you actually get exactly the same ones working and not working? If you do get the ones that work (so they should be at the end at that point) then that means the BLE connection is still active. I see you tried adding a sleep at some point, did that change anything? There must be something special about those characteristics, but from your logs I'm not quite sure it's the fact they have long UUIDs, as a few others have the issue as well. You would probably have to dig into the BLE stack source code to see if there's anything relevant in there. You may try previous versions of the firmware as well. Usually newer versions fix things, but they occasionally also break things here or there.

Pycom on Twitter