Alimentazione di arduino

Discussion in 'Italiano' started by diglo, Apr 29, 2017.

  1. diglo

    diglo New Member

    Joined:
    Apr 29, 2017
    Messages:
    16
    Likes Received:
    2
    Ciao a tutti,
    ho una UDOO X86 advanced in cui ho messo win10 su un SSD e mi chiedevo: com'è legata l'alimentazione del modulo arduino all'alimentazione della parte PC?

    Se metto windows in sospensione o lo spengo, anche arduino si spegne.
    In sostanza, arduino è acceso solo se il led di alimentazione è VERDE.

    Come si fa ad avere la parte X86 spenta ed arduino acceso?
    Devo alimentare arduino esternamente?

    diglo

    Ecco il mio UDOO:
    photo_2017-04-29_13-15-08.jpg
     
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
  3. diglo

    diglo New Member

    Joined:
    Apr 29, 2017
    Messages:
    16
    Likes Received:
    2
    Walter, I already tried to put win10 in sleep mode, the power LED goes from green to amber and the arduino powers down!

    Walter, ho già provato a mettere win10 in sleep, il led diventa arancione e l'arduino si spegne!
     
  4. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    You also have Hibernate (S5), what will that do?
    Sleep can also be configured as Modern Standby (S0)

    In this link I gave earlier there is also a command powercfg -a that shows all the states that are available.
    There is more information about this command here.
     
  5. diglo

    diglo New Member

    Joined:
    Apr 29, 2017
    Messages:
    16
    Likes Received:
    2
    Ok Il' give it a try but it looks like it's not possibile to have the pentium completely OFF and the arduino ON at the same time...

    Ok farò qualche prova ma sembra quindi non possibile avere il pentium completamente OFF e arduino ON allo stesso tempo...
     
  6. diglo

    diglo New Member

    Joined:
    Apr 29, 2017
    Messages:
    16
    Likes Received:
    2
    Yes, i know Arduino can act as a "power button presser", which can wake the main CPU from S3/S4/S5, namely: sleep/hibernation/OFF.

    The topic here is how to have arduino powered ON while the main CPU is in S3/S4/S5 states, which now looks impossible without an external power supply to the adruino (which I did not test yet).
     
  7. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    I understand you completely.

    But I think it is not clear how windows puts the CPU in one of these states. Perhaps there is an option in UEFI that can help?

    Eventually the documentation could help but Udoo team is not helping a lot here now. So we have to figure it out ourselves.
     
  8. Maurice

    Maurice Active Member

    Joined:
    Oct 13, 2015
    Messages:
    394
    Likes Received:
    87
    Given that UDOO mentions the idea of starting the main CPU from the Arduino I'd be quite surprised if one needs a second power source to keep the Arduino running. It would void one of my ideas.
     
  9. diglo

    diglo New Member

    Joined:
    Apr 29, 2017
    Messages:
    16
    Likes Received:
    2
    Putting the Braswell in S3 equals to put Win10 into Standby (with Win10).
    The command powercfg -a shows that S3=standby.
    Given that the cpu wakeup is done with a LOW 20ms pulse on IO9, I uploaded a sketch which just keeps IO9 HIGH al the time. The sequence of events is this:
    1. Win10 is running, arduino IO9 is high. Power LED is green
    2. I put win10 to standby
    3. Once windows goes to standby, the power to arduino is cut, IO9 goes LOW and windows wakes up again. The power LED turns amber for half a second, then green again.
    4. Windows is running again.
    You can't even put windows to sleep!
    Am I missing something?

    diglo
     
  10. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
  11. diglo

    diglo New Member

    Joined:
    Apr 29, 2017
    Messages:
    16
    Likes Received:
    2
    You are right @waltervl! I'll move there.
     

Share This Page