[Gta04-owner] Using BMP085
Neil Jerram
neil at ossau.homelinux.net
Tue May 29 11:18:52 CEST 2012
Neil Jerram <neil at ossau.homelinux.net> writes:
> Hooray, it works, thank you:
>
> gta04:~# echo bmp085 0x77 > /sys/bus/i2c/devices/i2c-2/new_device
> gta04:~# find /sys -name "*pressure*"
> /sys/devices/platform/omap/omap_i2c.2/i2c-2/2-0077/pressure0_input
> gta04:~# cat /sys/devices/platform/omap/omap_i2c.2/i2c-2/2-0077/pressure0_input
> 92192
I've been looking now at temperature too
(/sys/devices/platform/omap/omap_i2c.2/i2c-2/2-0077/temp0_input).
I'm getting 33 degrees C [1], although the actual temperature in my
house is only 16 degrees C. Is that because the temperature reported is
intentionally that *inside* the GTA04, and hence reasonably higher than
ambient? If so, is 33 degrees a reasonable temperature to be measuring
inside the GTA04?
[1] To be precise, I mean that ((VALUE + 5) / 10) = 33, where VALUE is
`cat /sys/devices/platform/omap/omap_i2c.2/i2c-2/2-0077/temp0_input`.
Regards,
Neil
More information about the Gta04-owner
mailing list