spasutto / SimpleBTVario

Simple Bluetooth Vario (Arduino + MS5611 barometric pressure sensor) with LK8000/LXNAV bluetooth sentences
GNU General Public License v3.0
8 stars 0 forks source link

There is no sinking sounds #1

Open m00nsp3ll opened 3 years ago

m00nsp3ll commented 3 years ago

Hello, Could you please tell how to enable sinking sounds

even if i change" float vario_sink_rate_start = -1.1; there is no sinking sounds.

It seems you updated ino file without sinking sounds, i dont understand why.

Is it possible to share ino file with sinking sound enabled.

Thanks

ishai921 commented 4 months ago

I got also this problem

spasutto commented 4 months ago

Hello @m00nsp3ll & @ishai921 Sorry for the lag I didn't see this issue and I didn't use this vario in the last 5 years I've made a fix to restore the sinking sound but I can't test it myself. @ishai921 can you do this so I can close the issue?

Sylvain

ishai921 commented 4 months ago

Hello @m00nsp3ll & @ishai921 Sorry for the lag I didn't see this issue and I didn't use this vario in the last 5 years I've made a fix to restore the sinking sound but I can't test it myself. @ishai921 can you do this so I can close the issue?

Sylvain

Yes im checking it in this weekend , can i connect The battery 18650 directly witout voltuge reg board ? also i still see that you put The Sink in gray did you change only the if to include if Vario < sink rate in the same loop for climbing? If so sink and climbing will get the same sound variation?

spasutto commented 4 months ago

If you're using a pro mini there is a 3.3V regulator ; you just need to use the raw input. But don't let the battery voltage drop below 3.4V as the regulator isn't designed to operate at this voltage.

also i still see that you put The Sink in gray did you change only the if to include if Vario < sink rate in the same loop for climbing? If so sink and climbing will get the same sound variation?

Yes it is. As I can't test now I set the code as it was at the begining :

If you want to test the commented out section don't forget to also remove the || vario < settings.vario_sink_rate_start section at line 425

Finally, don't forget to set settings.vario_sink_rate_start to a valid value (like -1.1)

ishai921 commented 4 months ago

If I want to make new code and remove bt function and communication and leave stuff only for biping Vario which sections I need to delete and which library’s ?

On Sat, 22 Jun 2024 at 22:19, Sylvain Pasutto @.***> wrote:

If you're using a pro mini there is a 3.3V regulator ; you just need to use the raw input. But don't let the battery voltage drop below 3.4V as the regulator isn't designed to operate at this voltage.

also i still see that you put The Sink in gray did you change only the if to include if Vario < sink rate in the same loop for climbing? If so sink and climbing will get the same sound variation?

Yes it is. As I can't test now I set the code as it was at the begining :

  • the faster you go up the higher the vario will beep
  • the faster you go down the lower the vario will beep

If you want to test the commented out section don't forget to also remove the || vario < settings.vario_sink_rate_start section at line 425

Finally, don't forget to put the settings.vario_sink_rate_start to a valid value (like -1.1)

— Reply to this email directly, view it on GitHub https://github.com/spasutto/SimpleBTVario/issues/1#issuecomment-2184177546, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBCAMAL64DMUX4WJMYSJGQ3ZIXL3LAVCNFSM6AAAAABJTCJEQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBUGE3TONJUGY . You are receiving this because you were mentioned.Message ID: @.***>

spasutto commented 4 months ago

There isn't any code specific to BT. All the BT logic is inside the HC05, the communication between arduino and HC05 is serial. So, if you remove th BT module and use a serial USB capable arduino (and plug it directly in your smartphone) it will work the same way with XCTrack

spasutto commented 4 months ago

Here is a version with all the com code removed (not tested) : https://app.arduino.cc/sketches/88130e16-eff6-4b24-8a17-cd5ab9ff67b8?view-mode=preview

ishai921 commented 4 months ago

Thank you very much

On Sun, 23 Jun 2024 at 09:33, Sylvain Pasutto @.***> wrote:

Here is (I think) a correct version with all the com code removed :

https://app.arduino.cc/sketches/88130e16-eff6-4b24-8a17-cd5ab9ff67b8?view-mode=preview

— Reply to this email directly, view it on GitHub https://github.com/spasutto/SimpleBTVario/issues/1#issuecomment-2184816908, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBCAMAIVM5CBY2HZPQW3WXLZIZ223AVCNFSM6AAAAABJTCJEQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBUHAYTMOJQHA . You are receiving this because you were mentioned.Message ID: @.***>

aryanlovestech commented 4 months ago

Hey when you tested this variometer did you face any lag in vertical speed data in xctrack via Bluetooth?

ishai921 commented 4 months ago

I am still in configuration, I will fly probably next week . I don’t use the communication setup ,except uart sentences to change parameters via serial port for quick test. its response with few ms lag also by cable communication ,so I guess it’s not good as Bluetooth . I have iPhone 14 Pro Max and I think the integrated vario is same as Flytec but I’m not sure bc I don’t have tecspec

On Sun, 23 Jun 2024 at 19:57, aryanlovestech @.***> wrote:

Hey when you tested this variometer did you face any lag in vertical speed data in xctrack via Bluetooth?

— Reply to this email directly, view it on GitHub https://github.com/spasutto/SimpleBTVario/issues/1#issuecomment-2185254050, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBCAMAJC6TFQXC35EEWKJJDZI4ECJAVCNFSM6AAAAABJTCJEQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVGI2TIMBVGA . You are receiving this because you were mentioned.Message ID: @.***>

aryanlovestech commented 4 months ago

There isn't any code specific to BT. All the BT logic is inside the HC05, the communication between arduino and HC05 is serial. So, if you remove th BT module and use a serial USB capable arduino (and plug it directly in your smartphone) it will work the same way with XCTrack

Hey when you used this vario. Did you like its precision? and what's your current vario now and why did you move from this. I'm trying to make a different version of gnu vario so just asking if I could make something better of your problems you face in such varios.

ishai921 commented 4 months ago

I had Flytec that was amazing, I sold it because I had deal for wing . I’m still struggling with sound amp if I use 1x 18650 and connect to vcc without voltage step up it’s very quiet in 3.3v also it’s have a problem with sink sound, near thermal sound , and ascending sound I will prefer something like Lebip bip or skybean that for each rate they have different amounts of repetition of bip for example 1ms • 2ms •• 3ms ••• 4 ms •••• in repetition. In this vario it’s just get excited when I go up but without option to understand the magnitude of thermal . It’s very sensitive but not so much interpreted good in sound variation and intensity

On Sun, 23 Jun 2024 at 20:16, aryanlovestech @.***> wrote:

There isn't any code specific to BT. All the BT logic is inside the HC05, the communication between arduino and HC05 is serial. So, if you remove th BT module and use a serial USB capable arduino (and plug it directly in your smartphone) it will work the same way with XCTrack

Hey when you used this vario. Did you like its precision? and what's your current vario now and why did you move from this. I'm trying to make a different version of gnu vario so just asking if I could make something better of your problems you face in such varios.

— Reply to this email directly, view it on GitHub https://github.com/spasutto/SimpleBTVario/issues/1#issuecomment-2185259589, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBCAMAOL567VMLDRQRXP5UTZI4GHJAVCNFSM6AAAAABJTCJEQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVGI2TSNJYHE . You are receiving this because you were mentioned.Message ID: @.***>

aryanlovestech commented 4 months ago

I had Flytec that was amazing, I sold it because I had deal for wing . I’m still struggling with sound amp if I use 1x 18650 and connect to vcc without voltage step up it’s very quiet in 3.3v also it’s have a problem with sink sound, near thermal sound , and ascending sound I will prefer something like Lebip bip or skybean that for each rate they have different amounts of repetition of bip for example 1ms • 2ms •• 3ms ••• 4 ms •••• in repetition. In this vario it’s just get excited when I go up but without option to understand the magnitude of thermal . It’s very sensitive but not so much interpreted good in sound variation and intensity

On Sun, 23 Jun 2024 at 20:16, aryanlovestech @.***> wrote:

There isn't any code specific to BT. All the BT logic is inside the HC05, the communication between arduino and HC05 is serial. So, if you remove th BT module and use a serial USB capable arduino (and plug it directly in your smartphone) it will work the same way with XCTrack

Hey when you used this vario. Did you like its precision? and what's your current vario now and why did you move from this. I'm trying to make a different version of gnu vario so just asking if I could make something better of your problems you face in such varios.

— Reply to this email directly, view it on GitHub https://github.com/spasutto/SimpleBTVario/issues/1#issuecomment-2185259589, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBCAMAOL567VMLDRQRXP5UTZI4GHJAVCNFSM6AAAAABJTCJEQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVGI2TSNJYHE . You are receiving this because you were mentioned.Message ID: @.***>

Hey I've might have understood your needs you can contact me on thakuraryan9342@gmail.com I'll give you different Arduino projects on your needs

spasutto commented 4 months ago

The GNU Vario is indeed a lot more responsive vario ! It's a very good vario, used it for monthes before buying a xctracer : GNU Vario

I switched to GNU then XCTracer for this reason (I left the gnu because I don't needed a screen anymore and it was too big)