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!
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
Post a Comment