×

INDI Library v1.9.9 Released (30 Nov 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Building the induino MeteoStation with 3d printed housing

  • Posts: 271
  • Thank you received: 72
So, I'm calling this a success for the build :)

Everything is up and running except the IR sensor. I did not check everything well enough before ordering, so I got the BAA version witch is 3.3V. I connected it to the Arduino and it got hot very fast. A 20 and a 30 Ohm resistor will drop th supply voltage down to 3,3v, so I'll install the IR sensor when i can source some resistors.

I have been testing it for a while now, and sensors seam to work well. I also set up the web interface on my dev machine, and that was not hard at all. I did have to change some pins in the induinoMETEO firmware as the Adrafruit Pro trinket is using pin 2 internally. I'll go into some detail on that when I write the howto.

Also the question I had about the pressure and IR sensor using the same pins, seams to be correct. The pins are not standard analouge inputs, but SDA and SCL, witch is analouge modulated inputs.

Some pictures of the read outs and the nice Web interface for now.







Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
The following user(s) said Thank You: Jasem Mutlaq, Gonzothegreat, Rob Jones
5 years 5 months ago #17741

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

  • Posts: 271
  • Thank you received: 72
Project is comming along, all sensors vorking :)

I did have to order a new IR temp sensor, as I managed to fry the first I got.
I also had to update the METEOTest and InduinoMETEO firmware. The original library for the pressure sensor only supported BMP085 and not BMP185.
The code for the IR sensor was also just crashing the program when it failed to read the sensor, making hard to debug.

The METOTest was actually for the most part crashing when a sensor failed, making it hard to debug witch semsor failed, so I have rewritten a lot of the test.

Now that all sensors are workig, I did come across a issu that wil make me redesign the top 3d printed part.
The IR sensor cannot read temperature trough the plexi / pastic glass. So the IR sensor only reports the temperature of the glass itself.

I have some ideas on how to fix it, just have to mke sure it does not make water come in to the box. (as the sensor needs to be in open air facing up

The new test firmware
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
The following user(s) said Thank You: Jasem Mutlaq, Gonzothegreat, Vincent Groenewold
5 years 3 months ago #18436
Attachments:

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

  • Posts: 271
  • Thank you received: 72
IR sensor issue fixed.
Now everything is working. Next step install on remote site.







The so far un merged updates to induino meteostation software.
github.com/indilib/indi/compare/master.....c2e95ddb4f22558245ce
github.com/indilib/indi/compare/master.....34fd554289f256d03a2b
github.com/indilib/indi/compare/master.....ino-meteoweb-updates

Tutorial will follow :)
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
The following user(s) said Thank You: Jasem Mutlaq, Remy
5 years 3 months ago #18762
Attachments:

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

Magnus, can you please compile this into an article for the main INDI website? Here is a link to create the article: indilib.org/create-article.html
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
5 years 3 months ago #18769

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

  • Posts: 2151
  • Thank you received: 205
That's a very nice box. I will pm you later on in the next few days about it.
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO533MC / QHY5L-II-M (OAG)
5 years 3 months ago #18787

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

  • Posts: 271
  • Thank you received: 72
Shure thing Jasem.
I'm down with the common cold now, but I might get to get a article going on Sunday.

Thanks Gonzo.
Feel free to pm me. If I'm slow to reply I might not have recovered yet :sick:
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
5 years 3 months ago #18789

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

  • Posts: 4
  • Thank you received: 0
Thanks Magnus for sharing your progress! I just started putting together a MeteoStation and I am using the modified code your shared above.
For now, I just have the dht22 connected to the Arduino. The induino test code work well and I can see the temperature in the serial monitor.
The arduino is connected to my raspberry pi running indiserver.
After updating the arduino with the meteostation code, when I connect to the raspberry pi remotely from Ekos, the control panel doesn't show the temperature, instead it is only showing a long list of sockets, any idea what am i doing wrong?
Thank for your help,
-remy
5 years 3 months ago #18812
Attachments:

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

  • Posts: 271
  • Thank you received: 72
@rdw4176 !?
Sounds like you are starting the indi_duino driver without specifying skeleton file, thus starting the default simple_switcher_sk.xml

Check if your skeleton files is in /usr/share/indi or /urs/local/share/ind (most likely local), and try this one-liner.
killall indiserver; rm /tmp/INDIFIFO; mkfifo /tmp/INDIFIFO; indiserver -f /tmp/INDIFIFO & echo start indi_duino -n \"MeteoStation\" -s \"/usr/local/share/indi/meteostation_sk.xml\" >/tmp/INDIFIFO
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
The following user(s) said Thank You: Remy
5 years 3 months ago #18863

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

  • Posts: 4
  • Thank you received: 0
Yes, the loading the right skeleton was the step I was missing, thanks for pointing that out! The meteostation panel is now showing in Ekos. No value is updating, all showing 0. I guess, I might have some more configuration to do in order to see the temperature from the DHT22, I'll keep debugging
5 years 3 months ago #18895

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

  • Posts: 2151
  • Thank you received: 205
right, I have ordered the electronic components off fleebay, just need to pick the solar cell and an enclosure. This meteostation was a great addition to my observatory, hence it's coming back in.
Previous one was also my all-sky camera (I will build one again).
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO533MC / QHY5L-II-M (OAG)
5 years 2 months ago #19322

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

  • Posts: 2151
  • Thank you received: 205
Magnus, can you please let me know how to get the latest code for this please, as in with all your updates?
My brain isn't computing all this github wizardry today :(
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO533MC / QHY5L-II-M (OAG)
5 years 2 months ago #19407

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

  • Posts: 271
  • Thank you received: 72
At the moment it's only in my fork, and the changes for the meteostation, meteo test and meteo web is in their own branch.

So
git clone https://github.com/magnue/indi.git magnueINDI
cd magnueINDI
git checkout induino-meteotest-updates # This will give you the changes for Firmwares/meteoTEST
git checkout induino-meteo-updates # This gives you the Firmwares/induinoMETEO changes (meteoTEST is reverted...)
git checkout induino-meteoweb-updates # Updates to add-ons/meteostationWEB (mostly the meteoconfig.py with ssh tunnel connection options)

I'll hopefully get to write the HOWTO this weekend. I just have to test the meteo web updates, and make pull requests to indi
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
Last edit: 5 years 2 months ago by Magnus.
5 years 2 months ago #19411

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

Time to create page: 0.647 seconds