Stai visualizzando 4 post - dal 17 a 20 (di 20 totali)
  • Autore
    Post
  • #10030
    Just4Fun
    Partecipante

    Vedo dallo schema che hai usato un resistenza da 270 Ohm in serie al led. A 5V e se il led è rosso significano circa 12mA. Tantini per un led “moderno”. Normalmente oggi si dimensiona la resistenza per 1-4mA, a seconda del tipo di led e di quanto lo vuoi render luminoso.

    #10034
    Picmicro675
    Moderatore

    Accondiscendo lo stesso parere. I LED moderni non hanno bisogno di 20 mA per essere luminosi. Ma penso che ci sia la specifica quando si vogliono comprare, devono essere quelli definiti ULTRABRIGHT.

    #10532
    AlexisMori
    Partecipante

    Hi…In 4 bit mode, the have and the LCD must stay in snack match up. In the event that they lose snack match up with each other, it’ll never recuperate so the LCD will begin to see rubbish commands. The as it were way to recuperate is to re-initalize the LCD employing a uncommon 3 command sequence to urge back into sync. This is drained the code in begin() If you control cycle the LCD but not the Arduino that won’t offer assistance since the default control up mode for the LCD is 8 bit mode. So on the off chance that the library is in 4 bit mode and you control cycle as it were the LCD, the have (arduino) and the LCD will not be within the same mode (LCD in 8 bit mode, have in 4 bit mode) and the LCD will see trash commands.

    #10540
    Picmicro675
    Moderatore

    The thread is referring a particular compiler which has nothing to do with Arduino and Processing compiler.
    In four bit mode, some time is necessary to reset the LCD, because lost of synchronization, perhaps due by electrical noise on the lines.

Stai visualizzando 4 post - dal 17 a 20 (di 20 totali)
  • Devi essere connesso per rispondere a questo topic.