Hi!
I’ve been trying to program an “ATtiny85” with my “Arduino Fio”, using a Pololu Wixel as a FTDI to communicate to the Fio.
First, i plugged the wixel to USB and wrote to it (using “Wixel Configuration Utility”) the Wireless Serial App (http://www.pololu.com/docs/0J46/9.b) setting “baud_rate” to 57600, “serial_mode” to 3 and “framing_error_ms” to 5;
I did sucessfully program the “Arduino Fio” using the Wixel, with the following connection configuration:
Wixel…Arduino Fio
0_0(Arduino DTR)…DTR
1_6(TX)…RXI
1_7(RX)…TXO
3V3…3V3 + AREF
GND…GND
I also connected an (heartbeat) led with a resistor to pin D9 on Fio and to GND.
I checked “Tools, Boards, Arduino Fio”, “Tools, Serial port, COM6(Wixel’s serial port)”, “Tools, Programmer, AVRISP mkll” and had uploaded the “ArduinoISP” example to Arduino Fio.
Everything worked OK, the “heartbeat” start blinking. Perfect.
Then i kept the above connections and plugged the Attiny85 to the breadboard, as follows:
ATtiny85…Arduino Fio
7(SCK)…D13
6(MISO)…D12
5(MOSI)…D11
1(RESET)…D10
8(VCC)…3V3
4(GND)…GND
I also connected another (error) led to pin D8 and GND on Fio.
Everything seems ok, so then i opened the “Blink” example, changed the line:
int led = 13;
to
int led = 4;
Then, i checked “Tools, Boards, ATtiny85 (internal 1MHz clock)”, “Tools, Programmer, Arduino as ISP” and tried to upload the sketch, but the error led always turns ON and the heartbeat stops blinking (stays ON too).
What i’ve done wrong?
I’ve also tried to use a Logic Level Converter between Arduino Fio and the ATtiny85 with no success, and then use it between Wixel and Arduino Fio, no success too.
Thanks in advance.
Product references:
Arduino Fio: https://www.sparkfun.com/products/10116
Logic Level Converter: https://www.sparkfun.com/products/11978
Wixel: https://www.sparkfun.com/products/10665
ATtiny85: https://www.sparkfun.com/products/9378