Skip to main content

Search

Items tagged with: bl602


This #PineCone #BL602 photo is Geocoded and Timestamped ... We'll match this with the log of #LoRa Packets received by #WisBlock
Imagen/Foto


#LoRa #BL602 Field Test Kit ... #PineCone #RISCV BL602 @PINE64 with RF96 LoRa Transceiver ... In a Permeable Paper Box with Battery ... And #Pinebook Pro for Urgent Field Maintenance 😉

https://github.com/lupyuen/wisblock-lora-receiver
Imagen/Foto


#WisBlock receives perfect #LoRa packets from #BL602 ... We're done yay! 🎉 Tomorrow we shall take a walk ... And discover the real-world wireless range of LoRa!

https://github.com/lupyuen/wisblock-lora-receiver
Imagen/Foto


#WisBlock will receive #LoRa packets from #BL602 ... Let's sync up the LoRa Parameters across WisBlock and BL602 ... Life gets Easy with Serendipity! 👍

https://github.com/lupyuen/wisblock-lora-receiver/blob/main/src/main.cpp
Imagen/Foto


Nope Airspy SDR couldn't sniff our #BL602 #LoRa at 923 MHz ... Though it sniffed others thru the Faraday Cage (erm) Pot 🤔

https://github.com/lupyuen/bl_iot_sdk/blob/lora/customer_app/sdk_app_lora/sdk_app_lora/demo.c#L220-L270
Imagen/Foto


#BL602 + #LoRa SX1276 + Airspy SDR ... Inside an improvised Faraday Cage 🫕 ... It really works!
Imagen/Foto


But today we shall spy on #BL602 + #LoRa ... With an #Airspy R2 Software Defined Radio 📻
Imagen/Foto


Someday we shall pack #PineCone #BL602 @ThePine64 with #LoRa ... Into this cute clear Junction Box
Imagen/Foto


#BL602 sends a #LoRa message ... By copying the message to SX1276 Transmit FIFO over SPI ... Was the message actually transmitted? Airspy will tell!

https://github.com/lupyuen/bl_iot_sdk/blob/lora/customer_app/sdk_app_lora/sdk_app_lora/demo.c#L107-L124
Imagen/Foto


How will we know if our #BL602 + #LoRa SX1276 are misbehavin’ on the airwaves? We got a spy ... An AirSpy Software Defined Radio

https://airspy.com/airspy-r2
Imagen/Foto


Our #LoRa SX1276 (actually RF96) is factory configured for 434 MHz, sez the Frequency Registers ... #BL602 will tune it to 923 MHz for Singapore

https://github.com/lupyuen/bl_iot_sdk/blob/lora/customer_app/sdk_app_lora/sdk_app_lora/demo.c#L199-L213
Imagen/Foto


#BL602 #SPI Unsolved Mystery ... BL602 must be configured for SPI Phase 1 to talk to #LoRa SX1276 ... But SX1276 actually uses SPI Phase 0! 🤔

https://github.com/lupyuen/bl_iot_sdk/blob/lora/customer_app/sdk_app_lora/sdk_app_lora/sx1276-board.c#L112-L137
Imagen/Foto


Yep #BL602 talks OK to #LoRa SX1276 over SPI ... SX1276 register values look correct ... Now let's transmit a LoRa Message!

https://github.com/lupyuen/bl_iot_sdk/blob/lora/customer_app/sdk_app_lora/sdk_app_lora/demo.c#L199-L213
Imagen/Foto


#LoRa SX1276 Driver listens for GPIO Interrupts on 6 (!) GPIO Pins ... Maybe #BL602 can defer this ... If we're not receiving LoRa Packets 🤔

https://github.com/lupyuen/bl_iot_sdk/blob/lora/customer_app/sdk_app_lora/sdk_app_lora/sx1276-board.c#L137-L185
Imagen/Foto


We'll port the #LoRa SX1276 Driver from #Mynewt OS to #BL602 IoT SDK ... Because the GPIO and SPI Hardware Abstraction Layers are quite similar

https://github.com/apache/mynewt-core/blob/master/hw/drivers/lora/sx1276/src/sx1276.c
Imagen/Foto


#BL602 UART renders an image on Grove #EInk Display yay! But first we need to fix the pixel encoding for this hot mess 🤔

https://github.com/lupyuen/bl_iot_sdk/blob/eink/customer_app/sdk_app_uart_eink/sdk_app_uart_eink/demo.c
Image/Photo


Let's connect Grove #EInk Display to #BL602 at Pins 3 and 4 ... The second UART Port in BL602 Device Tree

https://lupyuen.github.io/articles/flash#uart
Image/Photo

This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.