Show Posts
Pages: [1] 2
1  Using Arduino / Networking, Protocols, and Devices / What can you really do with the MoviStar Sim account? on: August 30, 2014, 01:19:29 pm
  I have had an Arduino GSM Shield for awhile now and I'm finally at a point where I'm ready to start testing my proof of concept-tracking device.  One of the reasons I got the GSM Shield in the first place was because it came bundled with a true "M2M Friendly" SIM Card and service plan.  I'm aware that it states clearly in that -

You cannot use the included SIM to place or receive voice calls.
You can only place and receive SMS with other SIMs on the Movilforum network.
It's not possible to create a server that accepts incoming requests from the public internet. However, the Movilforum SIM will accept incoming requests from other SIM cards on the Movilforum network.
For using the voice, and other functions of the shield, you'll need to find a different network provider and SIM.

 However, in my mind I figured that such restrictions were basically intended to prevent people from simply replacing their cell phone sim cards with a low cost M2M sim.  Now that I'm trying to finally get it activated, it appears that the above restrictions basically prevent the card from being useful in any manner whatsoever!
   So I thought I would ask.  For users outside the Telefonica service area (I'm in the U.S.), is there ANYTHING you can do with the MoviStar SIM account?  Can you set up a cloud server?  If it only works with other cards on the Telefonica network then can you buy another SIM card to use as a base station? Otherwise, are you just out of luck if you live outside the Telefonica service plan area? (Spain, Ireland, Argentina, Brazil, Chile, Colombia, Ecuador, Peru, Uruguay, Venezuela, United Kingdom, Germany, Czech Republic and Slovakia)  I found no such options on the providers' web site other than the webinterface and firmware sketch.
   When I bought the board, I knew there would be restrictions, but I had assumed there must be SOMETHING you can use it for or Arduino would've stated clearly "ONLY WORKS IN SPAIN, IRELAND, etc..."  If I assumed wrong, then it wouldn't exactly be false advertising.  But sleazy nonetheless...
2  Using Arduino / Microcontrollers / Re: Bricked my nano wii (Atmega32u4) on: August 16, 2014, 04:45:52 pm
 I wonder if this would work with my NanoWii PocketQuad.  HK shipped it with a bad bootloader and I haven't had the time to go through all the hoops to return it.  I also have a standard NanoWii  IMU that seems to work fine with MW 2.3 so I know my programming set up should be fine.
  I have a generic USBasp but I gave up on it after I couldn't find any updated firmware to go with it.  Can anybody recommend any other tools like ProgISP that work with Linux or OSX?
3  Using Arduino / Project Guidance / Re: GSM Shield, PubSub and MicroServo on: June 19, 2014, 02:06:29 pm
I had the same issue when trying to connect a GPS receiver to the GSM Shield and the solution was to use a library called AltSoftSerial. The library was updated recently and seems to be working without issue.  I was able to get up and running by following this example-
4  Using Arduino / Project Guidance / Re: Advice to add (cheaper) temperature sensor nodes to an Arduino Yun on: February 16, 2014, 07:48:02 pm
I'm very interested to hear how you made out on this, as I've been trying to set up something similar for almost a year.  I ended up going with the XBee Series 2 modules to connect a variety of different Arduinos connected to ds18b20 temp sensors for my network.  As for the XBees,  they were easy enough to figure out once I discovered the XBee API library at
 The hard part in my experience came down to setting up the base station.  It seems like all the documentation on XBee/Zigbee was written in 2011 for some reason.  Which means most of it was written before Raspberry Pi, Arduino Yun, Beaglebone Black, node.js etc...  There is an open source "Xbee Internet Gateway" application but it was written for a specific appliance (the ConnectPort) though a Raspberry Pi port has been in beta. 
  The furthest I've managed to get has been using a node.js-based visual editor called that can be run on an RPi or Beaglebone and includes modules for XBee.
   Still, I think the Arduino Yun would make a better base station if more information on how to interface it with different wireless protocols surfaces. 
   As for creating a "temperature map" interface, I've been somewhat surprised that some kind of open source, floorplan-layout template isn't more readily available.  But then again, it did motivate me to go out and start learning javascript and node.js so I could make my own someday...
5  Using Arduino / Project Guidance / Re: Arduino Micro and Tricolor LED Strip on: January 27, 2014, 12:39:40 pm
For what its worth it looks like the guy in this video- is using a Micro with the RS LED Strip.  He explains the wiring in the beginning, and it looks like he's using a 12v battery pack with a splitter.  Also, I think the library he's using is the older version of the Pololu Library at  Hope this helps!
6  Using Arduino / Displays / Re: Tinkerkit LCD Library Errors on: January 25, 2014, 11:37:08 pm
I don't see any issues.
It compiles just fine on my linux machine using IDE 1.0.5

That firmware "sketch" is the firmware for the TKLCD board.
i.e. it loads & runs on that processor not on your arduino board.
From the page you linked to:
The LCD works both as a regular module, by plugging it into the TinkerKit! shield, or as an independent USB board; it has in fact a microcontroller and a USB port on board that make it a fully-fledged LCD-shaped LCD-shaped Arduino Leonardo.

So to build the firmware for that board, you must use the Leonardo board type.
When I do that, it compiles just fine.

There are full instructions on how to do builds and uploads on that page
that mention that the TKLCD board is recognized as a Leonardo by the Arduino s/w.

My guess is that since you are not seeing a reference for "Serial1" you are trying to use
some other board type like maybe "Arduino" which doesn't have a "Serial1".

--- bill

It wouldn't be the first time that I made a rookie mistake like choosing the wrong board, but I'm afraid this time it is not the case.  In fact, the whole reason I bothered with Tinkerkit at all was because of the possibility of using it as a standalone Leonardo board. So I definitely got that part.  Now that I know it does work on other installations of 1.0.5 though I'm starting to wonder if I might've screwed something up while trying to reflash another ATmega32u4-based board...  I haven't had any problems with my Esplora, Micro, Leonardo, Multiwii and a host of other 32u4s though, so I wonder if it has something to do with the particular configuration on the TKLCD that doesn't like my setup...
Just to make sure, I tried compiling again on my Linux machine and the errors came up as something different once again...

SerialFirmware.ino: In function ‘void setup()’:
SerialFirmware.ino:175: warning: suggest parentheses around arithmetic in operand of |
SerialFirmware:178: error: ‘EEPROM’ was not declared in this scope
SerialFirmware.ino:206: warning: only initialized variables can be placed into program memory area
SerialFirmware.ino:209: warning: only initialized variables can be placed into program memory area
SerialFirmware:220: error: ‘EEPROM’ was not declared in this scope
SerialFirmware.ino:223: warning: only initialized variables can be placed into program memory area
SerialFirmware.ino:224: warning: only initialized variables can be placed into program memory area
SerialFirmware.ino:226: warning: only initialized variables can be placed into program memory area
SerialFirmware.ino: In function ‘void loop()’:
SerialFirmware:412: error: ‘EEPROM’ was not declared in this scope
SerialFirmware:461: error: ‘EEPROM’ was not declared in this scope
SerialFirmware.ino: In function ‘void loadCustom(uint8_t)’:
SerialFirmware:487: error: ‘EEPROM’ was not declared in this scope
SerialFirmware.ino: In function ‘void readCustom(uint8_t, uint8_t)’:
SerialFirmware:521: error: ‘EEPROM’ was not declared in this scope
SerialFirmware.ino: In function ‘uint8_t getContrast()’:
SerialFirmware:527: error: ‘EEPROM’ was not declared in this scope
SerialFirmware.ino: In function ‘void storeContrast(uint8_t)’:
SerialFirmware:541: error: ‘EEPROM’ was not declared in this scope
SerialFirmware.ino: In function ‘uint32_t getBaud()’:
SerialFirmware:548: error: ‘EEPROM’ was not declared in this scope
SerialFirmware.ino: In function ‘void setBaud(uint32_t)’:
SerialFirmware:588: error: ‘EEPROM’ was not declared in this scope
SerialFirmware.ino: In function ‘void setAutoScroll(uint8_t)’:
SerialFirmware:598: error: ‘EEPROM’ was not declared in this scope
SerialFirmware.ino: In function ‘uint8_t getAutoScroll()’:
SerialFirmware:607: error: ‘EEPROM’ was not declared in this scope
SerialFirmware.ino: In function ‘void displayOn()’:
SerialFirmware:611: error: ‘EEPROM’ was not declared in this scope
SerialFirmware.ino: In function ‘void storeBrightness(uint8_t)’:
SerialFirmware:623: error: ‘EEPROM’ was not declared in this scope
SerialFirmware.ino: In function ‘void setSize(uint8_t, uint8_t)’:
SerialFirmware:628: error: ‘EEPROM’ was not declared in this scope
SerialFirmware:630: error: ‘EEPROM’ was not declared in this scope

7  Using Arduino / Displays / Tinkerkit LCD Library Errors on: January 22, 2014, 12:47:38 pm
  I am trying to compile the TKLCD Serial Firmware sketch based on this tutorial- with no success for some time now.   I have tried compiling in  three versions of the IDE on both Mac and Linux, including v. 1.5.5 (both stable beta and nightly)  and the current 1.0.5.
  The error messages vary depending on the OS and the version but in the Current Arduino 1.0.5  on OSX version 10.7.5. it simply returns

SerialFirmware:60: error: 'Serial1' was not declared in this scope

 This is the same issue that appears in the 1.0.5 version on Linux
 I know in the past I had trouble with the Tinkerkit library because most examples would simply take a standard Arduino sketch like "Servo Sweep" and redefine standard objects like "Servo" into something absurd like "TKContinuousRotationServo" and in so doing managed to mix up the way objects were defined in the sketch.  I've tried combing through the TKLCD.h header file but have yet to come up with anything that works.  I've also noticed that the "Serial Firmware" example sketch doesn't even call the #TKLCD library and when I try to add it myself it doesn't highlight, hinting that the IDE doesn't recognize the library for some reason, but it does appear in the Examples folder dropdown menu.

 Has anybody else managed to find a fix for this? 

8  Using Arduino / Networking, Protocols, and Devices / Re: Arduino GSM Shield (Antenova) with GPS on: September 23, 2013, 02:25:32 pm
Have you had any luck with this yet? I seem to be in the same predicament.

   I had delayed further work on this issue in the hopes that the new Arduino Yun would include built-in support for the GSM Library within the Bridge library...  On receiving my new board, it appears my hopes were in vain...  There is however some hope that the Linux/OpenWRT portion of the board will work with a USB GSM dongle which I've already been using with a Raspberry Pi...  The Linino/OpenWRT SoC used by the YUN is similar to the TP-Link WR703N mini router for which we managed to use for GPS tracking as documented in this forum-
   Nevertheless, I would like to think my +$100 investment in the GSM Shield has not gone to waste, so I will keep trying...
I don't believe that that is what was suggested. Re-read what was suggested.
Yes I mistyped.  
You can only control whether you are paying attention at the moment data arrives. Given that, it seems obvious that you don't want to not listen to either device for any extended period of time.
The challenge is going to be identifying
  • A. How much data needs to be transmitted
  • B. How often it needs to be transmitted
As most use cases for which the project involves fleet management for public vehicles (i.e transit busses, snowplows, schoolbusses etc...) the intervals between transmission of minimal information (i.e Lat./Long.) might give us more room than someone tracking an RC plane for example.  Another advantage to our use scenario is that most public vehicles either operate along a fixed route or within a limited jurisdiction.  In such cases, we might be able to take advantage of the fact that routes have usually been planned around a series of waypoints.
  I wonder if a better approach would be to configure the device more like a datalogger with a set of geolocated triggers telling the device to send the last logged position?  This way we could select how much data to transmit and when to send it according to the strength of the signal, and even incorporate different formats like mesh or wifi depending on the terrain?
9  Using Arduino / Networking, Protocols, and Devices / Re: What GSM / Cellular shield for Arduino on: September 15, 2013, 01:24:56 pm
Does anyone know if this "official" GSM shield works fine with the Arduino MEGA 2560, or does it need some modifications like the other shields?

I'm not sure if you ever figured this out but the documentation for the official Arduino GSM Shield includes the following instructions for using with a MEGA2560/ADK/Leonardo-
 My problem has been the use of serial data as the gsm shield uses SS for its own communication.  If your trying to send data from another serial input (such as GPS) the answer appears to be complicated to say the least...
10  Using Arduino / Networking, Protocols, and Devices / Re: Arduino GSM Shield (Antenova) with GPS on: September 15, 2013, 01:15:44 pm
Thank you,
   At least I know I'm not missing something really obvious...  It really does appear to be that complicated smiley-confuse

The easiest solution is to strictly split the time between the two serial interfaces. Use a higher baudrate (38400) to communicate with the GSM modem to make the periods with disabled interrupts as short as possible. Don't communicate with the GSM modem while you're communicating with the GPS, you even might clean the receiving buffer of the hardware serial after you finished the communication with the GSM modem.
   Again, thank you for this suggestion!  Can you or anyone else reading this recommend a good tutorial for splitting serial time interrupts?  To be clear, I'm not asking anybody to write it for me, I just haven't had any luck searching for the right resources.
The main reason I haven't bought a GSM Shield from Arduino is the decision of the Arduino team to use a software serial implementation for the communication with it.

I have to say... As happy as I was to finally see a branded GSM solution from Arduino, I really have to question its value when taking the price tag into consideration... Basically its only really useful for sending data from digital or analog inputs as long as the data isn't coming from the serial port and only if youre sending the data to another SIM card on the same network?  Those are some pretty heavy limitations for a +$100 piece of equipment!

EDIT  Found a promising tutorial at  I will post results soon.
11  Using Arduino / Networking, Protocols, and Devices / Arduino GSM Shield (Antenova) with GPS on: September 10, 2013, 11:24:31 am
  Hello All,
    I've been stuck on this issue for a long time and while there appear to be other posts with similar problems, the solutions all tend to differ depending on a number of different factors.  Of which none appear to fit my particular configuration.
    I am trying to use the new Arduino GSM Shield to transmit location coordinates to a web client from the Ultimate GPS Breakout from Adafruit
    Because the GSM Shield uses SoftwareSerial to communicate with the modem, it conflicts with the serial output of the GPS.  Besides tweaking the code to use AltSoftSerial, (which doesn't look particularly up-to-date), the only solution I can think of is to use a Mega/Mega ADK for its multiple hardware serial ports.  Yet all the information I've been able to find on this configuration (Mega/GPS/GSM) is designed for other GSM boards using the more common SIM900 modem.
   Has anybody had any success using a Mega's HW Serial in combination with the latest Arduino GSM Shield?
12  Using Arduino / Interfacing w/ Software on the Computer / Re: Arduino GPS tracking through xBee on: August 18, 2013, 03:26:34 pm
This is something I've been looking for as well...  Obviously, the tricky part is the file conversion in real-time.  One thing I found is not for Google Maps KML but rather for OpenStreetMap GPX-
   I haven't tried it yet, but once I do I'll be sure to report back.
13  Using Arduino / Project Guidance / Re: Robot with video processing on: March 09, 2013, 07:12:10 pm
What you are seeking to do is most certainly doable with a Raspberry Pi in the mix...  Check out my work-in-progress Ardu-Pi-Bot running on node.js-
14  Using Arduino / Project Guidance / Re: How to use Arduino input to emulate touch on Android? on: February 12, 2013, 10:13:52 am
 I'm not positive, but it appears we may have the same problem viewed from opposite ends of the solution...   I began with the new Arduino Esplora and have been searching for games it will work with, while you appear to be starting with the games and are searching for controllers to use with them.
   I've had relative success on the gamepad side, but have been somewhat lost on the software side.
   Because the new ATMega32u4 chip allows for USB emulation (something ATMega328 boards like the Uno lacked) new possibilities have opened up in the realm of gamepad emulation.  Possibilities that would not have been possible before the release of the Arduino Leonardo less than a year ago.  However, because of this its been difficult to find updated documentation, as most of the code libraries and tutorials will have been written for the Uno.
    The EsploraKart example is the closest I can get to a pure Arduino Gamepad w/Keystroke emulation so far.  It uses Keyboard Modifiers via the Mouse and Keyboard libraries created for the Leonardo, Micro and Esplora.
 I posted a list of games and platforms on which I've managed to get the Esplora to work with on this thread-,143891.msg1087281.html#msg1087281
   The only problem with the Esplora comes when you want to use it like a six axis gamepad for anything beyond 2nd or 3rd gen gaming consoles...  In the hopes of playing Android games like Modern Combat 3 and GTA3 I've been trying to use an Arduino Leonardo to function as a HID Controller to map a Wii Classic Controller through a nunchuck adapter and a USB OTG cable.  Normally, I would just use the WiiMote through Bluetooth but that function seems to be broken on the current version of Android 4.2.1. 
  So my guess is there's a lot more that can be done in the area of ATMega32u4 Gamepad Support.  It may take some time to sink in though...
15  Products / Arduino Esplora / Re: How to connect button to joystick? on: January 26, 2013, 03:31:31 pm
It would appear that the knob you have is meant for a smaller Joystick like the Parallax Joystick Module they sell at Radio Shack.  The first picture shows the Esplora knob on the left next to the Parallax knob on the right-
  The Parallax Joystick has a thinner, metal Joystick Rod so the hole is much smaller-
Pages: [1] 2