Archive for the 'General'
During the test phase, and integrating various Shield Arduino necessary to final implementation of my project, I was confronted with the Library of Color LCD Shield SparkFun.
The library worked fine when compiled and integrated in a sketch in the IDE 022, but gave a lot of mistakes in the latest version of the Arduino programming environment, version 1.0.
At this point, hho forum for help Italian official Arduino site and just came straight away.
Obviously, the libraries were written for previous version of IDE and needed a few simple touches.
Here I report the "tweaks" made by me, so as to be useful even to those who were to use and integrate in their library of this sketch Shield:
In ColorLCDShield.h file, point to # include <WProgram.h> replace:
# If (ARDUINO> = 100)
# Include <Arduino.h>
# Else
# Include <WProgram.h>
# Endif
In ColorLCDShield.cpp file, point to # include "wiring.h" replace:
# If defined (ARDUINO) && ARDUINO> = 100
# Include "Arduino.h"
# Else
# Include "wiring.h"
# Endif
Everything here, the two modified files, and save ..... have fun ![]()
ARDUINO APRS + GPS + small update
I'm really happy.
This morning I went to the balcony and the sky I made the first free GPS testing interfaced with Arduino.
For programming I used the Asus Eee PC 900, the Arduino and the ONE GPS Holux M-1000.
First, the Holux was interfaced to laptop via bluetooth to control snapping satellites was then wired to dell'Arduino coupon that was included a test program library TinyGPS.
Through the serial monitor software included with the Arduino I checked the lock to the satellites and data downloading .... Perfect!
Wire as .... Manual or cable into the socket GND GND of the Arduino and the green wire (ie the GPS TX) in the leg that the software identified as the serial port RX.
Even food can be provided without damage to the GPS, of course simulating the voltage on the USB or + 5 volts.
Next step is to interface the LCD screen on which to read data from satellites, waiting for the Argent Data send me the coupon with the radio modem to complete APRS station.
In this regard to date (ie for 11 days from order) ordered items are still marked as "processing" and it seems strange, I sent an Email to the company with a request for clarification, we must wait.
ARDUINO + GPS + APRS Part 3
Today I started with the little shield that contains the display of the Nokia 6100 color marketed by Sparfkfun .
First you need to solder the four headers on both sides, one side, two of eight seats and the other two to six people, both need to get the guy with long legs that allow you to insert the shield to "horse" of a 'other tab.
So when you buy this Shield remember to order in contemporary Header also be welded.
As you can see from the photo above to weld the headers I used an Ethernet Shield to stop and two elastic straps to be sure to be a "joke" on the LCD and do not let spoazio between the card and header.
A small increase has put in the two floor boards to avoid that the pond could slide due to a possible inclination.
Twenty-eight small welds and the coupon is ready for the first test display.
Here the first surprise: invariably at every compilation I received an error message and then have sought out the forum on the official Arduino .
I had not thought about the library, but the display was incompatible with the latest version of the Arduino IDE, is enough to download the penultimate version (the 022 as suggested by the Forum) and everything is magically fell into place.
Another caveat is required: SparkFun's website reported that the controller is mounted with the card can be supplied by EPSON or PHILLIPS and recognize the tab for the schermino place to protect the actual screen, which obviously must be removed .
Red Feather EPSON controller, controller tab BLUE PHILLIPS, needless to say my copy is the exact opposite, so remember the sketch in the initial declarations of declaring the variable correctly abbin your ata controller, otherwise the failure to display.
If everything went the right way you should see something like the following picture:
ARDUINO + GPS + APRS Part 2
First job completed: identification of the pin-out of GPS HOLUX M-1000 in my possession.
An examination of the manual I have identified the Micro USB B connector pins on the side of the meter with GPS and I checked the correspondence with the end of the USB cable type A, so I procured from my drawer an old USB A, ripped to a PC into disuse and a color matched to each leg of the cable.
From reading some text on the web I concluded that this color code used on my cable is fairly standard, but of course those who want to replicate, please check with the tester.
For clarity, the pin-carry:
- Pin 1 Holux ==> GND ==> Black
- Pin 2 Holux ==> not used
- Pin 3 Holux ==> TX ==> Green
- Pin 4 Holux ==> RX ==> White
- Pin 5 Holux ==> +5 V ==> Red
During some visits to various sites on the net I found several patterns but all different from each other even if they refer to the same type of GPS, so the advice is: use the schemino above as a starting point, but check everything with your meter! ![]()
Last warning schemino of the photos shows the pinouts of the Micro USB B male then the female is obviously speculating on the apparatus this GPS.
In addition to using the cables and TX GND (connector 0 RX or any other leg but in this case, the library for serial communication up to date) to connect your GPS to Arduino you can use the red wire (+5 v connector) to reload the battery but in this case it is best to apply an external power source.
ARDUINO + GPS + APRS Part 1
For some time I dusted off my Arduino and I decided to commit myself to a couple of projects.
First I want to assemble an APRS tracker mounted on a motorcycle to track my speed.
Will run in conjunction with a handheld 5 watt, specifically a Yaesu VX150, but it will also display the "judgments" NMEA to control both the operation and positioning of the other beacons around me.
Everything can be done very simply by a TinyTrak 3 of Byonics but want to put the fun to assemble and program everything with their hands?
So I started with a shopping list:
- A new Arduino Duemilanove oo rev. 3
- GPS
- TNC Modem
- LCD Screen
- Software
- Cables, wires and Cavini
- a Handheld Radio (my Yaesu VX150)
The Arduino I already had at home, at any rate, I ordered an Arduino UNO to be used in the final cut.
For the GPS I was looking at some sites that sell the GPS shield for Arduino when I remembered to have at home a Bluetooth GPS, namely a HOLUX M-1000, to the astonishment I found that this GPS has a serial interface RS485 (with levels TTL 3.3 V - 5V) disguised as a Mini USB B, therefore perfectly compatible with the serial that comes with Arduino.
For the modem, TNC I orientated towards a shield specially produced by Argentdata also equipped with the necessary library for implementation from the software side.
Even the LCD screen I have found it convenient to turn a shield preassembled so that brings on board an LCD model Nokia 6610 is already mounted on different phones.
The necessary software is all open source, in particular the two libraries needed GPS to find the site ARDUINIANA namely NewSoftSerial and TinyGPS.
For cables and cords Cavini there are problems the drawers are full and palmarino is already in the house.
Now the work begins, the next!





















