Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/22/08 04:47
Read: times


 
#157652 - Where you measure the voltage makes a difference
Responding to: ???'s previous message
Muthuswamy Dikshit said:
The 1.78V which i mentioned was the Vmax for Lpt to sense a low. I used a potentiometer to give volatge to the lpt input pin. It toggled from low to high when voltage just crossed 1.78V. May this be the problem?

The output from lpt for low was almost Zero. Asim circuit uses 74HCT541 but since I could not get it I'm trying out with 74HC541. From the datasheets, I find that former accepts cmos input but latter does not.

If you look at the datasheets, the HC541 accepts CMOS levels just fine. The 'T' in the HCT541 indicates that it accepts TTL levels, those having a somewhat lower minimal Vih.

ISP programmer cable- How do i get this? Local shops don't have it. I checked ATMEL website, I think it also does not sell it. Pls help to get one.


You'll have a lot less trouble with a Maxim/Dallas DS89C430/450 than with this ATMEL part, as the Maxim/Dallas DS89C430/450 (download and read and understand the datasheet and user guide from www.maxim-ic.com) as it has a dirt-simple serial port ISP interface for programming. It took me about an hour to build the circuit and I had a working program loaded in it within 5 minutes after completing assembly of the circuit. It's really not difficult. The programmer uses a MAX232A, a 74HCT125, and a crystal oscillator IC in addition to the MCU.

Now this Maxim/Dallas DS89C430/450 isn't the part you intended to use, (I believe MAXIM will send you a sample if you ask for it) and I recommend you thoroughly read the datasheet for it, for the interface logic devices that you need in order to program it, and, most importantly, the datasheet for the computer parallel port you intend to use. The parallel port can vary widely in timing and voltage levels, though they're not supposed to do that. They do, typically, have series resistors in some of their signals, and that can confuse measurements made at various points in an attached circuit. Be sure you know what you're measuring.

If you just blindly take someone else's circuit and attempt to apply it, you should first ensure that you have on hand all the exact components specified in the application circuit. If it says 100 ohms, then use 100 ohms, and if it says 74HCT541, then use that, and not what you can simply find in your desk drawer.

The use of a solderless breadboard is often a fatal mistake. It may work on one day, after much effort, and not at all the next. I wouldn't waste a minute on a MCU circuit in a solderless breadboard. They really aren't suitable for electronics operating at much higher frequency than about speech-level audio. It will save you lots of stress if you simply solder the wires on a real prototype board with a "colander" ground plane on the wiring side. That way you can be certain that what you did today will still be there tomorrow.

RE



List of 34 messages in thread
TopicAuthorDate
Programming 8051/8052            01/01/70 00:00      
   Get something ready to do to start...            01/01/70 00:00      
   here's a simple ISP cable for 89S51/2            01/01/70 00:00      
      ... and HOPE            01/01/70 00:00      
    or DS89C450            01/01/70 00:00      
      Not the fastest by 3::1            01/01/70 00:00      
         There are features ...            01/01/70 00:00      
            Pray explain            01/01/70 00:00      
               Some features really DO help            01/01/70 00:00      
                  why fiddle with MODE 0            01/01/70 00:00      
                     There aren't many reasons, but SPI isn't one            01/01/70 00:00      
                        you are describing SPI            01/01/70 00:00      
                           Have a look!            01/01/70 00:00      
                              luvverly !            01/01/70 00:00      
                                 ... and what I really like ...            01/01/70 00:00      
                                    nope            01/01/70 00:00      
                                       You missed a thing or two, Erik            01/01/70 00:00      
    i edit my answer as            01/01/70 00:00      
   AT89S5X or DS89C450MNG            01/01/70 00:00      
   Back to Topic-here is what I tried for days..            01/01/70 00:00      
      two mistakes            01/01/70 00:00      
      Logic Low Levels?            01/01/70 00:00      
      please consider            01/01/70 00:00      
         Abt ISP cable ang voltage level            01/01/70 00:00      
            That how most of these posts go            01/01/70 00:00      
               schematics at last!            01/01/70 00:00      
                  no, the frequency does not matter            01/01/70 00:00      
            Maybe a helpful link            01/01/70 00:00      
            Where you measure the voltage makes a difference            01/01/70 00:00      
               ISP Schematics at last!            01/01/70 00:00      
                  Keep your work clean and wires short            01/01/70 00:00      
                  See if this suits you...            01/01/70 00:00      
      EA pin should be high            01/01/70 00:00      
         EA high not necessary during ISP            01/01/70 00:00      

Back to Subject List