Datalogging/telemetry with a wireless router

A place For General Chit Chat Etc
User avatar
Posts: 6224
Joined: Mon Oct 08, 2012 6:41 pm
Location: Kyneton, Vic

Re: Datalogging/telemetry with a wireless router

Postby vlad01 » Thu May 16, 2013 10:05 pm

holy crap! thats awesome! now all you need is analogue overlays.
I'm the director of VSH (Vlad's Spec Holden), because HSV were doing it ass about.

User avatar
Posts: 4745
Joined: Sat Feb 28, 2009 8:38 pm
Location: Wellington NZ

Re: Datalogging/telemetry with a wireless router

Postby delcowizzid » Mon Jun 03, 2013 10:00 am

how did you go with the code for the wifi router logger ive just scored an HG556a huawei supported by openwrt has 2 usb ports etc want to set it up for testing and having a play so i dont go mad now im not working LOL
If Its Got Gas Or Ass Count Me In.if it cant be fixed with a hammer you have an electrical problem

User avatar
Posts: 1020
Joined: Sat Apr 30, 2011 6:27 pm
Location: Narellan, NSW

Re: Datalogging/telemetry with a wireless router

Postby festy » Mon Jun 03, 2013 10:17 am

It was working, just a little slow from memory (but I was running it on a 200MHz broadcom cpu, yours might be faster).
The LCD display was something I built myself, I know you can buy a serial LCD module pretty cheaply but not sure if they operate the same as mine.
Shouldn't take much to make it work with a different one though.
The logging is still only to csv because I haven't looked into the xdl format yet, and the network streaming is working but again it only sends the csv data.
The remote command framework is in place, but I think I've only added a "clear DTC" command so far.

I can give you a copy of the code, but you'll need at least a basic understanding of Perl to get it working. When I switched over to using the Raspberry Pi a while ago I had to re-write parts of it so will have to dig out an old version that will run on openwrt.

User avatar
Posts: 4745
Joined: Sat Feb 28, 2009 8:38 pm
Location: Wellington NZ

Re: Datalogging/telemetry with a wireless router

Postby delcowizzid » Mon Jun 03, 2013 10:25 am

haha no understanding of perl bugger.have found cheap serial lcd's from china guess ill just put the router back in the cupboard.
If Its Got Gas Or Ass Count Me In.if it cant be fixed with a hammer you have an electrical problem

User avatar
Posts: 1020
Joined: Sat Apr 30, 2011 6:27 pm
Location: Narellan, NSW

Re: Datalogging/telemetry with a wireless router

Postby festy » Mon Jun 03, 2013 5:37 pm

If I can track down enough details on one of those ebay serial LCDs I'll look at adding a screen driver for them.
If that works, then all that would need setting was com port numbers etc, so maybe don't give up just yet ;)

User avatar
Posts: 4745
Joined: Sat Feb 28, 2009 8:38 pm
Location: Wellington NZ

Re: Datalogging/telemetry with a wireless router

Postby delcowizzid » Mon Jun 03, 2013 6:49 pm

legend LOL
If Its Got Gas Or Ass Count Me In.if it cant be fixed with a hammer you have an electrical problem

User avatar
Posts: 1020
Joined: Sat Apr 30, 2011 6:27 pm
Location: Narellan, NSW

Re: Datalogging/telemetry with a wireless router

Postby festy » Sat Sep 14, 2013 3:14 pm

I've been re-visiting this project over the last couple of days because I'm hoping to actually have a use for it soon...
Logging to csv was never going to be much use, after a bit of poking around I worked out 95% of the XDL header and record structure so now it writes native TP logs instead.

The logging speed was still a bit slow, averaging about 4.5Hz compared to 8Hz with my laptop.
I was sure it was logging faster than that last time I was working on it, and eventually found the cause of the slowdown was the LCD driver. I'd made some changes to it a month or two ago to fix a timing glitch, and hadn't noticed it was slower.
Fixing that got the speed up to almost 6Hz, and changing the code to only update the screen every third message bumped the speed up to 8Hz. It also made the screen more readable, the numbers aren't just a blur now so double win ;)

Next job was to add my 10 channel analogue input module and get it into the log stream. I dropped the resolution to 8 bits to keep it simple, and added some rough accelerometer calibration figures to the ADX:
G.jpg
G.jpg (43.81 KiB) Viewed 821 times


There's a bunch more sensors I'd like to add to the car, so the other analogue inputs will be put to good use before long...
Currently the lap marker trigger is a push button, but I want to come up with something better.
Options I'm going to look into are:
* GPS proximity to the start line,
* an IR transmitter on the pit wall (that's how most people do it), or
* some method of detecting the transponder pickup that's embedded in the track at the start/finish line. This would be the best option, but also the hardest to implement by a long way I think :oops:

Posts: 1
Joined: Wed Feb 27, 2019 7:32 pm

Re: Datalogging/telemetry with a wireless router

Postby shitalgite » Wed Feb 27, 2019 7:43 pm

The OmniText AD4 is a battery or mains powered logger and SMS alarm unit with 8 programmable inputs. 4 digital inputs can be configured for digital state, pulse counts or digital temperature (-55 to +125°C). The 4 analogue inputs will accept a 0-5V or 4-20mA (with shunt resistor) inputs.
hardware networking

Previous

Return to Off Topic

Who is online

Users browsing this forum: No registered users and 2 guests