Forum Replies Created
-
AuthorPosts
-
Ahmed
ParticipantHi Harsh Pandya
Your answer so right i put 10K pull up resistance and it’s worked good… Thanks Pro.
And another discussion in this link if any one need more information.
http://www.engineersgarage.com/forums/8051/pull-resistor
Ahmed
ParticipantIf we can see example about this it will be great for us to calculate our HEX file.
Thanks dagakshay
May 17, 2011 at 7:11 am in reply to: about interface ADC0808 using clock from 8051 microcontroller (AT89C51) #6254Ahmed
ParticipantFinaly I Complet my project with perfect measurement 8-Channal…
my friend ROMEL…
I found the ansower about random measurment of the ADC0808 that when we put a simple channal we must comman the ground with the ADC0808 (SINGLE ENDED Tying) i make the hardware & software with VB6 and it’s work with 8-chanal perfect.
MR.DAGAKSHAY
thanks to your help and for this site when i provide my project i wrote in the reference URL site of Engineersgarage so i’m greatful so math
(Alhamdo lilaah Rab Al-Alamin)
Greeting To ALL
Ahmed
Participantlol
my freind Salman i mean interface a USB cam with microcontroller not with PC
Greeting to all
Ahmed
ParticipantAhmed
ParticipantHi every body…
Can i interface a webcom camera with USB port? if not what are kinds of the camera that can i use with???
Ahmed From IRAQ
Ahmed
ParticipantThis is the Code Romel
the delay function can i calculate the time delay by using ((1/11.0592*10^6)*80000)??
or ther is another way to calculate???
/* *********************************************************************************************Project: Traffic Project (COM1)File: Traffic.txtData: 8/4/2011Processor: AT89C2051Program to Controll Traffic with PC with provment of LED********************************************************************************************* */#include<reg51.h>unsigned char temp;sbit trR3=P3^2;sbit trY3=P3^3;sbit trG3=P3^4;sbit trR4=P3^5;sbit trG4=P3^7;sbit trY4=P1^7; // Port Of LED’svoid ini() // Initialize Timer 1 for serial communication{TMOD=0x20; //Timer1, baud rate 9600 bpsSCON=0x50; // 8-BitTH1=0XFD; //Load the timer high with initial value for serial connectionTR1=1; //Start Timer 1}void delay() //simple Delay{int k,l;for(k=0;k<1000;k++)for(l=0;l<80;l++);}void recieve() //Function to receive serial data for controlling{while(RI==0);temp=SBUF;switch(temp) // Sequence Of LED of traffic.{case(‘1’):P1=0x0c;trR3=1;trY3=0;trG3=0;trR4=1;trY4=0;trG4=0;break;case(‘2’):P1=0x12;trR3=1;trY3=0;trG3=0;trR4=1;trY4=0;trG4=0;break;case(‘3’):P1=0x21;trR3=1;trY3=0;trG3=0;trR4=1;trY4=0;trG4=0;break;case(‘4’):P1=0x11;trR3=0;trY3=1;trG3=0;trR4=1;trY4=0;trG4=0;break;case(‘5’):P1=0x09;trR3=0;trY3=0;trG3=1;trR4=1;trY4=0;trG4=0;break;case(‘6’):P1=0x09;trR3=0;trY3=1;trG3=0;trR4=0;trY4=1;trG4=0;break;case(‘7’):P1=0x09;trR3=1;trY3=0;trG3=0;trR4=0;trY4=0;trG4=1;break;case(‘8’):P1=0x0a;trR3=1;trY3=0;trG3=0;trR4=0;trY4=1;trG4=0;break;case(‘0’):P1=0;P1=0x12;trR3=0;trY3=1;trG3=0;trR4=0;trY4=1;trG4=0;delay();P1=0;trR3=0;trY3=0;trG3=0;trR4=0;trY4=0;trG4=0;}RI=0;}void main() //main Program.{ini(); //initialize the microcontrollerwhile(1) // infinit loop{recieve();}} //End of ProgramAhmed
ParticipantI Use ALL-11P3 Programmer you know
Ahmed
ParticipantHi dagakshay
Thank you very match nice teachnic. is this called shift the writing???
Thank you again
Ahmed
ParticipantHi dagakshay..
Atmega32 have only 4 ports like ATMEL C51 if i want to interface 6 7*5 dot matrix leds how can i provide external ports ????
I think you can interface just 3 dot matrix leds is that right or not ????
can we use another way to do this with one chip? and how ???
Ahmed
ParticipantHi Romel.
yes they are right just with win XP.
But i found crack that make the program work with 7 correctly
Her it is my friend
http://www.4shared.com/file/DR7iLmib/Proteus_76_SP0.html
With Greads
Ahmed
ParticipantHi Romel.
I thing my previuse design the Vref was not correct but i remomber i check it with DC voltmetor it gives me 5 V and the IN0 determined the voltage correct but the oather going wrong, some times the software pass in errer however i repeat the design in case….
my fraiend i use Proteuse version 7.6 SP0 Pro with crack on win 7…
if you need me to upload it just tell me & i will this to y

Good Luck
Ahmed
Ahmed
ParticipantHi Romel
my friend after trying to solve the problem I asked my self what happend if i repeat the ADC0808 connection with the microcontrollor???
so i do it and don’t know how the procedure going well and give me exact result….
check this out and give me the reportGREADS to allAhmed
ParticipantHi There
I have the same problem whene i put 8-chanal the chanal read random value????
But i found same project in the net with DC motor but give me the real result but don’t know how!!!????
i but my program in the net simulation (meains DC motot microcontroller) and give my exact resalt…..

this is the 2 proteus simulation MAIN(my simulation) & NET simulatin
REAPLY US if any one knows the problem…..
January 24, 2011 at 7:06 am in reply to: about interface ADC0808 using clock from 8051 microcontroller (AT89C51) #5364Ahmed
ParticipantHi DAGAKSHAY
I promise to upload a video of my project….
this is it
http://www.4shared.com/video/kIOm17p2/1_online.html
thank you for you kindness & thank’s to ENGINEERS GARAGE team
your’s student Ahmed
-
AuthorPosts