Discussion in "Project Doubts" started by    redzs08    Dec 13, 2010.
Sat Jul 30 2011, 10:01 pm
#41
@ redzs08
the code on site has some errors
it miss 3 variables and some libraries of labview are included but that are not used so that are creating problems
Sun Jul 31 2011, 11:32 am
#42
thanks ..majoka for the information that u provided .... there is any book or site u can recommend for learning vb interface with microcontroller......it will be a big help.....
Sun Jul 31 2011, 09:49 pm
#43
@ redzs08
for interfacing only u need max232 ic nothing else
in vb6 u need just coding
some examples are here
and many examples are on net
also can download from here
http://ifile.it/0msp3f6/VBEE.rar

Attachment


[ Edited Sun Jul 31 2011, 09:49 pm ]
Mon Aug 01 2011, 07:10 pm
#44
thanks majoka for providing information on vb programming........
Tue Aug 02 2011, 09:34 am
#45
welcome redzs08
Thu Aug 04 2011, 06:52 pm
#46
at my place i dont have at89c51 but have at89s51/52 can i use this microcontroller in replacement of at89c51 ..... or i need to do sum adjustment ....

i try in protues but in protues they only have at89cXX model ..... pls some help....


[ Edited Thu Aug 04 2011, 07:00 pm ]
Thu Aug 04 2011, 09:30 pm
#47
@ redzs08
yes u can use at89s51 or 52 instead of c51 or 52
both are same controllers
in Proteus u can simulate simple AT 89C51 or 52
and in hardware use at89s51 or 52
Thu Aug 04 2011, 10:54 pm
#48
thank you majoka for your help ......
Fri Aug 05 2011, 05:01 pm
#49
i need a clarification on this part of programming .....

void serialRoutine() interrupt 4
{
	if(RI==1)
	{
		sens_1=SBUF;
		switch(sens_1)
		{
			case('a'):
				relay1=1;
				break;
			case('b'):
				relay1=0;
		
		}
		RI=0;
	}
}


the code above i change from what abbas had done ....

here is my question i want to make a ON OFF switch in VB to turn ON and OFF the machine/electrical equipment is this code that responsible for the ON OFF switch.......

i already make some alteration on abbas VB code and it work perfectly now i want to add this function the the VB how can i do it....

any idea ............. pls help........

i will try my self also if u got any idea or my main concept of understanding the code is wrong pls tell me...




[ Edited Fri Aug 05 2011, 05:01 pm ]
Sat Aug 06 2011, 07:31 pm
#50
@ redzs08
u need help in controller site or vb side
yes the above code is responsible for controlling the devices on and off

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am