mlewandowski0 / fluorescence_spectrometer

Fluorescence spectrometer built for the ROV project ( we want to measure the spectroscopy response from the chlorophyl b, wavelength 470 nm ). I used AS7341 for measuring response ( 680 nm ).
2 stars 0 forks source link

Recursive issue #1

Open goran-mahovlic opened 3 years ago

goran-mahovlic commented 3 years ago

Hi, I am adding this sensor to lora generic node, and have notticed this

https://github.com/Ache17/fluorescence_spectrometer/blob/2089409c700b6a3a50c98ad53aaa42decc147079/src/main.c#L252

It might be wrong as I doubt you wanted to go recursive here.

Did you get good readings from your sensor? I do get something, but think some values are wrong for some reason.

mlewandowski0 commented 3 years ago

Yeah you are right about that, code I have pushed was just for other teammates to look into it ( we did correct it in the lab ). I will push the correct code soon if you want ( never thought it will give any interest to anyone really ). The project is work in progress, we experiment quite a lot so the repository remained dead a bit ( too much weird, sometimes not related code, we will have a release soon though ).

We did get a reasonable measurements ( we have had though some weird problems with the sensor, might just be a particular board) though the code is not released yet, sorry.

goran-mahovlic commented 3 years ago

Oh, do not be sorry, as your code helped me a lot, I did not need to port everything by myself So then you for putting it on even if it is experimental.

https://github.com/goran-mahovlic/generic-node-se/blob/develop/Software/lib/AS7341/AS7341.c

Those are my current readings, I get strange - I would say inverted readings on ADC 2 and 3

read