Discussion in "8051 Discussion Forum" started by    kevinharsha    Apr 3, 2019.
Wed Apr 03 2019, 04:48 PM
#1
I had a couple of questions :-
1) Can you upload a list of components needed and the circuit diagram of the project?
2) The header file used in the project is reg52.h because of the use of timer2 and other functions which are exclusive to 8052, is there any way this project can be executed using and 8051?

Thanks,
Kevin
Wed Apr 03 2019, 10:25 PM
#2
Hi
Ajay is very busy with business right now so may not visit for a while.
Can you give a link to the project you are asking about.
Thu Apr 04 2019, 05:05 PM
#3
http://www.8051projects.net/download-d231-musical-tone-library-for-8051.html

Thank you for taking your time to help me!
Fri Apr 05 2019, 10:05 PM
#4
Here is a version for the 8051.
Make sure you add delay.src to your Keil project files.
There isn't a circuit diagram as this is really about software,
but I have attached one setup you could use for testing.
No values are critical, but use a PNP transistor.


Attachment

Sun Apr 14 2019, 06:26 PM
#5
Hey! Thanks for the help! The circuit worked well with the updated code!! I just had a few questions...

1) Can you explain what is the use of the p-n-p transistor here?
2) Can you tell me what the function " void ISR_Timer1(void) interrupt 3 " does as it is not called anywhere else in the program?!
3) Can you explain the delay.src file and it's use?


[ Edited Sun Apr 14 2019, 06:28 PM ]
Tue Apr 16 2019, 12:23 AM
#6


1) Can you explain what is the use of the p-n-p transistor here?


The 8051 cannot switch much current, so the transistor amplifies that
current to drive the speaker.


2) Can you tell me what the function " void ISR_Timer1(void) interrupt 3 " does


It is the interrupt handler called by Timer 1, when the timer count overflows.


3) Can you explain the delay.src file and it's use?


The call "Delay10MC(unsigned char)" is written in assembly language to be
as accurate as possible.
Mixing assembly and 'c' can cause problems for the compiler
so in this case the partly compiled assembly code is added to the
project separately as delay.src.
It is hard to explain the details.

Read this thread for an idea of what is happening.
http://www.keil.com/forum/6234/


Get Social

Information

Powered by e107 Forum System

Conversation

Sun Oct 13 2019, 07:32 AM
Aline Hutchinson
Hey there,
ExperimenterUK
Sun Oct 13 2019, 03:53 AM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 03:48 PM
Bhadra Sajikumar
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 01:07 PM
Nathaniel
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Thu Sep 19 2019, 02:18 AM
Caryn Kover
Thank you for your time,
ExperimenterUK
Tue Aug 06 2019, 12:39 AM
@Ismail ..post in forum, give details
Mon Aug 05 2019, 10:03 PM
Ismail balghmi
Hello. Please I won't download
ExperimenterUK
Wed Jul 24 2019, 06:17 AM
@BUSTER123 Please post in the forum
Tue Jul 23 2019, 11:43 PM
BUSTER123
hello! newbie here. i am kind of a guy who hates using ready - made existing libraries, so this helped a lot as i was trying to control and write to a character lcd display. however, i can't figure out how to set the cursor position. for example, i want to set it to the 5th column in the first row, so position 5. so according to the table, i am sending 10000101 on the 8 data lines of the lcd (register select pulled low). the cursor does not move there however. and i cant move the cursor left or right too. is it something wrong that i am doing? thank you.
ExperimenterUK
Fri Jul 12 2019, 01:25 AM
@ramos https://www.theengineeringprojects.com/2017/09/l298-motor-driver-library-proteus.html

Downloads

Comments

ilylily07
Tue Oct 15 2019, 04:32 PM
hientran123
Tue Oct 15 2019, 02:27 AM
Sat Oct 05 2019, 02:38 PM
zexalo
Thu Oct 03 2019, 09:53 AM
thanhle12345
Thu Oct 03 2019, 07:37 AM
ramon_vsc
Fri Sep 20 2019, 04:53 PM
youssoufba
Thu Sep 19 2019, 11:57 AM
Taiphan000
Tue Sep 17 2019, 04:21 AM

Online

Guests: 42, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38097
Newest member: ilylily07
Forum Activity
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Thu Oct 17 2019, 09:38 PM
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Oct 17 2019, 08:35 PM
Do you understand how this code works?If so, addin...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Thu Oct 17 2019, 09:30 AM
i want to scroll message more than 2 dot matrix di...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Oct 16 2019, 09:58 PM
What do you mean by "message scroll vertically" ?...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Wed Oct 16 2019, 07:38 AM
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Wed Oct 16 2019, 07:13 AM
message scroll vertically, please share code.
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Oct 16 2019, 01:10 AM
Which camera ?What do you want the micro to do ?
ilylily07 Avatar
Posted By ilylily07
Tue Oct 15 2019, 04:43 PM
i need help.i don't know how to do it.is it possib...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Oct 13 2019, 06:10 PM
This code does some scrolling.You will need to fin...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Oct 12 2019, 10:19 PM
This code does not scroll, that will be complicate...