Previous in Forum: GSM signal enhancer   Next in Forum: ECL logic
Close
Close
Close
28 comments
Rate Comments: Nested
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32

Atmel 89S52 Microcontroller Problem

05/13/2008 10:15 AM

Friends,

Today I had a hell of a time solving out problem of this Atmel 89S52 Microcontroller getting reset as soon as I try to run robot motors. I tried to bring down the impedance of the pin to 1k Ohms to GND and still it gets reset. I increased the capacitor filter to 1000uF and then 2000uF even then it was getting reset. I even removed the resetting capacitor, then also it was getting rest.

This board has only Microcontroller and MAX232 RS232 driver and 4 lines through 10k ohms resistance to drive H-Bridge and eventually DC gear motors of the robot. MAX232 is linked to 434MHz RF link of 20mW to my PC from which I send commands to the robot.

I removed regulated power supply and connected 4.8V Ni-Cd battery and yet it was getting reset.

If I don't drive motors then nothing happens so bad.

These gear motors are from small toy so hardly take any great power and I have 4.5AH 6V Lead-Acid battery to power the motors. Motors run but uC gets into problem. I am using internal Flash program which is OK and nothing wrong with the program.

I had no such problem if I use Atmel AT89C2051. This chip looks real good one for 2.7V to 6V going great. AT89S52 needs 4.5V to 5.5V range power.

Can any one tell with past experience if any such thing was observed?

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
Engineering Fields - Electrical Engineering - New Member

Join Date: Sep 2006
Location: El Lago, Texas, USA
Posts: 2639
Good Answers: 65
#1

Re: Atmel 89S52 Microcontroller Problem

05/13/2008 10:56 AM

Sounds like you're either getting noise from the motor on your power lines, or else the motor load is pulling down the power line on the micro.

Is the microcontroller properly bypassed/decoupled? Are you using high grade ceramic caps in the .01 to .1u range?

Can you monitor the micro supply pins with an o'scope?

Register to Reply
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#4
In reply to #1

Re: Atmel 89S52 Microcontroller Problem

05/13/2008 1:41 PM

I did all possible to filter the power and also use isolated batteries separately for uC and H-bridge. Link to H-Bridge is weal 10k resistance driving signal transistors that can not affect the uC. Something else is doing it. Perhaps signal may begetting picked through crystal oscillator pint and may be causing some problem. There is one switch that is used to disconnect power to uC and perhaps this may be vibrating when motors move. I will find out if that is the source of problem. I can record signals, including power lines to trace the fault so will start doing it tomorrow. Some dry solder may also be a cause of problem. Let me explore all possibilities. Soldering was done by students so it is somewhat clumsy.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#2

Re: Atmel 89S52 Microcontroller Problem

05/13/2008 12:39 PM

Sounds like (better) decoupling is needed to me. If bhankiii's fix doesn't work, can you optoisolate the H-bridge from the micro, and completely separate the supplies?

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Guru
Canada - Member - Our strength is our diversity

Join Date: Jan 2007
Location: Canada
Posts: 1024
Good Answers: 40
#3

Re: Atmel 89S52 Microcontroller Problem

05/13/2008 1:11 PM

I agree with BlankII

According to the specs the 89S52 will operate between 4.0 and 5.5v while the 89c2051 is recommended to operate at 5 V+ or - 20 % (= 4 to 6V) and the absolute Maximum is 6.6V.

Your new Microcontroller has a narrower tolerance to power supply fluctuations... about half 5V +10% or -20% .

Most TTL Logic will operate as low as 3.7V before going into the indeterminate range. Even though the minimum voltage is listed as the same, the extra memory in the chip is probably loading down the power supply a bit more then the old one. This would make it more sensitive to any loading from the motors.

Possible solutions:

  • Put current limiting resistor or choke in series with motor, unfortunately this will slightly reduce starting, and operating speed .
  • install a larger starting capacitor for the motor.
  • Get a better power supply (faster response). The new chip is running faster. To reset it requires a surge for two cycles at 33MHZ as opposed to 24Mhz in the older chip
  • have separate power supplies for the motor and logic
__________________
Perfection is a subjective and abstract concept.
Register to Reply
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#5
In reply to #3

Re: Atmel 89S52 Microcontroller Problem

05/13/2008 1:49 PM

I used diode to isolate power and keep charge on 2000uF capacitors with 0.1uF HF decouple capacitors. This did some improvement but problem still persisted. It fails after 4-5 commands in place of one command. uC resets and some times goes into some close look. It looks that internal SRAM data is also getting affected. I will keep the uC board a bit away from wireless transceiver board. I suspect RF may be affecting the 22MHz uC clock. 89S52 is static uC so change in frequency can not affect the performance as long as code decode cycle is not affected badly.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Guru
Canada - Member - Our strength is our diversity

Join Date: Jan 2007
Location: Canada
Posts: 1024
Good Answers: 40
#6
In reply to #5

Re: Atmel 89S52 Microcontroller Problem

05/13/2008 3:24 PM

The best way to protect from RF is a grounded shield.

If that doesn't help, the problem is with the power. I would try increasing the starting capacitor in parallel with the motor first. If that doesn't work go with the current limiting choke or resistor in series with the motor.

__________________
Perfection is a subjective and abstract concept.
Register to Reply
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#7
In reply to #6

Re: Atmel 89S52 Microcontroller Problem

05/13/2008 9:03 PM

Current to motors right now is limited by the motor coil resistance / inductance and some drop in the transistors of the H-bridge. Power is through batteries of high current capacity. Drop in battery voltage is only 0.5V in 12V when motors run continuously. Let me check the ground loop if that is forming some voltage somewhere.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Guru
Engineering Fields - Control Engineering - New Member China - Member - New Member

Join Date: Sep 2006
Location: CHINA
Posts: 2945
Good Answers: 14
#8

Re: Atmel 89S52 Microcontroller Problem

05/13/2008 10:43 PM

its eventually disturbed by toy motor which is sparkling when runing. change a motor of unbrush one. or shield the motor itself.

for the mpu, use a zener of 5.1v at 40pin with a resistor of 30--51ohm series to power.

output pins link zener as well then to H driver.

split ground wire and H ground and let them connect at power terminal.

add a capacitor across onto motor between H. 4small capacitors parallel with H. about 100--500pf.

thats absolutly ok.

why you use s52? its only very very simple driver!! you waste almost of their pins!

which port are you using?

dont forget to add a up pull resistor at p0 port

Register to Reply Score 1 for Good Answer
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#9
In reply to #8

Re: Atmel 89S52 Microcontroller Problem

05/14/2008 2:13 AM

You have a very good point and let me see about this seriously.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#10
In reply to #8

Re: Atmel 89S52 Microcontroller Problem

05/14/2008 2:54 AM

cnpower, good to hear you're OK. We were worried about you. Did you see FAO: CR4 China?

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply Off Topic (Score 5)
Guru
Engineering Fields - Control Engineering - New Member China - Member - New Member

Join Date: Sep 2006
Location: CHINA
Posts: 2945
Good Answers: 14
#13
In reply to #10

Re: Atmel 89S52 Microcontroller Problem

05/15/2008 12:12 AM

Thank you very much for your concern. Im fine.

I thnk you must talk about chinese earthquake on 12nd. Its power earthquate up to 7.8 degree.

Most of our country has felt its shock.

I believe we can overcome this disaster.

I shall read the thead at once.

Thank you again!!

Register to Reply Off Topic (Score 5)
Power-User
United States - Member - Member

Join Date: Dec 2006
Location: La Grande, Oregon U.S.A.
Posts: 468
Good Answers: 23
#11

Re: Atmel 89S52 Microcontroller Problem

05/14/2008 1:25 PM

Shyam,

I have similar problems driving a dc motor with a microcontroller. The brushes on the motor are probably giving you rf interference. A capacitor alone will probably not give adequate filtering. Try an L-C filter with a ferrite for the L.

Stepper motors are a little more expensive, but free of brush problems.

Good luck,

Dave

__________________
Don't hit at all if it is honorably possible to avoid hitting; but never hit soft! - Theodore Roosevelt
Register to Reply
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#12
In reply to #11

Re: Atmel 89S52 Microcontroller Problem

05/14/2008 10:56 PM

Hi LG Dave

Humm. All good answers are pointing to motors finally. DC- Brushless motors perhaps is the ideal choice. I am surprised with the performance of the ADF7020 wireless transceiver, as this one is not in trouble. Only AT89S52 is in trouble and getting reset. Even with isolated DC power, it was getting reset. It is not just getting rest but its internal memory is also losing data. Hence, it is picking up noise right in its core thru plastic casing. That is real bad thing. I think this uC is not a robust is design. I will change this uC to another type and in similar condition will like to evaluate the performance.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Power-User
United States - Member - Member

Join Date: Dec 2006
Location: La Grande, Oregon U.S.A.
Posts: 468
Good Answers: 23
#14
In reply to #12

Re: Atmel 89S52 Microcontroller Problem

05/15/2008 1:21 PM

Shyam,

You probably won't find any more robust uC than the Atmel ones. And you probably won't find anything more frustrating that dealing with interference from a nearby strong RF field, especially when it is connected electrically. ( a floating ground may be more frustrating - but that is another discussion)

I suggest verifying the following points:

1. All pins of the uC should either be grounded or have as low an impedence as possible. Make sure unused port pins haven't been forgotten. The AT89S52 is a low power part and more susceptible due the inherently high impedences.

2. All the filtering and protection devices rely on a good ground. Do you have a plane or some heavy ground busses?

3. Shielding is a ghastly business - but you may want to try some temporary shielding just to verify the conduction path for the RF.

4. I suspect that your final solution will involve filtering using ferrites and caps.

Experiment to find the right values.

Dave

__________________
Don't hit at all if it is honorably possible to avoid hitting; but never hit soft! - Theodore Roosevelt
Register to Reply
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#15
In reply to #14

Re: Atmel 89S52 Microcontroller Problem

05/15/2008 2:34 PM

Dear LG Deve

I have another uC from Renesas which drives wireless and works fine. Only Atmel 89S52 has problem. Did not find such great problem with 89C2051. Most of the wireless transceivers prefer Microchip uC to Atmel. Almost all have experienced some problem with Atmel uC.

I will reduces the operating frequency from 22MHz to 11MHz to see if that makes some difference. I have already placed filters for the motors. Tomorrow I will test this change. i need to get to the bottom of all this.

I am using 89S52 in my ST1006 and ST2006 waveform generators where memory is scanned at 10MHz rate and that did not have much problem. I did place very tight shielding there and both layers are shielded as close as 3mil from conductors.

No this board that is for students was developed by another person and he did not do good shielding and earth line is also thin to 1mm. I am not drawing any current from this board. Total current drawn is <10mA from all ports. I also placed pull up resistors but that did not help and only caused loss of current. Other than data port, all other ports already have internal pull up scheme. Chip normally draws 30mA at 11MHz and perhaps 50mA at 22MHz.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#16
In reply to #15

Re: Atmel 89S52 Microcontroller Problem

05/15/2008 4:47 PM

Just a thought - if you can set up two systems - one working, just driving a motor, and the other one being your suspect system, you could see if there is any RF interaction by operating the motor/drive at varying distances from your suspect system (with no electrical connections between the two).

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply Score 1 for Good Answer
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#17
In reply to #16

Re: Atmel 89S52 Microcontroller Problem

05/15/2008 9:59 PM

Dear John DG

You have a point. I must try to see how fat this problem reaches. It is indeed a very good idea. I did EMP tests on chips long ago and I will try this RF range test as well. I think RF must have reduced now as I have placed capacitors across the motor power points. It will kill the electrical current impulses through ceramic caps 0.1uF very easily. I have seen such arrangement in one toy car which was RF driven from remote.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Commentator

Join Date: Mar 2008
Posts: 78
Good Answers: 2
#18
In reply to #17

Re: Atmel 89S52 Microcontroller Problem

05/16/2008 7:25 AM

I did not see a mention of the H-bridge type .. if its a darlington design maybe freewheeling diodes across the transistors would help, if its mosfet it is fine of course.

I find PICs are the best uC I have come across for noise immunity. I use 18f's in almost every design I do now.

Register to Reply
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#19
In reply to #18

Re: Atmel 89S52 Microcontroller Problem

05/16/2008 9:58 AM

Hi Stoney

I am using 2N3055 transistors and diode I think were not placed. Let me add them now to see if inductive current surges come down and help.

Good point.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#20
In reply to #18

Re: Atmel 89S52 Microcontroller Problem

05/18/2008 1:00 PM

I inserted diodes but they killed the batteries in no tie I a using AA non-chargeable batteries and excess charge injected heated the batteries and they were dead in just 10-20 operation in less than few minutes. Perhaps diodes may work fine with other DC power sources. I am going to place Lead Acid batteries but they are very heavy for small robot and may cause problem in motion control.

I changed the uC to 89C2051 and this one works fine.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#21
In reply to #20

Re: Atmel 89S52 Microcontroller Problem

05/18/2008 3:46 PM

Sorry if you've already answered this (and I missed it), but did you try another 89S52 (maybe from a different batch)?

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#22
In reply to #21

Re: Atmel 89S52 Microcontroller Problem

05/18/2008 11:31 PM

Dear John DG

I usually buy parts in bulk so have many from one batch only. They are working in normal operation in my other designs and in this particular application I found problem.

89S52 is highly voltage sensitive design 4.5V to 5.5V operating limits. 89C2051 is 2.7V to 6V operating range and works fine even at 2V. This 89C2051 is not affected by small surges due to motor currents and draws 1/3 power. I need to take care in future and have to test all Atmel ICs now for voltage surges in power supply and their operating dynamic range. I will also do some tests using EMP. I am also going to look at other uC to let me know which one has greater survival strength in tough environment.

One of my trained engineer did report that Atmel uCs were often failing in industrial environment, while he found no such problem with PIC series. Hitachi H8 and other series also look good and are now manufactured under name Renesas. I did use Intel 8751 uCs earlier and 8085 uP. 8085 did have this problem of greater sensitivity to noise. However it was Rad-hard so I did use in some applications.

I will try H8 Tiny series also as they look robust. I find Renesas information over crowded and not properly arranged. However, they do have open information system and C compiler all for download. Chips are SMD so another problem and need boot down-loader.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Commentator

Join Date: Mar 2008
Posts: 78
Good Answers: 2
#24
In reply to #20

Re: Atmel 89S52 Microcontroller Problem

05/29/2008 2:31 AM

the diodes should make no difference to the batterys, they only conduct on inductive spikes. If the batterys are heating up then maybe you have a logic or design fault and the h-bridge is acting as short circuit due to the top and bottom being on.

perhaps a read-modify-write problem on the port .. not overly familiar with Atmel parts but I would think they are similar to the PICs.

10k should be fine off the port pin though so the port is not heavily loaded.

what sort of current is this motor drawing ?

Register to Reply
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#25
In reply to #24

Re: Atmel 89S52 Microcontroller Problem

05/29/2008 5:54 AM

Dear Stoney

I have already changed the uC to AT89C2051 which did a better job. Some pins of this uC were not driving as others were on same port number. As per design they are same type.

I also changed battery from disposable to Lead Acid 2.2A 12V version which I could get with 1kg weight. After all these changes, robot moved as was planned. I converted the code for new uC.

ADS7020 wireless transceiver is also working fine.

I am waiting for 12V 1.3A-hour battery having 500g weight to make more robots now. For a while I will use AT89C2051 and AT89C4051 uCs only.

I will also hunt for more robust uC now. I am bit scared of AT89S52 for noisy environment. I think something wrong in design of the chip itself in terms of robustness to noise. I will also make few highly shielded board for AT89S52 to see if they can be used at all. What makes it to fail I am yet to know. I only have crude idea that noise triggers it down while other uCs are not affected at all.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Participant

Join Date: Jun 2018
Posts: 1
#28
In reply to #20

Re: Atmel 89S52 Microcontroller Problem

06/11/2018 11:37 PM

Change ic, I found problem in 89s52, I replaced that ic with new batch 89s52, problem solved but that was the case for operating relay through drivers.Probably the case could be same.

Register to Reply Off Topic (Score 5)
Participant

Join Date: May 2008
Posts: 1
#23

Re: Atmel 89S52 Microcontroller Problem

05/25/2008 8:27 AM

I had a similar experience in the past, be very careful of the ground on the processor. it may be come elevated and reduce the actual VCC ion the chip. also check the back emf from the motors to see if they are driving the supply low..

Register to Reply
Anonymous Poster
#26

Re: Atmel 89S52 Microcontroller Problem

11/03/2008 11:01 AM

this may be due to power supply because when motor starts it puts load on supply and glitches in supply fall blow regulation limits the other cause could be sparking in motor comutator . put a smothing capacitor of sufficient caoicity near motor driver and a 0.1uf milar capacitor across motor supply terminals.this will solve your problem and by the way do not put load on port use higher resistence.

Register to Reply
Guru
India - Member - Sensors Technology Popular Science - Cosmology - Dream, Think and Act United Kingdom - Member - New Member United States - Member - New Member Canada - Member - New Member

Join Date: Aug 2006
Location: AM-51, Deen Dayal Nagar, Gwalior, Madhya Pradesh, MP 474001, India
Posts: 3418
Good Answers: 32
#27
In reply to #26

Re: Atmel 89S52 Microcontroller Problem

11/03/2008 3:10 PM

Finally this became a comparative study of the reliability of the two types of Atmel uCs, AT89C2051 and AT89S52 and both working at 22MHz and 11MHz frequencies. AT89C2051 wins over the AT89S52 in terms of reliability.

Yes, I did make all those suggested changes like placing diodes and filters across H-bridge motor driver circuit and power supply decoupling caps. Peak current from motors easily exceeded 3A in each motor momentarily. Batteries used were powerful enough to deliver 16A peak current without much drop in voltage. There is step down voltage regulator for the uCs and battery voltage is 12V. Even if battery drops to 9V, the regulator will take care of the power glitch.

I think it is the design problem and these two uCs differ in design considerably and AT89S52 is not so robust design.

__________________
Prof. (Dr.) Shyam, Managing Director for Sensors Technology Private Limited. Gwalior, MP474001, India.
Register to Reply
Register to Reply 28 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

Anonymous Poster (1); bhankiii (1); cnpower (2); Inventor007 (1); JohnDG (4); LG_Dave (2); Shyam (12); stoney (2); Sunil Shinde (1); techno (2)

Previous in Forum: GSM signal enhancer   Next in Forum: ECL logic
You might be interested in: Robot Repair Services, DC Motors, Stepper Motors

Advertisement