×
INDI Library v1.8.3 Released (02 Jan 2020)

Minor monthly bugfix release with a new RainbowAstro mount driver and improved pier side simulation.

Indiduino MeteoStation (updated hardware and firmware)

2 months 6 days ago
G_Gagnon
Senior Boarder
Senior Boarder
Posts: 47
More
Topic Author
Indiduino MeteoStation (updated hardware and firmware) #45867
For those interested in an updated version of the Indiduino MeteoStation, I have modified mine over the last few months (on and off) to use 'more current' sensors. The version I currently have works with the current MeteoStation indi driver but now uses a BME280 sensor for the temperature, humidity and pressure measurements, replacing the DHT21 and BMP085 sensors, and uses a TSL2591 light sensor that replaces the irradiance sensor (solar cell). The TSL2591 sensor now provides an estimate of the sky quality in magnitude per arcsecond squared, instead of the sky irradiance previously given by the solar cell. Thanks to Nacho Maas and Magnus Erikson for the previous versions, and to Beckrd and others for the SQM software that I adapted to the MeteoStation; that made my life much easier.

If there is interest, I can submit the updated arduino firmware (as a different version) and xml file to be included in the 3rd-party indilib branch.
The following user(s) said Thank You Herrhausen, procras, anofeles, sterne-jaeger

Please Log in or Create an account to join the conversation.

2 months 6 days ago
anofeles
Senior Boarder
Senior Boarder
Posts: 47
More
Indiduino MeteoStation (updated hardware and firmware) #45879
If you would be so kind...

Please Log in or Create an account to join the conversation.

2 months 5 days ago
G_Gagnon
Senior Boarder
Senior Boarder
Posts: 47
More
Topic Author
Indiduino MeteoStation (updated hardware and firmware) #45881
I just have to learn how to do a fork and pull request on github, never done that before! :-/
The following user(s) said Thank You TomAstro

Please Log in or Create an account to join the conversation.

2 months 5 days ago
TomAstro
Gold Boarder
Gold Boarder
Posts: 168
More
Indiduino MeteoStation (updated hardware and firmware) #45884
Can't wait to test it out! Thanks a lot.

Please Log in or Create an account to join the conversation.

2 months 5 days ago
G_Gagnon
Senior Boarder
Senior Boarder
Posts: 47
More
Topic Author
Indiduino MeteoStation (updated hardware and firmware) #45885
Issued a fork and pull request but not sure if I did it correctly. If yes, and if the changes are appropriate, we may see it sometimes. :-)
The following user(s) said Thank You TomAstro

Please Log in or Create an account to join the conversation.

2 months 5 days ago
TomAstro
Gold Boarder
Gold Boarder
Posts: 168
More
Indiduino MeteoStation (updated hardware and firmware) #45888
SQM is using ttyUSB instead of ttyACM. Is your MeteoStation also using ttyUSB?

Please Log in or Create an account to join the conversation.

2 months 5 days ago
sterne-jaeger
Platinum Boarder
Platinum Boarder
Posts: 420
Karma: 6
More
Indiduino MeteoStation (updated hardware and firmware) #45892
Great work, Gilles, many thanks, having the tsl2591 as light sensor brings much value!

Since I am building my own small weather station I am very interested what type of enclosure you are using. Especially for the light sensor, is it possible to shield it from the weather without disturbing it?

Wolfgang

TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | Moravian G2-8300 + ASI 1600mm pro + ASI 294mc pro | KStars/INDI on Raspberry Pi 4 with Raspbian 10

Please Log in or Create an account to join the conversation.

2 months 5 days ago
G_Gagnon
Senior Boarder
Senior Boarder
Posts: 47
More
Topic Author
Indiduino MeteoStation (updated hardware and firmware) #45900
I am using a 3.3 volts, 8 MHz Arduino Pro Mini for its size and I2C supply compatibility, connected to the PC via a USB FTDI cable. It is recognized as a /dev/ttyUSB* device.

Please Log in or Create an account to join the conversation.

2 months 5 days ago
sterne-jaeger
Platinum Boarder
Platinum Boarder
Posts: 420
Karma: 6
More
Indiduino MeteoStation (updated hardware and firmware) #45901
I am using an Arduino Metro Mini, which works fine under Linux. What do you use as housing for the electronics?

TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | Moravian G2-8300 + ASI 1600mm pro + ASI 294mc pro | KStars/INDI on Raspberry Pi 4 with Raspbian 10

Please Log in or Create an account to join the conversation.

2 months 5 days ago
G_Gagnon
Senior Boarder
Senior Boarder
Posts: 47
More
Topic Author
Indiduino MeteoStation (updated hardware and firmware) #45902
Thanks!

The enclosure I am using is the one described in indilib.org/forum/general/2265-building-...d-housing.html#17029 , thanks to Magnus Eriksen. It uses a cavity in which the TSL is installed, protected by a TPU gasket and a plexiglass window. I am not sure if the plexi affects much the sensor reading as I have not verified that yet.

The only drawback of the enclosure is the space available for the Arduino, it is very small and I had to use an Arduino Pro Mini to make things easier. Apart from that, the enclosure design is very nice and prints well with PETG.

Gilles

Please Log in or Create an account to join the conversation.

1 month 2 weeks ago
sterne-jaeger
Platinum Boarder
Platinum Boarder
Posts: 420
Karma: 6
More
Indiduino MeteoStation (updated hardware and firmware) #46466
Hi Gilles,
many thanks again for your update of the Arduino firmware for new new sensors. I tested it, everything works fine. Only for the meteoWeb page I needed to make some minor changes so that it could show the SQM values instead of IR-Radiance.

But with the variety of sensors comes in a new complexity for users. Depending on the specific set of sensors, users need to change both the firmware, the INDI skeleton file and in some cases even the HTML page and the python scripts.

What do you think if we reduce the Arduino firmware in such a way that it gives access to sensors, but all calculations are shifted up to the INDI driver. As a mid term goal it would be great if everything can be configured through the INDI driver without touching the firmware.

Does that make sense?
-- Wolfgang

TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | Moravian G2-8300 + ASI 1600mm pro + ASI 294mc pro | KStars/INDI on Raspberry Pi 4 with Raspbian 10

Please Log in or Create an account to join the conversation.

1 month 2 weeks ago
G_Gagnon
Senior Boarder
Senior Boarder
Posts: 47
More
Topic Author
Indiduino MeteoStation (updated hardware and firmware) #46540
Hello Wolfgang,

Thanks for your encouraging comments, they are very much appreciated.

Jasem has asked me to work on the MeteoStation documentation which would benefit from a refresh and an up-to-date upgrade, given the possibility of new/different sensors. I am thinkering on that while working on my automated observatory, based on Gonzo the Great's idea and concept. So time is shared between family and many projects and things don't get done as quickly and efficiently as I would wish.

Back to your suggestions, the users who embark on building the indiduino MeteoStation need to specify whatever sensors they intend to use so there is no easy way around configuring the firmware. Maybe we could put the sensor configuration elements (sensors related #define) in an include file instead of the actual "indiduinoMETEO.ino" file. The users would only have to edit that "indiduinMETEO.h" file and we could put enough info in it to make it simple to configure. the INDI skeleton files should not require modification if you use the appropriate 'virtual' driver (Arduino MeteoStation or Arduino MeteoStation SQM) but I can take a look at that to make sure. Concerning the HTML page and python scripts, not having much experience there, I can't unfortunately be of much help, even though I can have a look.

As far as reducing the Arduino firmware and shifting calculations to the INDI driver, as the firmware is based on the Arduino firmata sketch, I am not sure this can be done easily. I am far from being an expert (more like novice) with firmata so I do not really know what is involved in that change. Furthermore, except for the SQM sensor which adjust its gain and integration time in the firmware, all the other sensors just provide values that are scaled and sent to the /usr/bin/indi_duino driver. I will take a closer look at what we can do to make things easier but can't promise much yet.

Thanks again for your ideas/suggestions/comments.

Gilles

Please Log in or Create an account to join the conversation.

Time to create page: 0.343 seconds