🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    TimerCamera-X and MicroPython

    Units
    2
    3
    38
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      l.roca
      last edited by l.roca

      Hi,

      I wish to program TimerCamera-X using MicroPython but when I flash them using this:

      Picture1.png

      I get this shell message in Thonny even before I start to program:

      Device is busy or does not respond. Your options:

      • wait until it completes current work;
      • use Ctrl+C to interrupt current work;
      • reset the device and try again;
      • check connection properties;
      • make sure the device has suitable MicroPython / CircuitPython / firmware;
      • make sure the device is not in bootloader mode.

      ets Jul 29 2019 12:21:46

      rst:0x5 (DEEPSLEEP_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT)
      configsip: 0, SPIWP:0xee
      clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
      mode:DIO, clock div:2
      load:0x3fff0018,len:4
      load:0x3fff001c,len:1044
      load:0x40078000,len:10124
      load:0x40080400,len:5828
      entry 0x400806a8
      �


      |_ ()_ __ ___ ___ _ __ / | _ _ __ ___
      | | | | '
      _ \ / _ \ '__| | / _ | '_ ` _ \
      | | | | | | | | | / | | || (| | | | | | |
      |
      | ||| || ||_|| __,|| || |_|

      Reading config info...
      -- Wifi SSID: LAQ980
      -- Wake time: 30
      -- Image size: 5
      Camera init...
      Camera Init Success
      Starting post server
      Wifi init...
      Connecting...
      Connecting...
      Connecting...
      Connecting...
      Connecting...
      Connecting...
      Connecting...
      Connecting...
      Connecting...
      Connecting...
      Connecting...
      got ip:X.X.X.X (Hidden by my)
      Success

      Capturing image...
      Posting image to server...success!
      -- Image posted to url: http://api.m5stack.com:5003/timer-cam/image?tok=
      -- Please add your token at the end of the url
      -- You can get your token in M5Burner

      TimerCam will be wake up after 30 seconds
      Power off :)

      It will run in a loop. Any idea how to solve it? And to start programming?

      kurikoK 1 Reply Last reply Reply Quote 0
      • kurikoK
        kuriko @l.roca
        last edited by

        @l-roca
        This is not a Micropython firmware. This firmware was used to post images through HTTPS to controllers which was programmed in UIFlow.

        Good morning, and welcome to the Black Mesa Transit System.

        L 1 Reply Last reply Reply Quote 1
        • L
          l.roca @kuriko
          last edited by

          Thanks. How can I do it?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post