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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/02/08 20:27
Read: times


 
#148947 - you will have hard time...
Responding to: ???'s previous message
... using the serial DSUB9 connector - as it is connected now, you can't use a standard cable.

Also, make sure you understand which gender you'll use.

---
What I am doing quite often now is, I take a piece of protoboard (for soldering, but not the isolated pins type but the short strips type, that works the best for me), and wire up the following:
    ,
  1. a power source:
    • socket for the wallwart plug
    • series diode (a bridge is more comfortable but not necessary)
    • a fat cap (470uF/16V or so)
    • a slim cap (100nF) close to the 7805's terminals
    • 7805
    • another slim cap (100nF) close to the 7805's terminals
    • and the resulting 5V and GND goes to the long "rail" lines

  2. a DIL40 socket for the '51
    • (I almost always use the "precision" sockets, yields better sleep :-) )
    • GND and VCC connect to the "rails"
    • and an another slim cap (100nF) as close to the power terminals as possible(e.g. under the socket)

  3. reset
    • for *beginning*, a cap (say 10uF/16V or so) from pin 9 to VCC will do, but consider something decent later, please
    • a manual reset pushbutton from pin 9 to VCC

  4. crystal
    • as close as possible to pins 18 and 19
    • 27pF (22-33pF will do) caps with as short connections as possible - I often use SMD caps there

  5. /EA to VCC (!important)
  6. /PSEN via cca 1k resistor to a pushbutton to GND (for the ISP entry)
  7. MAX232 (but better a version dedicatedly using 100nF caps), you will need 5 (five) caps (I use 100nF so I don't need to be bothered with the polarity) - 1-3, 4-5, 2-VCC (but 2-GND will do on the protoboard), 6-GND, and don't forget, 15-16 (power decoupling). All caps as close to pins as possible.
  8. P3.0 and P3.1 through MAX232 as appropriate, and then Rx goes to pin 3 and Tx to pin 2 of DSUB9F (pin 5 to GND). This allows to use the "straight" COM cable. I use a cable type DSUB9F pushed on the edge of the PCB, the pin spacing does not match but for the 5 pins you'll need it will do.
  9. a LED from a port pin (say, P3.3, or any other) via 1k resistor to VCC (for the "blinkey" test).


The DIL40 allows you to use AT89C51RD2, P89V51RD or DS89C450, all of them have their ups and downs. All of them have a dedicated "programming" software - FLIP, FlashMagic, and I don't remember the Dallas one :-)

After you manage blinkey (which is still a long journey to go - learning hows and whys of asm and/or C, peculiarities of the innards of '51, trying a simulator, learning how to download etc.), you can add LCD, pushbuttons (and maybe even the ADC if you insist on it) etc. easily.

Not worth making your own PCB until you managed this. This all costs a few pennies and will teach you a lot. If you are afraid of the soldering gun, buy a readymade protoboard, such as the 8052.com SBC.

IMHO not really worth starting with the Silabs's, but YMMV.

JW


List of 56 messages in thread
TopicAuthorDate
8051 First time user schematic check            01/01/70 00:00      
   a perfunctionary check            01/01/70 00:00      
      And            01/01/70 00:00      
      suporvisor chip            01/01/70 00:00      
         re: Supervisor chip            01/01/70 00:00      
         go to maxim            01/01/70 00:00      
            Thanks/New Schematic            01/01/70 00:00      
               Supervisor Wrong            01/01/70 00:00      
                  You could have it wired up an running by now.            01/01/70 00:00      
                     and thus            01/01/70 00:00      
               the power LED has no series resistor            01/01/70 00:00      
               The MAX232 +10V Capacitor            01/01/70 00:00      
   Another hint            01/01/70 00:00      
      port 0 pins            01/01/70 00:00      
   startup project advise            01/01/70 00:00      
      Incrimental Stages....            01/01/70 00:00      
      thanks            01/01/70 00:00      
         a comment            01/01/70 00:00      
            Agree            01/01/70 00:00      
               why schematics???            01/01/70 00:00      
               lucky you            01/01/70 00:00      
   assembly            01/01/70 00:00      
      re SILabs devboards            01/01/70 00:00      
      yes, why not            01/01/70 00:00      
         suffer            01/01/70 00:00      
   check            01/01/70 00:00      
      even worse            01/01/70 00:00      
      Ground Symbol            01/01/70 00:00      
         beware of idiots            01/01/70 00:00      
            Great Example            01/01/70 00:00      
               PCB class            01/01/70 00:00      
               Agreed, but            01/01/70 00:00      
                  Advice for someone just starting            01/01/70 00:00      
            idiocracy            01/01/70 00:00      
         regarding ground vcc symbols            01/01/70 00:00      
   Serial port pins            01/01/70 00:00      
      reply to Esko            01/01/70 00:00      
         we are here to help            01/01/70 00:00      
      Thanks for the reply            01/01/70 00:00      
   you will have hard time...            01/01/70 00:00      
      serial port connections            01/01/70 00:00      
         serial port connections II            01/01/70 00:00      
            a vbery common mistake/confusion            01/01/70 00:00      
               ... plus the infinite variations...            01/01/70 00:00      
         Opinion            01/01/70 00:00      
            a comment on the comment            01/01/70 00:00      
               SPI            01/01/70 00:00      
   One more development card argument            01/01/70 00:00      
      sure, but do you get ICE functionality?            01/01/70 00:00      
         No ICE but wire wrap is OK            01/01/70 00:00      
            and so what            01/01/70 00:00      
               To learn ?            01/01/70 00:00      
                  learning - modifying SMT            01/01/70 00:00      
                     Bino microscope            01/01/70 00:00      
                        not to worry            01/01/70 00:00      
                        site showing how to solder/desolder SMT'S            01/01/70 00:00      

Back to Subject List