Atmega 328 P -U won't drive motor on breadboard

hello,
my ATmega 328P-U drive stepper motor with arduino uno and big easy driver.
when i move the same ATmega 328P-U on breadboard with the same big easy driver, the motor won't move.

breadboard wiring according to :
https://www.arduino.cc/en/main/standalone

Any suggestions?

It would be a miracle if anything worked after those instructions. :slight_smile: A nice simple circuit diagram would have been a great idea.

Can you upload a program to the '328 while it is on the breadboard?

My wild guess is that the oscillator is not working properly - I presume it is meant to work at 16MHz?

All my breadboard '328s use the internal 8MHz oscillator which is much simpler. I started with this breadboard tutorial.

...R

hello,
i can upload normally to atmega 328P-U on breadboard and work on relay.

No 100nF ceramic decoupling caps on the Vcc and AVcc pins of the ATmega328 - bad bad tutorial, I'm sorry.

Every logic chip always needs decoupling. 100nF ceramic cap between supply pins and ground placed right
next to the chip. Any decoupling on the other end of the breadboard isn't going have much effect for fast logic chips.

Forget that awful tutorial, and follow these clear and correct directions: Gammon Forum : Electronics : Microprocessors : How to make an Arduino-compatible minimal board

try wiring diagram with crystal and without, same results

Atmega chip detector.
Written by Nick Gammon.
Version 1.20
Compiled on May 9 2019 at 10:17:34 with Arduino IDE 10809.
Attempting to enter ICSP programming mode ......................................................
Failed to enter programming mode. Double-check wiring!
Programming mode off.

tonifds:
try wiring diagram with crystal and without, same results

If the fuses of the Amega328 have been set for an external oscillator the chip won't work without one. To deal with this Nick Gammon's program generates a clock signal on one of the pins (forget which) and Nick's tutorial explains how to use it.

...R

i try it and not working also

try this tutorial https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard

and get

avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

Using Port : COM3
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x1c
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x1c

avrdude done. Thank you.

An error occurred while uploading the sketch

tonifds:
try this tutorial https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard

I find it very difficult to understand what is going based on so little information. If I was doing it on my own workbench I would have a lot more information to help me diagnose problems.

As far as I can see you have not even told us what Arduino you are using as an ISP programmer.

Please describe in as much detail as possible all of the exact steps you have taken to implement the Tutorial.

...R