How well breadboard work ?

17 posts / 0 new
Last post
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi.
I need to do prototyping for my project. I need to connect CKOUT pin from uC to an external shift register (74LS166). The uC itself is in a dev board and well running. The shift register is in breadboard.
So will it work well, because breadboard have stray capacitance and the uC will be clocked at 20Mhz.

Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Keep the lead(s) short.

Ross McKenzie ValuSoft Melbourne Australia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

And be sure to connect the grounds from the development board and the breadboard together.

Welcome to the Forum.

JC

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So, it means it can work.
Thanks
I will sure connect the ground, i have experience in forgetting the ground on my very first avr project.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

And
-run it at the same Vcc as the development board.
-bypass the IC's supply (Vcc & Gnd) with a 0.1uF monolithic capacitor, with the shortest possible leads(place diagonally over the top of the IC).

Charles Darwin, Lord Kelvin & Murphy are always lurking about!
Lee -.-
Riddle me this...How did the serpent move around before the fall?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

All good tips so far.
But you also need to prevent ringing. Do you have an oscilloscope, 100MHz bandwidth, and probes 10x ?
Beacause AVR's switch very fast, the problem is with the rise- and fall-times. Slewrate.
You need to add a resistor in the clock-line, as close as possible to dev board. 330 Ohm is a good starter value. Some pictures:
Without 330 Ohm: http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=946176#946176
With 330 Ohm: http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=946236#946236

The correct value for your setup: you need to hookup a scope.

It's unlikely that stray capacitance of the breadboard will cause a problem.

Why do you bring the 20MHz to the breadboard, rather than Sck ?
Btw, on Sck you need that resistor as well.

Dragon broken ? Or problems with the Parallel Port Programmer ? Scroll down on my projects-page http://www.aplomb.nl/TechStuff/TechStuff.html for tips

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It depends on the kind of "breadboard" you use. If it is one of those with spring contacts in parallel rows and columns, you will have to contend with a LOT of extra pin-pin capacitance. 20MHz could be a challenge. With such boards, it is also very difficult, if not impossible, to keep leads short and, especially to have good grounds. As a result, even using a scope is hard because everything rings like a bell.

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA There are some answers that have no questions.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ka7ehk wrote:
It depends on the kind of "breadboard" you use. If it is one of those with spring contacts in parallel rows and columns, ...
Bob Pease referred to those breadboards as "slabs of trouble". I have to agree.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Shift registers on a breadboard with no problems:

16Mhz Crystal with AVR on a breadboard with no problems:

YMMV

Smiley

FREE TUTORIAL: 'Quick Start Guide for Using the WinAVR C Compiler with ATMEL's AVR Butterfly' AVAILABLE AT: http://www.smileymicros.com

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I do lots of projects and tests on breadboards.

That said, I've never routed the 16 MHz (?) clock signal across boards. SPI, I2C, USART, etc., but these are all at a significantly lower freq than the micro's clock.

This was a GPS project, (ZBasic, (AVR), micro), GPS, Bluetooth, 3-Axis Accel. This version has a string of external memory chips, but the real project units ended up with an MMC card.

JC

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well, it seem problematic. I can use lab's oscilospoce, but it is limited to a few Mhz. It seem i have to make it on PCB.
Thanks everyone.

edit:thanks smilemicros and DoJc for the pic. Probably it won't hurt trying on breadboard

Pages