ok1hra / band_decoder_2 Goto Github PK
View Code? Open in Web Editor NEWRead frequency from YAESU KENWOOD ICOM FLEX transcivers CAT, YAESU BCD and Icom ACC voltage
Read frequency from YAESU KENWOOD ICOM FLEX transcivers CAT, YAESU BCD and Icom ACC voltage
Hi,
your FW contains issue when the EthModule definition is commented.
If the EthModule is commented, the variables "DetectedRemoreSW" and "RemoteSWLatencyANSW" are undefined in PttOff function because the definition of these variables is in "#if defined(EthModule)" condition
Thank you for the .ino file with the following configuration:
//=====[ Inputs ]=============================================================================================
#define INPUT_BCD // TTL BCD in A
int BcdInputFormat = 0; // if enable INPUT_BCD, set format 0 - YAESU, 1 ELECRAFT
//#define ICOM_ACC // voltage 0-8V on pin4 ACC(2) connector - need calibrate table
// #define INPUT_SERIAL // telnet ascii input - cvs format [band],[freq]\n
// #define ICOM_CIV // read frequency from CIV
// #define KENWOOD_PC // RS232 CAT
// #define FLEX_6000 // RS232 CAT
// #define YAESU_CAT // RS232 CAT YAESU CAT since 2015 ascii format
// #define YAESU_CAT_OLD // Old binary format RS232 CAT ** tested on FT-817 **
// #define YAESU_CAT_FT100 // RS232 CAT YAESU for FT100(D)
//#define MULTI_OUTPUT_BY_BCD // manual switch between four output on same band by BCD input
// - INPUT_BCD input must be disable
// - BCD output will be disble
// - it must always be select (grounded) one of BCD input
//=====[ Outputs ]============================================================================================
// If enable:
// - baudrate is same as selected Inputs
// - Inputs work only in 'sniff mode'
// - for operation must disable REQUEST
//
// #define ICOM_CIV_OUT // send frequency to CIV ** you must set TRX CIV_ADRESS **
// #define KENWOOD_PC_OUT // send frequency to RS232 CAT
// #define YAESU_CAT_OUT // send frequency to RS232 CAT ** for operation must disable REQUEST **
// #define SERIAL_echo // Feedback on serial line in same baudrate, CVS format <[band],[freq]>\n
I uploaded it and can confirm that on the LCD all is OK if I pull down the BCD inputs, the correct antenna is displayed on the LCD BUT !!! but the 8 outputs are not working properly
The 8 outputs SW1 - SW8 are not representing in decimal format the BCD input
First I was thinking I had a faulty 74hc 595, but if I use the following code
the 8 outputs SW1 - SW8 are working all fine
Any idea what might be wrong
int latchPin = 8; // Latch pin of 74HC595 is connected to Digital pin 5
int clockPin = 9; // Clock pin of 74HC595 is connected to Digital pin 6
int dataPin = 7; // Data pin of 74HC595 is connected to Digital pin 4
byte leds = 0; // Variable to hold the pattern of which LEDs are currently turned on or off
/*
/*
/*
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.