Welcome, Guest
Username: Password: Remember me
08 Apr 2018
INDI development team is happy to announce the release of INDI Library v1.7.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 8 months 1 week ago #19518

  • Magnus_e
  • Magnus_e's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 254
  • Karma: 4
  • Thank you received: 61

Gonzothegreat wrote: fixed the
"Could not find a valid BMP085 sensor, check wiring!"
Forgot to use the updated BMP085.h file

Setup...
T:19.60 IR:19.29 P:101171.00 HR:46.70 DEW:7.90 Tir:19.37 Tp:20.10
T:19.40 IR:19.39 P:101164.00 HR:46.40 DEW:7.63 Tir:19.35 Tp:20.10
T:19.40 IR:19.41 P:101163.00 HR:46.40 DEW:7.63 Tir:19.35 Tp:20.10
T:19.40 IR:19.33 P:101157.00 HR:46.40 DEW:7.63 Tir:19.37 Tp:20.10
T:19.40 IR:19.35 P:101160.00 HR:46.40 DEW:7.63 Tir:19.37 Tp:20.10
T:19.40 IR:19.33 P:101167.00 HR:46.40 DEW:7.63 Tir:19.37 Tp:20.10
T:19.40 IR:19.35 P:101165.00 HR:46.40 DEW:7.63 Tir:19.35 Tp:20.10


By the looks of that output, you are on the old version with no updates.
Your output should be like this.



I'm working on the howto, and will atleast upload a work in progress on my github sometime today.
Attachments:

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.

Building the induino MeteoStation with 3d printed housing 8 months 1 week ago #19519

yeah, I just realised... doh... fixed now
LOOP BEGIN	
IR read, start	
IR read, done	
DHT read, start	
Read OK
DHT read, done	
BMP read, start	
BMP read, done	
IR Radiance read. No checks, use flashlight and check output value	
RESULT	
IR:9.67, P:101156.00, HR:43.60, DEW:7.08, IR Radiance:111.00, Temp HR:19.80, Temp IR:21.09, Temp P:21.10


LOOP BEGIN	
IR read, start	
IR read, done	
DHT read, start	
Read OK
DHT read, done	
BMP read, start	
BMP read, done	
IR Radiance read. No checks, use flashlight and check output value	
RESULT	
IR:9.61, P:101148.00, HR:43.60, DEW:7.08, IR Radiance:111.00, Temp HR:19.80, Temp IR:21.13, Temp P:21.10

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 8 months 1 week ago #19520

What's with the message "IR Radiance read. No checks, use flashlight and check output value". ?
I can see the value and it changes.

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+
Last Edit: by Gonzothegreat.

Building the induino MeteoStation with 3d printed housing 8 months 1 week ago #19522

  • Magnus_e
  • Magnus_e's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 254
  • Karma: 4
  • Thank you received: 61
The [sensor] read, start and [sensor] read, stop will show you if the execution of the code crashes when trying to read the sensor.
(You will only see read, start and not read, stop)
There is no code for reading the irradiance (only checks analog pin value), so only way to see if it works is by shining some light on it.

It's only for debugging. If the last line you see is IR read, start with no stop you must figure out why the IR sensor fails.

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 8 months 1 week ago #19525

Magnus_e wrote: The [sensor] read, start and [sensor] read, stop will show you if the execution of the code crashes when trying to read the sensor.
(You will only see read, start and not read, stop)
There is no code for reading the irradiance (only checks analog pin value), so only way to see if it works is by shining some light on it.

It's only for debugging. If the last line you see is IR read, start with no stop you must figure out why the IR sensor fails.


ok, so the "IR Radiance:111.00" is the raw data. This value goes from 0 when the solar panel is fully covered to whatever when it's exposed to the natural light.

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 8 months 1 week ago #19529

Testing it on my Ubuntu laptop.
Only HR is showing


Attachments:

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 8 months 1 week ago #19530

I guess I also have to modify the meteostation_sk.xml file. right?

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 8 months 1 week ago #19531

looking at the console on my Ubuntu laptop I see a lot of the following message:

Driver indi_duino: Arduino::sendUchar():write():: Resource temproarly unavailable
Driver indi_duino: during write 0x01 ()

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 8 months 1 week ago #19532

  • Magnus_e
  • Magnus_e's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 254
  • Karma: 4
  • Thank you received: 61

Gonzothegreat wrote: ok, so the "IR Radiance:111.00" is the raw data. This value goes from 0 when the solar panel is fully covered to whatever when it's exposed to the natural light.

Yes

Gonzothegreat wrote: I guess I also have to modify the meteostation_sk.xml file. right?

No

Not sure why its not up. Did you swap branch so your are on the updated induinoMETEO after you where working with meteoTEST?

It's not done, but i have a work in progress version of the HowTo / tutorial.

github.com/magnue/induino_meteostation_h...onfigure-print-build

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 8 months 1 week ago #19533

I have swapped to the correct branch


Stephanes-MacBook-Air:magnueINDI stephanelucas$ git checkout induino-meteo-updates
Switched to branch 'induino-meteo-updates'
Your branch is up-to-date with 'origin/induino-meteo-updates'.
Stephanes-MacBook-Air:magnueINDI stephanelucas$

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 8 months 1 week ago #19536

a little bit more verbosity on the error:
2017-09-17T11:58:20: Driver indi_duino: FAIL.HR  pin 8 set as DIGITAL INPUT
2017-09-17T11:58:20: Driver indi_duino: Arduino::sendUchar():write():: Resource temporarily unavailable
2017-09-17T11:58:20: Driver indi_duino: during write 0xf4 (?)
2017-09-17T11:58:20: Driver indi_duino: Arduino::sendUchar():write():: Resource temporarily unavailable
2017-09-17T11:58:20: Driver indi_duino: during write 0x08 )
2017-09-17T11:58:20: Driver indi_duino: Arduino::sendUchar():write():: Resource temporarily unavailable
2017-09-17T11:58:20: Driver indi_duino: during write 0x00 (
2017-09-17T11:58:20: Driver indi_duino: Arduino::sendUchar():write():: Resource temporarily unavailable
2017-09-17T11:58:20: Driver indi_duino: during write 0xf0 (?)
2017-09-17T11:58:20: Driver indi_duino: Arduino::sendUchar():write():: Resource temporarily unavailable
2017-09-17T11:58:20: Driver indi_duino: during write 0x6d (m)
2017-09-17T11:58:20: Driver indi_duino: Arduino::sendUchar():write():: Resource temporarily unavailable
2017-09-17T11:58:20: Driver indi_duino: during write 0x08 )
2017-09-17T11:58:20: Driver indi_duino: Arduino::sendUchar():write():: Resource temporarily unavailable
2017-09-17T11:58:20: Driver indi_duino: during write 0xf7 (?)
2017-09-17T11:58:20: Driver indi_duino: numiopin:20

same apply to many pins ^

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 8 months 1 week ago #19537

  • Magnus_e
  • Magnus_e's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 254
  • Karma: 4
  • Thank you received: 61
I found this issue on a 3rdparty indi_duino driver with the same error as you have.
Looks like the issue was solved by changing the hardware used to connect to the arduino.

There are some debugging first, and then a message that it was solved with a OTG Usb cable.

github.com/dokeeffe/indi-aldiroof/issues/4

Not sure how you are connecting, and if this applies?

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