Skip to content

Pulsar07/JetiExSensor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JetiEx Sensor Library for Arduino Mini Pro/Teensy 3.x/Micro Pro/Leonardo

Serial interface to transmit telemetry data to Jeti Duplex receivers. For Arduino Mini Pro 328, Nano, Leonardo/Pro Micro and Teensy 3.x.

Version history:
0.90   11/22/2015  created
0.92   12/14/2015  set baudrate for 8 MHz Mini Pro added
                   15 sensor values, data type 22b added
0.93   12/14/2015  bug fixed when less sensors than fit in one frame
0.94   12/22/2015  Teensy 3.x support on Serial2
0.95   12/23/2015  Refactoring
                   Data types added: GPS, date/time, 6b, 30b
0.96   02/21/2016  comPort number as optional parameter for Teensy in Start(...)
                   sensor device id as optional parameter (SetDeviceId(...))
                   new sample program: JetiExSimple (stripped down to the essential things)
0.97   02/26/2016  runs w/o EX sensors (Jetibox only), see sample "JetiNoxEX"
0.98   04/09/2016  slightly improved sensor packet size calculation (avoids "flickering" values)
0.99   06/05/2016  max number of sensors increased to 32
                      (set MAX_SENSOR to a higher value in JetiExProtocol.h if you need more)
                   bug with TYPE_6b removed
                   DemoSensor delivers 18 demo values now
1.00   01/29/2017  Some refactoring:
                   - Bugixes for Jetibox keys and morse alarms (Thanks to Ingmar !)
                   - Optimized half duplex control for AVR CPUs in JetiExHardwareSerialInt class (for improved Jetibox key handling)
                   - Reduced size of serial transmit buffer (128-->64 words)
                   - Changed bitrates for serial communication for AVR CPUs (9600-->9800 bps)
                   - EX encryption removed, as a consequence: new manufacturer ID: 0xA409
                     *** Telemetry setup in transmitter must be reconfigured (telemetry reset) ***
                   - Delay at startup increased (to give receiver more init time)
                   - New HandleMenu() function in JetiexSensor.ini (including more alarm test)
                   - JETI_DEBUG and BLOCKING_MODE removed (cleanup)
1.01   02/15/2017  Support for ATMega32u4 CPU in Leonardo/Pro Micro
                   GetKey routine optimized
1.02   03/28/2017  New sensor memory management. Sensor data can be located in PROGMEM
1.03   07/14/2017  Allow all jetibox key combinations (thanks to ThomasL)
                   Disable RX at startup to prevent reception of receiver identification
                   Send dictionary already in serial initialization for the 1st time
                     in order to improve behaviour on telemetry reset
1.04   07/18/2017  dynamic sensor de-/activation
1.05   11/12/2017  send 3 textframes before start of EX transmission to get transmitter ready
1.06   02/14/2021  enhance interface / implementation for priorized sensor send capabilities (SetSensorValue(id, value, prio))
                   to avoid deffered transmission of high prio data (vario).
1.07   02/18/2021  fixed priorized sensor implementation and added interface to speed up frame send cycle (SetJetiSendCycle(aTime))
1.08   02/28/2021  - bug fix: ex buffer overrun for sensor ids >15 fixed (forced strange behaviour in prio handling)
                   - some more index size checks
                   - simplified code for prio data handling
                   - handling of -1 as invalid data removed, due to dynamic prio (SetSensorValue(..., prio) and SetSensorActive()
                     interface

License

Copyright (C) 2017 by Bernd Wokoeck
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.

About

Simple C++ Library to send telemetry values via JETI DUPLEX EX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%