Hi folks,
First of all, thanks in advance!
I have a project running smothly on an Arduino UNO (smd) together with a motor-shield. The idea it's the following:
I have a Raspberry-PI connected with Flight Simulator X and then to Arduino UNO using I2C. The compass of the plane on the simulator moves the stepper motor connected to Arduino.
Everything is working perfectly and now I want to move the project to an stand-alone ATMEGA328p-pu (freq. 16Mhz) chip that I bought from internet with optibot preloaded. I transfered the sketch to the chip, the program works, the control of the stepper works but raspberry don't recognize the I2C device (so seems that I2C it's not working). I verified again and again the wiring and everything seems right.
NOTE: I'm not using any 3,3v to 5v level switcher between Arduino-UNO and Raspberry as Arduino it's working as a slave and only receiving data. (and anyway this it's not a problem when connected to UNO)
Why the project works on the Arduino board and not on the stand-alone ATMEGA?
Any ideas?
Thanks!!!