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

    • P

      Getting started with PyGos and Pylife
      Pylife • • Pete Allen 0  

      177
      1
      Votes
      177
      Posts
      1830
      Views

      robert-hh

      @Daniel-Almeida PyGo products are not support by the new Pycom BV company, and in fact they never worked. The community is waiting, if there is some activity by Pycom BV for PyGo, like publishing the hardware design and the firmware sources. But even if, it will take time.
    • F

      Root causes of high deep sleep current [LoPy1, WiPy2 and SiPy], all the new modules **do not have deepsleep issues**
      Announcements & News • deepsleep • • Fred  

      127
      11
      Votes
      127
      Posts
      109826
      Views

      M

      @mattliddle @Fred I discovered an important insight! When powering it through USB (I'm using the expansion board 2.1) there is an LED light that turns on and stays on even in deep sleep. I was measuring current draw and it was always at least 14 mA. I tried powering the device outside of the expansion board by a 3.7V source, and in deep sleep, sure enough it dropped into the microamp range. Even when it is on expansion board 2.1 and powered through battery instead of usb, the LED stays turned off, and therefore power consumption will drop into the micro amp range.
    • papasmurph

      LoPy stops detecting BLE advertisements
      Issues & Bugs • lopy ble bluetooth beacon ibeacon • • papasmurph  

      123
      0
      Votes
      123
      Posts
      84076
      Views

      T

      My lopy4 arrived and i tested with it, too, although i was pretty sure it wouldn't make a difference. It didn't, it does the same thing. I left my lopy running since yesterday noon and from 270 readings, 223 were correct. So that's around 17-18% loss.
    • X

      Important update regarding LTE modem updates
      Announcements & News • lte • • Xykon  

      123
      8
      Votes
      123
      Posts
      44657
      Views

      J

      @xykon having an issue now with modem upgrade lte.attach is stuck, same modem worked with code prior to update
    • D

      New firmware release 1.6.7.b1 (LoRaWAN Nano Gateway with TTN example!!)
      Announcements & News • firmware • • daniel  

      113
      11
      Votes
      113
      Posts
      88410
      Views

      B

      I am trying to use the config for both, node and nano-gtw
    • T

      GPy with Hologram.io SIM
      GPy • hologram.io • • tlanier  

      100
      0
      Votes
      100
      Posts
      39723
      Views

      M

      Hi. I know this may be a little late, but I have some code that enables LTE-CATM1 connection through hologram and to send a message into their socket. I would also recommend not specifying the carrier because Hologram.io takes care of that. Here is my code: Also note that hologram.io working with Python requires that you send a bytearray in ASCII format. At least from my testing, that's the only way I could get it to work. import socket import time import pycom from machine import RTC from network import LTE from network import WLAN HOST = "cloudsocket.hologram.io" PORT = 9999 DEVICE_KEY = "ABCDEFG" #generated on hologram's portal for each SIM card. TOPIC = "TOPIC1" # # Need to use global variables. # # If in each function you delare a new reference, functionality is broken lte = LTE() # Returns a network.LTE object with an active Internet connection. def getLTE(): # If already used, the lte device will have an active connection. # If not, need to set up a new connection. if lte.isconnected(): return lte # Modem does not connect successfully without first being reset. print("Resetting LTE modem ... ", end="") lte.send_at_cmd('AT^RESET') print("OK") time.sleep(1) # While the configuration of the CGDCONT register survives resets, # the other configurations don't. So just set them all up every time. print("Configuring LTE ", end='') lte.send_at_cmd('AT+CGDCONT=1,"IP","hologram"') # Changed this from origninal print(".", end='') lte.send_at_cmd('AT!="RRC::addscanfreq band=4 dl-earfcn=9410"') # changed band from 28 to 4. I dont know what earfcn=9410 is; print(".", end='') lte.send_at_cmd('AT+CFUN=1') print(" OK") # If correctly configured for carrier network, attach() should succeed. if not lte.isattached(): print("Attaching to LTE network ", end='') lte.attach() while(True): if lte.isattached(): print(" OK") #pycom.rgbled(0x00FF00) #time.sleep(.5) #pycom.rgbled(0x000000) break print('.', end='') time.sleep(1) # Once attached, connect() should succeed. if not lte.isconnected(): print("Connecting on LTE network ", end='') lte.connect() while(True): if lte.isconnected(): print(" OK") break print('.', end='') time.sleep(1) # Once connect() succeeds, any call requiring Internet access will # use the active LTE connection. return lte # Clean disconnection of the LTE network is required for future # successful connections without a complete power cycle between. def endLTE(): print("Disonnecting LTE ... ", end='') lte.disconnect() print("OK") time.sleep(1) print("Detaching LTE ... ", end='') lte.dettach() print("OK") # Program starts here. try: lte = getLTE() print(lte) s = socket.socket() print(s) dns_records = socket.getaddrinfo(HOST, PORT) print("got dns_records") print(dns_records) message = "Hello World!" for record in dns_records: try: s.connect(record[-1]) print("connected") data = '{"k": "%s", "d": "%s", "t": "%s"}' % (DEVICE_KEY, message, TOPIC) s.send(bytes(data, 'ascii')) print("sent") result = s.recv(8).decode() print(result) s.close() break except Exception as err1: try: s.close() except: pass print(err1) continue except Exception as err: print(err) try: s.close() except: pass finally: endLTE()
    • V

      Wipy 2.0 and save data on my pc, not in flash memory
      WiPy 2&3 • pycom i2c python wipy2.0 saving data • • VFlorio94  

      100
      0
      Votes
      100
      Posts
      25554
      Views

      robert-hh

      @robert-hh said in Wipy 2.0 and save data on my pc, not in flash memory: Which BN055 module I was asking about the vendor and make of the BNO055 board.
    • S

      External Flash lose files
      WiPy 2&3 • wipy3.0 flash • • serafimsaudade  

      93
      0
      Votes
      93
      Posts
      347
      Views

      G

      @robert-hh Many thanks for this detailed analysis and testing. The results are promising, based on your tests and also information from others I think it is clear that enabling wear-leveling does not have any significant negative effect.
    • Ralph

      Pymakr Atom Plugin released
      Announcements & News • pymakr atom plugin • • Ralph  

      91
      4
      Votes
      91
      Posts
      63121
      Views

      D

      @ralph I've created the issue. https://github.com/pycom/pymakr-atom/issues/46
    • J

      OTA or not OTA that is the question...
      WiPy 2&3 • • jylaxx  

      86
      2
      Votes
      86
      Posts
      52279
      Views

      M

      @robert-hh Thanks. That version worked perfectly and the simple OTA script from the earlier post worked great too!
    • A

      Does deepsleep work at all
      Discussion • deepsleep • • adam_IoTK  

      83
      0
      Votes
      83
      Posts
      50101
      Views

      B

      @johncaipa Hi, Im getting this same error - did you work out why this occurs?
    • I

      New Firmware Release Candidate v1.20.0
      Announcements & News • firmware • • iwahdan  

      81
      1
      Votes
      81
      Posts
      22948
      Views

      J

      Was in the watch out for the below upgrades lately. Glad Added support for setting mac addr for STA and AP Added API for sending Raw 80211 messages
    • A

      Not getting Sensor Readings in Pysense with FiPy Module
      MicroPython • fipy pysense raspberry pi micorpython • • Archana Kadam  

      79
      0
      Votes
      79
      Posts
      27699
      Views

      jmarcelino

      @archana-kadam Normal LTE no.. unless you use a WiFi-LTE router (MiFi) or external LTE modem.
    • Z

      Lopy with pytrack, how connect/use GPS?
      LoPy • lopy pytrack gps • • zceld  

      76
      0
      Votes
      76
      Posts
      33424
      Views

      seb

      @zceld I often see an issue like this when I have another atom window/tab open that is also connected to the same serial port. Can you make sure nothing else is trying to access the serial port?
    • catalin

      Pymesh updates
      Firmware • lora enhancement pymesh • • catalin  

      73
      2
      Votes
      73
      Posts
      12657
      Views

      J

      Hello, @catalin, I have the same error, whit the FW 1.20.2.rc11, for pymesh, have you solved it?. Thank you in advance.
    • D

      Firmware release 1.7.1.b1
      Announcements & News • firmware • • daniel  

      73
      4
      Votes
      73
      Posts
      39152
      Views

      livius

      @robert-hh I see that in current 1.7.2 it is fixed - all calculations are cast to uint64 and also constants are with ull suffix https://github.com/pycom/pycom-micropython-sigfox/commit/3284efccc8e4488a56c4cc93a494a58d6b348908
    • D

      New firmware release, version 1.6.0.b1
      Announcements & News • • daniel  

      72
      1
      Votes
      72
      Posts
      40560
      Views

      C

      @daniel - someone needs to reply to each issue posted by users, we are not mind readers !
    • bucknall

      Pymakr... Time of Death : 09/02... ;-)
      Announcements & News • pymakr plugin community dev rel • • bucknall  

      68
      7
      Votes
      68
      Posts
      43555
      Views

      bmarkus

      @bmarkus After removing all files and directories left over by ATOM uninstall on WIN10 and reinstalled it works and at first time at least for me upload and download also works. It's the time to restart using LoPy.
    • I

      Firmware Release v1.20.1
      Announcements & News • firmware • • iwahdan  

      68
      1
      Votes
      68
      Posts
      11320
      Views

      R

      @robert-hh I am using a L01 (4MB SPIRAM + 8MB Flash)
    • D

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

      65
      1
      Votes
      65
      Posts
      40651
      Views

      livius

      @Colateral bus = I2C(0, I2C.MASTER, baudrate=100000, pins=("P19", "P20")) return: b'U\x02' print(ubinascii.hexlify(bus.readfrom_mem(119, 0xD0, 1))) b'55' print(ubinascii.hexlify(bus.readfrom_mem(119, 0xD0, 2))) b'5502' and chip revision: >>> print(ubinascii.hexlify(bus.readfrom_mem(119,0xd1, 2))) b'0206' it looks ok 550206
    • 1
    • 2
    • 3
    • 4
    • 5
    • 9
    • 10
    • 1 / 10