Problems moving circuit from Arduino Nano to Atmel 328


hello,

i had simple circuit working on breadboard arduino nano, using bluetooth module , sd card module. wanted make more permanent, decided switch standalone atmel atmega328p chip. before soldering anything, set on breadboard, , uploaded sketch using arduino isp. discovered there problems using both bluetooth module , sd card reader, , can't seem figure out why.

the chip in nano functionally same atmega328p, not?

i debugged , tested chip itself, can simple blink sketches working, have tried various pin combinations, double , triple checked wiring, etc. have same sketch running on nano , chip, , moving tx , rx wires chip nano bluetooth module automatically begins sending data!
i checked output of tx pin using oscilloscope, , seems sending data correctly, receiving device (a phone) not able read (although can pair bluetooth module).

is there kind of incompatibility, or possibly timing or clock frequency mismatch between nano , standalone chip cause chip's output corrupted , unreadable? receiver doesn't seem receiving data @ all, corrupt or otherwise, , have crystal oscillator , 2 capacitors wired clock pins, standard. new chip, , has never been used before.

thanks advice!



factory chips have "divide clock 8" fuse set.


Arduino Forum > Using Arduino > Microcontrollers > Problems moving circuit from Arduino Nano to Atmel 328


arduino

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62