Raspberry Pi Pico controlled level-crossing lights for model railway + scratch-built signs

Поділитися
Вставка
  • Опубліковано 6 жов 2024

КОМЕНТАРІ • 6

  • @andrewstephenson3594
    @andrewstephenson3594 7 місяців тому +1

    Hi really enjoyed your video. Makes me think of using the PI pico myself. Just in case you haven't found out yet, The pull up/down command is to make sure that an unconnected input has a definite logic level. With the switch open the input can meander up and down because it has a high impedance (it doesn't take much current to make it high or low) so can be affected by other voltages and currents nearby giving a false input. A common practice is to have pull up resistors (or programmed as pull up) on inputs. To activate the input, the switch connects to ground or 0V. The advantage of this is that if the switch is remote from the input pin no power rail is needed at the switch for operation. This reduces the risk for shorting out the power supply. Hope this helps.

  • @fathernick9910
    @fathernick9910 Місяць тому +1

    There are no gated level crossings in UK with warning lights. Barriers, yes, gates no. Nonsense

    • @paterpracticus
      @paterpracticus  Місяць тому +1

      It is a bit of an addition to what is mostly an experimental layout. Sacrificing realism for some interaction. At some point I’m going to replace the gates with barriers, which I hope to automate too. Bear with me!