Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | Problem with controlling motor

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

Problem with controlling motor - Gavin - Apr 28 14:01:07 2006

Hey All

I'm using the MC9S12NE64, I've written a simple code so that when a
switch is pressed it will turn a motor on for 1/2 second. I'm using
the 3.3v from the NE64 to power everything.

When testing with a LED everything works as it should. The light
switched on for 1/2 seconds. But when I replace it with the motor
nothing happens.

Can someone please help me and tell me why the motor isn't switching
on.

Thanks
Gavin



(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )


Re: Problem with controlling motor - Stephen Trier - Apr 28 14:21:01 2006

Gavin,

How much current does your motor draw? The 9S12 is limited in what it
can supply.

Digital logic chips like the 9S12 are also kind of fragile compared
to the rough world of motors (even small motors). It's a good idea
to use a transistor or some kind of drive chip to control the motor,
giving the expensive HC12 a layer of protection.

Stephen

--
Stephen Trier
Technical Development Lab
Cleveland FES Center
s...@po.cwru.edu



(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: Problem with controlling motor - Steve Russell - Apr 28 14:23:31 2006

Gavin,

If there is no sign of life in the motor, the problem is probably that the
motor draws more current than the driver or the power supply can deliver.

If the motor turns a little and then things stop, the problem is likely
that the high frequency noise from the motor brushes is causing the MCU to
operate incorrectly.

Can you tell us more about type of the motor and its specifications?

Can you outline the motor drive circuit, and the power supply arrangements?

This will help in suggesting the causes of your problems.

Steve Russell
Nohau Emulators
At 10:58 AM 4/28/2006, "Gavin" wrote:
>Hey All
>
>I'm using the MC9S12NE64, I've written a simple code so that when a
>switch is pressed it will turn a motor on for 1/2 second. I'm using
>the 3.3v from the NE64 to power everything.
>
>When testing with a LED everything works as it should. The light
>switched on for 1/2 seconds. But when I replace it with the motor
>nothing happens.
>
>Can someone please help me and tell me why the motor isn't switching
>on.
>
>Thanks
>Gavin
>

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )