Arduino Tutorial for Beginners 14 Keyboard PS2, USB
Welcome to this video on Arduino Tutorial for Beginners. This video about Keyboard PS2, USB This video shows how to keyboard works and how to receive key capture on keyboard Keyboard Library : Go to ThisPC, Documents, Arduino, libraries, PS2Keyboard and open to edit To use the Keyboard with PS2 type we just connect 4 pins : VCC GND CLK DATA With the USB type, we also connect 4 pins but, the D+ of USB is CLK, and the D is DATA and then we just connect as the PS2 type We have to connect the CLK pin to ARDUINO INTERRUPT PIN (INT1 is used in the video) And we can connect the DATA pin to any pin we want Code : PSkeyboard mykb Init mykb object Init using datapin to transfer data between keyboar. .., ProgrammingKnowledge, analoginput, Arduino, Tutorial, Learning, BoardDescription, VariablesandConstants, AdvancedI, OFunction, InterIntegratedCircuit, IntroductiontoArduino 20190430 PmJlDlIPb4
|