Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 9 months ago. This question has been closed. Reason: Off Topic
GPS-Shield from Arduino is not working
Hi there,
I'm fairly new, so I hope I can explain my request. I have a Nucleo microcontroller (STM32L053R8T6) on which I can place the arduino gps shield. I also connected a lcd to the pins of the gps shield (which are just forwarded from the microcontroller) and this work's. However, I can't receive anything from the arduino shield. I put the jumper for rx and tx to different places (so that the shield is connected to different pins for rx and tx), created a Serial object (there are D0 and D1 on the Nucleo for it), but the .readable() command doesn't even get one char.
I used aswell the SoftSerial and the SoftwareSerial library, but can't get any information from the shield either.
I used a sparkfun microcontroller which runs with the arduino commands to test the gps shield - so that worked - the lcd showed me the right lat and long (I used a code from a blog), I tried to replace every arduino command with a mbed command, but wasn't successful.
(The arduino code worked with 9600 Baud for rx and tx, the data sheet tells you need 38400 Baud, so that's a bit odd, so I used all the time both)
Hope you can help me! Thanks! Alex