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 Arduino Mega, Ethernet connectivity & MQTT #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

g0fcu
Copy link

@g0fcu g0fcu commented Jun 8, 2022

2022 March/April : Simon G0FCU, changes identified by a comment with 'SHK' and date:
added support for the Arduino Mega --define ARDUINO_MEGA
added support for 20x4 I2C LCD --define USE_20X4_LCD
added support for MQTT and Ethernet board --define MQTT_ENABLED --due to the memory constraints will probably only work with the Mega version
changed the way the tuned frequency is recorded - this may be only required if using the Mega as the routine called to measure the frequency is different for the Mega
Pin 47 has to be used instead of pin 5 on the Uno
The IO expander is not used, native Mega pins are used from 30-46, 46 & 48 for Lo-Q/Hi-Q switching and 47 for frequency.
MQTT
Message 'Tuner commands'
Values:
C - clear buffer
B - print buffer values in MQTT message 'Tuner status'
M - manual tune
L - lock
U - unlock
Z - sleep/wake
Message 'Tuner status' values:
0 MQTT Connected
1 Tuned
2 Tuning
3 Tune lock ON
4 Idle
5 Manual Tuning
6 Pending idle SWR OK
7 Untunable
8 Pending idle no tx

I think that's it. I haven't regression tested this on a Uno.

g0fcu added 2 commits June 8, 2022 21:29
Support added for Arduino Mega and MQTT via Ethernet
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

Successfully merging this pull request may close these issues.

1 participant