Subcategories

  • Working with MCP3008

    bugs
    4
    0 Votes
    4 Posts
    1k Views
    robert-hhR
    @expectthebest Yes, that code example is for another variant of micropython. youc could either write clk=Pin("P10") etc., or clk=Pin.module.p10 etc., assuming that you have imported the Pin class first with from machine import Pin. CS can be connected to any output able GPIO Pin. If the MCP3008 is the only device connected to SPI, CS can be tied to GND permanently. Vdd -> 3.3V Vref -> 3.3V
  • Guru Meditation Error when connecting to Eduroam (WPA2-Enterprise)

    bugs
    1
    0 Votes
    1 Posts
    538 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    15 Views
    No one has replied
  • Atom fails to use USB port. LoPy via PyTrack

    bugs
    7
    0 Votes
    7 Posts
    1k Views
    K
    @seb Every time I restated atom it would lose the project directory. I'd have to download pymakr again, then it would work until I stopped atom. Turns out the problem was my py directory was moved somehow (I'm sure I did it). When I put it back into the root of my Documents (Mac) folder everything worked again. There was a red warning on startup but I missed it. Thanks!
  • FTP Access with larger files crasing FiPy

    bugs
    3
    1 Votes
    3 Posts
    954 Views
    F
    I managed to get the core dump related to this behaviour https://forum.pycom.io/topic/2944/crash-pcb-must-be-deallocated-outside-this-function/4
  • Cannot read property 'split' of null

    bugs
    3
    0 Votes
    3 Posts
    902 Views
    D
    @livius said in Cannot read property 'split' of null: @dariox How do you upload your code? By ftp (e.g. Filezilla) or some editor? I'm using Atom with the Pymakr plugin.
  • Surprise - AttributeError: 'bytes' object has no attribute 'find'

    bugs
    2
    0 Votes
    2 Posts
    742 Views
    G
    Replying to myself here, I now see that the OSError/EBADF in MQTTClient.wait_msg() is occurring as the stack unwinds in the main thread, which takes out the MQTTClient instance. It is the exception handler in the main thread that enables the watchdog, delays and prints the FATAL message. So the cause of the original exception still remains unknown.
  • Can reliably hang GPY on expansion board with the following

    bugs
    5
    0 Votes
    5 Posts
    1k Views
    T
    @seb Problem ceased with the latest firmware.
  • Atom fails to connect to LoPy

    bugs
    6
    1
    0 Votes
    6 Posts
    1k Views
    sebS
    Make sure all the jumpers on the top left hand corner of the expansion board are properly seated, since you cannot type into the REPL this could be the issue.
  • lora.stats() ?

    bugs
    3
    0 Votes
    3 Posts
    728 Views
    sebS
    @stefan85e Hi, You shouldn't be passing any parameters to lora.stat(), instead this function returns a named tuple of stats from the last packet received that you can access like so: stats = lora.stats() rssi = stats['rssi'] snr = stats['snr'] etc
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    21 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    46 Views
    No one has replied
  • Lopy firmware and other problems

    bugs
    29
    0 Votes
    29 Posts
    7k Views
    X
    @elenah Can you please try pycom-fwtool-cli --port COM3 --speed 115200 --verbose wmac It seems to be able to upload the "stub" now which is the 2nd stage bootloader. However it seems to have issues switching to 921600bps after that. Using 115200 would skip this step.
  • Nanogateway Downlink Problems (TTN and loraserver)

    bugs
    12
    2
    0 Votes
    12 Posts
    3k Views
    robert-hhR
    @gnm If you can build your fipy firmware, then you could make the changes I did to get a reliable timing. The diff is in this thread: https://github.com/pycom/pycom-micropython-sigfox/issues/141 It's just a few lines of code in three (for Fipy two) files. It gets down to call other internal functions for the µs-timer in the files . (call mp_hal_ticks_us() instead of system_get_rtc_time() in the files esp32/mods/modutime.c, drivers/sx127x/sx1276/sx1276.c and drivers/sx127x/sx1272/sx1272.c). I made also small changes to the nanogateway script. For that there exists a PR. https://github.com/robert-hh/py<com-libraries/blob/nanogateway/examples/lorawan-nano-gateway/nanogateway.py
  • LoPy not being connected to Pybytes!

    bugs
    2
    0 Votes
    2 Posts
    632 Views
    J
    @devang-sharma Hi Devang, you were trying to connect your LoPy through Wi-Fi? Please flash your device with latest Pybytes-library https://docs.pycom.io/chapter/pybytes/add-device.html
  • Unabel to upgrade FW

    bugs
    15
    0 Votes
    15 Posts
    3k Views
    J
    Hi I use the REPL as normal without any obvious problems as far as I have detected. Using Ctrl-E and pasting works as well. I usually upload scripts through FTP.
  • Pytrack latest hardware version

    bugs
    2
    0 Votes
    2 Posts
    625 Views
    sebS
    Hi, There is a v1.1 of the pytrack but the changes are very minimal. The circuit of both is identical, the only differences were slight PCB layout changes.
  • Problem to connect after wrong update

    bugs
    4
    0 Votes
    4 Posts
    680 Views
    sebS
    @gugu Thats correct, you can reset the OEM modules by pulling the RST pin LOW. The OEM reference board you have the module soldered to should also also have a reset button near the RGB LED
  • WiPy3.0 Corrupted data in file transfer from SD-Card via ftp

    bugs
    9
    0 Votes
    9 Posts
    1k Views
    N
    It's better with 1.17 but not fixed. I would say 1 MB files go about 6/7 times before corruption. Anything below about 500 kb is corruption free.
  • socket.send() stops working (Sigfox)

    bugs
    18
    0 Votes
    18 Posts
    4k Views
    L
    An additional update: While it is emitting some sort of radio signal, I have yet to have one successful sigfox connection on a long distance drive test through various coverage areas. Perhaps Sigfox has its own issues, but this seems a bit odd not one came through.

Pycom on Twitter