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.
Re: need help on 8051
I think what he means is the minimum system schematic for mcs-51 family.
The basic configuration is just the microcontroller itself, a crystal, two ceramic capacitors, a resistor and a electrolyte capacitor. connect the crystal between pin xtal1 and xtal2 of the micro...
Serial Port In VB6
that Buffer variable should be declared as variant. whenever you send or receive data thorugh MSComm component, pass the data from/to a variant variable. the variant variable was assigned from/to other variable, be it a string (if you send or receive text data) or a byte...
I'm not sure if its in the right forum, but I'm looking for FSK modem ICs. I know TCM3105 has not been produced anymore, and i've already searched for alternatives like 73M223 and FX614. I am currently using a pair of XR2206 and XR2211, but since its timing is controlled by resistors and...
You can do it with hardware. Just connect pin TxD from your PC (the pin where PC sends it serial data to) with a diode, resistor and LED, in parallel with RS 232 level converter (if you are using one). Mind also the RS 232 voltage level, logic 1 is -5 to -25V and logic 0 is +5 to +25V. When...
Yes you can. You can use all at89s52's port to connect to LPT port on computer. Computer's parallel port has three port, data port, control port, and status port. If you only need simple communication, you may just use data port connected with one of at89s52's port (P0, P1, P2, or P3).
Re: Decimal to ASCII
there's a standard library function called itoa() that returns string for an integer argument. check out https://www.mkssoftware.com/docs/man3/itoa.3.asp. I hope this helps you.
In C, procedure is a function that returns nothing. You have to declare it as
void MyRoutine() //with or without parameter
{
...some statements...
return;
}
A function that returns nothing will return control to the caller once end of the function is reached (}), or if it encounter...
Re: C
CMIIW,
sizeof() operator returns type of size_t, so maybe you have to convert the type to int, like
(int) sizeof(array)
one other thing is that macros simply replace the text, so you must be careful with precedence. if
#define DOUBLE(x) 2*x
then
DOUBLE(MyVar-1)
will be replaced by...
there's bit operators like &, |, ^, >>, <<, ~, right? you can use these operators to manipulate individual bit(s) in a single byte. you can use unsigned char type to represent a single byte to be manipulated, or an array of it for multiple bytes. i think i've seen some codes similar to your...
Re: please explain this
this is pointer to intnode, right? not intnode itself. it is not possible to declare a data member of an object to be the same type as the object itself, but it is possible to declare a pointer to an object that has the same type. a type is different from a pointer to...
car controlin usig microcontrollers
you can use two rows of sensors attached to some distance away from the car's center line. the two rows will be used to determine if the car has undergone some deflection from its supposed trajectory (the white line). whenever the car deflects from its...
induction motor is an ac motor, so to control its speed you must vary the ac voltage frequency. you can do this by pwm, but instead of having the pwm to vary the voltage level, you must vary the frequency AND voltage. try consulting on books about electric machinery, such as stephen chapman's...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.