wisskar / souliss

Automatically exported from code.google.com/p/souliss
0 stars 0 forks source link

Pressure (hpa) Typical Sensor and Light(Lux) Typical Sensor #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Add a T54 in Souliss Sketch
2.
3.

What is the expected output? What do you see instead?
T54 it's a Pressure Sensor on Souliss Framwork but show's a Lux Sensor on 
Souliss APP

Please use labels and text to provide additional information.

Should be good have both Sensors, per example:
T54 Pressure Sensor (Hpa)
T5x Light Sensor (Lux)

Original issue reported on code.google.com by JuanPin...@gmail.com on 24 Mar 2014 at 11:22

GoogleCodeExporter commented 9 years ago
typicals 51 to 54 In the souliss.h file are not defined:

http://code.google.com/p/souliss/source/browse/Souliss/Typicals.h

on the client, sensors T5n are like this:

Souliss_T52_TemperatureSensor = 0x52;
Souliss_T53_HumiditySensor = 0x53;
Souliss_T54_LuxSensor = 0x54;
Souliss_T55_VoltageSensor = 0x55;
Souliss_T56_CurrentSensor = 0x56;
Souliss_T57_PowerSensor = 0x57;

what should be changed? Does pressure sensor measure atmospheric pressure? 
Which unit measure should we use?

thnks

Original comment by shineangelic on 3 Apr 2014 at 11:44

GoogleCodeExporter commented 9 years ago
1: SpeakEasy.h lines 125-126 needs to be redefined as a LuxSensor

2: SpeakEasy.h add a T58_PressureSensor and add to SoulissApp too.
This is a pressure sensor module:
http://www.ebay.com/itm/1PC-BMP180-Digital-Barometric-Pressure-Sensor-Board-Modu
le-For-Arduino-/251384711149

This have Pressure Range: 300hPa to 1100hPa so it's similar to Lux sensor a 
0-1024 value.

Original comment by JuanPin...@gmail.com on 3 Apr 2014 at 11:59

GoogleCodeExporter commented 9 years ago
Please refer to:
Souliss_Logic_T52 - Temperature measure (-20, +50) °C
Souliss_Logic_T53 - Humidity measure (0, 100) %
Souliss_Logic_T54 - Light Sensor (0, 40) kLux
Souliss_Logic_T55 - Voltage (0, 400) V
Souliss_Logic_T56 - Current (0, 25)  A
Souliss_Logic_T57 - Power (0, 6500)  W
Souliss_Logic_T58 - Pressure measure (0, 1500) hPa 

Original comment by dario.di...@souliss.net on 4 Apr 2014 at 1:22

GoogleCodeExporter commented 9 years ago
T58 has been added to the app. It should be tested, though

Original comment by shineangelic on 8 Apr 2014 at 7:07