martinbogo / pt-battery-diagnostics

Arduino sketch, library, BOM, and Gerber files for i2/x2 Segway battery diagnostics
MIT License
22 stars 12 forks source link

LCD on Arduino To read values #3

Closed krex4 closed 4 years ago

krex4 commented 5 years ago

Is it possible to read vealues of measurements on a LCD ?

felixfetche commented 5 years ago

https://youtu.be/YHkUdpllZM8

Trimis de pe iPhone‑ul meu

Pe 19 feb. 2019, la 12:00, krex4 notifications@github.com<mailto:notifications@github.com> a scris:

Is it possible to read vealues of measurements on a LCD ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArW6B2L3e6liLkttY2Wx5zk3Msfo-ih4ks5vO8s_gaJpZM4bCl5_.

krex4 commented 5 years ago

Great, 500 Euros is cheap , maybe i will buy 10 😁

Enviado do meu iPhone

Em 19 de fev de 2019, à(s) 08:37, felixfetche notifications@github.com<mailto:notifications@github.com> escreveu:

https://youtu.be/YHkUdpllZM8

Trimis de pe iPhone‑ul meu

Pe 19 feb. 2019, la 12:00, krex4 notifications@github.com<mailto:notifications@github.commailto:notifications@github.com> a scris:

Is it possible to read vealues of measurements on a LCD ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArW6B2L3e6liLkttY2Wx5zk3Msfo-ih4ks5vO8s_gaJpZM4bCl5_.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465096298, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANM2AVPCVtItATiMg50V4FLJfCUMKoVhks5vO-H8gaJpZM4bCl5_.

felixfetche commented 5 years ago

Learn to be profesional, don’t act childlish. Keep your jokes with your coleagues at school.

Is not 500€, is more cheap, the DIY kit.

Obțineți Outlook pentru iOShttps://aka.ms/o0ukef


De la: krex4 notifications@github.com Trimis: marți, februarie 19, 2019 6:59 p.m. Către: martinbogo/i2-battery-diagnostics Cc: felixfetche; Comment Subiect: Re: [martinbogo/i2-battery-diagnostics] LCD on Arduino To read values (#3)

Great, 500 Euros is cheap , maybe i will buy 10 😁

Enviado do meu iPhone

Em 19 de fev de 2019, à(s) 08:37, felixfetche notifications@github.com<mailto:notifications@github.com> escreveu:

https://youtu.be/YHkUdpllZM8

Trimis de pe iPhone‑ul meu

Pe 19 feb. 2019, la 12:00, krex4 notifications@github.com<mailto:notifications@github.commailto:notifications@github.com> a scris:

Is it possible to read vealues of measurements on a LCD ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArW6B2L3e6liLkttY2Wx5zk3Msfo-ih4ks5vO8s_gaJpZM4bCl5_.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465096298, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANM2AVPCVtItATiMg50V4FLJfCUMKoVhks5vO-H8gaJpZM4bCl5_.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465219119, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArW6B_w5-TNsgabaJkWOjo6WIw3DHVbKks5vPC1XgaJpZM4bCl5_.

martinbogo commented 5 years ago

Fairly trivial ... sure. I'll can pretty easily add support to use an i2c display, something inexpensive.

These are $5-10US and available world-wide.

https://www.amazon.com/gp/product/B07D7ZQVDR/

On Tue, Feb 19, 2019 at 4:00 AM krex4 notifications@github.com wrote:

Is it possible to read vealues of measurements on a LCD ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/martinbogo/i2-battery-diagnostics/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPVKY-n0zbMq_qKK1pgT1C5L4Oz2CV9ks5vO8s_gaJpZM4bCl5_ .

martinbogo commented 5 years ago

Speaking of being professional,

Felix, please stop advertising your product, unless you are going to voluntarily add code to this project.

Sincerely, Martin

On Tue, Feb 19, 2019 at 5:37 AM felixfetche notifications@github.com wrote:

https://youtu.be/YHkUdpllZM8

Trimis de pe iPhone‑ul meu

Pe 19 feb. 2019, la 12:00, krex4 <notifications@github.com<mailto: notifications@github.com>> a scris:

Is it possible to read vealues of measurements on a LCD ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub< https://github.com/martinbogo/i2-battery-diagnostics/issues/3>, or mute the thread< https://github.com/notifications/unsubscribe-auth/ArW6B2L3e6liLkttY2Wx5zk3Msfo-ih4ks5vO8s_gaJpZM4bCl5_>.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465096298, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPVKbqeVT-U7umnOKNMf27dMoaVjNaZks5vO-H8gaJpZM4bCl5_ .

felixfetche commented 5 years ago

I’m not advertising, i just respond to you, otherwise contact me privately please.

Obțineți Outlook pentru iOShttps://aka.ms/o0ukef


De la: Martin Bogomolni notifications@github.com Trimis: marți, februarie 19, 2019 9:15 p.m. Către: martinbogo/i2-battery-diagnostics Cc: felixfetche; Comment Subiect: Re: [martinbogo/i2-battery-diagnostics] LCD on Arduino To read values (#3)

Speaking of being professional,

Felix, please stop advertising your product, unless you are going to voluntarily add code to this project.

Sincerely, Martin

On Tue, Feb 19, 2019 at 5:37 AM felixfetche notifications@github.com wrote:

https://youtu.be/YHkUdpllZM8

Trimis de pe iPhone‑ul meu

Pe 19 feb. 2019, la 12:00, krex4 <notifications@github.com<mailto: notifications@github.com>> a scris:

Is it possible to read vealues of measurements on a LCD ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub< https://github.com/martinbogo/i2-battery-diagnostics/issues/3>, or mute the thread< https://github.com/notifications/unsubscribe-auth/ArW6B2L3e6liLkttY2Wx5zk3Msfo-ih4ks5vO8s_gaJpZM4bCl5_>.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465096298, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPVKbqeVT-U7umnOKNMf27dMoaVjNaZks5vO-H8gaJpZM4bCl5_ .

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465271037, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArW6B2XzHshwKjirmBDcbJ6zTZh3diGkks5vPE0zgaJpZM4bCl5_.

krex4 commented 5 years ago

Ah ok 😁 Sorry about my joke, please forgive-me! I have the Arduino Uno, LCD ( oled ) , and board connector. I need the code and connections schematics. How much you ask for them ?

Regards,

Enviado do meu iPhone

Em 19 de fev de 2019, à(s) 14:16, felixfetche notifications@github.com<mailto:notifications@github.com> escreveu:

Learn to be profesional, don’t act childlish. Keep your jokes with your coleagues at school.

Is not 500€, is more cheap, the DIY kit.

Obțineți Outlook pentru iOShttps://aka.ms/o0ukef


De la: krex4 notifications@github.com<mailto:notifications@github.com> Trimis: marți, februarie 19, 2019 6:59 p.m. Către: martinbogo/i2-battery-diagnostics Cc: felixfetche; Comment Subiect: Re: [martinbogo/i2-battery-diagnostics] LCD on Arduino To read values (#3)

Great, 500 Euros is cheap , maybe i will buy 10 😁

Enviado do meu iPhone

Em 19 de fev de 2019, à(s) 08:37, felixfetche notifications@github.com<mailto:notifications@github.commailto:notifications@github.com> escreveu:

https://youtu.be/YHkUdpllZM8

Trimis de pe iPhone‑ul meu

Pe 19 feb. 2019, la 12:00, krex4 notifications@github.com<mailto:notifications@github.commailto:notifications@github.commailto:notifications@github.com> a scris:

Is it possible to read vealues of measurements on a LCD ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArW6B2L3e6liLkttY2Wx5zk3Msfo-ih4ks5vO8s_gaJpZM4bCl5_.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465096298, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANM2AVPCVtItATiMg50V4FLJfCUMKoVhks5vO-H8gaJpZM4bCl5_.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465219119, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArW6B_w5-TNsgabaJkWOjo6WIw3DHVbKks5vPC1XgaJpZM4bCl5_.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465225735, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANM2ARklgB2o2gCDcWbNc_zwyBbTv-bCks5vPDFagaJpZM4bCl5_.

krex4 commented 5 years ago

Ok , thank you 👍😁

Enviado do meu iPhone

Em 19 de fev de 2019, à(s) 16:14, Martin Bogomolni notifications@github.com<mailto:notifications@github.com> escreveu:

Fairly trivial ... sure. I'll can pretty easily add support to use an i2c display, something inexpensive.

These are $5-10US and available world-wide.

https://www.amazon.com/gp/product/B07D7ZQVDR/

On Tue, Feb 19, 2019 at 4:00 AM krex4 notifications@github.com<mailto:notifications@github.com> wrote:

Is it possible to read vealues of measurements on a LCD ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/martinbogo/i2-battery-diagnostics/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPVKY-n0zbMq_qKK1pgT1C5L4Oz2CV9ks5vO8s_gaJpZM4bCl5_ .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465270698, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANM2AfmhTo4Rb0KJDA-9di2uWD-a-Sx0ks5vPEz7gaJpZM4bCl5_.

felixfetche commented 5 years ago

Is not important the display thing, ... Retriving correctly the datas from BCM and then filter and process them is the key of the job...

Obțineți Outlook pentru iOShttps://aka.ms/o0ukef


De la: krex4 notifications@github.com Trimis: marți, februarie 19, 2019 11:23 p.m. Către: martinbogo/i2-battery-diagnostics Cc: felixfetche; Comment Subiect: Re: [martinbogo/i2-battery-diagnostics] LCD on Arduino To read values (#3)

Ok , thank you 👍😁

Enviado do meu iPhone

Em 19 de fev de 2019, à(s) 16:14, Martin Bogomolni notifications@github.com<mailto:notifications@github.com> escreveu:

Fairly trivial ... sure. I'll can pretty easily add support to use an i2c display, something inexpensive.

These are $5-10US and available world-wide.

https://www.amazon.com/gp/product/B07D7ZQVDR/

On Tue, Feb 19, 2019 at 4:00 AM krex4 notifications@github.com<mailto:notifications@github.com> wrote:

Is it possible to read vealues of measurements on a LCD ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/martinbogo/i2-battery-diagnostics/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPVKY-n0zbMq_qKK1pgT1C5L4Oz2CV9ks5vO8s_gaJpZM4bCl5_ .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465270698, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANM2AfmhTo4Rb0KJDA-9di2uWD-a-Sx0ks5vPEz7gaJpZM4bCl5_.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465315637, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArW6B_Kzjd96LxOxCprk2gRQ8TCb1fGBks5vPGs-gaJpZM4bCl5_.

felixfetche commented 5 years ago

First byte, the CRC is almost most important, not easy, that’s why i do not let it for free

Obțineți Outlook pentru iOShttps://aka.ms/o0ukef


De la: felix Fetche felix_fetche@hotmail.com Trimis: marți, februarie 19, 2019 11:28 p.m. Către: martinbogo/i2-battery-diagnostics; martinbogo/i2-battery-diagnostics Cc: Comment Subiect: Re: [martinbogo/i2-battery-diagnostics] LCD on Arduino To read values (#3)

Is not important the display thing, ... Retriving correctly the datas from BCM and then filter and process them is the key of the job...

Obțineți Outlook pentru iOShttps://aka.ms/o0ukef


De la: krex4 notifications@github.com Trimis: marți, februarie 19, 2019 11:23 p.m. Către: martinbogo/i2-battery-diagnostics Cc: felixfetche; Comment Subiect: Re: [martinbogo/i2-battery-diagnostics] LCD on Arduino To read values (#3)

Ok , thank you 👍😁

Enviado do meu iPhone

Em 19 de fev de 2019, à(s) 16:14, Martin Bogomolni notifications@github.com<mailto:notifications@github.com> escreveu:

Fairly trivial ... sure. I'll can pretty easily add support to use an i2c display, something inexpensive.

These are $5-10US and available world-wide.

https://www.amazon.com/gp/product/B07D7ZQVDR/

On Tue, Feb 19, 2019 at 4:00 AM krex4 notifications@github.com<mailto:notifications@github.com> wrote:

Is it possible to read vealues of measurements on a LCD ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/martinbogo/i2-battery-diagnostics/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPVKY-n0zbMq_qKK1pgT1C5L4Oz2CV9ks5vO8s_gaJpZM4bCl5_ .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465270698, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANM2AfmhTo4Rb0KJDA-9di2uWD-a-Sx0ks5vPEz7gaJpZM4bCl5_.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465315637, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArW6B_Kzjd96LxOxCprk2gRQ8TCb1fGBks5vPGs-gaJpZM4bCl5_.

felixfetche commented 5 years ago

Only packs Certified by CRC are valid, Only SN# and failure registers are “wellcomed” without CRC

Obțineți Outlook pentru iOShttps://aka.ms/o0ukef


De la: felix Fetche felix_fetche@hotmail.com Trimis: marți, februarie 19, 2019 11:29 p.m. Către: martinbogo/i2-battery-diagnostics; martinbogo/i2-battery-diagnostics Cc: Comment Subiect: Re: [martinbogo/i2-battery-diagnostics] LCD on Arduino To read values (#3)

First byte, the CRC is almost most important, not easy, that’s why i do not let it for free

Obțineți Outlook pentru iOShttps://aka.ms/o0ukef


De la: felix Fetche felix_fetche@hotmail.com Trimis: marți, februarie 19, 2019 11:28 p.m. Către: martinbogo/i2-battery-diagnostics; martinbogo/i2-battery-diagnostics Cc: Comment Subiect: Re: [martinbogo/i2-battery-diagnostics] LCD on Arduino To read values (#3)

Is not important the display thing, ... Retriving correctly the datas from BCM and then filter and process them is the key of the job...

Obțineți Outlook pentru iOShttps://aka.ms/o0ukef


De la: krex4 notifications@github.com Trimis: marți, februarie 19, 2019 11:23 p.m. Către: martinbogo/i2-battery-diagnostics Cc: felixfetche; Comment Subiect: Re: [martinbogo/i2-battery-diagnostics] LCD on Arduino To read values (#3)

Ok , thank you 👍😁

Enviado do meu iPhone

Em 19 de fev de 2019, à(s) 16:14, Martin Bogomolni notifications@github.com<mailto:notifications@github.com> escreveu:

Fairly trivial ... sure. I'll can pretty easily add support to use an i2c display, something inexpensive.

These are $5-10US and available world-wide.

https://www.amazon.com/gp/product/B07D7ZQVDR/

On Tue, Feb 19, 2019 at 4:00 AM krex4 notifications@github.com<mailto:notifications@github.com> wrote:

Is it possible to read vealues of measurements on a LCD ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/martinbogo/i2-battery-diagnostics/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPVKY-n0zbMq_qKK1pgT1C5L4Oz2CV9ks5vO8s_gaJpZM4bCl5_ .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465270698, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANM2AfmhTo4Rb0KJDA-9di2uWD-a-Sx0ks5vPEz7gaJpZM4bCl5_.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465315637, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArW6B_Kzjd96LxOxCprk2gRQ8TCb1fGBks5vPGs-gaJpZM4bCl5_.

martinbogo commented 5 years ago

Felix,

Last warning, I mean it. If you're not going to contribute to the code base, please refrain from commenting. Bluntly "Be helpful, or go elsewhere."

If you want to keep your closed-source solution private, that's fine. You're more than allowed to do so. However, this is an open source project, and a collaborative one, meant to distribute the information freely per the MIT license.

Sincerely, Martin

On Tue, Feb 19, 2019 at 3:34 PM felixfetche notifications@github.com wrote:

Only packs Certified by CRC are valid, Only SN# and failure registers are “wellcomed” without CRC

Obțineți Outlook pentru iOShttps://aka.ms/o0ukef


De la: felix Fetche felix_fetche@hotmail.com Trimis: marți, februarie 19, 2019 11:29 p.m. Către: martinbogo/i2-battery-diagnostics; martinbogo/i2-battery-diagnostics Cc: Comment Subiect: Re: [martinbogo/i2-battery-diagnostics] LCD on Arduino To read values (#3)

First byte, the CRC is almost most important, not easy, that’s why i do not let it for free

Obțineți Outlook pentru iOShttps://aka.ms/o0ukef


De la: felix Fetche felix_fetche@hotmail.com Trimis: marți, februarie 19, 2019 11:28 p.m. Către: martinbogo/i2-battery-diagnostics; martinbogo/i2-battery-diagnostics Cc: Comment Subiect: Re: [martinbogo/i2-battery-diagnostics] LCD on Arduino To read values (#3)

Is not important the display thing, ... Retriving correctly the datas from BCM and then filter and process them is the key of the job...

Obțineți Outlook pentru iOShttps://aka.ms/o0ukef


De la: krex4 notifications@github.com Trimis: marți, februarie 19, 2019 11:23 p.m. Către: martinbogo/i2-battery-diagnostics Cc: felixfetche; Comment Subiect: Re: [martinbogo/i2-battery-diagnostics] LCD on Arduino To read values (#3)

Ok , thank you 👍😁

Enviado do meu iPhone

Em 19 de fev de 2019, à(s) 16:14, Martin Bogomolni < notifications@github.commailto:notifications@github.com> escreveu:

Fairly trivial ... sure. I'll can pretty easily add support to use an i2c display, something inexpensive.

These are $5-10US and available world-wide.

https://www.amazon.com/gp/product/B07D7ZQVDR/

On Tue, Feb 19, 2019 at 4:00 AM krex4 <notifications@github.com<mailto: notifications@github.com>> wrote:

Is it possible to read vealues of measurements on a LCD ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/martinbogo/i2-battery-diagnostics/issues/3, or mute the thread < https://github.com/notifications/unsubscribe-auth/AAPVKY-n0zbMq_qKK1pgT1C5L4Oz2CV9ks5vO8s_gaJpZM4bCl5_>

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465270698>, or mute the thread< https://github.com/notifications/unsubscribe-auth/ANM2AfmhTo4Rb0KJDA-9di2uWD-a-Sx0ks5vPEz7gaJpZM4bCl5_>.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub< https://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465315637>, or mute the thread< https://github.com/notifications/unsubscribe-auth/ArW6B_Kzjd96LxOxCprk2gRQ8TCb1fGBks5vPGs-gaJpZM4bCl5_>.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465319566, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPVKX5gHyI2I1vzMd3erKP3bziYZKsDks5vPG3JgaJpZM4bCl5_ .

felixfetche commented 5 years ago

Ok, Man, you go fuck yourself elsewhere, you fill my mail with boolshits, Unsubscribe me, sincerly not courious about your unprofesional job

Obțineți Outlook pentru iOShttps://aka.ms/o0ukef


De la: Martin Bogomolni notifications@github.com Trimis: miercuri, februarie 20, 2019 12:39 a.m. Către: martinbogo/i2-battery-diagnostics Cc: felixfetche; Comment Subiect: Re: [martinbogo/i2-battery-diagnostics] LCD on Arduino To read values (#3)

Felix,

Last warning, I mean it. If you're not going to contribute to the code base, please refrain from commenting. Bluntly "Be helpful, or go elsewhere."

If you want to keep your closed-source solution private, that's fine. You're more than allowed to do so. However, this is an open source project, and a collaborative one, meant to distribute the information freely per the MIT license.

Sincerely, Martin

On Tue, Feb 19, 2019 at 3:34 PM felixfetche notifications@github.com wrote:

Only packs Certified by CRC are valid, Only SN# and failure registers are “wellcomed” without CRC

Obțineți Outlook pentru iOShttps://aka.ms/o0ukef


De la: felix Fetche felix_fetche@hotmail.com Trimis: marți, februarie 19, 2019 11:29 p.m. Către: martinbogo/i2-battery-diagnostics; martinbogo/i2-battery-diagnostics Cc: Comment Subiect: Re: [martinbogo/i2-battery-diagnostics] LCD on Arduino To read values (#3)

First byte, the CRC is almost most important, not easy, that’s why i do not let it for free

Obțineți Outlook pentru iOShttps://aka.ms/o0ukef


De la: felix Fetche felix_fetche@hotmail.com Trimis: marți, februarie 19, 2019 11:28 p.m. Către: martinbogo/i2-battery-diagnostics; martinbogo/i2-battery-diagnostics Cc: Comment Subiect: Re: [martinbogo/i2-battery-diagnostics] LCD on Arduino To read values (#3)

Is not important the display thing, ... Retriving correctly the datas from BCM and then filter and process them is the key of the job...

Obțineți Outlook pentru iOShttps://aka.ms/o0ukef


De la: krex4 notifications@github.com Trimis: marți, februarie 19, 2019 11:23 p.m. Către: martinbogo/i2-battery-diagnostics Cc: felixfetche; Comment Subiect: Re: [martinbogo/i2-battery-diagnostics] LCD on Arduino To read values (#3)

Ok , thank you 👍😁

Enviado do meu iPhone

Em 19 de fev de 2019, à(s) 16:14, Martin Bogomolni < notifications@github.commailto:notifications@github.com> escreveu:

Fairly trivial ... sure. I'll can pretty easily add support to use an i2c display, something inexpensive.

These are $5-10US and available world-wide.

https://www.amazon.com/gp/product/B07D7ZQVDR/

On Tue, Feb 19, 2019 at 4:00 AM krex4 <notifications@github.com<mailto: notifications@github.com>> wrote:

Is it possible to read vealues of measurements on a LCD ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/martinbogo/i2-battery-diagnostics/issues/3, or mute the thread < https://github.com/notifications/unsubscribe-auth/AAPVKY-n0zbMq_qKK1pgT1C5L4Oz2CV9ks5vO8s_gaJpZM4bCl5_>

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465270698>, or mute the thread< https://github.com/notifications/unsubscribe-auth/ANM2AfmhTo4Rb0KJDA-9di2uWD-a-Sx0ks5vPEz7gaJpZM4bCl5_>.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub< https://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465315637>, or mute the thread< https://github.com/notifications/unsubscribe-auth/ArW6B_Kzjd96LxOxCprk2gRQ8TCb1fGBks5vPGs-gaJpZM4bCl5_>.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465319566, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPVKX5gHyI2I1vzMd3erKP3bziYZKsDks5vPG3JgaJpZM4bCl5_ .

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465340480, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArW6B4DkGLnXXbhrMf0IeLnXu9giG-86ks5vPH0mgaJpZM4bCl5_.

martinbogo commented 5 years ago

@krex4

I am now adding code to the project, that will simply display the values in a continuous loop. You will need one of the displays I have linked to on Amazon, and you will need to connect SDA/SCL correctly both to the Segway battery and the display.

I'll be adding it into a "i2c display" branch, and once I've finished it will be merged into the main codebase with a #define to enable/disable the feature.

-Martin

rhinomods commented 5 years ago

See I thought that was the problem that felix did not understand that he subscribed to the githubs notifications, but didnt want to insult his intelligence about not knowing how github works, we were not asking him questions only replying to github.

On Tue, Feb 19, 2019, 6:07 PM Martin Bogomolni notifications@github.com wrote:

@krex4 https://github.com/krex4

I am now adding code to the project, that will simply display the values in a continuous loop. You will need one of the displays I have linked to on Amazon, and you will need to connect SDA/SCL correctly both to the Segway battery and the display.

I'll be adding it into a "i2c display" branch, and once I've finished it will be merged into the main codebase with a #define to enable/disable the feature.

-Martin

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465348985, or mute the thread https://github.com/notifications/unsubscribe-auth/AE6_A1m5bbSiH5mRgMffF4klcwvVgTESks5vPIOYgaJpZM4bCl5_ .

krex4 commented 5 years ago

Ok , thank you very much 😁👍

Enviado do meu iPhone

Em 19 de fev de 2019, à(s) 20:07, Martin Bogomolni notifications@github.com<mailto:notifications@github.com> escreveu:

@krex4https://github.com/krex4

I am now adding code to the project, that will simply display the values in a continuous loop. You will need one of the displays I have linked to on Amazon, and you will need to connect SDA/SCL correctly both to the Segway battery and the display.

I'll be adding it into a "i2c display" branch, and once I've finished it will be merged into the main codebase with a #define to enable/disable the feature.

-Martin

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/martinbogo/i2-battery-diagnostics/issues/3#issuecomment-465348985, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANM2AYpRXM-EPtY9g7FwGpFPPp2fiNTtks5vPIOYgaJpZM4bCl5_.

martinbogo commented 5 years ago

I believe there is a pattern to the "checksum" that involves adding the two bytes together then performing a checksum alg.

00111000 00010000 00110001 38 10 31
00111000 00010001 00110000 38 11 30
0x10+0x31 = 0x41
0x11+0x30 = 0x41

They have an identical "checksum" of 0x41 ( 65 ) This happens again here, but in a different way

10111010 00001110 00110001 BA E 31
10111010 00001111 00110000 BA F 30
0xE + 0x31 = 0x3F
0xF + 0x30 = 0x3F

Checksum is identical 0xBA ( 186 )

00111100 00000100 00111001 3C 4 39
00111100 00000110 00110111 3C 6 37
0x4 + 0x39 = 0x3D
0x6 + 0x37 = 0x3D

Checksum is identical 0x3C ( 60 )

Here are three with identical checksums:

10101010 00011001 00110110 AA 19 36
10101010 00011011 00110100 AA 1B 34
10101010 00000000 01001111 AA 0 4F

0x19 + 0x36 = 0x4F
0x1B + 0x34 = 0x4F
0x0 + 0x4F = 0x4F

Checksum is an identical 0xAA ( 170 )

SO -- this is definitely "A THING" -- the checksum is based on the addition of the first and second byte.

Then we look at values that are off by one-- and things get a bit harder to predict:

01000001 00001000 00110000 41 8 30
01000000 00001001 00110000 40 9 30
0x8+0x30 = 0x38 = 56
0x9+0x30 = 0x39 = 57

They have "checksums" that are off by one 0x41, 0x40 but the checksum is one LESS for the higher number

00101101 00011100 00110000 2D 1C 30
00101100 00011101 00110000 2C 1D 30
0x1C + 0x30 = 0x4C = 76
0x1D + 0x30 = 0x4D = 77

Again, checksums are off by one ( 2D, 2C ) but this time the checksum is one HIGHER for the higher number

10000011 00100001 01010101 83 21 55
00000010 00100010 01010101 2 22 55
21+55 = 76
22+55 = 77

This has a "checksum" that is off by more than 1, so breaks the previous pattern. 0x83 (131) and 0x2 (2)

martinbogo commented 5 years ago

Thanks to my friend Kristin, we have solved the checksum algorithm!

Take all bytes, add them together, then take modulo 8 and check if the value is 1. If not, there may have been an issue in packet transmission.