Greetings KumaraGuruparan,You might benefit from putting pull-down resistors on those 8051 IO lines that are giving you problems.
On power-up, all of the digital IO lines come up in tristate mode so a pull-down will make sure that IO lines don't float to an undesired state.
I m using 8051 microcontroller. If i make the relay activation signal low what will happen when i switch off the the board.At that time all the port pins will go high.. The only solution on an 8051 is to make the relay activation signal active low with an inverter stage.
That really depends on the relationship between th micro controller power supply and the relay power supply. Also it depends on the type of relay and weather you are using normally open or normally closed contacts.I m using 8051 microcontroller. If i make the relay activation signal low what will happen when i switch off the the board.At that time all the port pins will go high.
I feel, you need to appreciate the basics of it. 8051 ports goes to high state during power cycle. So you get momentary switching on relay or any devices. If its connected to valve or motor, you definitely get irritated or complains from your customer. This is applicable in case of NO or NC contact.Kumara, tray to put all outs at low with the very first instruction in your code.
|Thread starter||Similar threads||Forum||Replies||Date|
|interface for a LPT port using MSP430G2 LaunchPad||Homework Help||2|
|sanding pins on a USB Port ?||Digital Design||10|
|N||stepper motor controlling using only two data pins of parallel port||Automation, Robotics & Control||8|
|A||Making data pins in parallel port bi-directional,||General Electronics Chat||5|
|J||Reading from input port pins of the 8051||Microcontrollers||6|
by Lianne Frith
by Jake Hertz
by Jake Hertz