• I2C read error on new hardware, works with old version

    14
    0 Votes
    14 Posts
    304 Views
    Don-iotD
    @robert-hh Thanks, no have not tried that one, I will have a look but I doubt I have the knowledge to understand how to use it I am afraid (but I will ask our developer for guidance). I agree, the GPys are not the issue but my process of updating halts. I doubt it is a hardware issue, but something in the update process with the pycom firmware update tool does not rock. CLI sort of worked, but one device came out as E (31) esp_image: image at 0x10000 has invalid magic byte in VSCode, so I do not dare to continue with VSCode.
  • ADC input pin different values with same code

    9
    0 Votes
    9 Posts
    82 Views
    Don-iotD
    @robert-hh Thanks, no we have not set it to be fixed to 11 or 12 bits, so I assume that needs to be corrected. Super, that may very well be the issue.
  • Excess current draw after deepsleep

    5
    0 Votes
    5 Posts
    104 Views
    K
    @dgerman If I press reset then run import time, network, machine; print() #lte=network.LTE(); lte.deinit() causes={0:'pwrup', 1:'hardreset', 2:'wdt', 3:'wakeup', 4:'softreset', 5:'brownout'}; cause=causes[machine.reset_cause()] print(' powerup cause is', cause, ' check current', end=' ') for i in range(10): print(i, end=' '), time .sleep(1) t=10; print(' deepsleep(s)', t); machine.deepsleep(t*1000) the program deepsleeps at ~50uA after the first pass powerup cause is pwrup check current 0 1 2 3 4 5 6 7 8 9 deepsleep(s) 10 but ~170mA subsequently. powerup cause is wakeup check current 0 1 2 3 4 5 6 7 8 9 deepsleep(s) 10 To get the 50uA on all deepsleeps I have to uncomment line 2. My take on this is that a pwrup prevents 'smart provisioning' powering up the lte modem but wakeup from deepsleep does not. I'm unfamiliar with '.enable_pullups' & I'm not using it.
  • machine.temperature()

    6
    0 Votes
    6 Posts
    147 Views
    robert-hhR
    @kjm You're right. I looked up the specific mass of silicon as 2.3 g/cm**3, but used 3.3 in the calculation. But then I thought: lets calculate the thermal resistance of the whole path from silicon to the outside air. The power consumption is known, and the silicon temperature too. That looked ok. I used an LoPy4, sitting on a PCB in an open box almost flush to the top of the box. At an average current of about 90 mA I had after 45 seconds a silicon temperature of about 52°C at 24°C environmental temp, but then it stuck at 52.66667 °C. By chance, this is 127° Fahrenheit, and 127 is a largest value of a signed byte. Tracing through the code it is indeed an 8 bit section of a 32 register, bits 22-29. So the software if fine, the hardware insufficient. Conclusion: a) machine.temperature() is useless. And according to the discussion in the net it is obsolete and not supported any more by espressif. b) the total thermal resistance is larger than 94°K/W
  • Bug In LTE Module Crashes System

    5
    0 Votes
    5 Posts
    136 Views
    T
    I've now tried sleeping 5 secs after the lte.disconnect() before calling the lte.send_at_cmd('AT') but it still crashes. Has anyone else experienced this? Is there a solution? What version of the firmware is stable enough to use?
  • 1nce ICCID on web portal different from modem ICCID

    14
    0 Votes
    14 Posts
    290 Views
    S
    I also get an instant connectivity from the location now, where I've tried it initially. It seems like the first connection takes ages. I've tried to connect to the Cat-M1-network for 3 hours yesterday using a 1nce-SIM. On the next day, more than 15 hours later, it just worked instantely after trying it again. Case solved, I guess. Thanks again for the inputs @robert-hh @jcaron !
  • gpy wlan connect problem after deepsleep

    4
    0 Votes
    4 Posts
    160 Views
    K
    @jcaron You're right! Put it back to littleFS & now I can get a wlan connection after a deepsleep. Troubles me, given that I do a full flash erase with pycom-fwtool-cli.exe -p COM3 erase_all everytime I change the file system. But there must have been something lurking in flash blocking wlan connections after a deepsleep.
  • BLE range problem

    3
    0 Votes
    3 Posts
    98 Views
    B
    @jcaron That could be the case. My Gpy does not have an external antenna so I wrote in Software bluetooth=Bluetooth(Bluetooth.INT_ANT) as an initialisation, but I do not know, whether there is something connected to P12. I will check this as fast as possible. Thank you for your fast reply.
  • Any PyGate code for GPy as LTE backhaul

    4
    0 Votes
    4 Posts
    131 Views
    G
    @Clemens said in Any PyGate code for GPy as LTE backhaul: https://forum.pycom.io/topic/6208/how-to-interpret-the-output-from-the-pygate-and-how-to-debug-communication-problems/ Hi, I answered in the other thread for you! Best, Gijs
  • Flashing esp-idf project : no output on monitor

    2
    0 Votes
    2 Posts
    86 Views
    F
    My bad, apparently I messed up the flashing process: in order to flash an esp-idf project, one must make flash with the strap, then remove the strap, push reset next to the led, then make monitor, and a keystroke to make it appear on the screen.
  • Modem Firmware

    modem firmware gpy
    4
    0 Votes
    4 Posts
    178 Views
    G
    To your first question, both firmwares are fine. The second question applies to the modules shipped from December 2019 and after and is not related to the firmware version difference. The last question, it is fine to sign up with Pybytes. The Pybytes library is always in the firmware (even if you did not sign up), but once you disable the connection, it will not connect to the Pybytes servers.
  • Sending Emails using WiFi (GPy)

    email gpy wifi send data
    1
    0 Votes
    1 Posts
    63 Views
    No one has replied
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    5 Views
  • Using the gpy with no antenna?

    2
    0 Votes
    2 Posts
    80 Views
    robert-hhR
    @VST-Admin As long as you do not use the LTE device, you do not need an antenna. Be careful about pybytes. If that is used, it may try to use LTE.
  • Sending SMS

    3
    0 Votes
    3 Posts
    115 Views
    A
    @jcaron Thanks!
  • Problem with NB-IoT of Spain Vodafone?

    1
    0 Votes
    1 Posts
    62 Views
    No one has replied
  • Serial console is not shown

    3
    0 Votes
    3 Posts
    75 Views
    N
    @Gijs I couldn't typing command and Ctrl+C or Ctrl+D it didn't work. I cleanned the device but it didn't work. I have just resolved after 6 hours... The problem is that for some reason this GPy dont like pybytes firmware. I installed 1.18.2.r7 and now it's work. This is a shame that I can't install the last version of GPy. What development board needs so many hours to put it into work?...... I am disappointed with this board. And that this type of thing is not indicated on the web ( it seems to happen to more people this problem)
  • GPY with hologram SIM 2020

    2
    0 Votes
    2 Posts
    85 Views
    J
    I too have a hologram SIM with GPy w/ the default LTE antenna, and at a time earlier in the year I was able to make connections to Vzw networks automatically (after calling attach, and hologram's dashboard just indicated it) i'm using modem version CATM1 41065 on "MicroPython v1.20.2.rc3-4-g4962aea3b-dirty" At the time of my post I see there is a 1.20.2.rc10 that might be worth a try for more stability... i'm uncertain what bugfixes may be present since then. I haven't been able to get it to connect automatically anymore but did notice that if you run send_at_cmd_pretty('AT!="showphy"') send_at_cmd_pretty('AT!="fsm"') and the modem doesn't say it is off, you can list the available networks found using 'AT+COPS=?' After which you can manually connect to the network with the command setnetwork(network="331480", mode="2") technically you could do it by an actual ascii network name but i did it by id as per https://m2msupport.net/m2msupport/atcops-plmn-selection/ At any def send_at_cmd_pretty(cmd): response = lte.send_at_cmd(cmd).split('\r\n') for line in response: print(line) def getscannetworks(): send_at_cmd_pretty('AT+COPS=?') def getattachednetwork(): send_at_cmd_pretty('AT+COPS?') def getccid(): send_at_cmd_pretty('AT+CCID') def getsig(): send_at_cmd_pretty('AT+CSQ') def getCEREG(): send_at_cmd_pretty('AT+CEREG?') def setnetwork(network="331480", mode="2"): # _,mode,network #0 automatic ( field is ignored) #1 manual ( field shall be present, and optionally) #2 deregister from network #3 set only (for read command +COPS?), do not attempt registration/deregistration ( and fields are ignored); this value is not applicable in read command response #4 manual/automatic ( field shall be present); if manual selection fails, automatic mode (=0) is entered #mode = 0 short alphanum, 1 long alphanum, 2 numeric send_at_cmd_pretty('AT+COPS=1,'+mode+',"'+network+'"')
  • Orange attach time very big

    attach time connectivity
    3
    0 Votes
    3 Posts
    87 Views
    C
    @Gijs I tried last pycom firware update 1.20.0.r7
  • RTC Initialisng

    1
    0 Votes
    1 Posts
    69 Views
    No one has replied

Pycom on Twitter