Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

8051, c code, key_release with debouncing, need help

Status
Not open for further replies.
Not yet, but I will very soon.
Just need some time to think (what and how) deeply :)
At this time I will avoid PIC's.

Have you got something to recommend?
 

Ah.. use low cost thingies like mega 32 or mega 16, they are VERY robust. trust me. buy one programmer avr mk2 or something, the rest is your choice, essentially we can program avr in a minimal circuit on a Bread board. avr gcc is free and so is the avr studio. documentation is also nice.
 

Yes, I thought so.
Maybe it will be the best to take few atMega development boards od different types (8,16,32,128)...
At the moment I have problems to do electrical works so I have to take assembled board(s).

Did the same c programs can run on all those atMega's or not?
 

. buy one programmer avr mk2 or something, the rest is your choice, essentially we can program avr in a minimal circuit on a Bread board. avr gcc is free and so is the avr studio. documentation is also nice.
 

What is mk2?
What with debugger?
Is one debugger good for all atMega chips?
Is one programmer good for all atMega chips?

With 8051 I get one chip which is debugger. I load code into it directly from keil and can run/debug programs with it.
It resets with power off.
For programming I have separate "burner". But I don't use it at all, still learning (like it is visible :)
 

What is mk2?
its an AVR programmer thingy. check out this
What with debugger?
JTAGs are used as debuggers. they are majorly for dealing with run time issues of the AVR.
Is one debugger good for all atMega chips?
Is one programmer good for all atMega chips?
check out their site.
:) cheers!

- - - Updated - - -

What is mk2?
its an AVR programmer thingy. check out this
What with debugger?
JTAGs are used as debuggers. they are majorly for dealing with run time issues of the AVR.
Is one debugger good for all atMega chips?
Is one programmer good for all atMega chips?
check out their site.
:) cheers!
 

Maybe this one for ATmega8?
**broken link removed**

For ATmega 16/32
**broken link removed**
**broken link removed**

For ATmega64 I don't find dual-in-line package on ZIF socket...
But it is some in our local store I think...
Maybe this one very cheap... **broken link removed**

And for programmer, those cheap ones... will be sufficient?
**broken link removed**
... but seem's not suitable for ATmega8.

I don't know. I have to think a bit more to see what to take.
Is those "grifo" your site?
 

those are links .. click on them and woa!! you are in another page .. magical.. (use the url thingy on the post menu and then select the text that you wanna greenify and paste the url asat)
and **broken link removed** looks promising for a start.
for the programmer.. this is the best.
 

I don't know if digikey will send to europe while on ebay it is easy to buy...
 

hey i got the usage of key1..it was my code mistake...
 

Code:
bit debounce(bit key)
{
    if (key==0)       
   delay1ms(50); 
   if(key == 1)
   return 0;
   while( key == 0);
   return 1;
}

Try this.........
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top