No commit activity in last 3 years
No release in over 3 years
Intended for using a Nokia LD-3W with a Raspberry Pi from the Humble_RPi gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.1, >= 0.2.1
 Project Readme

Introducing the Humble RPi Plugin LD3W

Usage

require 'sps-pub'
require 'humble_rpi-plugin-ld3w'

sps = SPSPub.new(host: 'sps.home')

rpi = HumbleRPiPluginLd3W.new(settings: {rfdevice: 'rfcomm0', 
          bdaddress: '00:02:76:C9:60:28', channel: '1', refresh_rate: 120}, 
          variables: {notifier: sps}, debug: true)
rpi.on_start

The above example requests the GPS coordinates from the Nokia LD-3W every 2 minutes and publishes the longitude and latitude to an SPS broker.

humblerpi plugin gem gps ld3w