You will have a maximum of 23 physical Inputs/Outputs available (18 with the radio option). The number of inputs may be lower depending on the options chosen (1 for RGB Leds, 2 or 3 for 7 segments displays and 2 for the vibration motors, etc).
Caution, in native communication with the base, the number of inputs retrieved cannot exceed 26 and their function can be imposed:
-
2 inputs for analog axes X and Y (Joystick).
-
4 inputs for the directional cross
-
2 inputs for a rotary encoder
-
1 input for the FFB configuration button
By using the radio module, you will not have these constraints. If you choose the radio option, don't forget to also purchase a radio dongle if you don't already have one.
On this page you can check if your configuration is feasable : https://www.electroseed.fr/shop/board_tester.php?board_pid=581
Connectors :
-
Radio modules
-
JST 2.0 SPI Port
-
Asynchronous Serial Port
-
RGB Leds
-
2 JST 2.0 for motors
-
2 JST 2.0 for Shifters
-
2 JST 1.0 for APM modules (1 analog paddle + 2 shifters)
This board is powered by Teensy's micro-USB port.
A printed PLA support is included as an option.
Teensy LC :
Teensy LC operates at 48 MHz max. All inputs are 3.3V only and are not 5V tolerant. All outputs are 3.3V except D17 pin which is 5V. You will have access to 27 I/Os (22 when using a radio module).
-
22 Digital Inputs / Outputs : D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D15(A1), D16(A2), D17(A3), D18(A4), D19(A5), D20(A6), D21(A7), D22(A8), D23(A9), D24(A10), D25(A11), D26(A12)
-
5 Digital Inputs / Outputs dedicated to SPI or radio module : D10(CE), D11(MOSI), D12(MISO, D13(SCK), D14(CS)
-
12 Analog Inputs multiplexed on a 16 bits ADC : A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12
-
1 Digital output amplified to 5V to drive RGB Leds
-
1 Analog Output on a 12 bits DAC : A12
To reprogram the board or to calibrate the axis, you need to
install Node Blue. It is recommended to reprogram the board to benefit from the latest version.
Depending on the project you are using, you will have to use one of the following 2 methods:
-
Calibration with the serial monitor
You will need to have a "NodeBlue Interface", "SimHub Interface" or "Nextion Interface" module in your project.
Attention : if the USB port is used for a Nextion, leds or other Simhub interfaces, you'll need to disconect SimHub in order to free the serial COM port.
In
Node Blue, open a serial monitor on the board (at the top of the window, select the correct COM port and click on the # icon), You can see the calibration messages in the serial monitor (window at the bottom in
Node Blue). You must also display the "Controllers" tab at the top right. Select "Raw" as display mode.
For each axis:
-
Click on the "Cal" input of the analog input module, the sensor module (eg AS5600) or the "Range" module. The module name can be "Accel", "X", "Y" or "Z", or something else depending on the application. Once cal is pressed, a message appears in the serial monitor window. Follow the instructions.
-
Once the calibration is complete, double click on the module to change the low and high deadband parameters. Check in the controller tab that when the axis is completely released the value is 0 and when it is fully released the value is 65535. Adjust the dead zones if necessary. Click on "Invert" if you need the axis to work in an inverted way.
Once the calibration of all axis is complete, save the project so that the settings are saved, either by using the "Save project" menu or with the CTRL-S key combination. If the project is read-only, use the "Save As" menu and choose another name.
-
Manual Calibration (if the USB Virtual serial port is not present or used by another non compatible module)
In the "Controllers" tab at the top right. Select "Raw signed" as the display mode.
For each axis:
-
Double-click on the analog input module "X", "Y" or "Z" (or any other name depending on the project) concerned by the axis.
-
Position the axis to the minimum, copy the value displayed in the controller tab (adding a small margin), in the "In Min" parameter of the module.
-
Position the axis to the maximum, copy the value displayed in the controller tab (by removing a small margin), in the "In Max" parameter of the module.
-
change the low and high deadband parameters. Check in the controller tab that when the axis is completely released the value is 0 and when it is fully released the value is 65535. Adjust the dead zones if necessary.
Once each axis has been done :
-
Save the project so that the settings are saved, either by using the "Save project" menu or with the CTRL-S key combination. If the project is read-only, use the "Save As" menu and choose another name.
-
Select the com port among those detected (disconnect any other detected boards to be sure to program the board you want).
-
Upload the project to the board ("Upload" button).
The settings are saved in the flash memory of the board and are restored at each restart.