Welcome, Guest
Username: Password: Remember me
20 Aug 2017
INDI development team is happy to announce the release of INDI Library v1.5.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...

TOPIC: Building the induino MeteoStation with 3d printed housing

Building the induino MeteoStation with 3d printed housing 3 months 2 weeks ago #17741

  • Magnus_e
  • Magnus_e's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 212
  • Karma: 4
  • Thank you received: 49
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.







The following user(s) said Thank You: knro, Gonzothegreat, RobJones

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

Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project

Building the induino MeteoStation with 3d printed housing 2 months 1 week ago #18436

  • Magnus_e
  • Magnus_e's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 212
  • Karma: 4
  • Thank you received: 49
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
Attachments:
The following user(s) said Thank You: knro, Gonzothegreat, supernov

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

Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project

Building the induino MeteoStation with 3d printed housing 1 month 4 weeks ago #18762

  • Magnus_e
  • Magnus_e's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 212
  • Karma: 4
  • Thank you received: 49
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 :)
Attachments:
The following user(s) said Thank You: knro, rdw4176

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

Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project

Building the induino MeteoStation with 3d printed housing 1 month 4 weeks ago #18769

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

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?

Building the induino MeteoStation with 3d printed housing 1 month 3 weeks ago #18787

That's a very nice box. I will pm you later on in the next few days about it.

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

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / Atik titan / Atik 314L+

Building the induino MeteoStation with 3d printed housing 1 month 3 weeks ago #18789

  • Magnus_e
  • Magnus_e's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 212
  • Karma: 4
  • Thank you received: 49
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:

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

Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project

Building the induino MeteoStation with 3d printed housing 1 month 3 weeks ago #18812

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
Attachments:

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

Building the induino MeteoStation with 3d printed housing 1 month 3 weeks ago #18863

  • Magnus_e
  • Magnus_e's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 212
  • Karma: 4
  • Thank you received: 49
@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
The following user(s) said Thank You: rdw4176

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

Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project

Building the induino MeteoStation with 3d printed housing 1 month 3 weeks ago #18895

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

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

Building the induino MeteoStation with 3d printed housing 1 month 1 week ago #19322

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).

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

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / Atik titan / Atik 314L+

Building the induino MeteoStation with 3d printed housing 1 month 1 week ago #19407

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 :(

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

Kstars Mac osx
Odroid C1 running indiserver (kept up-to-date with apt-get update/upgrade)
HEQ5 pro / Atik titan / Atik 314L+

Building the induino MeteoStation with 3d printed housing 1 month 1 week ago #19411

  • Magnus_e
  • Magnus_e's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 212
  • Karma: 4
  • Thank you received: 49
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

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

Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
Last Edit: by Magnus_e.
Time to create page: 0.250 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica