Hi. I read a lot of post and a lot of things and none work. I am doing this to see if a good soul can help-me. It will have a lot of information and image.
First let's run this small program in Arduino Uno R3 with program version 1.0.5. I am using Mac OSX Lion with version 10.7.5
void setup() {
Serial.begin(9600);
Serial.println("Hello World!");
}
void loop() {
}
I plug the Arduino and configure board to be "Arduino Uno" and choose the correct Serial Port:
If I choose "/dev/tty.usbmodem1a21" or "/dev/cu.usbmodem1a21" than both work and give-me this result:
It was plug and play! Now I want to do the same thing in my Arduino Pro Mini. So I buy this hardware:
Arduino Pro Mini from Deek-Robot. It use the chip ATmega 328p and has other number below "AU 1236"
And a Cp2102 module from Baite
My first Question is: How I know if my Arduino Pro Mini is (5V, 16 MHz) or (3.3V, 8 MHz)? Or it is both: if I plug 3.3V it is 8MHz and if I plug 5V it is 16MHz?
Now I need plug the cables. In both, I have this:
Cp2102 RST3V35VTXDRXDGND
Arduino Pro Mini DTRTX0RXIVCCGNDGND
So I plug:
GND ==> GND
VCC ==> 5V
TXD ==> TX0
RXD ==> RXI
In the kit has one ceramic capacitor with the number 104. I didn't understand the why of this. Is this for reset plug?
Now the problem begin. I plug this hardware in my USB port. Both turn on and I can see the lights. I configure the Board to be "Arduino Pro or Pro Mini (5V, 16MHz) w/ ATmega328".
To choose the serial port, I installed theFTDI Basic Breakout for Mac. Than restart the Mac, plug the Arduino Pro Mini and open the Arduino Program.
Now I can see this option.
But if I try to compile with one of then, I have this message (verbose)
Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -carduino -P/dev/cu.SLAB_USBtoUART -b57600 -D -Uflash:w:/var/folders/h4/9pw8dj_s25q2ynrrcv2l4r840000gn/T/build7008621206845189938.tmp/hello_world.cpp.hex:i
avrdude: Version 5.11, compiled on Sep 2 2011 at 18:52:52
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/rodrigozanattasilva/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/cu.SLAB_USBtoUART
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude done. Thank you.
So, what is wrong? What I need to do? Any suggestion?