Getting Started w/ TinyLily and Adafruit Flora GPS

timmyd · 2 · 13516

timmyd

  • Newbie
  • *
    • Posts: 2
    • View Profile
Hi, I'm pretty new to Arduino and I would greatly appreciate some help. Currently, I'm trying to connect an Adafruit Flora GPS board (http://www.adafruit.com/products/659) to my TinyLily micro-controller, using the TinyGPSPlus library (http://arduiniana.org/libraries/tinygpsplus/). My first hurdle is simply getting started with the DeviceExample demo sketch from the library.

This thread (http://forum.tiny-circuits.com/index.php?topic=127.msg248#msg248) mentions that pin 0 and pin 1 on the TinyLily can be used for TX and RX connections, respectively... however, on the next page of the thread it's explained by Mr. Burns that these pins are occupied while the TinyLily is connected to a computer via USB, and therefore not usable for other purposes. Here is the dilemma: I need TX and RX for the GPS to be functional, but I also need the USB connection and serial monitor to see if my code is executing properly.

Being new to Arduino, my guess is that I'm simply missing something.  Are there other pins on the TinyLily that I can use for TX and RX, or am I limited to pins 0 and 1? Thanks in advance for any guidance you can provide!


timmyd

  • Newbie
  • *
    • Posts: 2
    • View Profile
In the meantime, I found this:
http://arduino.cc/en/Reference/SoftwareSerial#.UxZELYVuSaI

I'm assuming I can utilize this library to create another TX/RX for testing, and then modify the code once the sketch is working properly to just use pins 0 and 1 when the USB is no longer needed.


 

SMF spam blocked by CleanTalk