please dont rip this site

Electronics Bench in a Box

Tony Nixon posted [to the PICList] that he was able to write a boot loader for the '877 including a PC program to write code out to the PIC which would then write it to FLASH and run it. It dawned on me that a '877 preprogrammed with this boot loader was a $5 development environment when combined with the free MPLAB software and a few bench tools (power supply, DVM, signal generator, function generator, frequency counter, scope, logic probe or analyser, etc...) Then I started thinking that all these things have been implemented (at least in basic form) in PIC's. And the support electronics for a DVM and scope are very simular, as are the (variable) power supply and signal generator and the code for the function generator, frequency counter and scope all involve rapidly copying port values to or from ram, so....

The upshot is that I think a $10 board consisting of a '877, MAX 232, Analog front end, PWM output filters and power regulators could provide the following:

See also:

Anyway, you could develop right on the CUMP and then port it to a (smaller, cheaper) target processor which you program, stimulate and test via the CUMP after the code is basically running. See http://www.adv-transdata.com/User_Guide/DS91033.pdf (cached 20000229114401)

Optional extensions are without limit. Starting from a low cost, easy base, the unit could be cheaply extended to add external high speed RAM signal capture and generation, high impedance analog front ends and back ends, user interfaces to replace the PC GUI. If the daughter card interface is done correctly, these additions would be as easy as plugging in a new card with the code for the main processor to use it right on the daughter cards own EEPROM.

An external, high speed (hundreds of MHz) oscillator with a high speed counter (maybe the timers in the SX48/52) might be capable of adding TDR capability. Most 50 ohm coaxial cable has a V factor of .66, and the pulse goes out and comes back, so figure .33C as a starting point. At 300 MHz, a wavelength in free space is 1M, so to get accuracy to the nearest meter, you'd have to count at 600*.33 or 200 MHz. Other cables are different, basically the higher the Z, the higher the C.

Build a 110VAC to 1V switcher, use 'flat-transformer' technology for 98% or better efficiency. With this type transformer, there is almost zero leakage inductance, so almost no losses from snubbers, etc. in the primary. Flat transformers don't even need square 50/50 duty cycle...you can regulate by varying the on time of the input voltage switches. They have a limitation of fifteen volts, but yield an easy way to build a 300kHz to 1 MHz switcher.

On the secondary, be sure to use Power Mosfets as synchronous rectifiers, so that ON resistance is perhaps .05 Ohms when they conduct and diode losses are virtually non-existent. In other words, you drive the Mosfets on only when the diode they replace is supposed to conduct. Terrific efficiency. Output voltage or current is easy to control depending on the feedback circuit used. We are talking 98% efficiency here with 1.0 volts out, scalable to almost any power level.

Dan Michaels says:

I've done a number of the things you mention using 20Mhz PIC16C73/74/76 chips. They make rather nice simple 1-chip scope/logic_analyzer/generator instruments - albeit a little slow.

The best "logic analyzer" rate is 2.5Mhz using a 20Mhz part. 1 instr to capture, 1 to store, using linear code and direct addressing. You can't fill more than about 96+80=176 locations without bank-fiddling, which adds some skew. The best rate I could coax out of 1-bit sampling, which of course requires time to pack 8-bits to a byte, was 1 Mhz.

If you can actually get 20Mhz and 5 Mhz datacq, as mentioned in your e-mail, please tell me how.

Also, regarding "signal generator via PWM", this works extremely well on the 2nd gen PICs with the built-in PWM generator. Turns out all period values and duty-cycles are available on these chips, so you are not limited to just a few PWM rates (as on most microcontrollers??), and you can actually get continuous pulse widths and reprates from 50ns @ 5Mhz, down to about 800us @ 1.2Khz. Since, it's done in h.w., there is no s.w. overhead or timing loop problems.

A while back, I wrote an Appnote about this, which spells it out in detail:

"AN-ECD06 - Precision 50-nsec Pulse Generation Using a PIC16C63" available at: http://www.oricomtech.com/appnotes.htm

- Dan Michaels
Oricom Technologies

Power@

See also:

Questions:

Interested:

Comments:


file: /Techref/idea/ebb.htm, 22KB, , updated: 2007/1/22 09:57, local time: 2024/3/18 23:07,
TOP NEW HELP FIND: 
34.237.245.80:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.sxlist.com/techref/idea/ebb.htm"> Electronics Bench in a Box</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to www.sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .