<commit_before>## The multimode beacon is based on Arduino + si5351 module.

Supported modes:

* WSPR2
* WSPR15
* JT65
* JT9
* JT4
* ISCAT

Key features:

* Internal encoder for WSPR and ISCAT.
* Simple "in code configuration".
* Useful on-line mode configurator.
* TX start is controlled by extremely accurate I2C real-time clock Ds3231.
* Terminal-based command line interface.
* Support band-hopping with LPF auto selection.
* Pin-compliant with QRP-LABS Arduino shield and relay-switch board.

To configure base frequency, step of FSK manipulation, T/R interval, mode - please use javascript based configurator: http://ra9yer.blogspot.com/p/si5351-configurator.html or open local configurator : ./doc/band_configurator.html 

The WSPR beacon message in defined directly  in the code in text form. Please use command-line utilities _jt65code_, _jt4code_,  _jt9code_ to generate symbol stream for these modes.

Terminal commands:

Command | Description | Example
------------ | -------------- | --------------
ts | Time Show (show current time) | ts
ts N | Time Show N times | ts 5
start | Start transmission | start
stop | Terminate transmission | stop
activate | Activate autostart TX mode | activate
deactivate | Deactivate autostart TX mode | deactivate
si | Show system info (time+launch time) | si
bhe | Band hopping enable | bhe
bhd | Band hopping disable | bhd
nb | Next band (useful when band hopping is disabled) | nb
temperature | show current temperature measured by Ds3231 | temperature 
setdate | update time in Ds3231 chip | setdate 2016-05-01 12:35:30


Please configure terminal with **newline**  termination.
Command `setdate` - in-chip datetime will be updated as soon as you hit enter.

![Block diagram](https://2.bp.blogspot.com/-hdYOkN2AvIw/VybUynSdfFI/AAAAAAAAAJ8/lczwSbtwa54h3cWx3Q5UmBE4t_etAARygCLcB/s320/arduino-ds3231-si5351.png)

![Terminal example](https://3.bp.blogspot.com/-E1QhD6bWxl4/VybOqeFfsKI/AAAAAAAAAJg/3BXgIYNTHCA2YlTMp3Ox0uFHq-kiFLflQCLcB/s320/arduino-terminal.jpg)

![qrp-labs arduio shield](https://3.bp.blogspot.com/-Rw9oxR0kns4/VybUZYk75xI/AAAAAAAAAJ4/JWqDjWBB75sM4XN4ooix6PZDgHmby1rtwCLcB/s320/arduin-si5351-qrplabs.jpg)

After downloading, rename folder to 'si5351-beacon'. It is arduino obligatory, the folder name should have the same name as *.ino file has.


Si5351 module, arduio-shield, LPF's, relay-switched board was purchased from http://www.qrp-labs.com  <commit_msg>image removed<commit_after>## The multimode beacon is based on Arduino + si5351 module.

Supported modes:

* WSPR2
* WSPR15
* JT65
* JT9
* JT4
* ISCAT

Key features:

* Internal encoder for WSPR and ISCAT.
* Simple "in code configuration".
* Useful on-line mode configurator.
* TX start is controlled by extremely accurate I2C real-time clock Ds3231.
* Terminal-based command line interface.
* Support band-hopping with LPF auto selection.
* Pin-compliant with QRP-LABS Arduino shield and relay-switch board.

To configure base frequency, step of FSK manipulation, T/R interval, mode - please use javascript based configurator: http://ra9yer.blogspot.com/p/si5351-configurator.html or open local configurator : ./doc/band_configurator.html 

The WSPR beacon message in defined directly  in the code in text form. Please use command-line utilities _jt65code_, _jt4code_,  _jt9code_ to generate symbol stream for these modes.

Terminal commands:

Command | Description | Example
------------ | -------------- | --------------
ts | Time Show (show current time) | ts
ts N | Time Show N times | ts 5
start | Start transmission | start
stop | Terminate transmission | stop
activate | Activate autostart TX mode | activate
deactivate | Deactivate autostart TX mode | deactivate
si | Show system info (time+launch time) | si
bhe | Band hopping enable | bhe
bhd | Band hopping disable | bhd
nb | Next band (useful when band hopping is disabled) | nb
temperature | show current temperature measured by Ds3231 | temperature 
setdate | update time in Ds3231 chip | setdate 2016-05-01 12:35:30


Please configure terminal with **newline**  termination.
Command `setdate` - in-chip datetime will be updated as soon as you hit enter.

![Block diagram](https://2.bp.blogspot.com/-hdYOkN2AvIw/VybUynSdfFI/AAAAAAAAAJ8/lczwSbtwa54h3cWx3Q5UmBE4t_etAARygCLcB/s320/arduino-ds3231-si5351.png)

![qrp-labs arduio shield](https://3.bp.blogspot.com/-Rw9oxR0kns4/VybUZYk75xI/AAAAAAAAAJ4/JWqDjWBB75sM4XN4ooix6PZDgHmby1rtwCLcB/s320/arduin-si5351-qrplabs.jpg)

After downloading, rename folder to 'si5351-beacon'. It is arduino obligatory, the folder name should have the same name as *.ino file has.


Si5351 module, arduio-shield, LPF's, relay-switched board was purchased from http://www.qrp-labs.com  
{'fraction_non_alphanumeric': 0.09678791746436928, 'fraction_numerical': 0.04318230163794937, 'mean_word_length': 4.212860310421286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 5, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3560876', 'n_tokens_mistral': 1734, 'n_tokens_neox': 1554, 'n_words': 507}