Meshtastic Native on the Raspberry Pi

  Рет қаралды 14,616

Meshtastic

Meshtastic

Күн бұрын

Пікірлер: 119
@RealSnail3D
@RealSnail3D 6 ай бұрын
Also. Great meshtastic spokeman. So pumped to see my fave project meshtastic kickin azz
@patrickunderwood2469
@patrickunderwood2469 6 ай бұрын
Just what I was waiting for
@Iraseferovich
@Iraseferovich 6 ай бұрын
Nice contribution! This concept is really shaping up!
@davidleonard1540
@davidleonard1540 6 ай бұрын
Awesome video! and instructions I got it working in about an hour. Using RPi4 and the Waveshare SX1262 LoRaWAN Node Module Expansion Board for Raspberry Pi HAT. I did have a problem trying to install it using apt, but it worked when I switched to dpkg. 😁😁
@GarenEvans
@GarenEvans 3 күн бұрын
Also had problems with apt, but it worked when I used sudo apt ./{deb file name}
@GarenEvans
@GarenEvans 3 күн бұрын
for example: sudo apt install ./meshtasticd_2.5.4.8d288d5_arm64.deb
@liverenders
@liverenders 6 ай бұрын
Very interesting addition, keep up the great work!
@arie1293
@arie1293 Ай бұрын
I'm excited this is able to run on native linux. Have had a HopeRF RFM95 module collecting dust for a few years and just got Meshtastic set up on a Rpi 3A+ with it. I don't yet have another device to test with but seeing some traffic from nearby nodes!
@gregspeakman9337
@gregspeakman9337 5 ай бұрын
Good vid. I am looking forward to trying it out.
@papafrank7094
@papafrank7094 4 ай бұрын
Thank you so much for your video. It's well explained so that everyone can do this install. And you are so right about the antenna. Try and do this without an antenna and you'll cook some of your hardware. Again, Thanks!
@richard_wenner
@richard_wenner 3 ай бұрын
Great video and good job. Looking forward to following your progress. Thank you.
@DavideArzarello
@DavideArzarello 5 ай бұрын
Great video! Thanks for the support of Meshtastic on Raspberry Pi. I successfully installed and configured a Pi Zero W 2 with the SX1262 Waveshare HAT module. Now, I'm looking to add/stack a display HAT or module. Is an I2C or SPI display natively supported? Are there any modules that work off the shelf?
@Meshtastic
@Meshtastic 5 ай бұрын
Any i2c oled that automatically works with the existing firmware should also work on native. For TFTs, that has so far been case-by-case because with SPI we have to be aware of possible pin conflicts. Some confirmed displays are the waveshare 2.8inch RPi LCD 320x240 and the Adafruit 320x240 TFT w/touch. It's possible there are others too.
@mrshlee
@mrshlee 6 ай бұрын
This is wonderful news.
@serebryanyy_volk
@serebryanyy_volk 6 ай бұрын
That's amazing. 🎉
@alldave
@alldave 9 күн бұрын
you looked like a flight attendant at @1:48 with don't turn it on without....😂
@wishbone1138
@wishbone1138 3 ай бұрын
Really cool, are there any 915M hat boards that work with this? I think the SX1262 915M is "UART" based according to documentation? is the LoraWAN the only waveshare 1262 based chip that works?
@Meshtastic
@Meshtastic 2 ай бұрын
Tested radios include the Waveshare SX126X (SPI version), Adafruit RFM9x, and Elecrow Lora RFM95 IOT. meshtastic.org/docs/hardware/devices/linux-native-hardware/
@suzyamerica4679
@suzyamerica4679 6 ай бұрын
Jonathon - with that kind of microphone (LDC or lookalike) you want to put a pop filter between you and it. In fact, don't let anyone breathe on the business end of the mic without some kind of cloth barrier in between, and maybe 12-15cm between the mic itself and the pop filter. (chiming in as a part time sound engineer) Love the vid and keep up with the good work. I'm still poking around in the firmware source figuring out what does what.
@dperv27
@dperv27 6 ай бұрын
Great video!! I ordered my Waveshare HAT. The videos doesn't explain nor does the online documentation. Do I need to setup a webserver first (i.e. install Apache)?
@Meshtastic
@Meshtastic 6 ай бұрын
No, that is not required.
@JK-dx7ex
@JK-dx7ex 6 ай бұрын
awesome work
@vpot-j3t
@vpot-j3t 6 ай бұрын
Will there be support for USB to SPI adapters like the FT232H? I have a ton of OpenWRT routers deployed and it would be awesome to plug in a radio over USB and turn them into Meshtastic nodes as well.
@Meshtastic
@Meshtastic 6 ай бұрын
Actually, that's something @JPBennett is looking into. He's got a few of those devices on the way to take a look. Stay tuned...
@JonathanFisherS
@JonathanFisherS 6 ай бұрын
thanks again!
@jmcasler1512
@jmcasler1512 6 ай бұрын
You're my hero! Thank you!!!!
@NoahJohnson7452
@NoahJohnson7452 19 күн бұрын
when are you releasing the build video?
@MeanGeneHacks
@MeanGeneHacks 7 күн бұрын
Any support for RAK2245 hat??
@Meshtastic
@Meshtastic 4 күн бұрын
Unlikely we'll be able to support any of the RAK hats because they're SX1302s (lorawan concentrators).
@Satscape
@Satscape 6 ай бұрын
I have spare Pis, but just wondering...why? Don't the hats cost more than a Heltec LoRa32? Then the Pi will need at least 2 amps. Boot time of the pi is way longer than a Heltec....so why? What is the advantage?
@Meshtastic
@Meshtastic 6 ай бұрын
Better question is why not? Depends on which hat you get. The Waveshare SX1262 is $23.99 on Amazon. Many folks already have Pis, and with a Pi you get getting a lot more than just a node. Definitely not something you'd want to be deploying, there's better options for that. But for a fixed location, like base station -- a lot of possibilities. More stuff to come! ;)
@L0e0e0L
@L0e0e0L 6 ай бұрын
RJ45
@kentnebergall3156
@kentnebergall3156 6 ай бұрын
I've been saying since the Helium mining crash that I really, really wish they would just make a console that could use old Helium miner on Meshtastic and tie them to local LAN/internet backbones as home base stations. Sounds like that's a much closer option now. There is so much hardware out there that could use a second life, where we can actually USE these communications systems ourselves instead of just finding lost pets and key rings for a tiny sub-set of neighbors.
@Meshtastic
@Meshtastic 6 ай бұрын
Unfortunately, most of those helium units use LoRaWAN concentrators which would not be compatible with Meshtastic.
@kentnebergall3156
@kentnebergall3156 5 ай бұрын
Thank you for responding.
@MyTube4Utoo
@MyTube4Utoo 6 ай бұрын
Thank you.
@fotografm
@fotografm 4 ай бұрын
That's great. What kind of user i/o does it provide ? Command line or maybe a web interface ? Would like to see this. Would also like to get packet analysis software like an interface to eg. Wireshark ?
@Meshtastic
@Meshtastic 4 ай бұрын
You can use any of the existing clients that has TCP connection such as the web interface or the network management client. You can also emulate the existing screen (like you'd see on the device) and it supports mouse+keyboard. Additionally, we have a new GUI that's being developed which will also offer linux native support including mouse + keyboard.
@fotografm
@fotografm 4 ай бұрын
​@Meshtastic thanks for your reply. I got it working. I miss the ability to be able to traceroute to a node. Is there any way of doing that ?
@SRWieZ
@SRWieZ 3 ай бұрын
I would love to see support for SX1301/2/3 to recycle my Nebra indoor hotspots into Meshtastic node for the network.
@Meshtastic
@Meshtastic 3 ай бұрын
We use github.com/jgromes/RadioLib ... convince them and once they support it, we can support it. :)
@VilhelmEdgren
@VilhelmEdgren 6 ай бұрын
Can someone talk about the reasons why one would want to run meshtastic on raspi over more dedicated hardware. What are the benefits and opportunities and so on?
@markharrison1160
@markharrison1160 6 ай бұрын
At a minimum IMO you have another interface option by that I mean keyboard and screen. Second you gain immense options and power in things you could do with IOT and messaging because of all things linux. IE scripting, Input and Output pins, web servers, and probably more.
@suzyamerica4679
@suzyamerica4679 6 ай бұрын
@@markharrison1160 Automated device-to-device communication is wanted for some distributed sensor net applications and a whole lot more.
@VilhelmEdgren
@VilhelmEdgren 6 ай бұрын
@@markharrison1160 yeah, I kinda get it, uts cool, but screen and keyboard is possible with the microcontrollers, they have quite a few output input pins too, the raspberry pis are kinda power hungry to use for iot. I just can't see when I would need this seeing as I already need a computer to set this up anyway. I really want a reason to want this if you know what I mean
@benjaminlong7317
@benjaminlong7317 6 ай бұрын
It looks like it can have a much larger routing table than a micro-controller based install.
@liverenders
@liverenders 6 ай бұрын
If you cant imagine its use case, then its probably not for you. You probably are better off sticking to dedicated hardware. IMO this opens endless doors for use cases, its linux. Its limited by your imaginitation and willingness.
@mousbleu
@mousbleu 6 ай бұрын
Awesome.
@shadyss96
@shadyss96 5 ай бұрын
I think I've wiped and attempted this on my pi3 for a week now. Hopefully I'll get it today.
@richard_wenner
@richard_wenner 3 ай бұрын
Using a Pi5 involves a tortuous route involving the libgpio library due to the hardware chip changes (on the 5). Use an older Pi as they are cheaper and easily capable of running this code.
@richard_wenner
@richard_wenner 3 ай бұрын
Ignore this fool. He is digging warrens required of his own ineptitude. RTFM and all works well :(
@Meshtastic
@Meshtastic 2 ай бұрын
Thanks for the update!
@memyselfandi8544
@memyselfandi8544 6 ай бұрын
Question, does Raspberry Pi offer more hardware security of the channel encryption for repeater devices? And can raspberry pi function better as a repeater/router? What about ESP32? Can Raspberry Pi function as a gateway? MQTT server? More development and instruction coming?
@sachaw100
@sachaw100 6 ай бұрын
Crypto is the same (although if you are worried about repeaters, they are not required to decrypt packets), we are still limited by whatever transceiver you are using, the larger nodedb size will help for large networks.
@memyselfandi8544
@memyselfandi8544 6 ай бұрын
@@sachaw100 Thanks, I will establish repeater sites here in WA state. Have 4 wisblocks on order.
@fotografm
@fotografm 4 ай бұрын
This works great on my raspi 4. I tried it on the Raspi 5 but get the debug output error "meshtasticd.service failed to find sx1262 radio". Any ideas what the problem might be ? I did change the uart parameter for Raspi 5 but that is for gps not the sx1262.
@Meshtastic
@Meshtastic 4 ай бұрын
Did you complete these steps? meshtastic.org/docs/hardware/devices/linux-native-hardware/#hardware-interfaces
@fotografm
@fotografm 4 ай бұрын
@@Meshtastic Yes I did and I checked the config.txt afterwards to ensure that the changes had been applied. I also edited the config.yaml as instructed.
@fotografm
@fotografm 4 ай бұрын
@@Meshtastic I get the debug error: Warning, cannot claim pin GPIO20St16invalid_argument No I2C device configured, skipping. My config.yaml contains Lora: Module: sx1262 # Waveshare SX126X XXXM DIO2_AS_RF_SWITCH: true CS: 21 IRQ: 16 Busy: 20 Reset: 18
@on2aav
@on2aav 6 ай бұрын
Great ! thanks, I do have the SX1278 (SPI), can this be used also ? If yes, what extras are needed inside the Yaml ?
@Meshtastic
@Meshtastic 6 ай бұрын
You could make that one work, but by wiring it to a Pi yourself and defining the pins. The hat is easier. You could probably try to follow the pin out from the hat.
@on2aav
@on2aav 6 ай бұрын
@@Meshtastic All is working just fine now, I used an old hat I made for Lora APRS using the HopeRF 96 (433) and after tweaking the Yaml, SPI and I2C (oled) it all works like a charm without any issues whatsoever ! , now checking how to make some logging done. Thanks for a great job on this extra option.
@Meshtastic
@Meshtastic 6 ай бұрын
Nice! I think I saw your comment on FB about that. Feel free to submit a PR to add that to the config.yaml.
@on2aav
@on2aav 6 ай бұрын
It's done. Hope you find it ;)
@kerron_
@kerron_ 6 ай бұрын
Very cool how many lora modules does it support.
@Meshtastic
@Meshtastic 6 ай бұрын
Theoretically you could support more than one radio by running more than once instance of the binary. Not a whole lot of testing has been done around that though. Might be something we explore further in the future.
@zachreyhelmberger894
@zachreyhelmberger894 6 ай бұрын
Fantastic! Is there any way I can log sensor data? I can see, on the Meshtastic Android app, temperature and humidty data from the SHT30 sensor I connected to a Heltec LoRa V3 board but I do not know how to channel that data into a file so I can make temperature time-series charts and humidity time-series charts.
@Meshtastic
@Meshtastic 6 ай бұрын
The Android app doesn't do any logging, but the Apple apps do log. Additionally, many folks use MQTT for logging as well. A pretty neat setup is this one, which uses Adafruit IO meshtastic.org/docs/software/integrations/mqtt/adafruit-io/
@TheRealBigJake
@TheRealBigJake 13 күн бұрын
How do you update meshtastic on the Pi Zero 2. I installed it from this video back when you released it and it's not updating with the system.
@Meshtastic
@Meshtastic 4 күн бұрын
You can install the latest .deb from the releases: github.com/meshtastic/firmware/releases We also have an experimental debian repository as well: meshtastic.github.io/
@RealSnail3D
@RealSnail3D 6 ай бұрын
Nice!
@MaxIme-ny8bx
@MaxIme-ny8bx 3 ай бұрын
Would that setup and hat work on a RPi ZeroW?
@Meshtastic
@Meshtastic 3 ай бұрын
Yes, it's been tested on the Pi ZeroW as well.
@dafoex
@dafoex 8 күн бұрын
For people that want to play with their own MQTT server, could you run one on the Pi itself? I don't see why not, I'm just wondering how you'd give it the address or IP. Does meshtasticd understand other network interfaces of the Pi and could I just tell it "localhost" from the app? Either way I'm getting ideas that usually result in a not insignificant drop in funds, heh heh heh
@Meshtastic
@Meshtastic 4 күн бұрын
Yes, there are folks that are running a mosquito instance on the same Pi as their Meshtastic setup.
@batica81
@batica81 6 ай бұрын
Will UART hats be supported in the future?
@Meshtastic
@Meshtastic 6 ай бұрын
Unfortunately, no. We are unable to support UART hats.
@anayat100
@anayat100 5 ай бұрын
hello sir, how are you, it's a very good and informative video I was searching for. can you help in choosing mesh for GPS car tracker without internet and cellular network?
@7ingel7angel7om
@7ingel7angel7om 6 ай бұрын
Yes, a Gateway 🎉
@Meshtastic
@Meshtastic 6 ай бұрын
Meshtastic on native Linux devices does not function as a gateway. We can do some gateway-ish things but not what you'd expect when you think of a Lorawan gateway. Meshtastic is LoRa P2P.
@7ingel7angel7om
@7ingel7angel7om 6 ай бұрын
@@Meshtastic aww 😔
@modhappy
@modhappy 3 ай бұрын
You should create your own MeshtasticOS Raspberry Pi Distro
@Meshtastic
@Meshtastic 2 ай бұрын
We might host a repo with meshtasticd and potentially other tools in there. Full blown distro is likely overkill, not to mention a lot of work.
@MehdiGuizani
@MehdiGuizani 2 ай бұрын
We want more mesh 😂
@lslBASICS
@lslBASICS 5 ай бұрын
useful commands manually start meshtasticd meshtasticd -c /etc/meshtasticd/config.yaml sudo systemctl enable meshtasticd --now sudo systemctl disable meshtasticd --now view the log of the systemctl journalctl -u meshtasticd -f
@arekx
@arekx 6 ай бұрын
Ups, no 32bit meshtasticd build. Wanted to run it on raspberry pi 2, assembled hardware and a surprise for me... Edit: but own build from git works !
@Meshtastic
@Meshtastic 6 ай бұрын
Sorry about the surprise, it was mentioned in the video that it was for 64 bit and we do have a footnote in our docs about our current issues building for 32 bit and a recommendation on how to resolve. We're working to resolve this though to have both. Glad you were able to figure it out!
@miestermind
@miestermind 4 ай бұрын
Can I swap the pi for a Jetson Orin?
@Meshtastic
@Meshtastic 4 ай бұрын
Without some modifications, likely no. You could probably make it work assuming you double check pin assignments and such. Feel free to join the discord and pop by the #linux-native channel. The kind folks there, including Jonathan, can help you out.
@lanealucy
@lanealucy 6 ай бұрын
Can it interface a arduino lora hat over a arduino uno serial connection?
@Meshtastic
@Meshtastic 6 ай бұрын
I'm not sure in what manner you are referring to. If you are asking can you use the raspberry pi interfaced to the Uno with LoRa hat to act as the radio for Meshtastic, then the answer is no.
@lanealucy
@lanealucy 6 ай бұрын
@@Meshtastic already made a feature request on GitHub
@RussellNelson
@RussellNelson 6 ай бұрын
RAK 821?
@Meshtastic
@Meshtastic 6 ай бұрын
Not seeing a RAK821, do you have a link? It would need to be a SPI hat. Most of the RAK devices are LoRaWAN concentrators which are not compatible.
@RussellNelson
@RussellNelson 6 ай бұрын
Yes, this is a LoRaWAN concentrator (gateway). I guess I should hand it off to one of my LoRaWAN friends.@@Meshtastic
@KillDaRoy
@KillDaRoy 6 ай бұрын
GPS and MQTT wont work
@Meshtastic
@Meshtastic 6 ай бұрын
GPS and MQTT have been confirmed to work. It sounds like there might be a configuration issue. Join the discord and post your issue in #linux-native and I'm sure someone can help get you squared away.
@KillDaRoy
@KillDaRoy 6 ай бұрын
@@Meshtastic Thx for reply. MQTT works now, on the first channel. But unfortunately not GPS, despite the identical settings here in the video. Oddly enough, he revealed his position a few times, but then stopped. The GPS fix is ​​stable. Unfortunately, Meshtastic currently crashes after about 48 hours. After 2-3 reboots it works again, but only for the next about 48 hours.
@kerron_
@kerron_ 6 ай бұрын
I want turn my pilot gateway pro rak7243 into a mestastic device
@Meshtastic
@Meshtastic 6 ай бұрын
Unfortunately, LoRaWAN concentrators are not compatible with Meshtastic.
@kerron_
@kerron_ 6 ай бұрын
Oh OK I'll rip that sucker out and wire up a compatible lora module. Thanks for responding.
@lowdrag462
@lowdrag462 6 ай бұрын
And that’s it so easy😂😂😂😂😂
@Meshtastic
@Meshtastic 6 ай бұрын
Exactly! :)
@helinick81
@helinick81 6 ай бұрын
most HAts are UART... after weeks of waiting now none of the UART PI hats work.... waste of time
@Meshtastic
@Meshtastic 6 ай бұрын
Sorry, SPI has always been a requirement for Meshtastic. We do not support any UART radios. There are several options available for SPI hats, including the one linked in this video.
@andrewmckenzie9080
@andrewmckenzie9080 6 ай бұрын
@meshtastic out of interest why the requirement of SPI over UART?
@Meshtastic
@Meshtastic 6 ай бұрын
We utilize RadioLib as our communication library and this is something they don't and will not support. You can read a good summary as to why here: github.com/jgromes/RadioLib/issues/664#issuecomment-1385559414
Meshtastic ATAK Plugin
9:24
Meshtastic
Рет қаралды 33 М.
Meshtastic Routing Issues & Deployment Scenarios
9:06
The Comms Channel
Рет қаралды 10 М.
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 94 МЛН
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 35 МЛН
Getting Started with Meshtastic - WisBlock
10:25
The Comms Channel
Рет қаралды 49 М.
465 Rutgers University Confirmed: Meshtastic and LoRa are dangerous
13:27
TailsOS Guide For The Ultra Paranoid
35:32
Mental Outlaw
Рет қаралды 443 М.
Did MESHTASTIC Die At Hamvention??
7:54
Ham Radio Crash Course
Рет қаралды 42 М.
BBS & Mail for Meshtastic!
17:15
The Comms Channel
Рет қаралды 27 М.
YOU NEED TO KNOW THIS ABOUT MESHTASTIC...
12:59
andy kirby
Рет қаралды 34 М.
DIY Raspberry Pi Racecar Dashboard: The Ultimate Guide
15:11
BEAVIS Motorsport
Рет қаралды 763 М.
Advanced Meshtastic - Remote Node Administration
12:19
The Comms Channel
Рет қаралды 22 М.
Setup Raspberry Pi 5 As Every Day Desktop
19:43
EZ Does IT
Рет қаралды 6 М.
Every Developer Needs a Raspberry Pi
27:27
Sam Meech-Ward
Рет қаралды 770 М.
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 94 МЛН