Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Resource icon

Basic 8051 tutorial 2 2014-04-15

Status
Not open for further replies.

Ian Rogers

User Extraordinaire
Forum Supporter
Most Helpful Member
Ian Rogers submitted a new article:

**broken link removed** - Continuing the ASM and C on the 51 derivatives

Ok... Back on track.

The next tutorial we need to read a 4 x 3 ( 12 key ) keypad...

If we attach a keypad to port 0 and place some resistors as external pull up’s we can read can read the 12 possible on the keypad on only 7 pins... 4 pins as columns and 3 pins as rows.. Here is the connection I used... I have included a 7 segment LED as a simple visual response...

View attachment 85580
The pinout is shown above... We don't have enough power to sink the current so I used a line...

**broken link removed**
 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top