Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Popular

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

    Log in to post
    • All categories
    • Announcements & News
    •      Beta Announcements & Development News
    •      Announcements only for members
    • Helium Hotspot
    •      Support
    • Pylife
    • Pybytes IoT platform
    •      Announcements & News
    •      Ideas
    •      Support & Troubleshooting
    • Getting Started
    •      Discussion
    •      WiPy 2&3
    •      LoPy
    •      SiPy
    •      GPy
    •      FiPy
    •      Pymakr
    •      Pymate
    •      Expansion Board
    •      MicroPython
    • Tutorials
    •      Projects
    •      Guides
    • Firmware
    •      Discussion
    •      Enhancements
    •      Issues & Bugs
    • Wireless Technologies
    •      WiFi
    •      Bluetooth
    •      LoRa
    •      Sigfox
    •      Cellular
    • Software Tools
    •      Discussion
    •      Enhancements
    •      Issues & Bugs
    • Events
    • Comments & Feedback
    • Jobs at Pycom
    • PyGo
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month

    • B

      BME280 on the LoPy
      Issues & Bugs • lopy i2c bme280 • • binux  

      41
      0
      Votes
      41
      Posts
      15957
      Views

      robert-hh

      @Lucas_Vieira Yes, just change the last line of the method values() to: return t, p, h I never had sent values directly to cayenne, only through TTN. Which cayenne LPP module are you using? Edit: In my tests, the value for humidity was the one with the largest error, but still not 0. Are you sure that you have a BME280 device and not an BMP280? If you look at the package, there are two lines of letters BME280: xxx Ux BMP280: xxx Kx The difference is U vs. K
    • J

      Multitech Conduit
      LoPy • • jubbs  

      41
      1
      Votes
      41
      Posts
      24811
      Views

      A

      @gertjanvanhethof We are experiencing LOS of up to 20km using the standard (20cm) antenna on devices.
    • T

      Pygate - ethernet reliability issues
      Discussion • • thinginnovations  

      41
      0
      Votes
      41
      Posts
      527
      Views

      G

      Hi @Richard-Martineau Over the last weeks we did some tests with the method you describe, but unfortunately no resolution there :(
    • T

      Method To Take Control of Cell Modem
      GPy • • tlanier  

      41
      0
      Votes
      41
      Posts
      840
      Views

      T

      @Petteri-Salo The g.modem_state global variable is used in a timer interrupt routine to control the blinking and color of the LED on the GPY. This gives the user a visual indication of what state the modem is in. This variable is not critical to using the supplied code. Unfortunately the code I have published is just snippets of my production code. It was not designed to be a general purpose library (although I believe it comes close). Without publishing the entire application, there will be pieces that are missing. Your message has motivated me to add a few random notes. We had production, shipping GPy based systems that were experiencing reliability issues. Upgrades to newer versions of the OS seemed to make the problems worse. There was considerable evidence that the problems were caused by the LTE module. For months I waited hoping that Pycom would make the existing product more robust. Instead they seemed to be going in all directions introducing new products but not improving the fundamental building blocks of the GPy. I was especially concerned when we purchased a new batch of chips and they came by default with a version of the OS which would not run our application for more than a few minutes without crashing. In addition Pycom seemed to be moving in a direction requiring our code in the future to be dependent on a cloud based system (Pybytes). This seemed to be making everything even more complex. We couldn't even get the simple things to work reliably. In principle our application was not complex. We just needed to transmit a few packets of data to a web site periodically over the LTE network reliably without crashing the system. It was also desired that the communication would not interfere with the real time task of sampling data. After looking at the C/C++ source code to the LTE module, it seemed way too complex. I had no good way to make changes, improvements, or bug fixes (assuming I could find the problem). If we moved the modem code to Python, we could bypass the usage of the LTE module and use the TCP/IP stack included in the Sequans modem. Maybe by pushing the communication load to the Sequans modem, the MicroPython would be more reliable and responsive to real time tasks. Maybe by publishing the code more people could observe and help to improve the code. We desperately needed a reliable method of communication. Since converting our code to controlling the cell modem directly in Python code, I can now say the random crashes have been solved. The real time task is more responsive. I hope that someday the LTE module will be improved so that it can be used again. Having a TCP/IP stack that is usable by both WIFI and LTE is certainly an advantage. Can it be made reliable? Can the ESP32 chip smoothly multitask while using LTE methods? I wish I knew of a method to marry our higher level Python calls for modem management with the TCP/IP stack of MicroPython. I think such a technique could make the LTE module code simpler. I think the dream of most application developers is to have simple reliable software methods to connect/disconnect to the network. The fact that we are connected using the cell network, WIFI, or whatever should be mostly transparent. We all want Pycom to be successful. They have developed a good product. We did what we did because their priorities were not ours at the time.
    • D

      SiPy firmware update tool now available with ID and PAC for activation
      Announcements & News • • daniel  

      41
      6
      Votes
      41
      Posts
      15270
      Views

      J

      @ricardo-m hola Ricardo, estoy intentado conectarme por sigfox en Cali, sigfox = Sigfox(mode=Sigfox.SIGFOX, rcz=Sigfox.RCZ4) pero no puedo ver el dispositivo en el backend, podrías darme alguna indicación, muchas gracias.
    • D

      I2C LCD: code inside
      LoPy • • DVE  

      41
      4
      Votes
      41
      Posts
      27714
      Views

      livius

      @daniel if you look at my post https://forum.pycom.io/post/3254 it looks same as @Jiemde problem i have also malformed files - look for line oryginal file in my post
    • M

      Firmware Update Fails
      WiPy 2&3 • wipy 2.0 update failed debian • • mike632t  

      41
      0
      Votes
      41
      Posts
      20672
      Views

      M

      @bucknall Thanks for your help the other evening - I'm up and running now, though I'm no closer to being able to update the firmware myself. For linux users I have a (useful?) bash script that beings up a console window and then waits up to 15s for me to plugin the device (that way I see any boot messages). I don't know if this will work on OSX as I don't have a Mac. I need to update my blog post as I've recently modified the script to allows me to select the which serial device to connect to and baud rate to use. Mike T.
    • D

      New firmware release 1.10.1.b1
      Announcements & News • firmware • • daniel  

      41
      2
      Votes
      41
      Posts
      13684
      Views

      robert-hh

      @devinv What is happening?
    • bucknall

      Pytrack and Pysense Libraries Release 1.0.0
      Announcements & News • pytrack pysense library • • bucknall  

      41
      1
      Votes
      41
      Posts
      20107
      Views

      Iplooky

      @daniel you where right, I had all the libraries outside the lib folder and that's why it did not work. still: import sys sys.path.append('/flash/my_folder') helped me a lot! Thank you!
    • C

      Lost PyMakr in VSCode
      Issues & Bugs • vscode pymakr • • ChangedDaily  

      40
      0
      Votes
      40
      Posts
      6184
      Views

      J

      @crumble and @Paul Thornton Switching on 'show hidden devices' in the Device manager (Windows 7) did not reveal anything new. Only COM1, Dell COM3 and Dell COM5 showed up (see screenprint in earlier post). What finally worked to solve my problem is to install the driver file pycom.inf downloaded from https://github.com/pycom/pycom-micropython-sigfox/blob/master/docs/pycom_esp32/tutorial/includes/downloads/pycom.inf from within the device manager (Action >> Add Legacy Hardware >> Search for and install the hardware automatically >> Ports (COM & LPT) >> Have disk >> Browse to pycom.inf file). I installed the 'Expansion 3' option. That installed the expansion board 3 driver, but it showed an error in the device manager (device cannot start). But when I next connected an expansion board V3.1 (with lopy4) to the laptop with usb, a new COM port ('Expansion 3 COM 19') appeared in the device manager, and this one allows me to connect from Atom. Also an Expansion board V2.1A with a lopy can now be connected. So problem solved. Although I still do not know what caused the connection problem. Auto connect does still not work because the working driver is at the bottom of the serial devices list, and the auto-connect takes the first one in the list, that one does not work. But anyway, PROBLEM SOLVED, I can connect manually by selecting the right COM port. Thanks for all the help!
    • S

      How to handle a LTE Connectivity loss
      GPy • • SciWax  

      40
      0
      Votes
      40
      Posts
      382
      Views

      S

      My minimal setup worked on my breadboard. Today, I've integrated that initially separated structure into my big prototype on my other breadboards. It is really weird. The Pull-up doesn't work always. When I use my minimal example code on my big prototype setup it works as on my minimal breadboard setup. The Pull-up works and the GPy doesn't boot up, so the GPy is powered off while the Arduino is booting. The Pull on the Gate is high enough in that case. When I use my real prototype code, where every sensor gets setup, the pull-up doesn't work anymore though. I can't explain why. I didn't change anything on my big prototype setup and I can't control a passive element like a simple pull-up setup via code. It must be related to the Voltage on my 5V-Pin on the Arduino then I guess? But why is the minimal example code on the same big prototype setup working as expected (the GPy is turned off at the beginning) ... While the Pull-up doesn't work on the big prototype setup, I can power cycle the GPy. When I pull the GPIO HIGH, which is connected to the Gate, I power the GPy off. When I set the GPIO to LOW, the GPy turns on again. I just can't explain why the Pull-Up doesn't work, while power cycling with the GPIO of the Arduino seems to be working? I've connected a 10k Ohm resistor to one of the 5V Pins of the Arduino, which is connected to the gate. I use this site as a reference: https://www.gammon.com.au/motors Would shifting the threshold by the forward voltage of the diode help, so I get consistency into my setup @robert-hh ? Kind regards, SciWax
    • S

      Send data requests http post. **SOLVED**
      LoPy • http post post urequest.py request.py ubidots • • scg94  

      40
      1
      Votes
      40
      Posts
      22472
      Views

      W

      @wolli01 Hier mein Code import urequests userdata = {"p1": "Wohnzimmer", "p2": "24.12.2018", "p3": "23.97"} url = 'https://Homepage.de/live1.php' res = urequests.post(url, headers={"Content-Type": "application/json", "Accept": "application/json"}, data= str(userdata)) res.close() auf den PHP Server: <?php //Sensor1 $p1 = $_GET["p1"]; $p2 = $_GET["p2"]; $p3 = $_GET["p3"]; $inhalt = array($p1, $p2, $p3); // Speichern der Datei $eintrag = implode(";", $inhalt); file_put_contents("sensor1.txt", $eintrag); ?>
    • D

      New firmware release v1.16.0.b1 (LoRaWAN 1.0.2 multi-region support)
      Announcements & News • firmware • • daniel  

      40
      2
      Votes
      40
      Posts
      11781
      Views

      R

      The command line updater failed (Debian) with this error: "Something failed trying to connect to the device." After this step: "Connecting to the device to get it's information, please wait." Also saw this error message: "Exception: Failed to connect to ESP32: Timed out waiting for packet header, on line 351" With the gui version everything worked fine. I had to install python-qt4 to get the gui version working. Edit: same issue as below
    • rogierb

      Pymakr cannot connect after firmware upgrades
      MicroPython • • rogierb  

      39
      1
      Votes
      39
      Posts
      17430
      Views

      Ralph

      Good to hear @livius and @rogierb! Sounds like we can close this topic now. If anyone still has similar issues, please create a new topic.
    • X

      Firmware source code?
      LoPy • • Xykon  

      39
      0
      Votes
      39
      Posts
      17676
      Views

      J

      @jeremy I'm considering developing a proof of concept for a possible commercial product, and the LoPy 4 board would be an ideal choice for a POC demo. I'm just concerned with what the LoPy board has for battery management for both our back pack units and relay stations. It's the relay stations that has to be smart on battery management, although we think we can get away with 1 watt solar panels for the relay stations, both initially designed around the LoPy, but who do we talk to to at PyCom to talk about licensing the LoPy for commercial use?
    • S

      GPy and LTE
      Getting Started • gpy lte mqtt internet • • serafimsaudade  

      38
      0
      Votes
      38
      Posts
      13224
      Views

      N

      @jmarcelino Done ;)
    • B

      Pycom FiPy ADR not working on AS923 (TTN and Chirpstack)
      FiPy • • bcwong71  

      38
      0
      Votes
      38
      Posts
      187
      Views

      J

      @Gijs Hello, I am currently using FiPy and LoPy4 and I am also trying to activate the ADR but using this firmware "pycom_firmware_updater_1.16.6". I have read here that you were able to achieve ADR with this firmware FiPy-1.20.2.r4_adr4.tar.gz I have yet to try with this. I also read that the change of SF was only after 70 packets, isn't possible to change after 2/3? In my use case, the gateway will pass by the end-node at a high speed.
    • B

      [SOLVED] WiPy firmware to a standard WROOM-32?
      Firmware • esp32 • • BetterAuto  

      38
      0
      Votes
      38
      Posts
      17071
      Views

      P

      @robert-hh Thanks, You helped me a lot!
    • D

      Firmware release 1.0.0.b2
      Announcements & News • • daniel  

      38
      1
      Votes
      38
      Posts
      15195
      Views

      D

      @rskoniec thanks. I'll correct that immediately.
    • F

      LoPy deep sleep mode ?
      LoPy • • fgaultier  

      38
      1
      Votes
      38
      Posts
      20999
      Views

      F

      Hello, The schematics for the deep sleep shield are now available here: https://docs.pycom.io/pycom_esp32/_downloads/Deep-Sleep-Shield_Schematic.pdf Thanks Fred
    • 1
    • 2
    • 3
    • 4
    • 5
    • 9
    • 10
    • 3 / 10