• Keyboard input

    GPy gpy keyboard input
    3
    0 Votes
    3 Posts
    343 Views
    R
    @kjm I've just tested it through the REPL (PuTTY on COM with W10) on my LoPy and everything is OK: >>> os.uname() (sysname='LoPy', nodename='LoPy', release='1.20.0.rc11', version='v1.9.4-0a38f88 on 2019-05-14', machine='LoPy with ESP32', lorawan='1.0.2') >>> >>> v=input('Enter value -=> ') Enter value -=> test msg >>> >>> print(v) test msg >>>
  • Building a water meter counter using a Pycom Lopy

    Guides pycom relay input
    2
    1
    0 Votes
    2 Posts
    1k Views
    robert-hhR
    @jiancha For the input of the Lopy Youll need some kind of Pull-up. That could be an internal pull.-up resistor, or an external one, like 4k7 to 3.3V. Otherwise the input is floating when the switch is open. Which Pin of LoPy are you using for input, and how do you control it? Using the reed relay is in principle a good idea to protect the Lopy from transitions. But the values of 33k/100k for the voltage divider are also suitable. The resistor values are not too high. The input resistance of the Lopy is several MOhm.