Discussion in "8051 Discussion Forum" started by    Maherbaloch    Oct 2, 2010.
Sat Oct 02 2010, 06:39 pm
#1
can any1 over here help me
im working on my final year project i need some suggestion
im using push button to connect thm with the micro controller when i press the push button
then signal send to pc
so can u suggest how can i do dat and from where i can get that tutorial
reply as soon as possible
Sat Oct 02 2010, 06:55 pm
#2
hi Maherbaloch

which micro controller ur using and describe in detail ur problem
if ur using 8051 then use a 8051 interrupt to sense that button is pushed

when i press the push button
then signal send to pc


for sending data to pc use uart of 8051 use tx ans rx pin of micro controller to max232 and attach max232 to pc


[ Edited Sat Oct 02 2010, 06:56 pm ]
 Maherbaloch like this.
Sat Oct 02 2010, 07:11 pm
#3
em using mc8051
basically em new in mc i dnt knw anythng so can u please suggest tutorial

i havng many push button near abt 15 push button and i want whn i press button thn mc snd computer tht button iz pressd n 4rm ovr thr is use programming using visual c++
Sat Oct 02 2010, 08:34 pm
#4
ok i understand ur problem see a serial port tutorial first on this side and understand it then get furthure guidness if get problem then post here
here is the link
http://www.8051projects.net/serial-communication/
after that post here for next step
Sun Oct 03 2010, 12:04 am
#5
ya now next
Sun Oct 03 2010, 12:14 am
#6
have u used Proteus
by using Proteus u can simulate ur program on this software now next step is u have to detect a push button that which is press according to that u can there no let say 1 to 15 because push button r 15 as u said
or u can send A,B,C,D.... with each button in other words every button has its unique id
when u detect a button according to that send its id to PC using UART then PC receive it this is the work at controller side
use max 232 that i hope u see in tutorial
 romel_emperado like this.
Sun Oct 03 2010, 12:38 am
#7
no i havnt used dat software b4 em downloading
let see
how can i detect push button
but i want 2 connect wid mc ?? n UART have only one option of send TX and receive RX
Sun Oct 03 2010, 12:48 am
#8
im trying to use it with Keil uVision 4
Sun Oct 03 2010, 12:53 am
#9
keil is for coding and proteus is for simulation that is a wonderful tool i suggest u to use that
u can download from here

1) http://ifile.it/1aov2lf
2) http://ifile.it/1aov2lf/Proteus%207.6%20sp0.rar
Sun Oct 03 2010, 12:59 am
#10
i have download it 4rm othr link but it iz nt opnig
let me try diz link

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

ztaletpzca
Wed Apr 24 2024, 11:19 pm
IrardlPex
Wed Apr 24 2024, 08:42 pm
Charlestehed
Wed Apr 24 2024, 05:20 pm
Robertgurse
Wed Apr 24 2024, 02:43 pm
Richardedils
Wed Apr 24 2024, 04:07 am
Malcolmaccek
Wed Apr 24 2024, 01:21 am
ChrisLub
Tue Apr 23 2024, 05:21 pm
Davidbab
Tue Apr 23 2024, 10:41 am