Continue to Site

Welcome to EDAboard.com

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.

Industial code watch dog and brownout

Status
Not open for further replies.

Electro nS

Full Member level 6
Full Member level 6
Joined
Mar 9, 2013
Messages
324
Helped
49
Reputation
98
Reaction score
48
Trophy points
1,308
Activity points
3,818
hello guys

i am intrested on making the codes i write on atmel or PIC industrial somehow ( more robost ) .

first i dumped arduino bootloader and learned C for atmel and PIC . i have read about watchdog timer and brownout and i think i understand them

what else should i do ?

what are the things that makes a code " industrial " ....

what are the things that i should take care of , add failsafes ? ..etc ?

any help is appreaciated
 

Hi,

The codes are never industrial its the hardware components that are of industrial level; lots of parameters but most important of them is the temperature range usually (-40 to 125 degree Celsius). The other thing that makes a product industrial is extensive testing. For fail safe your code should be intelligent enough to handle exceptions and vectored to a default start loop. For this reason a state machine is used. It can never go to an unknown state. if it does this some how the code would handle that.

Using watchdog is a good thing. But it should be intelligently used. It is also used when you want to save some energy as it can be used to wake up device. Brownout is related to power. The supply should be good enough so that in industry if a motor starts it draws much current the supply should handle such glitch. If the power supply is not good the microcontroller will keep resetting when such high current drawn scenario happens.

Enjoy!
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top