-
Notifications
You must be signed in to change notification settings - Fork 43
Default Pins
jbkuma edited this page Jan 5, 2018
·
14 revisions
FX-SaberOS is designed to be used with ATmega328 based boards such as the Arduino Nano and DIYino. It is possible to use other chips, but you may need to configure your sketch appropriately. All pins can be configured in Config.h.
- Default FX-SaberOS Pins
- DIYino Hardware Reserved Pins
Default Pin Usage for FX-Saber OS | ||||||
---|---|---|---|---|---|---|
Pin# | Arduino Function | All Configurations | Blade Type | |||
FXSOS | Other | Pixel | String | RGB LED | ||
0 | RX | RX | ||||
1 | TX | TX | ||||
2 | INT0 | Clash Interupt | ||||
3 | PWM | INT1 | LS1 | LEDSTRING1 | LED_RED | |
4 | LOCKUP_BUTTON | |||||
5 | PWM | LS2 | LEDSTRING2 | LED_BLUE | ||
6 | PWM | LS3 | LEDSTRING3 | LED_GREEN | ||
7 | DFplayer TX | |||||
8 | DFplayer RX | |||||
9 | PWM | LS4 | LEDSTRING4 | |||
10 | PWM | SS | LS5 | LEDSTRING5 | ||
11 | PWM | MOSI | LS6 | LEDSTRING6 | ||
12 | MISO | MAIN_BUTTON | ||||
13 | SCK | DATA_PIN | FOCSTRING | |||
A0/14 | analog | ACCENT_LED | ||||
A1/15 | analog | |||||
A2/16 | analog | |||||
A3/17 | analog | BATTERY_READ | ||||
A4/18 | SDA | analog | MPU SDA | |||
A5/19 | SCL | analog | MPU SCL | |||
A6/20 | analog | input only | SPK1 (for flicker) | |||
A7/21 | analog | SPK2 (for flicker) |
DIYino Hardware Reserved | |||
---|---|---|---|
Pin # | Prime v1 | Prime 1.5 | Stardust |
0 | - | ||
1 | - | ||
2 | - | ||
3 | LS1 | LS1 | - |
4 | - | ||
5 | LS2 | LS2 | LS1 |
6 | LS3 | LS3 | LS2 |
7 | DF TX | DF TX | DF TX |
8 | DF RX | DF RX | DF RX |
9 | LS4 | LS4 | LS3 |
10 | LS5 | LS5 | - |
11 | LS6 | LS6 | Aux Switch |
12 | Main Switch | ||
13 | Pixel Data | ||
A0/14 | Accent_LED | ||
A1/15 | MP3_PSWITCH | ||
A2/16 | FTDI_PSWITCH | ||
A3/17 | - | ||
A4/18 | - | ||
A5/19 | - | ||
A6/20 | SPK1 | SPK1 | |
A7/21 | SPK2 | SPK2 |