In SX Microcontrollers, SX/B Compiler and SX-Key Tool, robotworkshop wrote: What are the specs of the solenoid you are trying to control? Have you done any measurements on the current draw? Just temporarily connecting it to a 12v source and measuring the current with a meter would be a good place to start. What kind of solenoid is this that you are using PWM to control? Is it meant to be switched at high speed? Most of the ones I was familiar with are either on or off and didn't require any PWM. Since you've had more than a couple of the SX chips get fried you should definitely consider using an opto isolator between the SX processor and the circuitry you are using to control the solenoid. It will help prevent toasting the processor if things go wrong. Also you may also want to try using a FET instead of the TIP42. Robert ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=317938#m317942 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)