Before you can program the Phoenard on your computer, a few steps have to be taken. Arduino needs to be set up, and the latest FTDI drivers need to be installed for the device to show up when plugged in. On this page you can find all the information needed to get your system up and running.
Unless you have your own IDE (development environment) set up, you need to install the Arduino IDE to start programming the Phoenard. The Arduino IDE is a beginner-friendly environment where you can quickly start writing programs inside something called ‘sketches’. See the getting started guide on the Arduino website to get yourself familiar with the fundamentals.
To make use of all on-board components, you will have to install additional Arduino libraries. How to do this can be found on the Arduino website.
- Phoenard Arduino library: Github (source) | Library archive (zip)
- I2CDev (dependency): Github i2cdev library (source)
- Accelerometer/Gyrometer MPU6050: Github i2cdev library (source)
- Magnetometer HMC5883L: Github i2cdev library (source)
- VS1053B Audio player: Github Adafruit library (source) | Github Adafruit library archive (zip)
- BMP180: Sparkfun library docs | Github Sparkfun library (source) | Github Sparkfun library archive (zip)
The following hardware components include an API in the Phoenard library:
- TFT LCD ILI9325/ILI9328 Touch screen
- VS1053B: Pinout and MIDI (MP3/Etc. requires audio player library)
- 23K256 external SRAM chip
- SIM908 GPRS library
- Bluetooth/WiFi: Digital control functions for chip selection
Before the Phoenard shows up as a valid COM-port in your Arduino IDE, the latest FTDI drivers have to be installed.
- Connect the Phoenard to your computer using the Micro-USB cable
- Check in your Arduino IDE if a new COM-port was added (tools->Serial port)
- If no COM-port was added, continue with the installation of the FTDI drivers
- Download the FTDI drivers for your operating system on the official FTDI website
- Follow the installation described on the website (on Windows, run the downloaded executable)
- Verify if the COM-port was added in Arduino
- If none was added, troubleshoot the driver (on Windows this is done in the Device Manager)