Pic With Bcd Switch And 2×16 Lcd
PIC16F887 Microcontroller and 2×16 LCD. The MCU reads a 9 state hex thumbwheel switch. and presents the result as an integer on the LCD. For some reason it reads the right value only intermittent a. . .
Feb
2
2
Consumer Electronics Reviewed By You
PIC16F887 Microcontroller and 2×16 LCD. The MCU reads a 9 state hex thumbwheel switch. and presents the result as an integer on the LCD. For some reason it reads the right value only intermittent a. . .
Yes! I asked a question about this problem on a forum, and they gave me the same solution. As I am using the pins in IN-LOW mode, i mounted pull-up resistors to VDD +5V and of course it worked right away! Thanks for the tip! No more “loose ends” for me in the future…:-)
You have forgotten to mount pull-down resistors. One resistor at each input-pin down to GND will do it! choose something between 10kΩ up to 100kΩ and it will fix your problem.