ofauchon / zaza-tracker

TinyGO GPS Lora Tracker based on Dragino LGT92 hardware
GNU General Public License v3.0
4 stars 0 forks source link

Lorawan stm32 #1

Open tcpipchip opened 1 year ago

tcpipchip commented 1 year ago

Let start tests on lsm110 and lom204 ? Stm32wl55 and stm32l072 + sx1276

ofauchon commented 1 year ago

Hi @tcpipchip ,

Nice to meet other Tinygo Lorawan STM32 enthusiasts. It's a long time since I've been working on this project, and I'm not sure the code is still up-to-date with latest tinygo releases.

I'd be happy to help you with testing on these targets, and continue development of the project.

And where to get/buy units.

Thanks Olivier

tcpipchip commented 1 year ago

Hi @ofauchon How are you my friend ? I am happy that you answered me! Yes, i already have done the HELLO and BLINK on it https://ninab3-python.blogspot.com/2022/12/u-blox-nina-b302-rodando-tinygo.html https://ninab3-python.blogspot.com/2022/12/wisol-lsm110a-rodando-tinygo-blynk-led.html If you see, i choose in the line command tinygo flash -target=nucleo-wl55jc examples/blinky1 tinygo flash -target=nucleo-wl55jc examples/serial Works nice! About the specification, i see that the Priority is to LSM110A, the newer module of WISOL (SMT32WL55). Here specification! https://github.com/SeongJiIoT/LSM1x0A_SDK_LoRaWAN104/tree/main/Document

Maybe you dont need to order the LSM110A, right ?

Did you show the STM32WL55 implementation on TTN workshop, right ?

merci

tcpipchip commented 1 year ago

(http://support.seongji.co.kr/global-distributors-2019/?ckattempt=1)

ofauchon commented 1 year ago

Hi @tcpipchip,

Although your lsmxxx boards seems to be compatible with nucleo-wl55jc on tinygo, this may not be enough to communicate with Lora/Lorawan protocols.

STM32WLxx controllers contains a Lora SX126X radio module, which have its own TinyGO driver (https://github.com/ofauchon/tinygo-drivers/tree/dev/sx126x)

So you first need to make this SX126X driver work on your board :

When it's done, you can go further with lorawan.

I'll try to help you if I can get one unit.

Olivier

tcpipchip commented 1 year ago

Maybe it will not necessary change, because I tested an E5 project on lsm110 and runs 100%

look

https://lom204-cli-wisol.blogspot.com/2022/11/objetivo-este-documento-e-um-guia.html?m=1

can be possible ?😀

tcpipchip commented 1 year ago

can you instruct me to where in c:\tinygo must i have to unpack the files in this github,install libs and how to compile ?

sorry, i am newbie

then i will test to port to LSM110A

Thanks!