School, hobby electronics

This material is not 'polished'!!

As I surf the net, I come across various things that I wish someone had told me about. In theory, one day it will all be available in the polished sections of my website. In the meantime, if you're willing to 'dig' through some disorganized material, you may be rewarded with gems'! School, hobby electronics.

This material is mostly about doing things with digital electronics, including PICs and 6802 microprocessors. Not much about how to add sound cards, hard drives, etc, to a PC. However, there is material on circuits you might want to build and connect to a PC via a parallel port, ISA bus, etc.

In some cases, the text is snipped from other sources. Therefore, among other things, the personal pronoun may not refer to the editor of this page. If, on the other hand something is identified as coming from 'TKB', he IS the pages's editor!


Material from earlier versions of this page has been 'polished' into more organized pages. Click here to visit them.


The page WAS in two sections... general stuff at the top, then notes about specific problems, projects, products on offer (e.g. digital i/o card) in second section. Unfortunately, it is a bit confused at the moment. I'll try to re-sort it in due course.

Click here for 'unpolished' material about using an MS-DOS / Windows computer's parallel port to control things or sense the 'outside world', or click here for 'polished' material.
Ad from page's editor: Yes.. I do enjoy compiling these things for you... hope they are helpful. However.. this doesn't pay my bills!!! If you find this stuff useful, (and you run an MS-DOS or Windows PC) please visit my freeware and shareware page, Sheepdog Software(tm), download something, and circulate it for me? Links on your page to this page would also be appreciated!

Click here to visit editor's freeware, shareware page.


General Stuff


===
Q: I want to UNDERSTAND the electronics things I make, not just be a 'cook' following blindly a 'recipe'.

A: The books by Tom Duncan are excellent, especially

Adventures with Microelectronics, ISBN 07195 3671 5

===
[Note to myself, tkb, for something to include in my site one day: Explanation in ele that LEDs are non-ohmic... and how to use them]

===
PCB design software, BPECS32.. $29.95:

Schematic/PCB layout package, not pin limited!

Download a fully functional evaluation copy, including demo mode, tutorial, and documentation from...

http://www.bestproto.com/bpecs.html

===
Q: Can some one tell me how to wire and the components needed for a microcontroller that has the following: C or Basic interpreter, LCD, keypad, temp sensor, and a serial port?

A:Try the Micromint PicStic:

in the US: Http://www.micromint.com

In Canada: http://www.hvwtech.com

(limited use... ads page) ===
http://www.datalight.com MS-DOS compat OS in ROM, boot from pcmcia or on board flash

===
And for another ROM-able Dos...
http://www.kila.com

===
There was a minor spat in one of the newsgroups.

Someone advertised...

If you're looking for a quick, easy, and exciting way to learn electronics, then we have the site for you. (e)lectronica is your online resource to the exciting world of electronics. We offer detailed lessons, exciting projects, and online interaction through our BBS and real-time chat room. Drop by http://library.advanced.org/16825 for the quickest way to efficiently learn electronics! Membership is absolutely free!!!!

Someone who visited the site complained that it was largely a spam trawl. The site operators responded...

A. This site is created by HIGH SCHOOL students for an ACADEMIC COMPETITION, the only economic gain we will receive is a scholarship to the college of our choice.
B. We have a preapproved account it is:
User name: EWeb
Password: resistor
C. Why do we require name and email?
1. Future releases of our site will use this information in new and powerful ways, each user will receive their own customized home page, plus a virtual email address.
2. To provide a certain level of protection from plain idiots that come in and would post obscene things to our chat room and forum, after all this is already being incorporated into several curriculums!
Thanks, Chris Sims, Team Leader, Team 16825
(e)lectronica Admin
http://library.advanced.org/16825

===
A group of Computing teachers in Western Australia have been working on designing simple and inexpensive 'real world' interfaces for use with MSW Logo (and other languages). It adds a whole new dimension to using computers in schools. You can find details at the URL below.

http://www.southwest.com.au/~jfuller/mswlogo.html

===
Weather related science projects:

http://www.erols.com/r.smith/weather.html#kits

they include:
computer controlled anemometer and thermometer (can be used for other types of computer controlled measurements & counters)

lightning detector

cloud charge monitor

I will be adding projects for
photometer (measure light transmission in atmosphere)
seismometer
pocket microscope powerful enough to view living bacteria

===
Information/ web sites on science projects:

The Amateur Scientist section in the back of Scientific American
http://www.sciam.com/

(They did a couple of weather projects, for instance, possibly on web)

Popular Electronics Magazine
http://www.gernsback.com/noframe/pe/PEindex.html always has good stuff too.

Poptronix http://www.poptronix.com/ is also good.



===
Joshua Lang wrote:

Found an excellent site for oscilloscope information for beginners (like me)

http://www.tek.com/Measurement/

you can view it online or download the Adobe Acrobat .pdf

Neil writes: I got one too.........If anybody else is looking for one, which tests your reading ability of a oscilloscope screen which had me fooled at first, it 's good and allows the student to adjust the controls(Time,Trig,Slope etc.) It tests you up to using phase angles in 3 easy to learn lessons. Neil

===
Q: Can anyone recommend a book to read that explains how to design and build your own computer.. NO not from off the shelf components...

A: Are you more interested in doing the hardware or software?

If hardware, why not start with a more elegant processor, and a more manageable one? I've had great fun with the Motorola 6802. The TASM assembler (shareware) will let you program it from a PC. It will also allow you to program for other processors, so when you want to move on, you don't need to think about new tools. There have been many good articles in the hobbyist magazines which you can use as starting points and for guidance. If you can still get it, 'Introduction to 6800/6802 Microprocessor Systems', Simpson & Terrell, ISBN 0 408 01179 3 is excellent... maybe worth reading even if you decide to go with an Intel design... teaches assembly language programming as well as the hardware side. Also good, also 6802: 'Twenty Two Microcomputer Projects', D Metzger, ISBN 0-13-934712-7

On the other hand, if you're more interested in the software side, why not start with one of the Intel chip based industrial controllers... flash EEPROM based, I/O chips onboard. E.g. the things from Kila, out in Colorado. (AltaVista should be able to turn up a URL, let me know, or someone post one, please?)

Lastly, anyone with limited background in hardware and assembly language programming could do a lot worse than to do a few projects with microcontrollers, e.g. the Arizona Microchip PIC series, to build knowledge. Inexpensive... for about $20, I just bought a kit, including software & chips (but no 12v/5v psu... big deal), to build a board on which I'll be able to program (flash EEPROM) the little darling and then run my masterpiece. See the ads by Magenta,


http://ourworld.compuserve.com/homepages/Magenta_Electronics
(Note that's an underscore _ not a hyphen - ).. I went for their Kit 871.

Everyday With Practical Electronics magazine writes about PICs regularly
www.epepmag.wimborne.co.uk



===
A web page open for anybody who might wish to contribute to it any circuit diagrams, tips, useful info, etc. if you would like to contribute something (and please do!), then email me at kgor@usa.net
This web page is at
http://www.pitt.edu/~olgst/electron.html

===
Also, some of the chip manufacturers on the Net have chip specs online available to download. I just check National Semiconductor real quick but didn't find your chips. (of course I only looked for about 30 seconds)

This URL may help you out
http://www.online.ro/chipdir/chipdir.htm

=== Someone asked: I'm looking at some data sheets, and there are lines over some of the pin names. What does this mean?

Answer: The lines mean 'Not'.

For example, take an imaginary latch chip. It has data inputs and a strobe input. To use the chip, you feed whatever data you want to be latched into the chip into the data inputs, and when the data is stable, you feed a pulse to the strobe input (i.e., you make it go low then high... or maybe high then low... both systems are used, the data sheet of a real chip will tell you which one is in use in that chip.) Once you've done this, the outputs will be whatever was on the inputs... until the next strobe pulse, regardless of what happens to the inputs.

Let's also say that your latch chip has a further input called 'not chip enabled'. On the data sheet, this would probably be a CE with a line over it. As long as that input is high, the chip will ignore pulses arriving on the strobe line. ('Enabled' can be used in many variations, by the way.)

The name of an input pin, e.g. 'not chip enabled', usually reflects the state of affairs when that pin is high.

You'll also see output pin names with lines over them. Many flip flops give you a Q and a /Q (which is a way of doing a line over the Q if you haven't the typographic means). One is simply the opposite of the other... when Q is 1, /Q is 0, when Q is 0 /Q is 1. They had a spare pin, and just took Q through an inverter.

You will find similar things at....

http://www.arunet.co.uk/tkboyd/ele.htm

===
Someone wrote: I am interested in learning about designing digital I/O devices for PC's and I'm looking for resources which might include books, online information, parts catalogs, newsgroups, etc.

I am not an engineer, but I do have a fair grasp of analog electrical equipment, a programming background and experience with communications DLL's. To start, I picked up a copy of Basic Digital Electronics at Radio Shack and I'm making my way through this without too many problems

Get a copy of "The art of Electronics" by horowitz&hall
(www.artofelectronics.com)

It's not directly relevant (IIRC it has parallel port info, but that's it) but it's a MUST HAVE for anyone involved in designing electronics. "Interfacing to the IBM PC" is also good.

I'd love to be able to recommend cypress's $99 USB dev kit, but after over 2 months, I still have not received it. (I don't believe my CC has been charged, but I'd like to have the goods)

See http://www.mauve.demon.co.uk/    |Linux PDA, cheap electronics/PC bits sale.
See_header,_for_UCE_policy___________|_____________________________Ian_Stirling.
If it can't be expressed in figures, it is not science, it is opinion.
Robert A Heinlein.
Shhh I'm huntin Windows.   --PRR
The book "Controlling the World with your PC" is a good place to start. His examples work almost exclusively through the parallel port, so they don't require building ISA/whatever cards.

+-------------------------------+------------------------------+--------+
|     Jeff Francis - KC0BWS     |"Clinton is a man who thinks  |        |
|   Level Three Communications  | 'International Affairs'      | ____/| |
|     Denver, CO USA DM79nr     | means dating a girl from     | \ o.O| |
| 39d43m16.4s N  104d52m10.7s W | out of town."                |  =(_)= |
|       jfrancis@frii.com       |               -- Tom Clancy  |    U   |
| http://www.frii.com/~jfrancis |          on Larry King Live  | PRR... |
+-------------------------------+------------------------------+--------+
===
Q: I have been searching for the answers for the following questions..but I guess they are too easy that I can't find answers...

1. what's open collector
2. what's "pull-up" resistor is for, and how to use it, and determine the value
3. how to make a circuit at TTY voltage level? for example, if I use the Sharp infra-red detector, and want to use the serial port to monitor the output, what's a appropriate way to hook it up so that I won't fry the mother board?

A: You probably want to read the file named totmpole.tut on my TUTS/ (tutorials) subdir on my FTP Gateway from my website or FTP.
-Steve
--
-Steve Walz rstevew@armory.com ftp://ftp.armory.com:/pub/user/rstevew
-Electronics Site!! 1000 Files/50 Dirs!! http://www.armory.com/~rstevew
Europe:(Italy) http://ftp.cised.unina.it/pub/electronics/ftp.armory.com

===
Another answer: An "open collector" logic gate is when the final output transistor is not connected to power internally. The advantage of this is simple, you can then determine your output voltage and "internal" high resistance. For example, you may want your output high to be 12 volts instead of only 5.

A pull-up resistor is used whenever you want a "floating" line to be a high. In an open collector circuit, it's used to connect your final transistor to your pos voltage. It can also be used to keep a line high until you intentionally put a low on it by a physical wire touch such as in a lab setting. These are normally around 1 or 2 K, while a "pulldown" has to be closer to 220 ohm.

===
Q: I've been trying to create some sort of device to detect light, and set an alarm off when it does. This must be battery operated.

A: You might want to look at something like this
http://www.marktechopto.com/TOSHphototrans.htm

http://www.megsinet.com/bgriffey/docs/index.htm

===
Please come take a look at my robot website.....
it's cool   i have a

robot message base
live robot chat room
an electronics forum
lots of robot related links
and a robot mailing list ( you can join when going to my website )

come now !!  if you run a robot webpage e-mail me I'll link to your
website
and i just ask the same of you !!

http://www.morenorobotics.home.ml.org
===
Q: National Semiconductor has an internet site that has applications notes, files use a .pdf extension. Does anyone know what kind of program it takes to read these files?

A: They are encoded for the excellent, widely used Adobe Acrobat.

The good news is that Adobe have been clever (MSFT take note): you can have the excellent .pdf reader for free from

http://www.adobe.com/acrobat

(They SELL the program to encode files for .pdf)

==
Q: I'm trying to make (first time) my own PCB, via etching. I am using .10 graph\ grid paper for the sketches \layout. What size drill bit, and what kind of bit material, should I use?

A: If you do it that way it's very confusing, because you have to mirror image all your work. It's really waste nowadays because of the CAD programs available on the net. Take WINBOARD for Example: 100 pins free for trial use, which is like 4(14pin)IC's on a double sided board or 6 on single sided copper board, remember that you use external parts as well mixed. Then you can use transfer film or light sensitive boards with positive developer to make your own artwork.

Datak use to sell all that stuff, but now they too have a PCB program which you can buy from http://www.cir.com for 60 dollars U.S. But don't be fooled because WINBOARD(200 pin) sells for 30.It has all the pads for Standard DIP and SMT(Suface Mount Technology)
GO WINBOARD! at Http://www.ivex.com

P.S It's expandable to 300 pins for $29.95 last time I looked. Something like that. O.K........... Neil

Drill bit size is determined by the component lead you are using. A common size is #60 , a .040" hole good for 1N4000 series diodes, #22 wires, 1W resistors, etc. Material to use....normal is FR4 glass epoxy, great stuff kind of hard to cut but is very stable and readily available. There is a brown material, phenolic, which is used for inexpensive equipment as the holes can be punched out. If you use this, when you cut it with shears or tin snips, warm the cut line first with a hair dryer, this makes it cut easier and stops the cracking along the cut line. Other types are available, another kind is epoxy paper, available in many colors, real nice in blue but also in off white/ beige cuts good and has not bad characteristics.

If you download a pcb program and have a ink jet printer, print to paper, print the layout so it is backwards, and put the ink side against a positive resisted PC board. Use a rich source of UV, tubes like F15T8BL 3" away from the layout/ board will expose the board in 2 - 3 minutes. Develop with sodium hydroxide and etch.

Try EZ-Route, a inexpensive program from http://www.ezr2000plus.com/. Said to work well and be user friendly. Once upon a time, the demo was of the Pro version and wwould allow you to do everything but save and generate Gerbers. (That may or may not be the case these days... but I'm sure that there's some sensible compromise between your hopes and the supplier's interests.) You can plot to many different printers/ plotters. It runs under Windows XP, and the website says "see readme file before installing on Win 95/98 or ME/NT/2000 machines, so I presume it is possible, with some minor hassle or limitations. The earliest versions of the program go back to the DOS era; it has been continually extended and refined since beginning in 1987.

At 11 June 06, there is a rather enticing notice on the webpage. I hope you see this in time!....

"Over the years, versions of EZRoute sold as high as $995 US and back to $695US. The upgrade cost for previous users was $195 US. When I was made exclusive distributor, I decided to offer EZRoute2000 at $195US for all users. This special price of $99.95US will only last until EZRouteStudio is released. Buy your copy now knowing that a special upgrade to EZRoute Studio will be offered to all EZRoute2000 users."

===
Q: Where can I get specs for PCI, SCSI, (E)IDE, EPP, Graphix chipsets, PS/2 SIMMs and DIMMs for RAM?

A: The FAQ's probably the best place to start looking for these - it's at ftp://rtfm.mit.edu/pub/usenet/alt.comp.hardware.homebuilt/. Also for chipsets, try the manufacturers (http://www.questlink.com/ is a good place if you don't know who the manufacturers are to start with).

===
Q: Where can I find information about the programming of the floppy disk controller?

A: I assume you want to talk to the hardware directly? If so, Try Intel... I think the relevant datasheets are available from http://developer.intel.com still. The original FDC chip is the NEC 765; try a search or two for that one too.

Ralf Brown's interrupt list has some info, as does the book the Undocumented PC. visit my site for the links & book info.

===
When someone asked about building his own ISA or PCI card, the newsgroup community responded with the following advice...

Sources of ISA bus prototyping cards:

Jameco Electronics (www.jameco.com) and/ or
JDR Electronics (www.jdr.com)

A quick search of their on-line catalogs only turned up a blank card with an ISA connector and bracket, but their printed catalogs were said to have more variations, including a version with on-board address decoding. This saves you the trouble of working out the bus buffering and timing necessary to decode a particular input or output address. You just build your circuit on the blank part of the card, attach it to the data and handshaking lines from their decoder circuit, set some jumpers or switches to tell their decoder which addresses, interrupts, etc, you're interested in, write your software to match, and off you go.

We've built several ISA bus cards for things like EPROM programmers and the like, and after you figure it out once and build one or two address decoders, it quickly loses its charm, so do yourself a favor and spend the extra money for a card with a pre-built decoder section. You (and your PC) will thank me. :-) You might want to take a look at www.boondog.com - they have some tutorials and products that might be just what you're looking for. Hope this helps!

bill_r@inetnebr.com
http://incolor.inetnebr.com/bill_r
(Good site with links and stuff about 'antique' machines, etc-tkb)
(Home of the COSMAC Elf Simulator!)

===
Q: I found this at an instructional web site. It seems to contradict what I have already learned. What do you think?

"Ceramic disk capacitors are often marked with a 3 digit code, that simply tells the value in nanofarads. The first two numbers will be the value, and the third will be the multiplier, similar to resistance color codes. A 0.1 uF capacitor will be marked 103 (1.0 times ten to the 3rd power nanofarads), and a 0.047 uF capacitor would be marked 472."

A: You said, in one of your postings, that the above is a direct quote. That being the case, and the fact that this is an instructional web site, you should email them and inform them of their error. Once they reread the paragraph, they will see that it makes no sense.

When the followups confirmed that the passage was wrong, I did email the keeper of the page - no response or change yet.

Generally the site seems helpful and has much correct information and many useful links.

The paragraph should read:

"Ceramic disk capacitors are often marked with a 3 digit code, that simply tells the value in picofarads. The first two numbers will be the value, and the third will be the multiplier, similar to resistance color codes. A 0.1 uF capacitor will be marked 104 (10 times ten to the 4th power picofarads), and a 0.047 uF capacitor would be marked 473 (47 times ten to the 3rd power picofarads)."

You will also find, as you learn more about electronics and read more books, that errors in electronic publications, are the rule, rather than the exception. I have been reading electronic publications for about 40 years now and have yet to find a book without errors. Some where between the author and the consumer, something gets lost. Rely on your logic. If it doesn't make sense, question it.

===
Do you want to learn how to interface your computer?

Check out http://ww2.sd.cybernex.net/~clevengr/lpt/ if you do.

===

Material from earlier versions of this page has been 'polished' into more organized pages. Click here to visit them.


Here is how you can contact this page's editor.
Link to 'My Desk Pile' main page
Link to another page of 'Desk Pile' electronics stuff