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
    • P

      Getting started with PyGos and Pylife

      Watching Ignoring Scheduled Pinned Locked Moved Pylife
      177
      1 Votes
      177 Posts
      2k Views
      robert-hhR
      @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**

      Watching Ignoring Scheduled Pinned Locked Moved Announcements & News deepsleep
      127
      11 Votes
      127 Posts
      110k 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.
    • papasmurphP

      LoPy stops detecting BLE advertisements

      Watching Ignoring Scheduled Pinned Locked Moved Issues & Bugs lopy bluetooth ble beacon ibeacon
      123
      0 Votes
      123 Posts
      84k 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

      Watching Ignoring Scheduled Pinned Locked Moved Announcements & News lte
      123
      8 Votes
      123 Posts
      45k 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!!)

      Watching Ignoring Scheduled Pinned Locked Moved Announcements & News firmware
      113
      11 Votes
      113 Posts
      88k Views
      B
      I am trying to use the config for both, node and nano-gtw
    • T

      GPy with Hologram.io SIM

      Watching Ignoring Scheduled Pinned Locked Moved GPy hologram.io
      100
      0 Votes
      100 Posts
      40k 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

      Watching Ignoring Scheduled Pinned Locked Moved WiPy 2&3 wipy2.0 i2c pycom python saving data
      100
      0 Votes
      100 Posts
      26k Views
      robert-hhR
      @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

      Watching Ignoring Scheduled Pinned Locked Moved WiPy 2&3 wipy3.0 flash
      93
      0 Votes
      93 Posts
      355 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.
    • R

      Pymakr Atom Plugin released

      Watching Ignoring Scheduled Pinned Locked Moved Announcements & News pymakr plugin atom
      91
      4 Votes
      91 Posts
      63k 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...

      Watching Ignoring Scheduled Pinned Locked Moved WiPy 2&3
      86
      2 Votes
      86 Posts
      52k 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

      Watching Ignoring Scheduled Pinned Locked Moved Discussion deepsleep
      83
      0 Votes
      83 Posts
      50k Views
      B
      @johncaipa Hi, Im getting this same error - did you work out why this occurs?
    • I

      New Firmware Release Candidate v1.20.0

      Watching Ignoring Scheduled Pinned Locked Moved Announcements & News firmware
      81
      1 Votes
      81 Posts
      23k 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

      Watching Ignoring Scheduled Pinned Locked Moved MicroPython fipy raspberry pi pysense micorpython
      79
      0 Votes
      79 Posts
      28k Views
      J
      @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?

      Watching Ignoring Scheduled Pinned Locked Moved LoPy gps lopy pytrack
      76
      0 Votes
      76 Posts
      33k Views
      sebS
      @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?
    • D

      Firmware release 1.7.1.b1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements & News firmware
      73
      4 Votes
      73 Posts
      39k Views
      L
      @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
    • catalinC

      Pymesh updates

      Watching Ignoring Scheduled Pinned Locked Moved Firmware lora enhancement pymesh
      73
      2 Votes
      73 Posts
      13k 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

      New firmware release, version 1.6.0.b1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements & News
      72
      1 Votes
      72 Posts
      41k Views
      C
      @daniel - someone needs to reply to each issue posted by users, we are not mind readers !
    • B

      Pymakr... Time of Death : 09/02... ;-)

      Watching Ignoring Scheduled Pinned Locked Moved Announcements & News pymakr plugin community dev rel
      68
      7 Votes
      68 Posts
      44k Views
      bmarkusB
      @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

      Watching Ignoring Scheduled Pinned Locked Moved Announcements & News firmware
      68
      1 Votes
      68 Posts
      11k Views
      R
      @robert-hh I am using a L01 (4MB SPIRAM + 8MB Flash)
    • D

      New firmware release 1.4.0.b1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements & News
      65
      1 Votes
      65 Posts
      41k Views
      L
      @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