Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for 433MHz radios in the EU (current build is 865MHz only) #13

Closed
astro-arphid opened this issue Mar 4, 2020 · 12 comments
Closed
Assignees

Comments

@astro-arphid
Copy link

Hi! I'm really excited to give this a go, but just want to check something before flashing.

In the UK, the use of 433MHz is also permitted, but this isn't listed in the documentation here. Given that my hardware is compatible with this band, would Meshtastic work out of the box, or would additional changes to the code need to be made to support this?

Thanks!

@astro-arphid
Copy link
Author

astro-arphid commented Mar 4, 2020

Sorry - I got excited and didn't fully look over everything. Checked the firmware releases and there isn't anything for the hardware requirement at this time.

Closing for now, but will look into building a working version based on the documentation. The hardware specifically is the Heltec LoRa 32, 433 - 470MHz.

Thanks!

@geeksville geeksville changed the title Supported frequencies Add support for 433MHz radios in the EU Mar 4, 2020
@geeksville
Copy link
Member

geeksville commented Mar 4, 2020

@astro-arphid Sounds good. If you wanna shoot over a PR to add a EU433 region that would be great. Essentially you'd need to

  • change bin/build-all to add EU433 (and change the name of EU to EU865 - I didn't realize 433 was an option over there)
  • change src/MeshRadio.h (see CH0_EU for example). Check for HW_VERSION_EU433.
  • change the README.md to mention the new choice of 433 mhz radios for EU.

@geeksville geeksville reopened this Mar 4, 2020
@geeksville
Copy link
Member

geeksville commented Mar 4, 2020

(the current code for EU builds configures the radios for 865MHz - which you definitely don't want if the mfg stuffed parts for 433MHz). You probably don't even want the 470MHz CN build, because it would still not be ideal.

@geeksville geeksville changed the title Add support for 433MHz radios in the EU Add support for 433MHz radios in the EU (current build is 865MHz only) Mar 4, 2020
@geeksville
Copy link
Member

btw @astro-arphid do you think you might be able to sign up for this task? I'm sort of able to do it, but it would be better if someone that actually has 433MHz hardware tried tested it.

@astro-arphid
Copy link
Author

@geeksville I'll certainly give it a go this weekend, if everything goes to plan!

@astro-arphid
Copy link
Author

@geeksville Looking over the LoRA Alliance paramaters at the moment and just want to check that I'm following this correctly - let me know if this isn't the standard being worked with.

Based on the documentation, 433.175MHz is the minimum center frequency and 434.665MHz is the maximum, where 433.175, 433.375 and 433.575 are specified as channels 0, 1 and 2. Would it make sense to have the following, maxing out at 8 channels, where channel 8 would be 434.575MHz?

// src/MeshRadio.h
// EU433 channel settings
#define CH0_EU443          433.175f // MHz
#define CH_SPACING_EU433   0.2f // MHz
#define NUM_CHANNELS_EU433 8

@geeksville
Copy link
Member

geeksville commented Mar 6, 2020 via email

@astro-arphid
Copy link
Author

@geeksville I should be able to test this shortly. Building at the moment, but noticed that the board is set to ttgo-t-beam by PlatformIO even when making sure that HELTEC_LORA32 is defined in configuration.h - is this okay or should I be changing this in the PlatformIO configuration also?

For example, when building within VSCode I see this:

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/ttgo-t-beam.html
PLATFORM: Espressif 32 1.11.2 > TTGO T-Beam
HARDWARE: ESP32 240MHz, 1.25MB RAM, 4MB Flash

@geeksville
Copy link
Member

geeksville commented Mar 7, 2020 via email

@geeksville
Copy link
Member

@astro-arphid no pressure but just checking in: did the 440mhz stuff work for you?

@astro-arphid
Copy link
Author

astro-arphid commented Mar 10, 2020

@geeksville Sorry, I'll try and get that tonight or tomorrow. I've been able to get the two to pair on separate devices and send messages to each other. I had an initial issue where after a few minutes, bluetooth would disable on both of them and I had to power cycle them (by 'them', I mean the radios), before the same thing would happen again.

It looks like this was picked up based on the gitter chat, I pulled the newer version down and uploaded to the radios, but haven't had the chance to properly test - just a quick go at it the last couple of mornings. I might be the OnePlus user mentioned on the google group.

@spattinson
Copy link
Contributor

Im interested in 433Mhz well 434 really, I think it gets you out of the commercial band of door bells, garage openers, etc. I have a couple of ttgo tbeams I'd like to try this out.. looks amazing from what I have seen so far.

astro-arphid pushed a commit to astro-arphid/Meshtastic-esp32 that referenced this issue Mar 12, 2020
geeksville added a commit that referenced this issue Mar 12, 2020
#13 - add support for 433MHz Heltec boards (thanks to @astro-arphid)
mc-hamster added a commit that referenced this issue Oct 11, 2020
Update my fork from head with 1.1 changes
@GUVWAF GUVWAF mentioned this issue Apr 20, 2023
rickmark pushed a commit to rickmark/meshtastic-firmware that referenced this issue Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants