Xiaomi console access

Discussion in 'Yi Action Camera' started by balrog, May 1, 2015.

  1. luckylz

    luckylz Active Member

    Messages:
    414
    Likes Received:
    106
    Country:
    China
    I will try usleep later.

    Code:
    sleep 1 <-- wait for 1 second
    
    usleep 1 <-- wait for 1 micro-second
    
    1 second = 1000,000 us
     
    Last edited: Jun 4, 2015
  2. funnel

    funnel Active Member

    Messages:
    122
    Likes Received:
    111
    Country:
    Slovenia
    Can you give an example script? Usleep doesn't work for me.

    it just outputs

    -ambsh: usleep: command not found!
     
  3. luckylz

    luckylz Active Member

    Messages:
    414
    Likes Received:
    106
    Country:
    China
    I test usleep, like:
    Code:
    t gpio 6 sw out1
    usleep 400
    t gpio 6 sw out0
    ... ...
    but the LED twinkle very very very fast ! even I set a long value
    Code:
    t gpio 6 sw out1
    usleep 400000
    t gpio 6 sw out0
    ... ...
    so I just use the milisecond script
     
  4. nutsey

    nutsey Active Member

    Messages:
    286
    Likes Received:
    123
    Country:
    Turkey
    I was playing with beeps after telnet session and it worked for me, but now I can't reproduce that. So I guess it doesn't work with default settings, sorry for misinforming.
     
  5. luckylz

    luckylz Active Member

    Messages:
    414
    Likes Received:
    106
    Country:
    China
    Thanks for @funnel
    I test with Yi Cam to play the Jingle Bells rythom

    attached the autoexec just for fun
     

    Attached Files:

    Mike487 likes this.
  6. intoi

    intoi Member

    Messages:
    56
    Likes Received:
    6
    Country:
    Philippines
    LOL! now that's a new way of using the camera.

     
  7. intoi

    intoi Member

    Messages:
    56
    Likes Received:
    6
    Country:
    Philippines
    I wonder if it's possible to controll the LED brightness or turn off some of them to conserve battery.
     
  8. ReNDaR

    ReNDaR Member

    Messages:
    45
    Likes Received:
    5
    Country:
    Philippines
    ^you can do that on the app.
     
  9. intoi

    intoi Member

    Messages:
    56
    Likes Received:
    6
    Country:
    Philippines
    Oh really??! ofcourse I know that :D . I'm was thinking of more controll than just Turning all the lights ON and OFF or just leave the red lights on when video recording. More like, less brightness on the power LED ring or turning some of the power LED ring off.
     
  10. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    you can desolder some LEDs :D
     
  11. intoi

    intoi Member

    Messages:
    56
    Likes Received:
    6
    Country:
    Philippines
    I am actually thingking of doing that but I'm not really sure yet. :D

     
  12. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    Well, it was a joke. They are placed on flex cable which is basically plastic and that isn't too much heat resistant...
     
  13. intoi

    intoi Member

    Messages:
    56
    Likes Received:
    6
    Country:
    Philippines
    Aren't flex cables made of high temp material? Similar to a Kapton tape?
    And by the looks of it, LEDs can easily be desoldered.

    [​IMG]
     
  14. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    well, if you feel up for it, then as i said, be my guest :)
     
  15. valdi99

    valdi99 Member

    Messages:
    40
    Likes Received:
    6
    Country:
    Poland
    Can I set certain shutter speed to lets say 1/60sec. in video mode, and auto-gain/auto ISO?
    What would be the command in autoexec.ash?
     
    MonsterVM likes this.
  16. luckylz

    luckylz Active Member

    Messages:
    414
    Likes Received:
    106
    Country:
    China
    Hi, @intoi, what's this use for? wifi enhancement?
     
  17. intoi

    intoi Member

    Messages:
    56
    Likes Received:
    6
    Country:
    Philippines
    No, I was just trying to minimize the wifi signal interference with the mic or the circuitry inside which I suspect to be making the crackling noise. I'm not sure if a ferite bead/choke will work but as soon as I found one I'll replace it with that. I don't like that there is a plactic there considering the cam heats up a lot.
     
  18. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    intoi, can you provide example of that cracking noise? Most preferably in as silent room as possible so only the cracking will be recorded.
    Try these situations:
    • wifi off, camera stationary
    • wifi on, camera stationary
    • shaking the camera in hand

    believe it or not, but i have quite good ears and i may be able to tell whats causing it. I should receive my camera soon, but since this is intermittent problem, i may not have it.
     
  19. intoi

    intoi Member

    Messages:
    56
    Likes Received:
    6
    Country:
    Philippines
    @Andy_S - I am uploading sample clips to g-drive. Will post the link once done uploading.

    EDIT: here is the link:
    https://drive.google.com/folderview...hSeDNvQzFFQmhrQjV0ZllJMWdRbGJKSm8&usp=sharing



     
  20. Andy_S

    Andy_S Active Member

    Messages:
    622
    Likes Received:
    191
    Country:
    Czech Republic
    thanks, downloaded.will listen to them in a short while when i get to my pc.
     
Loading...

Share This Page