#304
Vložit
- čas přidán 10. 09. 2024
- Today we will look at a completely new LoRa board. A new Semtech LoRa chip series (SX1261, SX1262, SX1268) and new ASR6501 microprocessor. Is it the best LoRa board ever? And what about the new LoRa chip? Let’s have a closer look.
The current LoRa chips from Semtech came to the market in 2013. Earlier this year, they finally announced new chips. So far, we did not see them often on the market. Most used boards still are based on the old chips. Recently, Heltec built this new board using one of these new LoRa chips. To find out if this is the best LoRa board ever, we will:
- Compare the new and the old LoRa chips
- Look at this new module used on this Heltec board
- Check if and how good the Arduino IDE supports it
- Measure the output power of the LoRa chip
- Measure the power consumption and check if it really is “low power”
- And finally, you will get my verdict
I am a proud Patreon of GreatScott!, Electroboom, Electronoobs, EEVblog, and others.
Links:
Heltec CubeCell: s.click.aliexpr... or bit.ly/2sMmjRT
SX1262 868-915MHz module (SPI interface): s.click.aliexpr...
SX1262 433MHz module (SPI interface): s.click.aliexpr...
TTGO LoRa boards: s.click.aliexpr...
1262 datasheet: www.semtech.co...
Fossa Sat-1 video: • #302 We build a 20 Dol...
Power Meter used: www.qoitech.com/
Heltec GitHub: github.com/Hel...
#CommissionsEarned: The links above usually are affiliate links which support the channel (no additional cost for you).
Supporting Material and Blog Page: www.sensorsiot.org
Github: www.github.com...
My Patreon Page: / andreasspiess
My Bitcoin address: 19FSmqbBzb5zsYB1d8Bq4KbxVmezToDNTV
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission (of your purchases the next 24 hours) to buy new stuff for the channel
For Banggood bit.ly/2jAQEf4
For AliExpress: bit.ly/2B0yTLL
For ebay.com: ebay.to/2DuYXBp
www.facebook.c...
/ spiessa
www.instructab...
Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my primary job
TCXO are NOT heated.. They simply have an integrated temperature sensor and compensation circuit that attempts to keep the output stable across a specified temperature band. An OCXO or oven-controlled XO has insulated enclosure and heating element to keep the quartz crystal at the same temperature regardless of external environmental conditions .
You are right. I made a mistake!
@@AndreasSpiess u should pin this comment for others to notice.
@@KuntalGhosh I like your thumbnail 😀
@@polik971 you mean profile picture?
Yes, sorry
You're amaizing. Thank you for your contributions to the world of DIY. You're a blessing to the entire world.
Thank you for your nice words! It is like a Christmas gift :-)
The number of pitfalls that u have prevented me from falling into is amazingly high. So good, on point information, I love it!!!
Glad it was helpful!
@@AndreasSpiess You actually replied to such a old video. Keep up the good work brother. Love from Pakistan.
Thanks for the information. As a newbe to LoRa, I found your evaluation helpful as I make a decision on what to purchase.
You are welcome!
Dear Mr Spiess, i wish you a very merry Christmas and a happy new year!
Thank you. I also wish you Happy Holidays!
Thank you, Andreas! I remember asking you for this review exactly a couple of weeks before this. This helps us quite a lot.
You see, sometimes I listen to my viewers ;-)
I had to do a double take to realize the name, is NOT "Lube Lell".
Ownedyou I came to the comments to post that too. Unfortunate design choice...
I have a crying lady - white cat meme ready with the same joke :)
Are you from Luxemburg? Google say the word Lell is from it.
The TCXO has no heating element, it measures the temperature and adjusts the crystal drive to stay more accurate. This means, no power overhead, but higher costs. For higher spreading factors and lower bandwidth a TCXO can help, usually it is not needed, because most people use the 125kHz bandwidth.
Regarding the power, our Heltec-Turtle board needs 2µA in deep sleep mode, our Radioshuttle ESP32 ECO Power board uses about 8µA in deep sleep. The Turtle board has 2 x Flash, 4 x SARM, the ESP32 even much more.
I don’t like the CubeCell module because it has too many resource limits with only 128kB Flash and 16 kB SRAM. This limits applications and debugging capabilities, e.g. the software with debugging symbols compiled does not fit into the flash.
Thank you for this great video, regards from Hannover, Germany.
Concerning the TCXO: My mistake. You are right. Concerning the current consumption: Thank you for your information. That is amazing! Concerning the board: I see it for a sensor node where not too much logic is on the node. Then it is ok because you get a working node with very low power consumption right from the shelf.
@@AndreasSpiess I fully agree that this is a nice board for many use cases where many Arduino users just copy/paste example code. For me as an engineer I need to use debugger tools and then the flash resources are too limiting. I am more on the professional side of this and not being able to debug is a no-go for me.
There's a HUGE difference between a TCXO and an OCXO. Your verbal description was of an OCXO which does indeed include a heater, but a TCXO traditionally does NOT have a heater.
You are right, made a mistake. It seems that the TCXO still needs power. In the datasheet is stated that all currents are measured without TCXO.
It's a VERY rare day that you make a mistake on YT sir.. (so I should mark this date in my calendar? LOL)
For everyone else out there in YT-land, an OCXO (Oven Controlled Xtal Osc) will commonly draw many WATTS of power until the 'oven' reaches it's operating temperature.
By comparison, a TCXO (Temp Compensated Xtal Osc) 'senses' the temperature and 'pulls' the oscillator frequency as applicable.
A typical OCXO is capable of 2-3 orders of magnitude more 'stability' than a TCXO (and a TCXO is typically a lot more stable than a non-compensated oscillator).
You'll find an OXCO in almost ANY high-end metrology device requiring a precise / stable frequency and in such cases, the best performance is maintained by NEVER powering down the oven. For example, my both my frequency counter _and_ my spectrum analyser keep the osc running even when the rest of the unit is switched off.
The next level up from an OXCO is probably Rubidium based, but that's beyond my requirements.
Hi Andreas! Great video as always. I've read on the TTN forum that Heltec is planning to release a Platformio IDE package and I think this would be really helpful with development. Arduino IDE has some big limitations with external cores still today. I also think they are going to add some documentation since they are still working on it!
Merry Christmas and happy new year!
"Especially if you shoot them into orbit" lmao I thought you were leading up to that, glad you said it. Their launch is pretty hilarious to watch.
Maybe we will see another launch in the near future...
50" inch plasma. Had it since 2010 and still have it :P Phone was either a Galaxy S4 active or a Galaxy S2. We haven't progressed THAT much :P
Maybe as the LoRa chips ;-)
Good video. Heltec seem to have taken the need for low power sleep operation seriously. One point to note, SF6 from the LoRa SX126x devices is not compatible with SF6 from the SX127x devices.
Thank you for the information about SF6. I was not aware of that fact.
Just finished evaluating NUCLEO-WL55C1/C2 (US915/EU433) STM32WL55JCI7 + Embedded SX126x - With STOP mode 2 and 10 minute sensor cycles a summer without changing the battery. Using M0+ for the radio and M4 for the sensors, no vendor is currently selling a dual core version of the device.
My problem is that they do not support the Arduino IDE…
Just Purchased the Heltec Cubecell. Had issues using it with the Arduino IDE , and so now programming it with Visual studio Code. Best thing about the Heltec board is it remembers variables during deep sleep. Unlike esp32 where variables are lost unless stored in static memory first. Also easy sleep and wake coding of duty cycle. Heltec have made a good lora device. But Arduino IDE has problems at the moment. But actually now prefer the challenge of coding these devices , with a lack of documentation,as i have to look under the hood more. There is also a good forum group that can help resolve issues.
Thank you for the information. I plan to use one of those for my next LoRa project.
Meme confused cat at 00:01
-Cube Cell
-Lube Lell
:-))
I'm glad i'm not the only one to read it as Lube Lell, sounds like a sex toy!
A little mistake at 13:41. About 650,000 messages. Thanks for a video!
Thank you for the correction so I really calculated wrongly:-(
If you round generously you're in the same order of magnitude. For an engineer, that is precise enough! :)
Many thanks Andreas. 🎄I wish you a Merry Christmas. 😘
Merry Christmas to you, too!
Andreas, the difference between SX1261 and SX1262 and is price and output power. You cannot use more than +14dBm in EU, therefore it is no go to use the higher price higher power SX1262, but only SX1261. SX1262 is best for north america region
Tomislav
As you saw in my tests it is very easy to lose a few dB on these frequencies. So I do not fear having too much power at the antenna ;-) How much is the price difference?
The difference in price is not extremly big, around 20c. If designed well, nothing gets lost ;-) does this module have FCC?
I do not know about FCC. But in the USA they have higher power limitations.
still very interesting for radio amateurs.
@@tommihommi1 yep but need to have good external band pass filters as the harmonics are terrible.
Fortunately the LoRaWAN world does not revolve around TTN so things like TCXOs and low receive energy ARE very important
The LoRa protocol is not too frequency sensitive because of the chirps. This helps also with the Doppler in satellites. At least this is what i heard.
Andreas Spiess We already see problems for non-TCXO modules at higher spreading factors like SF12. Long transmission times see frequency drift which impacts the data especially near the end - the CRC field. I understand long transmissions / high SF are frowned upon on public networks like TTN but definitely have their place on private ones.
This is especially true for ESP32 boards because those chips run hot when doing stuff (like driving the radio chip!) , if near the LoRa transceiver crystal you’ll have a bad time for sure
TCXO is always a requirement for us. For satellites too I’m sure because they tend to use bandwidths < 125khz. I”Not sure about Doppler effects, I hear that’s being addressed in a new LoRa modulation altogether - LoRa Evolution
I am in contact with Lacuna and they develop some better stuff for satellites together with Semtech. They use the 1262 chip.
Thank Andreas for all the videos this year!!! I wish you, your family and channel colleges Merry Christmas an excellent 2020!!
Thank you and best wishes to you and your family, too!
Bonus point fur die alter catze. Always an essential addition to the workbench.
Agreed!
Happy Christmas and a happy new year from London England
Merry Christmas to you too!
Great video, thanks! Especially the cat at the end purring.
Thank you! Since a few days she decided to sit in front of the monitor that I caress here more...
I know its probably supposed to be read as 'Cube Cell' but I keep reading it as 'Lube Lell' which makes no sense.
Same here.
Merci Andreas. Interesting product. I wait the library are more stable.
Good decision!
Great vid as always! A bit off-topic: you might want to have a glimpse at the Kendryte K210 Boards such as Sipeed MAiX BIT and MAiXduino. These things are awesome and offer tons of power and possibilities such as AI EDGE Computing. Ideal for machine Vision and Hearing. For 30$ they come with Display and Camera and a KPU cappable of 230 Gflops. In Short: MINDBLOWING STUFF - cheers!!! Keep the execellent vids coming ... happy Christmas 😀
I have some K210 boards around but need some time to do something with them... Merry Christmas to you, too!
Andreas Spiess thank you very much. Looking forward to it. This is the next big revolution since ESP32. 👍
Wow! Just what i was looking for ! You are great
Thank you!
Interesting, and a good presentation. Having something that could operate for 30 days or more on an 18650 would be a big plus. We need long range low power. I'm always looking for that. It's interesting that we used to turn to these devices to resolve a problem. Now we have solutions looking for a problem. Have a Merry Christmas.
Merry Christmas to you, too!
great information. i always wanted to know a few things about lora but still having issue understand it, even after watching a few of your videos of lora... i think i need to find some way to boost some brain cells of mind. thank you
eI am sure you will get behind it. I hope you found my introductory video...
wonderful work Andreas.
Thank you!
thank you Andreas, greetings from Argentina
You are welcome!
Thanks for sharing and happy holidays !
You are welcome!
Nice explanation again Andreas! I'm amazed how much stuff you know and you also admit what you don't know, that is nice to know! Merry Christmas and happy NEW YEAR for you and your family Andreas!
Most of the things I do not know. But I am still learning... Also Merry Christmas and a Happy New Year to you and your family!
@@AndreasSpiess You are such a nice person and honest! I would love to bee your friend and neighbor! Thank you and enjoy the Christmas Day with your friends and family! Thank you for your kind words and stuff you are sharing with all of us. I also love to tell all of the viewers Merry Christmas and Happy New Year!
your videos are precise as a Swiss clockwork - 73 from Berlin
I use a US function for a timed release;-). Frohe Weihnachten!
@@AndreasSpiess my post was about content and not release time - hi
Excellent. Please do more!
Thank you!
Bit late today getting to this vlog. Good show Andreas have a Happy Christmas and a safe one. That is to your whole family from downunder.
Thank you! Best wishes to you and your family, too. And a lot of luck for your search for gold in 2020!
Hi Andreas, another helpful video, thanks. I've been waiting for you to put the OneThinX module which you unpacked 6 months ago through its paces. It was your reference to it which alerted me, and it looks very impressive. I bought one but am still having a few problems with the VSCode tooling so it would be really useful to have a video from you as well.
Keep up the excellent work and best wishes for the 20s decade.
So far I did not invest the needed time :-(
@@AndreasSpiess Thanks for the update. I suspected this might be the case but it looks an excellent solution for LoRa device with ARM PSA pre-certification. I'm keen to hear your opinion of the Semtech 1261 output power efficiency.
AT mode probably see it up so data can be pushed to the module over serial using AT commands like an old modem.
That's what I was thinking.
You are right. But I do not know how this works in conjunction with the Arduino programmable chip.
Very nice explanation 👌 thanks 😊
You are welcome!
Thank you so much
You're welcome!
Mr. Fluffers at the end😸
:-)
@@AndreasSpiess 🎄🎁😸
@4m05s: TCXO is not temperature controlled, but temperature compensated. Oven Controlled Crystal Oscillators (OCXO) are the ones that use heaters to stabilize the temperature.
You are right. I made a mistake :-(
Excellent
Thank you!
Excellent. Thanks for sharing.
You are welcome!
Thank you for another video. Unfortunately unwatchable with Chromecast on my TV. (Yes, I have a TV) It's watchable on other devices so it looks like on hand of Google doesn't know what the other is doing... a new level of competence 😑
Have a Merry Christmas.
Strange. I recently changed to 60fps. Maybe this is the problem?
You might just wait until the other formats have been produced by CZcams I guess.
Merry Christmas to you and your family from a damp North Lincolnshire England.
Thank you, I also wish you Happy Holidays!
Really interesting ! Very usefull information !
Thank you. And Merry Christmas!
@@AndreasSpiess Thnxs ! Also for you happy holidays and best wishes !
Good Morning,
I’m using some HTCC-AB01 like sender, I’m sending some value read from 5 sensors connected to their GPIO. I’m using also an HTCC-AB01 like receiver.
I need to know how many HTCC-AB01 used like sender can be handle by one HTCC-AB01 used like receiver.
Can you help me?
This depends on the programs you use. Often it is only 1:1.
Maybe you watch my LoRa introduction video if you want to understand LoRa networks with many nodes.
One note from the SX1262 datasheet: the output power may be significantly lower in case of even a "reasonable" antenna mismatch, as this chip lowers the supply voltage for the PA section. There is a suggested workaround, however.
I thought I measured the real power of the module and it was ok (for Europe, at least).
Hello Edin, could you elaborate on this? I have a problem with my recently purchased LilyGo T3S3 v1.1 boards with the SX1262. The original arduino firmware on the boards out of the box showed good operation; I set one board to send, the other to receive and they could ping with RSSI as good as -33 when right next to each other; this lowered to -80 at about 2 meters. I did not try longer distances.
Then, I flashed the boards to use micropython and managed to get basic messaging working with some tinkering to a driver I found on github. But now I see that even when the boards are at 1 cm away, the best RSSI I get is -80, this decreases to -110 at 1 meter, then at about 2 meters, the signal is lost completely.
My guess is that there is something wrong with how I program the SX chip to configure the power amplifier. I read through my code, the driver code, and the datasheet and everything should be correct set. I tried different settings regarding power level, PA ramp time, etc, but no improvements.
Any tips? I would be grateful for some help here. Is it possible that the chips I got are missing the power amplifier?
@@MrLampafeny Hello. It's been a long time since I wrote this, and it was some info from the Web, but I have actually not yet had experience with any Semtech chips to be able to tell you.
Based on my other, limited experiences, that is just too weak and it might be that you have a solder bridge somewhere around the radio section, short-circuiting your signal. Also could be one of your capacitors either shorting or maybe you need one for decoupling supply rails.
what it the max distance transmitted? I was expecting that too
hi andreas, I also played with a cubecell board this weekend but struggled when it came to receive downlink messages from ttn. the messages were logged on the console but I couldn't figure out how to read them in the provided example sketch.. have you tried that?
This is what I meant with the lack of documentation...
Hello Andreas. Thank you very much for all your videos. Thanks to you I have some LORA devices that work in point to point. I wanted to test these heltec equipments with TTN. I tried some of their examples, I could get only a join connection with TTN, but no data seems to come up. Did you manage to get any data up?
Yes. I had one working. Maybe you check the keys.
Hi Andreas "I bought the Heltec AB02 board. I want to connect it to chirpstack lorawan server. (As gateway, I connected dragino dlos8.) How can I do that?
I think so. I never used it.
Marketing may have intentionally suggested the lower model number because they probably want to sell the huge stocks of the previous chips before the new ones catch on.
:-)
Hi, I am using Heltec Wireless stick Lora, Wifi BLE. On new projects what would you recomend as the wireless is now being discontinued. I am having problems getting a BME280 working with the Wireless stic. Have you any sketches that work with it. I cannot find a single one that works. Need help. Thanks
I often use TTGO boards for my projects. But you might have other needs. Unfortunately, Unfortunately, I do not know why the BME280 has problems in your sketches :-(
@@AndreasSpiess Hi, Thanks for reply. After testing the Heltech Board I found the 3v and 5v ouput where not working. New board perfect.
Which drivers do you use for the BME280. Have you any sketches for a weather station with Lora to I.O.T or Wi-Fi.
Thanks
Nice little 3D printed pointer hand
Thank you!
Thanks for the info
You are welcome!
Wow that font on the chip is terrible. Actually read that as “LubeCell” at first. lol
Harnessing the power of K-Y Jelly to improve signal stability ;-)
Keep in mind they are Chinese and probably not used to our letters...
@@AndreasSpiess Heltec.display->setFont(ArialMT_Plain_10); is at least a good choice
5:22 oh i definitely will be considering it before launching them to orbit, thanks
I know people who did not do that ;-)
Great video, as always. Could we get it to work easily with a 1-wire sensor, such as the 18B20?
I do not know. Maybe you try it?
Hi. Can cubecell be used with Meshtastic? Do they provide flashable fw?
You have to check their project.
What did you change in 9:35 to make this library working with cubecell? Because I'm trying to make irRemote library compatible with cubecell.
I do no more remember :-( But IR is not easy...
Andreas, thanks for your videos!
Do you know if in the meantime there has been a sw library released that works well with the sx1262?
Preferrably not an arduino library
I am using the NXP lpc55s69 Arm m33 mcu with the rfsolutions lambda62 sx1262 lora board
I only use the Arduino IDE (maybe to avoid problems like you describe ;-) )
Andreas, your videos on LoRa technology are a very significant contribution to the community of makers and the value extends far beyond imho. Has your experience changed over time with regard to the documentation and support for the SX1262 chip ..? I am working on deploying a network of sensors employing the BATMAN strategy and I was wondering whether the MCU onboard the Heltech board is overkill to implement this algorithm..? I am also struggling to source the IC itself..at an affordable price...any ideas..?
I never used the SX1262 chip. Maybe you go to www.meshtastic.org/ . They use LoRa for meshes with a similar protocol like BATMAN
Hello Andreas, I got a Lilygo TTGO V1.1 with a SX1262 last month. I checked your video and the video about LoraWan and satellite (lacuna). But I did not get the TTGO to work with TTN. Do you have an update on "How to use SX1262". What lib to use, or even better a scatch to use?
Kind regards
Hans-Jürgen
The Arduino IDE should contain a library (search for SX126X by Bernd Giesecke).
@@AndreasSpiess
perfect, that was the hit I needed. thx
I have a solar radiation meter (no power supply needed). could i use that lora board with adc? are there any tutorials out there?
I do not know. But Google knows if it exists.
Very good power consumption...)
Yes!
Is there any how-to/tutorial/example how to use Waveshare LoRa hat for Raspberry Pi (Pi Zero) which uses SX1262? Their own "wiki" feels a little bit confused (apparently translated from Chinese) and I cannot find any mention of the Waveshare Lora Hat in any documentation to any software, e.g. LoRa modules for Python for Raspberry. I don't know where to look for information - nothing relevant found even at stackexchange/stackoverflow.
Especially, I am confused that SX1262 seems to have SPI interface (according to datasheet) but the Waveshare hat communicates over serial port (/dev/ttyS0 on Raspberry Pi Zero or USB adapter CP2102 from a PC). The most puzzling mystery is that serial communication with the hat works from Pi but does not work from PC, and also the command set described in Waveshare wiki does not match SX1262 command set.
I was trying to find something but there seems to be literally nothing except Waveshare wiki.
I never used Raspberries as nodes. They consume too much energy and are too expensive. So I do not know.
@@AndreasSpiess I see. I am using this one for experiments. However, I found the datasheet and finally was able to control the LoRa module (Ebyte E22-900T22S) both from Pi and from USB port. Unfortunately, for some reason, according to datasheet it can do only 1 MHz steps (although there should be SX1262 inside). It is weird, anyway. 30 EUR wasted, I am afraid.
@@ok4rmAny success achieved? I am trying to do the same thing, LoRa modules for Python for Raspberry 4. I would be grateful for any advise.
What's the interface at 10"34' ? What is it connected to ? I see some digilent before that .. Thanks !
Once it was the device and tehn it was the remote control software on my PC
I often see Lora module connected to raspberry pi in papers, obviously Linux system. How to find this kind of module? I am very confused that most modules are connected to the notebook with WINDOWS operation system.
Most of the Lora chips are for MCUs like Arduinos because they are low-power. Only the Gateways are with Raspberries. Maybe you watch my other LoRa videos?
@@AndreasSpiess I'm a rookie, and I probably didn't recognize it as Arduino.
In addition, I found that independent power supply for Arduino seems more difficult than raspberry pi, because raspberry pi can buy a standard charger easier.
As always, great overview of the promises of this new chip and board. Thank you. Looking into them more and will watch the development of these as this development board and the uses of this chip get matured. What's your cats name by the way?
She is called Dishka.
@@AndreasSpiess great name. Keep up the work and thanks for sharing your thoughts and experiences. I have learned a lot from you.
Mine is still on order but I would hazard a guess that the AT stuff is AT modem command support?
They are similar to the old modem commands, yes.
At 11:50, that pip is the second harmonic. Nice comparison though and I still covet the spectrum analyser! (and the cat)
I know, but I do not like this definition. I do not think it is understandable for a "layman". That is why I did not use the correct denomination.
Andreas Spiess So the third harmonic is four times the fundamental in your system???
Yes. Very simple. I just count: 1st peak: Fundamental. Second peak: First harmonic etc... Quite obvious for a noob like me ;-)
I don't know whether you will see this, but it is 2022, and SBCs are not to be had for love or money. But used Intel computers are cheap and plentiful. Could you do a video on building a LoRaWAn gateway using an old PC?
These days you get ready-made gateways, for example from Mikrotik, and they should be available. So I do not foresee a video about this topic.
@@AndreasSpiess Thanks
Is there a way to link two SX1262 modules, one as a master TX and the other as a slave RX (without using any gateway between them)?
Yes. I made a video about directly connected LoRa modules
Well these are still too new but the nice thing is the old LoRa boards used to be a similar price to the new ones but now they're only about $3-4 a board, so they're way more affordable now.
You are right.
Hey thanks !
how do i integrate sensors not listed in the Multisensor example ?
As on every other Arduino board. Search for a library. And hope it works.
Great review. What is the cat's name? I bought the LoRa-E5 mini (STM32WLE5JC) and am trying to use it as a receiver for LoRa 1276 in a simple serial link application without going through the TTN website, but it's going so slow as I am too stupid to understand the protocols (I'm an EE with lots of Arduino ESP8266 experience but LoRa is new to me). I'll view more of your LoRa videos, but I'd love if you do one with the mini hosted by a Linux server. I agree with others who think your work is a godsend to the world!
Thank you for your kind words. LoRa is a very slow protocol. So do not expect anything else. SF7 is the fastest.
Maybe you use the LoRa library and its examples if not already done.
Her name is Dishka, BTW
I would kill to have a nice spectrum analyzer like that. Maybe I’m too dramatic. But I definitely covet this analyzer.
It was my dream since I was a young man. ;-)
Hi Andreas, thanks for the great video! Have you tried reading PWM input from a sensor and sending it using LoRa in the same script?
It seems like LoRa library is disabling PWM function somehow, as I was able to read PWM input in a separate script but it gives false readings when combined with LoRa code. All sensors+LoRa examples provided by the library mainly use I2C, none of them is using PWM. Just wondering if you came across this weir behaviour?
No, I never used PWM input.
Grüezi Andreas, for my Bachelor Thesis, I am looking for a suitable LoRa Module for sending and possibly receiving data from an aircraft moving at max 200 knots (370 km/h) at around 15'000 feet (4600m). What do you recommend?
Watch my videos about LoRa satellites. They fly higher and faster...
Hi Andreas, thank you for your reply. I‘m not exactly sure what I‘m supposed to depict from the sat videos. Maybe I didn’t express my question fully. I wan‘t to send air data information from the Aircraft to the TTN in Switzerland. Since I am new to LoRa, I am not sure if this is possible because of the mountains and also the airtime. I would like to test this as soon as possible. Is the RFM-95 suitable? What should I pay special attention to?
Speed is probably no problem as the satellites show. Distance is no problem as balloons and my videos show. As long as you have a line of sight to at least 1gateway.
liked because cat
:-)
Hello sir, I have a few questions on LORA which I could not found on the net. Hope the comment section provides me with answers😀
First thing is - are sx12xx based devices capable of having different channels to receive messages at different duty cycles?
2nd - I have been using sx1278 for prototype but getting very poor range, just a few centi-metres - any suggestions on how can I improve that?
1. Only gateway chips offer more than one channel and SF in parallel. All others have to choose one channel for a particular time.
2. LoRa has a long range. So your setup definitively has a problem. Unfortunately, I cannot do remote debugging :-(
I'm thinking about getting some lora boards for playing around with friends while camping. Would you purchase this board, or would you go with one of the ttgo boards? I am also a licensed amateur radio operator (from Canada), so I understand most of your tests regarding output power and swr. Thanks for all you do, 73.
They all use the same LoRa chips. So it does not matter too much. Maybe you have a look at the video about Meshtastic, if you are with friends.
It does not have wifi support, does it?
No. This is usually not needed for LoRa nodes as they communicate via LoRa
Thanks for your interesting videos. I use a Heltec AB01v2 Board which works confidently. There's an used 1100mAh / 3.7V LiPo Battery attached to the Board which is charged by a solar panel. I evaluated the net about informations but I couldn't find anything valueable: Apparently, there is an overcurrent protection but in the schemetics I only see a "black box", so I am not really sure if I can simply connect this battery without trouble when using a 5V solar panel at Vs input. I measured the voltage & current, in the meantime it increased to 3.9V, at exact 100mA charging current. So I wonder if there is a current controller/reducer... Do you know something about this topic?
I made some videos about solar charging of Li-Ion batteries. If you read the specs of your board, it says that it works witth a solar panel up to 7V. So no issues if you stay inside these limits.
@@AndreasSpiess Thanx Andreas, could you send me a link about your Solar Charging Video.
So I conclude that the TTGo is a good choice for a future Fossasat 2/3 Ground station as it provide WiFi link and SX127x is capable to do the job and without feasable advantage for using a SX126x. Is it right?
I hope so. At least Julian wrote that they will test the TTGO boards before their next launch...
I just got some E32 modules up and running, im building a big project which needs longer range than wifi. I did try to use some bare SX1276 board which I could never get to communicate with my ESP32 for some reason, gave up and moved onto E32 instead
Which ones do you have? The ones with Uart or spi?
Andreas Spiess - the modules I got working are the UART ones, the ones I couldn’t get working are SPI, I purchased about 12 of them, even tried a different board in case the one I was trying to get going was a faulty one... maybe a collaboration is in order to get these working!
Andreas Spiess - this is the module I couldn’t get going: 2pcs lorawan transceiver RF LoRa module SX1276 chip nrf52832 radio
a.aliexpress.com/kRbLhFTE
It seems they are normal rfm95 modules which should work ok with the LoRaWAN library. But you have to define the pins correctly.
I spent a couple of days trying to get them to even be recognised, the ESP32 couldn't even see they were there, all very odd.
As this was the first time I've tried using LoRa it was a bit confusing, as I still don't know if it is something wrong with the modules themselves, or if I am doing something really really stupid...
Like I mentioned, I am now using E32 modules instead and they are working fine, and are obviously a lot simpler to setup compared to the others, I did have to use your trick to remap the serial1 connections tough as I need 3 serial ports for all the modules and interfaces, in fact I did more research and found a simpler way posted of how to remap them, by putting this code in: Serial1.begin(loraSerialSpeed, SERIAL_8N1, 13, 12); // serial speed, com type, RX, TX
Is it possible to use such a board for UAV telemtry that is sent via UART ?
I look for ranges up to 10-20km
Maybe you watch my other LoRa videos about my range tests?
@@AndreasSpiess
I did :-)
But you always use sensors or stuff like this. For Mavlink I need to connect the sender to a UART and the receivers needs to output also via UART
I only have basic knowledge and can use existing sketches and such, but sadly nothing more... so I cant decide if its feasable🤷🏼♂️ so it would be good to know if it may work or if its just impossible because its not made for that.
Nice video Andreas! What do you use to measure the current consumption? Where could I buy it?
I used this one: www.qoitech.com/
but 1262 is not legal in europe, maximum transmission is 14dbm not 22dbm. Right?
I think no self-made LoRa node is legal in Europe because you can change the antenna. ISM devices have to be tested/licensed as a whole device, not only as a chip. And you can easily reduce the power of the chips. to stay in the "legal" range
@@AndreasSpiess You're probably right, I didn't think about the device as a whole. I've order the SX1261 board thinking about the legal transmission power :S
But to be honest, I wasn't quite sure if the only difference between SX1262 was the output power, because semtech marked that board as 868MHz and the SX1262 as 915MHz.
I'm not even sure if the local TTN gateways can cooperate with this chip. Will find out in few days.
Thanks for replying Andreas :-)
Hi Andreas, nice evaluation, is this Module for sale anywhere?, couldent find it with this chip on their page BR / A.... -> ahh found it it´s the Cube cell dev board right
You should find a link in the video description
I’ve tried using Heltec’s Arduino package for the board, but it comes with a proprietary flashing tool (they provide you with a binary and have stated that they’re not planning to release the source code) and even with a custom, binary-only, China-hosted version of gcc. Since the flashing tool does some kind of encryption, I doubt that there will be an open alternative available. Also, their tools are not available for ARM architectures, so you can’t use them in the Arduino IDE on e.g. a Raspberry Pi.
Strange. The Arduino IDE worked when I made the video.
@@AndreasSpiess Yes, if you're using an Intel-based computer it's not a problem. But when your machine is running on ARM, you're out of luck, because their tools are not available for that architecture. And since they don't make the source code available, you can't even compile it yourself.
Hello, Thanks for this video, I was looking for a very low power consumption Lora Board and thanks to your video I found it. I just have one question, I'm trying to plug a distance sensor (A02YYUW) on it but it's an UART Output, do you have any idea about how it could be done ? thanks in advance if you take the time to answer
Maybe you can use a second UART (Serial2) with this module. I do not know because I never needed it.
@@AndreasSpiess thanks for your quick response, I've tried but I can't make it works. Do you know on wich pin I'm suppose to plug my sensor if I want to connect it to UART 2 ? I've tried by pluging it on RX & TX (pin 14 and 15)
@@mathieuvaudry987 No, I never used them.
@@AndreasSpiessok thanks you for your time. Update if someone is trying the same : I made some research and it looks like their is no other serial port available on this board. I will try something else
I never looked at the SX1262, I thought it was an ancient part, lower number right?
It is the newer chip. I do not know the marketing director. But I am not sure he is capable ;-)
Has the compatibility situation with the heltec board to ttn changed? Is the software now standard compliant?
I do not know :-(
@@AndreasSpiess I have bought one, it works but has a very low range with the standard antenna. Tomorrow will arrive a better antenna and I will test again. The Arduino software at least is working but is not so good documented
I have tried the new antenna and must say it's not good. I got only 600 m, but it was not line of sight is that normal, or should I get more range? I have looked in ttnmapper and the gateway I was connected has a wider range than that
@@jan.8879 LoRa works well on line of sight. Everything else is a bonus ;-)
PSoC ist prima, aber kann man die diskrete Logik auch in der Arduino UI programmieren?
Leider keine Ahnung. Bis jetzt habe ich noch keine Dokumentation der Arduino Funktionen gesehen
Dear Andreas, I got Ra-08-Kit - costs five dollars and it looks like HTCC-AB01 and does not want to be programmed by Arduino IDE :(
AFAIK the RA-08 offers a AT command interface and does the LoRaWAN protocol. So I assume it is used with an additional MCU if you do not want to bother with the LoRaWAN protocol. Search for "LORAWAN NODE APPLICATION: AI-THINKER RA-08/H MODULE" (CZcams deletes links)
Since when do we measure throughput in kHz?
And also kHz lowercase k = Kilo
Sorry for the nitpicking :P
Hope this is helpful!
You are right. Typo...