Today, I am going to show you how to upload codes from Arduino IDE from your computer to Arduino Lilypad ATmega328. I used to had a problem with my FTDI module while I am trying to upload any - on Arduino IDE designed - codes from my computer to Lilypad Arduino Atmega328 board.
Actually, you must use your FTDI modules as usual as coding perfectly, easily and directly, but, we buy cheap modules even these are not original, and these may face a major problem for us sometimes and for further... That is not because of original modules produced by FTDI, all about other fake module producers sell as programmer for your MCU that you can see opened topics with full of this problem on some forums such as: this, this, and that.
Today, I am here to show you the only one easy solution that I am using now to program my Lilypad Arduino boards.
The Need List:
Arduino UNO's Pin 0 (RX) ==> Fourth pin of (see picture) Lilypad Arduino
Arduino UNO's Pin 1 (TX) ==> Fifth pin of (see picture) Lilypad Arduino
Arduino UNO's GND ==> First and Second pins of (see picture) Lilypad Arduino
Arduino UNO's 5V ==> Third pin of (see picture) Lilypad Arduino
Arduino UNO's RESET ==> Sixth pin of (see picture) Lilypad Arduino
On Arduino IDE Settings:
Here is an example code:
<p>void setup() {<br> // initialize digital pin 13 as an output which Arduino Lilypad have onboarded LED we will use. pinMode(13, OUTPUT); }</p><p>// the loop function runs over and over again forever void loop() { digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level) delay(2000); // wait for a second digitalWrite(13, LOW); // turn the LED off by making the voltage LOW delay(100); // wait for a second }</p>
Press upload button on Arduino IDE and wait your Lilypad to run a basic blinking LED.
.
That's all !
NOTE: This instructable's step is aimed for visually impaired people to hear the sentences to learn what's going on here. Watch the video, it explains all steps.