OSTC3, cR, sport and 2 :  heinrichs weikamp forum The fastest message board... ever.
OSTC's running hwOS 
Re: OSTC3 - Connection to an iPhone / Smartphone / Presure Sensor
Posted by: Rougaille ()
Date: June 10, 2014 11:22AM

Dear Developers,

Should we imagine a connection via the optical link of the OSTC3 to an iOS device ?
> It would be great to access detailed info without physical connection, and without a laptop.

The idea is to use the Camera and the Flash to communicate with the OSCT3 optical LED.
(It can also work for any other Smartphone ...)

It needs to develop an iOS APP & update the OSTC3 Firmware.

Functionalities :
- Logbook download
- Firmware update
- Software customizing with graphical tools

Best regards,

Rougaille



Edited 3 time(s). Last edit at 10/29/2014 11:27AM by Rougaille.

Options: ReplyQuote
Re: OSTC3 - Connection to an iPhone / Smartphone
Posted by: heinrichsweikamp ()
Date: June 11, 2014 01:16PM

Hi,

The optical input is sensitive to infrared light only that is modulated with 38kHz. I'm not sure if you can simulate this with the flash light of an iPhone.

Regards,
Matthias

Options: ReplyQuote
Re: OSTC3 - Connection to an iPhone / Smartphone
Posted by: Rougaille ()
Date: June 11, 2014 11:58PM

Hello Matthias,

I think that smartphones cameras can see infra red @ 38kHz
[www.instructables.com]

The questions is more about sending back information to OSTC3 LED (Wet connector system for hwHUD - O2 monitoring).
> Can the smartphone flash light modulate infrared light at 38kHz ?

Another idea is to use a cheap (10€) external IR device connected to the audio port :
[lifehacker.com]

What is your advice ?

PS: As an example, i really appreciate to use my smartphone/ipad to control my GoPro (set configuration, read videos ...)

Best regards,

Rougaille



Edited 1 time(s). Last edit at 06/11/2014 11:59PM by Rougaille.

Options: ReplyQuote
Re: OSTC3 - Connection to an iPhone / Smartphone
Posted by: heinrichsweikamp ()
Date: June 12, 2014 09:42AM

Hi,

The optical port on the OSTC3 is input only, so configuring the OSTC3 may be possible. Maybe you can just test it and simulate our hwHUD stand-alone.

Regards,
Matthias


Hardware details of IR Link:
- data rate is 2400 Baud, 8 Databits, 1 Stopbit, no parity, (2400, N, 8, 1)
- Carrier frequency is 38kHz (To be used with a TSOP34xxx IR-Receiver)
- 16bit values are transmitted in little Endian format (LOW:HIGH)

Software:

1. Output from HUD (Frame is updated and send every second):
- Total of 15Bytes (~53ms frame length)

Byte 0: 8bit HUD firmware version number
Byte 1: 8bit Status Byte
Byte 2-3: 16bit Sensor1 voltage (in 100µV steps)
Byte 4-5: 16bit Sensor2 voltage (in 100µV steps)
Byte 6-7: 16bit Sensor3 voltage (in 100µV steps)
Byte 8: 8bit Sensor1 ppO2 (in 0.01bar steps)
Byte 9: 8bit Sensor2 ppO2 (in 0.01bar steps)
Byte 10: 8bit Sensor3 ppO2 (in 0.01bar steps)
Byte 11-12: 16bit HUD Battery voltage in mV
Byte 13-14: 16bit Checksum

Status Byte/
Bit0 = 1 -> HUD connection ok
Bit1 = 1 -> HUD is calibrated
Bit2 = 1 -> HUD Battery is low (<3000mV)
Bit3 = 1 -> Sensor 1 active
Bit4 = 1 -> Sensor 2 active
Bit5 = 1 -> Sensor 3 active
Bit6 = 1 -> HUD calibrated through external interface (DR5/DRx)
Bit7 = 1 -> HUD received (valid) data through RS232 input from DR5/DRx. Automatically cleared when command was executed

Options: ReplyQuote
Re: OSTC3 - Connection to an iPhone / Smartphone / Presure Sensor
Posted by: Rougaille ()
Date: October 29, 2014 11:26AM

Hello Mathias,

Can you imagine a small object like a "bolt" to be screwed in the Optical Link plug ?

This bolt would have a battery and a radio sensor.

The idea is to read a presure sensor from the tank directly on the OSTC.

What is your opinion ?

Rougaille.

Options: ReplyQuote
Re: OSTC3 - Connection to an iPhone / Smartphone / Presure Sensor
Posted by: heinrichsweikamp ()
Date: October 31, 2014 04:10PM

Hi Rougaill,

I can imagine such a device but we have nothing planned in this direction, sorry.

regards,
Matthias

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.