×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Building the induino MeteoStation with 3d printed housing

  • Posts: 2255
  • Thank you received: 223
ok... I think i should put the laptop down and watch some TV instead :(
$ git clone https://github.com/magnue/indi.git magnueINDI
Cloning into 'magnueINDI'...
remote: Counting objects: 34266, done.
remote: Total 34266 (delta 0), reused 0 (delta 0), pack-reused 34266
Receiving objects: 100% (34266/34266), 128.36 MiB | 2.69 MiB/s, done.
Resolving deltas: 100% (26058/26058), done.
Checking out files: 100% (1951/1951), done.
$ cd magnueINDI/
 
$ git checkout induino-meteotest-updates
Branch induino-meteotest-updates set up to track remote branch induino-meteotest-updates from origin.
Switched to a new branch 'induino-meteotest-updates'
 
$ git checkout induino-meteo-updates
Branch induino-meteo-updates set up to track remote branch induino-meteo-updates from origin.
Switched to a new branch 'induino-meteo-updates'
 
$ git checkout induino-meteoweb-updates
Branch induino-meteoweb-updates set up to track remote branch induino-meteoweb-updates from origin.
Switched to a new branch 'induino-meteoweb-updates'

I've done all of that, can't see the updates applied. Today I'm really brain dead :(
6 years 7 months ago #19412

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

  • Posts: 271
  • Thank you received: 72
Well.. you should have the changes for meteo web.

The way branches work is that you only get the changes of the branch you have checked out an all it's parrents.
master | - induino-meteo-updates
       | - induino-meteotest-updates
       | - induino-meteoweb-updates
As they are all based on master, and not on eachother then the changes in meteo updates will be gone when you checkout meteotest or meteoweb updates.

So do
git checkout induino-meteotest-updates
then check the meteoTEST firmware for changes, and so on,
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: Gonzothegreat
Last edit: 6 years 7 months ago by Magnus.
6 years 7 months ago #19415

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

  • Posts: 2255
  • Thank you received: 223
6 years 7 months ago #19416

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

  • Posts: 2255
  • Thank you received: 223
Hopefully all of your changes will be soon merged in the main branch.
Nice work on the updates, I have not tested it yet as I need to finish building the meteostation, but the updates were overdue I believe.
6 years 7 months ago #19418

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

  • Posts: 2255
  • Thank you received: 223
Is the following something I should be concerned?
/Users/stephanelucas/Desktop/indiduinoMETEO/indiduinoMETEO.ino:160:0: warning: "TOTAL_ANALOG_PINS" redefined
 #define TOTAL_ANALOG_PINS       11
 ^
In file included from /Users/stephanelucas/Documents/Arduino/libraries/Firmata/Firmata.h:17:0,
                 from /Users/stephanelucas/Desktop/indiduinoMETEO/indiduinoMETEO.ino:137:
/Users/stephanelucas/Documents/Arduino/libraries/Firmata/Boards.h:476:0: note: this is the location of the previous definition
 #define TOTAL_ANALOG_PINS       12
 ^
/Users/stephanelucas/Desktop/indiduinoMETEO/indiduinoMETEO.ino:161:0: warning: "TOTAL_PINS" redefined
 #define TOTAL_PINS              25
 ^
In file included from /Users/stephanelucas/Documents/Arduino/libraries/Firmata/Firmata.h:17:0,
                 from /Users/stephanelucas/Desktop/indiduinoMETEO/indiduinoMETEO.ino:137:
/Users/stephanelucas/Documents/Arduino/libraries/Firmata/Boards.h:477:0: note: this is the location of the previous definition
 #define TOTAL_PINS              30 // 14 digital + 12 analog + 4 SPI (D14-D17 on ISP header)
 ^
Sketch uses 21350 bytes (74%) of program storage space. Maximum is 28672 bytes.
Global variables use 1298 bytes (50%) of dynamic memory, leaving 1262 bytes for local variables. Maximum is 2560 bytes.
Last edit: 6 years 7 months ago by Gonzothegreat.
6 years 7 months ago #19419

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

  • Posts: 271
  • Thank you received: 72
Did you include the Firmata library manually?
I know the Wiki says something about it, but there is a Custom Firmata copied into the induinoMETEO.ino file, so no need to include.
Just open induinoMETEO.ino and compile.

The firmwares, web config or anything else Meteostation was not updated for the last five years, so could not hurt :)
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 7 months ago #19421

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

  • Posts: 2255
  • Thank you received: 223
I have removed Arduino and re-installed it.

In the induinoMETEO.ino file at line 137 you have :
#include <Firmata.h>
The error I get when I check is:
In file included from /Applications/Arduino.app/Contents/Java/libraries/Firmata/Firmata.h:17:0,
                 from /Users/stephanelucas/Desktop/indiduinoMETEO/indiduinoMETEO.ino:137:

Does that mean from what you said, that I need to no include firmata.h ?
So as in remove line 137 from the ino file?
6 years 7 months ago #19424

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

  • Posts: 2255
  • Thank you received: 223
ok, so it turned out that they were just "warning", I was able to compile and upload to the board.
I will be testing it once everything is all connected.
6 years 7 months ago #19425

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

  • Posts: 2255
  • Thank you received: 223
I have now everything connected and loaded up the METEOtest, but serial console output is empty. :(
6 years 7 months ago #19508

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

  • Posts: 2255
  • Thank you received: 223
strange, so I used an I2C scanner code and I do get an output.
playground.arduino.cc/Main/I2cScanner
Scanning...
I2C device found at address 0x5A  !
I2C device found at address 0x77  !
done
6 years 7 months ago #19510

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

  • Posts: 2255
  • Thank you received: 223
FIXED !!!

I had to amend the code
in bold is what I had to add to METEOtest
I'm getting this message now:

Setup...
Could not find a valid BMP085 sensor, check wiring!
Last edit: 6 years 7 months ago by Gonzothegreat.
6 years 7 months ago #19512

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

  • Posts: 2255
  • Thank you received: 223
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
6 years 7 months ago #19515

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

Time to create page: 0.346 seconds