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

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

    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • D

      LoPy To MultiTech Conduit

      Watching Ignoring Scheduled Pinned Locked Moved LoPy
      25
      0 Votes
      25 Posts
      11k Views
      D
      @cmsedore Sorry for the delay in merging your code. I'm testing it now and everything looks solid. This will be on the next release. Thanks for your contribution! Cheers, Daniel
    • B

      WiPy 2.0 not working after firmware update.

      Watching Ignoring Scheduled Pinned Locked Moved WiPy 2&3 wipy 2.0 firmware update bug
      25
      0 Votes
      25 Posts
      9k Views
      B
      @robert-hh Unfortunately deep sleep hasn't been implemented in the latest version I can use (1.6.3). I will try to implement it myself later today though.
    • P

      I2C accelerometer model MMA7455

      Watching Ignoring Scheduled Pinned Locked Moved Getting Started lopy i2c sensor mma7455 i2c bus error
      25
      3
      1 Votes
      25 Posts
      11k Views
      P
      @jmarcelino @livius @robert-hh Hey all, thx a lot for helping me this last days with this driver. This is the code i have until now... it's a shame that i didn't make it, but i think that i could have broken the sensor when i plugged CS to 5v instead of 3V3. I think i will buy another one, that will take some weeks until it gets to Uruguay :P Anyway, this is the code we've made until now, maybe it's useful for someone else. It's not throwing the ugly i2c bus error anymore, but the device id registry is returning always zero, and that's bad... not sure if the device is broken or what, but comparing this code with the implementation @livius has referenced, and with other implementations i found on google for other languages, it looks like the retrieval of the device id is the first action almost everyone does, so... i dont know. from machine import I2C from machine import Pin from machine import Timer import time def DelayUs(us): Timer.sleep_us(us) #i2c slave address SLAVE_ADDRESS = 0x1D #registers REG_POWER_CTL = 0x2D REG_BW_RATE = 0x2C #connected to SDO and CS of MMA7455 CS = Pin("P23", mode=Pin.OUT) CS.value(1) CS.hold() DelayUs(1000) #main i2c = I2C(0, I2C.MASTER, baudrate=100000) print(i2c.scan()) def setPowerCtrl(measure, wake_up=0, sleep=0, auto_sleep=0, link=0): power_ctl = wake_up & 0x03 if sleep: power_ctl |= 0x04 if measure: power_ctl |= 0x08 if auto_sleep: power_ctl |= 0x10 if link: power_ctl |= 0x20 i2c.writeto_mem(SLAVE_ADDRESS, REG_POWER_CTL, bytes([power_ctl])) #***************************** #******* main logic ********** #***************************** data = i2c.readfrom_mem(SLAVE_ADDRESS, 0x00, 1) print("DEVID: " + str(bin(data[0]))) #set power characteristics setPowerCtrl(1, wake_up=0, sleep=0, auto_sleep=0, link=0)
    • T

      failed to set dtr/rts

      Watching Ignoring Scheduled Pinned Locked Moved Issues & Bugs lopy pysense pymakr
      25
      0 Votes
      25 Posts
      17k Views
      on4aaO
      What Removed Added Resolution --- FIXED Status REOPENED RESOLVED Comment # 5 on bug 104320 from Aleksander Morgado I've pushed the 2 blacklisted devices with rules including vid:pid, but I've also added the whole vid to the "usb adapters greylist", which are only probed if manually requested to do so, so should help to avoid interference with other Microchip-vid-tagged devices. https://cgit.freedesktop.org/ModemManager/ModemManager/commit/?id=c2b956aefce495865cbdcb9971e2b3cd99cd0e99 All fine & dandy in the end…
    • H

      Instructions for upgrading Pytrack / LoPy

      Watching Ignoring Scheduled Pinned Locked Moved Firmware lopy
      25
      0 Votes
      25 Posts
      9k Views
      H
      @cinezaster @jcaron thanks guys, I'll try that!
    • pierrot10P

      [Pysense] How can I connect a sensor to the external IO Header

      Watching Ignoring Scheduled Pinned Locked Moved Expansion Board pysense headers pic interrupt pins
      25
      0 Votes
      25 Posts
      11k Views
      S
      Hi @pierrot10 The internal ADC has very poor performance. The non linearity is poor and it has a high noise floor. I think someone earlier suggested using an external ADC and I think that is very good advice.
    • A

      How potential buyers could insert WIFI-parameters

      Watching Ignoring Scheduled Pinned Locked Moved Discussion wifiinformation
      25
      0 Votes
      25 Posts
      7k Views
      A
      Dear @misterlisty, the other day, you made a remark here that you are using Bluetooth and a standard BLE scanner app to update the WiFi credentials. We also believe this would be a perfect solution unless the Smart Config option might get unlocked through ESP-TOUCH at some point in the future. As you told us that it even works really well and you might be able to share the code, we are humbly asking if you could give us some pointers regarding that. The background of our question is that we are in the process of conceiving a convenient datalogger application [1] for the Hiveeyes project [2] which is well suitable to be used for other environmental purposes beyond monitoring bee hives. We will be happy when this might spark your interest. With kind regards, Andreas. [1] https://github.com/hiveeyes/hiveeyes-micropython-firmware [2] https://community.hiveeyes.org/
    • M

      Lopy4 433MHz

      Watching Ignoring Scheduled Pinned Locked Moved LoPy lopy4 433mhz
      25
      1 Votes
      25 Posts
      5k Views
      bmarkusB
      @robert-hh said in Lopy4 433MHz: @bmarkus Standard build of Pycom. You know that I made a version of the pycom firmware and tested that against LORIOT. It worked. I see, thanks. I was not sure your are referring to the LoRa Alliance or PyCom
    • H

      Orange Belgium Gpy

      Watching Ignoring Scheduled Pinned Locked Moved Discussion gpy nbiot orange belgium
      25
      0 Votes
      25 Posts
      4k Views
      M
      Hello all, Finally I manage to make it works. The problem wasn't in the software, but hardware. I don't use a expansion board, I use a ttl converter like this one https://www.ebay.com/itm/5V-3-3V-FTDI-FT232RL-USB-to-TTL-Serial-Converter-Adapter-Module-Arduino-Mini-Hot/182736917146 With this converter 3.3V is not enough to power on stably the board, so, I used it in 5V mode, but it seem that 5v for serial communication is ok for the python REPL, but have problem when flashing the modem or use the LTE modem. Finally, I changed my design by using another 5v power source, and use the ttl converter un 3v3 mode with common ground. And then it just works fine ;) Thank you for you support
    • S

      GPY/FiPY & Expansion Bd 3 - Multi I2C and SD Card Instances

      Watching Ignoring Scheduled Pinned Locked Moved Discussion gpy fipy i2c spi expansion board
      25
      0 Votes
      25 Posts
      4k Views
      S
      @robert-hh OK, I set up some code to try this out, several timers at different periods and several threads including one to start LTE, send an SMS and then deinit. From what I can see, the timers do NOT get interupted by the LTE device. It seems the timer counts are retained and dumped to REPL as soon as possible (buffered apparently). There is some corruption/mixup of REPL lines but all the timer flags are there I will investigate a bit further and see if I can use this to my advantage. One thread/timer I will need will be at 11uS preferably, so as it is too fast to capture by eye, I'll have to write to a file to a file to evaluate any impact by the LTE device. Biggest constraint might be the actual time to write to disk. A FIFO data buffer is probably a good solution - some work to do there. The test code was pretty rough and ready so its needs a lot of refinement to be truly useful as a valid test.
    • N

      Geofencing with Pytrack

      Watching Ignoring Scheduled Pinned Locked Moved Expansion Board
      25
      0 Votes
      25 Posts
      211 Views
      N
      @jcaron that seems to have fixed it. Initial results look positive, will do some more testing in the next days. Thank you so much for sorting this out!
    • A

      [ARCHIVED] Downgrading firmware (advanced users)

      Watching Ignoring Scheduled Pinned Locked Moved Announcements & News firmware
      24
      2 Votes
      24 Posts
      18k Views
      rcolisteteR
      @seb Thanks, from v1.17.0.b1 all firmwares are available at : https://github.com/pycom/pycom-micropython-sigfox/releases
    • D

      Syncing RTC To Network Time

      Watching Ignoring Scheduled Pinned Locked Moved LoPy
      24
      0 Votes
      24 Posts
      14k Views
      S
      @rdixey Ok, it seems interesting. Will try! Thanks
    • D

      New firmware release, version 1.5.1.b1 (supporting the SiPy)

      Watching Ignoring Scheduled Pinned Locked Moved Announcements & News
      24
      0 Votes
      24 Posts
      10k Views
      C
      @daniel Marvelous News, thanks
    • R

      Firmware upgrade troubleshooting - checklist/procedure

      Watching Ignoring Scheduled Pinned Locked Moved Firmware lopy
      24
      5 Votes
      24 Posts
      16k Views
      on4aaO
      Unfortunately, this is currently not working for upgrading a module through either the Pysense or Pytrack boards using any GNU/Linux distribution.
    • M

      Always reading same battery voltage

      Watching Ignoring Scheduled Pinned Locked Moved LoPy lopy battery adc
      24
      1 Votes
      24 Posts
      11k Views
      M
      @robert-hh Oke, will make a test program. When USB is connected it indeed has a higher voltage :'). That was another mistake/issue I had :). Thanks a lot, again!
    • P

      Simple Windows installation

      Watching Ignoring Scheduled Pinned Locked Moved Discussion installation
      24
      0 Votes
      24 Posts
      9k Views
      J
      Help me create a bootable USB, I want to install Windows 10 on my system. From where should I download the iso file.
    • B

      Alex's Corner - Week 4 - WiPy & Publishing/Subscribing With MQTT

      Watching Ignoring Scheduled Pinned Locked Moved Events wipy live webinar mqtt wlan
      24
      3 Votes
      24 Posts
      13k Views
      R
      @bucknall just posted about sending images over MQTT, perhaps one for another Corner?
    • P

      [Solved] Power consumption deep sleep Pysense/Pytrack

      Watching Ignoring Scheduled Pinned Locked Moved Issues & Bugs pysense deepsleep deep sleep lopy pytrack
      24
      2 Votes
      24 Posts
      12k Views
      P
      @dbrgn Thanks for the notification, I can confirm that it works!
    • D

      IMPORTANT: New Firmware Update Tool Released (version 1.1.2.b1)

      Watching Ignoring Scheduled Pinned Locked Moved Announcements & News firmware
      24
      0 Votes
      24 Posts
      10k Views
      C
      Why doesn't the update tool support OTA updates, or at least make the firmware binaries available directly?
    • 1
    • 2
    • 6
    • 7
    • 8
    • 9
    • 10
    • 8 / 10