×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Building the induino MeteoStation with 3d printed housing

  • Posts: 2247
  • Thank you received: 223
The doc for the DHT22 mentions that the reads should be every 2 seconds at a minimum, and from looking online I also see this:
"The DHT22 only allows readings once every two seconds to prevent self-heating in the chip, since that would skew the humidity readings."

Where in the code, do we have the timeout set to read the DHT please, cannot find it?
6 years 4 months ago #21111

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

  • Posts: 271
  • Thank you received: 72
Not sure what sketch you are using, but it will have a event loop.

If you look for where the text is printed, it might have a sleep(2) or 2000 just as the last function.
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 4 months ago #21114

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

  • Posts: 2247
  • Thank you received: 223

Thanks, I'm using the latest one available in github.
6 years 4 months ago #21115

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

  • Posts: 2247
  • Thank you received: 223
Been reading quite a few posts online, found this interesting one: www.stevejenkins.com/blog/2014/06/how-to...using-the-salt-test/

my test is almost done I would say, been seating at almost 74% humidity for a while now
6 years 4 months ago #21117

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

  • Posts: 271
  • Thank you received: 72
I like the test in the link you posted :)
Also suggest that your sensor is working.
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 4 months ago #21118

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

  • Posts: 2247
  • Thank you received: 223

Yes it does work, maybe the previous sensor I broke was faulty and I was comparing it to that one.
6 years 4 months ago #21121

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

  • Posts: 2247
  • Thank you received: 223
A tip for everyone thinking of using a DHT22 sensor:
do NOT get it wet, if you do then you will kill the sensor and no matter what you try to do to fix it, you'll end up buying another one...

This is now my 4th one....
The following user(s) said Thank You: Eric
6 years 3 months ago #21534

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

  • Posts: 62
  • Thank you received: 12
Hi gentlemen,
I have a little configuration problem.

I did the test, OK.

I entered the console:
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

and it gives this error:
indiserver: no process found
[1] 11266
2017-12-13T11:49:16: startup: indiserver -f /tmp/INDIFIFO
tkalisch@rpi-test:~$ 2017-12-13T11:49:16: Driver indi_duino: Indiduino driver start...
2017-12-13T11:49:16: Driver indi_duino: Building from /usr/local/share/indi/meteostation_sk.xml skeleton
2017-12-13T11:49:16: Driver indi_duino: Using INDISKEL /usr/local/share/indi/meteostation_sk.xml
2017-12-13T11:49:16: Driver indi_duino: Unable to build skeleton. Error loading file /usr/local/share/indi/meteostation_sk.xml: No such file or directory

Connection from Kstars will fail.

When I killed the indiserver and started using the INDI WEB MANAGER, it was possible to join the Kstars. Sensor reads values but disconnects.

Please some help.

Thank you

Kalda
6 years 3 months ago #21607

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

  • Posts: 271
  • Thank you received: 72
Most likely the indi config dir is /usr/share/indi/ on your system, not /usr/local....

Try
killall indiserver; rm /tmp/INDIFIFO; mkfifo /tmp/INDIFIFO; indiserver -f /tmp/INDIFIFO & echo start indi_duino -n \"MeteoStation\" -s \"/usr/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: Tomas Kalisch
Last edit: 6 years 3 months ago by Magnus.
6 years 3 months ago #21608

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

  • Posts: 271
  • Thank you received: 72

Thats anoying!

Are you sure they are dead 'forever'?
I ask because mine have gotten wet three times, and eventually it comes back to life.
I will add some caps to to the sensor ducts on the printable version when I get time, so the sensors are protected better.

Now everything is frosty here, so no worries! I was imaging, and learning to use the mosaic job creator last night in -14C :)
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 3 months ago #21609

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

  • Posts: 62
  • Thank you received: 12
It works! Thank you!

The wrong path is in meteoconfig.py. I also had to edit.

The wrong path is in the tutorial, see: indilib.org/support/tutorials/177-howto-...tml?showall=&start=1
The following user(s) said Thank You: Magnus
6 years 3 months ago #21610
Attachments:

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

  • Posts: 2247
  • Thank you received: 223
Magnus, you can sort of "revive" them by drying them up (hairdryer) , but.... they become very sensitive and freak out very quickly.
I think I know what happened this time, I'll make sure my box is sealed correctly this time.
6 years 3 months ago #21612

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

Time to create page: 0.473 seconds