element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Help with my simple DIY arduino board so I can put my store bought one away for safe keeping.
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 14 replies
  • Subscribers 405 subscribers
  • Views 1036 views
  • Users 0 members are here
  • hardware
  • led
  • microcontroller
  • uno
  • arduino
  • atmel
Related

Help with my simple DIY arduino board so I can put my store bought one away for safe keeping.

ohiocomputerguy
ohiocomputerguy over 12 years ago

Hi everyone,

I thought it would be cool to make a home made arduino compatible based on the atmega328 so i wouldn't have to worry about " frying" or messing up my store bought arduino when experimenting with something i'm not 100 percent comfortable with.  I've had some problems getting one to work, and i'm not sure if it is my design or maybe just a few bad components, or my lousy soldering skills.  anyhow, i'd appreciat it if someone could take a look at the attached circuit and let me know if you think it should work, or what I need to change.  thanks in advance.

I used fritzing to create the drawing.

Attachments:
image
  • Sign in to reply
  • Cancel
  • dmaruska
    dmaruska over 12 years ago

    How are you trying to talk to the chip?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ohiocomputerguy
    ohiocomputerguy over 12 years ago in reply to dmaruska

    i've got a rs232 to usb dongle works great on a breadboard.  I bought it on ebay.  plugging it into the 5v/rxd/txd/ground (i left the 3v pin off of my header in my design.  want to plug it into the female header on the board, you can see where i have run the leads on the board from the chip to the header.  i have attached a pic of it here.

    Attachments:
    image
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago

    Did you check to verify if the Rxd and ~Txd are correctly orientated?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ohiocomputerguy
    ohiocomputerguy over 12 years ago in reply to Former Member

    yes, connections for data transmission are correct.  My rs232 to usb is marked incorrectly. works perfectly on a breadboard (sometimes the rxd and txd are switched on the cheap chinese rs232 connectors) when my rxd is connected to pin 3 and my txd is connected to pin 2. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • andytechman
    andytechman over 12 years ago

    The capacitors across the crystal indicates 0.22uF. That's about 10,000x too big. They should be more like 22pF. Is that just a typo? Oh and the overlay has resistor packages in these places where the caps should be but I guess you have actually got caps in you circuit.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ohiocomputerguy
    ohiocomputerguy over 12 years ago in reply to andytechman

    yes it is a typo, they are both actually 22pf caps and they are "through hole ceramic caps" *that's the way fritzing represents them*.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago

    Can we assume that:

     

    1. LED 1 is lighting up brightly

    2. All of the +5V and Gnd pins have been metered

    3. The 328 is not running hot to the touch

    4. Bootloader has been programmed (and verified) on the 328 (or the 328 has been transplanted from store-bought arduino)

    5. Crystal is of (relatively) good quality

     

    That'd be my first round checklist.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ohiocomputerguy
    ohiocomputerguy over 12 years ago in reply to Former Member

    yes, the led is lighting up, i neglected to meter the pins (will do that straight away), the 328 is not hot, bootloader verified, the crystals i ordered from china on ebay, is there a reliable way to test them?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mconners
    mconners over 12 years ago in reply to ohiocomputerguy

    Seeing this made me think of your post:

     

    http://www.amazon.com/Virtuabotix-Bareduino-Compatible-Microcontroller-Regulator/dp/tech-data/B007QGG1ZY/ref=de_a_smtd

     

    looks like they have a similar thing going on, bare number of components.

     

    The voltage regulator is a nice touch.

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to ohiocomputerguy

    Not aware of easy reliable way to test xtal without expensive scope, coupling probes, and/or frequency counter [all available through element14 - plug ;-) ].

     

    328 has a fuse bit that can bring out the clock on a pin. Hooking that pin up to a frequency counter (store bought arduino as a frequency counter?) is possible.

     

    However, assuming you have metered 5V and Ground at all the expected places, the 328 really should be executing instructions already. Unless it is ringing-reset or in perma-reset.

     

    So next thing I'd check is the RESET.  Your circuit has RESET floating, and then grounded through a 10k when the button is pressed. 

     

      1. Was this exact configuration working with your 328 in a breadboard?

     

      2. Could the button have been soldered on the "wrong side" and RESET is perma-grounded?  (verify with meter)

     

      3. Try hot jumpering a 10k from RESET to +5V, restart your board and see if anything changes.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube