Development

Examples:

Recently Updated

» GPS 06: Waspmote tracker

Last edition: May 23rd, 2017 |

This example creates a KML file for Google Earth tracking. When the GPS module connects to satellites, Waspmote starts appending data to the KML file. When writing the SD file, the red LED lets the user know that Waspmote shouldn't be switched off.

» GPS 02: Using ephemeris

Last edition: May 22nd, 2017 |

Set GPS module ON. Wait until it is connected to the satellites. Then ephemeris are requested and stored in SD card. Secondly, ephemeris are loaded to the GPS module from the SD card

» GPS 04: Complete example

Last edition: May 22nd, 2017 |

This example shows how to use the different functions of the Waspmote GPS API. Basic data is requested using specific functions for each parameter. Finally, ephemeris are used in order to connect easily to satellites.

» GPS 01: Getting basic data

Last edition: May 22nd, 2017 |

This example shows how to set the GPS module ON. Wait until it is connected to the satellites. Then the information is requested. Finally, a conversion to degrees is done in order to search positions in Internet GPS websites.

» GPS 03: Ephemeris improvement

Last edition: May 22nd, 2017 |

This example shows the different time for connecting to satellites using ephemeris. Firstly, time elapsed is measured until GPS module is connected to satellites. Secondly, ephemeris are stored and loaded to the GPS module, and then time to connection is measured again to be compared with the first one.

» RS-232 04: Modbus Master ACC & Battery

Last edition: May 09th, 2017 |

This sketch shows the use of the Modbus communication protocol over RS-232 standard, and the use of the main functions of the library. Modbus allows for communication between many devices connected to the same network.

» BLE 04 Scan device

Last edition: May 09th, 2017 |

This example shows how to make a scan with Bluetooth low energy and look for a specific BLE module, printing number of discovered devices and scan results.

» 4G 11: TCP client

Last edition: May 09th, 2017 |

This example shows how to open a TCP client socket to the specified server address and port. Besides, the functions for sending/receiving data are used.