發表文章

目前顯示的是 7月, 2024的文章

TTGO Lora32 different versions......I try m V2 with TTN V3(TTS)

圖片
 TTGO lora32 is a esp32 with lora chip, with various version... it was very confusing when they keep on pushing new version but with no clear documentation. different version may have different connection pin on lora chip, and others. and the version is not marked on PCB.  same thing on their git pages. upto 2021/11 I found 2: https://github.com/LilyGO https://github.com/Xinyuan-LilyGo the second one seems to be more upto date. For example you can find a version identification on there: https://github.com/Xinyuan-LilyGO/LilyGo-LoRa-Series Still very confused, at the end I found that mines are V2 TTgo also make some examples for connecting to TTN, but lack of clear notes, it make me very difficult to read and use. here seems to be the one with TTN V3 https://github.com/Xinyuan-LilyGO/LilyGo-LoRa-Series/blob/master/docs/en/LilyGo_LoRa_Series_Quick_Start_On_TTN.md There are listed in git: https://awesomeopensource.com/projects/lmic/lorawan https://www.thethingsnetwork.org/forum/t/lmic-nod

Meshtastic 02 try to work with sensors

圖片
 It's possible to config client with attached sensor, in 2.4 version, there is IIC ones, maybe we can also use serial  function for sensors as well.( Serial Module Configuration ) Currently Supported Sensor Types ​ 2.4 Sensor I 2 C Address Data Points BMP085 0x76, 0x77 Temperature and barometric pressure BMP180 0x76, 0x77 Temperature and barometric pressure BMP280 0x76, 0x77 Temperature and barometric pressure BME280 0x76, 0x77 Temperature, barometric pressure and humidity BME680 0x76, 0x77 Temperature, barometric pressure, humidity and air resistance MCP9808 0x18 Temperature INA260 0x40, 0x41, 0x43 Current and Voltage INA219 0x40, 0x41, 0x43 Current and Voltage INA3221 0x42 3-channel Current and Voltage LPS22 0x5D, 0x5C Barometric pressure SHTC3 0x70 Temperature and humidity SHT31 0x44 Temperature and humidity PMSA003I 0x12 Concentration units by size and particle counts by size PMSA003I 0x12 Concentration units by size and particle counts by size DFROBOT_LARK 0x42 Temperature, ba

Meshtastic 01 try to work with ttgo lora V2.0

圖片
I still have some ttgo lora V2.0 on hand. Base on the web info of meshtastic,  https://meshtastic.org/docs/hardware/devices/lora/?t-lora=v2.0#resources-2  this board has charger IC problem(I knew it). and for ready made firmware selection, try T-loraV2.1-1.6 I tried to flash with 2.4 and 2.3015 firmware, it took a while, but it was able to load the firmware. with android app, I can connect to each device through BT, first you need to config the region, then, the device will reboot. connect through BT, the messaging between 2 devices, works fine.  But on the other hand, I also have some heltec cube cell, which is a cypress CPU with newer lora chip. it only has 16MB memory, far from enough for meshtastic. The OLED has serveral pages,  For the Lora V2.1-1.6 and V2.1-1.8, Shorting IO12 to ground will progress through the screen pages and/or wake up the device. A simple push switch can be added for this purpose. https://meshtastic.org/docs/hardware/devices/lora/gpio/