In an earlier blog post titled 'Develop location-aware, Metro style apps when your development system doesn’t have GPS', one option I presented for those wishing to develop high-precision location-based Windows Store apps is to hook up an external GPS to your computer. What I want to do now is explore this method in greater detail, and I’m creating a three-part series on doing so with a software application called GPSDirect from TurboIRC.COM Software & Research. In part one, we’ll introduce the GPSDirect sensor driver and learn how to use it. In parts two and three, we’ll look at connecting an external GPS recevier and an Android-based smart phone as a GPS provider.
Part 1: Introducing GPSDirect
For our GPS solutions we’ll make use of the GPSDirect NEMA Sensor Driver which was developed by Michael Chourdakis at TurboIRC.COM Software & Research. It takes any COM-connected GPS receiver and turns it into a Windows Location Sensor. Though this software was originally created for the Windows 7 Sensor API, it also works with the Windows 8 Location API for both Windows Store Apps and desktop applications. Both a 32-bit and 64-bit driver are provided.
Almost all general purpose GPS units are capable of emitting NMEA 0183 sentances over a serial port. NMEA stands for the National Mareine Electronics Association, and standard 0183 defines a communication protocol for marine devices such as sonar, echosounders, GPS receivers, and its predecessor, LORAN. The NMEA protocol is extremely simple, with messages transmitted in plain ASCII text in the form of 'sentances'. These devices emerged in the days when serial ports were the primary means of interacting with computer systems, and as such even modern devices with only USB connectors still provide NMEA output via a virtual COM port by embedding a USB-to-serial adapter internally. Nearly every USB-connected GPS receiver, commonly referred to as a GPS 'mouse', is really a serial port device.
Virtual COM Port Driver is an advanced way to add virtual COM port pairs. There are many instances where this Windows 10 COM Port Driver software can be instrumental when working with serial devices and applications. Some of the uses of the software include testing and debugging in usage scenarios that include. Hardware drivers category page Microsoft Download Center Microsoft 365 Premium Office apps, extra cloud storage, advanced security, and more—all in one convenient subscription. It is a windows driver archive executable that installs USB-CDC class driver for Virtual COM Port device (CDC-UART) and USB-Vendor Class driver for peripheral devices such as SPI, I2C, JTAG, GPIO, Vendor Mode UART and Manufacturing Interface. USB-Serial Configuration Utility User Guide; USB-Serial Windows Driver Installation Guide. This includes the electronic SIRIUS ACT ID key switch, incorporating the latest RFID technology. This ensures that only authorised persons are able to operate the plants and machinery. It is also possible to quickly and safely connect SIRIUS ACT push buttons and light signalling devices to IO-Link, using special electronics modules for IO-Link. SDK, Libraries and drivers support across all mentioned platforms. (32 bit/64 bit) Easy integration into product servers and application support. About STQC - Standardisation Testing and Quality Certification (STQC) Directorate is an attached office of the Department of Electronics and Information Technology, Government of India.
This USB-based GPS receiver shows up as a virtual serial port in Windows.
GPSDirect is basically a bridge solution. It's middleware that takes a GPS device connected on a virtual COM port and connects it to the Windows Location Sensor. To date, not many manufacturers provide a true sensor driver for their GPS receivers, and GPS receivers that are integrated into tablet and ultrabook platforms are still fairly rare. For those wishing to develop precision location-aware apps-- or even just use them-- GPSDirect represents the best way to make that possible when a native GPS sensor is not available on the system. The down side is that, being middleware, you have to jump through some extra hoops to use it and you can't expect to plug in your GPS receiver and have everything just work. The rest of Part 1 discusses those hoops in detail.
Download and install GPSDirect
From the GPSDirect download page, select the 32- or 64-bit driver as is appropriate for your system. The GPSDirect download is a simple EXE file. There is no installer, nor is there a driver installation procedure (but see 'Running GPSDirect', below), however GPSDirect does unpack a few support files when it executes so I like to put it in a separate folder to keep things tidy. For this example, create a 'GPSDirect' folder inside of your Documents folder and move the executable there.
Running GPSDirect
GPSDirect is a desktop application which includes a user mode driver that installs itself upon demand. Double-click to execute the binary. Windows 8 may ask you to enable location services as shown in the screenshot below. If so, click on 'yes', since location-based applications won't work without the location service.
You will then be presented with the GPSDirect user interface window, a portion of which is shown below. Before the driver can install itself, it has to know which COM port your GPS is connected to, and at what speed it communicates. These parameters are set in the main user interface.
Kyohritsu Electronic Industry Port Devices Driver
Note that drop-down menu for the connection speed only goes up to 19200 baud, but you can type any value in there. I have used external GPS data loggers that communicate at 115200 baud successfully with GPSDirect. In addition to COM ports, GPSDirect can also communicate with a network-connected GPS device. In this case, enter an IP address for the NMEA source and a port number in the Baud Rate/Port Number box. GPSDirect also includes a simulator mode which sets a random latitude, longitude, and altitude, and then changes them slightly every second.
Select the COM port that your GPS is attached to, provide the baud rate, and then hit 'Install' to install the driver. This step will require administrator privileges since this is the point where the driver is actually installed on your system. If this is the first time you have run GPSDirect, you will also be presented with a Windows Security dialog, asking if you want to install the sensor device. To prevent this dialog from coming up again in the future, you can check the box to always trust software from the author.
Once the driver installs, the GPSDirect driver will start showing up as a location sensor in Device Manager.
Monitoring GPSDirect
When you first run GPSDirect, meaning after you have set your port settings and hit 'Install', you may not see much output. Until your GPS device has started tracking satellites, in fact, it may not appear that GPSDirect is doing anything at all but once your receiver starts acquiring signals the display will update.
The upper right window lists the satellites that have been found by the device, showing their almanac information (satellite number, azimuth, and elevation), and the strength of the signal being received. The lower frame shows the time reported by the GPS receiver, and once a fix is obtained it will display:
- latitude and longitude in decimal degrees (X and Y)
- altitude in meters (Z)
- speed in knots
- bearing in decimal degrees
- DOP (Dilution of Precision, mathematical limits on accuracy due to the current satellite geometry)
It will also periodically print one of the NMEA sentance that was received from the device. American power conversion battery driver download for windows.
The GPSDirect window will contnue to update as long as the GPS receiver is on and active, though if signal reception is lost it may blank out again until satellite signals can be reaquired.
You do not need to keep this window open. You can close it using the red X (there is no 'close' button) and if you later want to monitor your device, you can simply run GPSDirect again. The driver will remain active until you explicitly uninstall it.
Stopping GPSDirect
Stopping GPSDirect really means uninstalling the driver, and that is done with the 'Uninstall' button. When you press this, GPSDirect closes the COM port, uninstalls the driver, and exits.
Things to keep in mind
- As with any system where an external device is connected to a computer, the stability of the system is dependant on the stability of the connection. If a cable comes out, the GPS receiver powers off, or if the computer goes to sleep, GPSDirect may or may not be able to seamlessly continue. It may be necessary to explicitly uninstall the driver and reinstall to get things working again.
- COM ports do not support multiple connections. If GPSDirect is using a COM port, other software will not be able to, and visa-versa.
- Your virtual COM port will change if you move your USB-connected device between ports. Always verify in device manager that your device is attached to the port that you think it is.
In Part 2, we'll hook up an external GPS using GPSDirect.
Next --> |
§
The Federal Motor Carrier Safety Administration (FMCSA) published the final electronic logging device rule — or ELD Mandate – in December 2015, and the first deadline to comply passed in December 2017.
About the ELD mandate
In 2012, the United States Congress enacted the “Moving Ahead for Progress in the 21st Century” bill, or, more commonly referred to as MAP-21. That bill, which also outlined the criteria for highway funding, included a provision requiring the FMCSA to develop a rule mandating the use of electronic logging devices (ELDs).
In its simplest form, an electronic logging device — or ELD — is used to electronically record a driver’s Record of Duty Status (RODS), which replaces the paper logbook some drivers currently use to record their compliance with Hours of Service (HOS) requirements.
Fleets had until December 2017 to implement certified ELDs to record HOS.
Fleets that were already equipped with electronic logging technology (AOBRDs) before December 2017 have until December 2019 to ensure compliance with the published specifications. Rohde & schwarz.
ELDs aren’t reinventing the HOS compliance technology wheel
The ELD rule is based on a series of previous rulemaking events, each building upon its predecessor. (That’s one reason why it’s so easy to be confused by what’s available on the market right now.)
Today, many drivers and fleets are using automatic on-board recording devices (AOBRDs) to reduce paperwork. These devices meet the standard covered in the FMCSA’s rule 395.15, which requires them to automatically record a driver’s duty status and any changes in status, as well as the amount of time they operate the vehicle.
If requested by law enforcement, drivers must also be able to immediately present the required AOBRD display information for the previous seven days, plus the current day.
The ELD Standard is also built on a regulation for electronic on-board recording devices (EOBR) that was published, but eventually pulled back. The EOBR rule applied to fleets that had serious HOS compliance issues, but not all trucks were subject to HOS tracking requirements.
It was eventually vacated over concerns that carriers could misuse the devices to harass truck drivers – something the new ELD requirements must address. While differences among ELD, AOBRD, and EOBR devices abound, they share a few elements in common:
- They track a driver’s Hours of Service electronically
- They need to be “integrally synchronized” with a truck’s engine, making sure drive segments are captured
- Most will pass data to a system where a safety or fleet manager can see e-logs in a near real-time basis, allowing everyone to be on the same page
In today’s truck and fleet applications, ELDs installed in commercial motor vehicles can monitor and record a whole host of data about the vehicle and its driver that go beyond RODS — from Driver Vehicle Inspection Reports (DVIR) and IFTA automation to driver behavior reporting on speeding, idling, and hard braking.
Many systems integrate map and route solutions as well, which can help drivers navigate around construction and avoid high-traffic areas.
And, many fleets are already seeing the benefits of ELDs.
That’s because ELDs can:
- Save driver time by reducing paperwork
- Keep a dispatcher up-to-date on a driver’s status, letting them plan for loads better in light of HOS compliance needs
- Reduce the hassle of keeping a paper log – something that e-log converts never want to return to
It’s important to note that the FMCSA allows fleets that have installed AOBRDs at the time the final rule is enacted to continue to use those devices until late 2019.
Smartphones and tablets can also work – as long as they meet the FMCSA’s requirements
In writing the ELD rule, the FMCSA is aware of the cost burden it could be putting on fleets. While it recognizes there’s a net-benefit from the paperwork savings alone, it doesn’t want to saddle drivers and fleets with trucking technology that isn’t affordable.
To address those ELD cost concerns, the FMCSA has provided that smartphones, tablets, and rugged handhelds can be used as long as the system as a whole meets ELD requirements, including a hardwired connection to the truck’s engine.
Kyohritsu Electronic Industry Port Devices Drivers
So, a fleet may choose to use a smartphone or tablet ELD to help address the start-up costs associated with some HOS compliance systems.
As an added benefit, with the overwhelming adoption of smartphones, truck drivers find them easy to use and see them as a vital part of their everyday life on the road. They’re also a perfect fit for drivers looking for a solution that un-tethers them from the cab and allows them the flexibility to choose from a wide range of mobile devices.