bmp085

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
priis
Posts: 26
Joined: Tue Mar 31, 2015 9:52 pm

bmp085

Post by priis » Sun Apr 12, 2015 3:16 pm

I would like to get into contact with someone who can make bmp085 work with the pyboard.
What exactly should the bmp085 file look like, and how exactly should it be called from the main program?

I can do
from bmp085 import BMP085

and, for instance,
tekst=str(BMP085.BMP085_ADDRESS)
returns 119 as expected.

But my program crashes whenever I do something like
bmp = BMP085()



I would really appreciate to see a working example.

Poul Riis

priis
Posts: 26
Joined: Tue Mar 31, 2015 9:52 pm

Re: bmp085

Post by priis » Sun Apr 12, 2015 8:09 pm

Well, I just managed to make it work with the bmp180.py module.

Poul Riis

Turbinenreiter
Posts: 288
Joined: Sun May 04, 2014 8:54 am

Re: bmp085

Post by Turbinenreiter » Mon Apr 13, 2015 7:09 pm

You should provide links to the modules you are talking about.
I'm the author of a module for the bmp180 -> https://github.com/turbinenreiter/micropython-bmp180
I guess you are using that? I don't know of another one. It should work with the 085, too.

spirkaa
Posts: 2
Joined: Wed May 18, 2016 7:50 am

Re: bmp085

Post by spirkaa » Wed May 18, 2016 7:53 am

[quote="Turbinenreiter"]You should provide links to the modules you are talking about.
I'm the author of a module for the bmp180 -> [url]https://github.com/turbinenreiter/micropython-bmp180[/url]
I guess you are using that? I don't know of another one. It should work with the 085, too.[/quote]

I adapted this module to work with esp8266:
https://github.com/spirkaa/micropython-bmp180

Turbinenreiter
Posts: 288
Joined: Sun May 04, 2014 8:54 am

Re: bmp085

Post by Turbinenreiter » Wed May 18, 2016 3:32 pm

Great!
Send me a pull request.

Post Reply