Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login
    1. Home
    2. Tags
    3. micropython

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

    Log in to post

    • All categories
    • T

      micropython logging to CSV

      Watching Ignoring Scheduled Pinned Locked Moved MicroPython micropython csv logging
      5
      0 Votes
      5 Posts
      2k Views
      T
      @eric73 I am just creating the file and the first row, in my mind that's belongs to initialization. But correct me if not. Okay than I just use the basic file operations. Thank you! :)
    • T

      SI7021 I2C pin setup (SOLVED)

      Watching Ignoring Scheduled Pinned Locked Moved MicroPython micropython si7021 i2c
      59
      0 Votes
      59 Posts
      13k Views
      T
      @robert-hh Awsome! Thank you
    • P

      Micropython firmware for esp32

      Watching Ignoring Scheduled Pinned Locked Moved Discussion micropython esp32 firmware
      6
      0 Votes
      6 Posts
      1k Views
      robert-hhR
      @priis You constantly use the wrong firmware images with the wrong tools. Stop panicking. If you have a WiPy3, then you have to use the Pycom tools. The pycom firmware will be downloaded by the pycom update tool on the fly. You do not have to download the firmware beforehand. The firmware updating tool is here: https://pycom.io/downloads/ The instructions are in the link I gave you earlier: https://docs.pycom.io/gettingstarted/installation/firmwaretool Please follow the instructions. You do not have to use esptool.py of firmware images from other sources.
    • A

      Command for safe boot

      Watching Ignoring Scheduled Pinned Locked Moved MicroPython safe boot micropython command
      3
      1 Votes
      3 Posts
      664 Views
      robert-hhR
      @alexpul But if it's only about not executing boot.py and main.py on boot, you can do similar with python scripts: from machine import reset def safe_boot.py() # create a special main.py and reset f= open("no_main.py", "w") f.write('''import os\nos.remove("no_main.py")\n''') f.close() reset() and then a specific boot.py, which checks for that special main.py: import machine import os try: f = open("no_main.py") f.close() machine.main("no_main.py") except OSError: # do the previous boot.py stuff here Or something similar in you regular boot.py and main.py, which just checks for the existence of a flag for bypassing.
    • G

      NameError: name '​' is not defined when upload the "Lopy to Lopy" example

      Watching Ignoring Scheduled Pinned Locked Moved MicroPython fipy lora main.py micropython atom
      3
      0 Votes
      3 Posts
      1k Views
      danD
      Hi @grideagle, Thank you for reporting that, I've reported it to GitBook. The current workaround is to use the "copy" button it the top right corner of the code section.
    • S

      canopen micropython port

      Watching Ignoring Scheduled Pinned Locked Moved MicroPython micropython canopen canbus
      1
      0 Votes
      1 Posts
      550 Views
      No one has replied
    • B

      UPiP on Pycom devices

      Watching Ignoring Scheduled Pinned Locked Moved Discussion upip micropython dependencies
      2
      0 Votes
      2 Posts
      848 Views
      X
      @binux I haven't tried upip but support for uzlib should be available in the latest development firmware.
    • G

      Why MicroWebSrv not runnning on Wipy3.0 ?

      Watching Ignoring Scheduled Pinned Locked Moved WiPy 2&3 microwebsrv wipy3.0 micropython network
      2
      0 Votes
      2 Posts
      737 Views
      J
      Hello, If you want, I propose a new powerful embedded Web Server for MicroPython (and CPython) that supports route handlers, modules like WebSockets or PyhtmlTemplate and a lot of simultaneous requests. Mostly used on ESP32, Pycom WiPy, STM32 on Pyboard, ... Robust and efficient (thousands requests on CPython!) GitHub - Open Source - MIT. --> https://github.com/jczic/MicroWebSrv2 <--
    • E

      Speeding up HX711 Library

      Watching Ignoring Scheduled Pinned Locked Moved MicroPython micropython speed hx711 optimize clockspeed
      14
      0 Votes
      14 Posts
      5k Views
      robert-hhR
      @jimpower The load sensor combinator shown combines four half bridge load cells in a way, that it looks like one full bridge load cell. It is a pure passive board simplifying the wiring. The output has to be fed into a load cell amplifier and digitizer.
    • philwilkinsonP

      stuck in endless deep sleep loop, unable to access serial or reflash firmware

      Watching Ignoring Scheduled Pinned Locked Moved Discussion deep sleep lopy micropython
      7
      1 Votes
      7 Posts
      2k Views
      philwilkinsonP
      @xykon thanks for this note. In this case I didn't need to reflash the firmware, however I will remember your advice as I am sure to need it soon enough!
    • F

      SD card doesn't work on pysense

      Watching Ignoring Scheduled Pinned Locked Moved Discussion pysense code micropython
      26
      0 Votes
      26 Posts
      5k Views
      S
      @Henning I had the same issue with the Expansionboard v3.1. The issue got solved, after using another Expansionboard v3.1 I've bought recentely..... I never used the SD-Card slot on the first one before, so I don't know, why it seems to be broken. Well, at least it works flawless with the second Expansionboard.
    • philwilkinsonP

      Using more data from PyTrack

      Watching Ignoring Scheduled Pinned Locked Moved Expansion Board pytrack gps pytrack gps micropython
      2
      0 Votes
      2 Posts
      941 Views
      J
      There are indeed enhanced libraries other contributors already shared, though it depends exactly what data you are looking for. A few links to check out: https://github.com/inmcm/micropyGPS https://github.com/andrethemac/L76GLNSV4/blob/master/L76GNSV4.py from @andrethemac
    • D

      Uasyncio Support

      Watching Ignoring Scheduled Pinned Locked Moved Comments & Feedback uasyncio wipy3.0 asyncio micropython sockets
      13
      2 Votes
      13 Posts
      3k Views
      robert-hhR
      @martijnthe I have to check that again. As far I recalled, I tested the wrap-around situations.
    • I

      unit testing

      Watching Ignoring Scheduled Pinned Locked Moved Discussion testing wipy 3.0 micropython
      2
      0 Votes
      2 Posts
      672 Views
      sebS
      @inverseeffect Unit testing on hardware is a little more difficult that pure software because timings can be variable and you need to have real hardware connected. It certainly is possible to create small units of code and have them run and check their results, it's no different to running your full code, just split into smaller chunks and with more checks.
    • N

      Send data from FiPy to server

      Watching Ignoring Scheduled Pinned Locked Moved FiPy mysql server micropython fipy
      3
      0 Votes
      3 Posts
      1k Views
      N
      @livius Hello, Thank you very much for your quick response, as am new to server and pycom, it would be great help if you could share the code from fipy side and server side with step by step procedure. Thank You
    • A

      LoRa Specification Module

      Watching Ignoring Scheduled Pinned Locked Moved MicroPython lora lopy lora fipy micropython pycom
      5
      0 Votes
      5 Posts
      1k Views
      A
      @rskoniec Thank You sir
    • F

      W01 OEM + L01 reference board + Expansion board 2.0: ampy is possible?

      Watching Ignoring Scheduled Pinned Locked Moved Discussion w01 ampy usb expansion board micropython
      13
      0 Votes
      13 Posts
      2k Views
      robert-hhR
      @formica does any other ampy action work, like 'ls' or 'ls /flash'? and the usual brute force hammer on linux, running it with sudo?
    • O

      IPv6 Implementation, Documentation, and Code Examples?

      Watching Ignoring Scheduled Pinned Locked Moved Comments & Feedback ipv6 micropython lwip
      6
      2 Votes
      6 Posts
      2k Views
      O
      @livius TYVM!!
    • N

      ssh to rpi compute module 3 over wifi using FiPy

      Watching Ignoring Scheduled Pinned Locked Moved FiPy raspberry pi fipy micropython server gateway
      3
      0 Votes
      3 Posts
      994 Views
      N
      @seb Thank you for your reply, YES true that compute module does not have wifi or BT , so only we go with UART connection, and i have connected the fipy and RPI compute module via UART. But how shall ssh to RPI compute module and access the RPI file structure. After the serial connection now i want to send data within the RPI compute module to server. How to do this?? Thank You
    • S

      Is it possible to recompile Pycom's ESP IDF with different settings?

      Watching Ignoring Scheduled Pinned Locked Moved Discussion esp-idf micropython compile
      3
      0 Votes
      3 Posts
      2k Views
      S
      @xykon I just tried it and it seems to work. Thank you very much! Are the settings in examples/wifi/scan/sdkconfig in the Pycom IDF repository exactly what you are building with or do you use a modified version? Is it documented anywhere which version of the IDF was used in a particular version of MicroPython? I assume at lot of the settings in sdkconfig (for example partition table) don't really matter, because they only change the (in this case unused) bootloader and app that are also built with make all. Is this correct? I think a hint in the readme.md of the Pycom IDF would be helpful.
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 3 / 6