Handling of unconnected pins on circuitboard/ unused pins on microcontrollers (generally)

Simple. Dump resistors for current sources. Common mode controls frequency, differential mode controls PWM. Stick an MC1496 on there and crank away.

Note: frequency is inversely proportional to current, so PWM varies frequency too. It's not a good way if you want linearity, but it works if you just want to vary it, or have a loop holding it constant.

If you do want linearity, it's proportional to voltage. At constant bias (use current sources for collector loads and base bias), varying supply voltage will vary frequency linearly. Presumably, varying the clamp voltage of the collector loads will also allow duty cycle control.

The only way to do PWM at constant frequency is the old triangle + comparator (trivial with one LM393), or clock + one shot timer (the double

555 circuit).

Or you can pipe your control voltage into a PIC and make it print butterflies to an LCD, whatever you want...

Tim

--
Deep Friar: a very philosophical monk.
Website: http://webpages.charter.net/dawill/tmoranwms
Reply to
Tim Williams
Loading thread data ...

I design with lots of discrete parts. Somewhere around here I have a thermal image of a row of TinyLogic buffers glowing cheerfully in the thermal IR, because they were biased partially into their linear regions, specifically because they has 5-volt supplies but 3.3 volt logic inputs.

John

Reply to
John Larkin

The problem of cross conduction is fairly overstated. A common HC logic gate @ 5V supply drains < 3mA at the worst case of cross conduction.

However, the random toggling of unconnected inputs (even if schmitt triggered) can considerably increase power consumption of micropower devices such as coin battery operated RKE, clocks, sensors, etc.

Vladimir Vassilevsky DSP and Mixed Signal Design Consultant

formatting link

Reply to
Vladimir Vassilevsky

Agree, but the parts in my example are screaming-fast triple buffers in US8 packages. They were getting very hot. The fix was to add a diode drop of level shifting to split the difference, namely swing the inputs from roughly 0.7 to 4.0 We couldn't spare enough nanoseconds to do anything else.

John

Reply to
John Larkin

If you need to do such dumb stunts, use 'HCT' or equivalents to ...Jim Thompson

--
| James E.Thompson, CTO                            |    mens     |
| Analog Innovations, Inc.                         |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| Phoenix, Arizona  85048    Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |

                    Obama, All Blow but NO Hard
Reply to
Jim Thompson

minimize overlap currents.

(Completing my sentence. I don't know how I accidentally sent :) ...Jim Thompson

--
| James E.Thompson, CTO                            |    mens     |
| Analog Innovations, Inc.                         |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| Phoenix, Arizona  85048    Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |

                    Obama, All Blow but NO Hard
Reply to
Jim Thompson

I wasn't worried about linearity - it's a knob that the user turns until it's "the right speed."

Thanks! Rich

Reply to
Rich Grise

It wasn't sloppy. Once in a while the ISR had a bunch of calibration stuff to do, so we let it. As I said, no harm was done.

John

Reply to
John Larkin

Well, you've clarified what "let it go" means - you didn't really just "let it go", from what you've just said, you accommodated it.

Fair enough? :-)

Thanks, Rich

Reply to
Rich Grise

Yeah, now that you've mentioned it, you're both right. Mind you, I've never actually _designed_ a board with that cloooge, I've just read about it. Every board I've designed, I knew what each input and output was, and used pullups, etc. - no "expansion" pins. ;-)

Thanks, Rich

Reply to
Rich Grise

Expansion pins no, but I have been known to take pins out to headers. Only one row, not three, so it hardly takes up any space (relative to the DIP), and I can plug in at will, or poke jumpers into it, etc.

Tim

--
Deep Friar: a very philosophical monk.
Website: http://webpages.charter.net/dawill/tmoranwms
Reply to
Tim Williams

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.