-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
58f40b1
commit 6288b6b
Showing
8 changed files
with
79 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ | |
.vscode/c_cpp_properties.json | ||
.vscode/launch.json | ||
.vscode/ipch | ||
/.vscode | ||
/.pio |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/*************************************************************** | ||
openELECTRO | ||
Home appliance control, based on arduino and other MPU | ||
https://github.com/carlymx/openELECTRO | ||
[email protected] | ||
2022 | ||
***************************************************************/ | ||
|
||
//=========================================== | ||
// ARDUINO PIN CONFIGURATION: = | ||
//=========================================== | ||
|
||
// DEFAULT = ARDUINO NANO PINOUT COMPATIBLE: | ||
// OUTPUTS RELAYS: | ||
#define PIN_LIGHT_CHAMBER 12 // ON/OFF - RELAY | ||
#define PIN_RESISTOR_UP 11 // ON/OFF - RELAY | ||
#define PIN_RESISTOR_DOWN 8 // ON/OFF - RELAY | ||
#define PIN_RESISTOR_REAR 7 // ON/OFF - RELAY | ||
// OUTPUTS DIMMER: | ||
#define PIN_COOL_FAN 10 // 50/60Hz AC DIMMER CONTROL | ||
#define PIN_CHAMBER_FAN 9 // 50/60Hz AC DIMMER CONTROL | ||
// PCB CONTROL: | ||
#define PIN_PCB_FAN 6 // PCB FAN (PWM PIN REQUIRED) (IN UNO, MINI or NANO: PIN 6 TIMER-0) | ||
#define PIN_SPEEKER 5 // Piezoelectric (PWM PIN REQUIRED) (IN UNO, MINI or NANO: PIN 5 TIMER-0) | ||
// COMMUNICATIONS: | ||
#define PIN_ESP8266_RX 3 // RX WIFI ESP8266 PORT | ||
#define PIN_BT_HC05_RX 13 // RX BLUETOOTH PORT | ||
#define PIN_I2C_SDA PIN_A4 // I2C PORT | ||
#define PIN_I2C_SCL PIN_A5 // I2C PORT | ||
// INPUTS: | ||
#define PIN_OPEN_DOOR 4 // ON/OFF (1 CLOSE, 0 OPEN) | ||
#define PIN_ZERO_CROSSING 2 // 50/60Hz AC ZERO_CROSSING INTERRUPT | ||
#define PIN_PUSH_00 PIN_A0 // PUSH BUTTON INPUT | ||
#define PIN_PUSH_01 PIN_A1 // PUSH BUTTON INPUT | ||
#define PIN_PUSH_02 PIN_A2 // PUSH BUTTON INPUT | ||
#define PIN_PUSH_03 PIN_A3 // PUSH BUTTON INPUT | ||
#define PIN_TEMP_SENSOR_01 PIN_A6 // ANALOG SENSOR IN | ||
#define PIN_TEMP_SENSOR_02 PIN_A7 // ANALOG SENSOR IN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/*************************************************************** | ||
openELECTRO | ||
Home appliance control, based on arduino and other MPU | ||
https://github.com/carlymx/openELECTRO | ||
[email protected] | ||
2022 | ||
***************************************************************/ | ||
|
||
//=========================================== | ||
// RASPBERRY PICO PIN CONFIGURATION: = | ||
//=========================================== | ||
|
||
// OUTPUTS RELAYS: | ||
#define PIN_LIGHT_CHAMBER 99 // ON/OFF - RELAY | ||
#define PIN_RESISTOR_UP 99 // ON/OFF - RELAY | ||
#define PIN_RESISTOR_DOWN 99 // ON/OFF - RELAY | ||
#define PIN_RESISTOR_REAR 99 // ON/OFF - RELAY | ||
// OUTPUTS DIMMER: | ||
#define PIN_COOL_FAN 99 // 50/60Hz AC DIMMER CONTROL | ||
#define PIN_CHAMBER_FAN 99 // 50/60Hz AC DIMMER CONTROL | ||
// PCB CONTROL: | ||
#define PIN_PCB_FAN 99 // PCB FAN (PWM PIN REQUIRED) | ||
#define PIN_SPEEKER 99 // Piezoelectric Speaker (PWM PIN REQUIRED) | ||
// COMMUNICATIONS: | ||
#define PIN_ESP8266_RX 99 // RX WIFI ESP8266 PORT | ||
#define PIN_BT_HC05_RX 99 // RX BLUETOOTH PORT | ||
#define PIN_I2C_SDA 99 // I2C PORT | ||
#define PIN_I2C_SCL 99 // I2C PORT | ||
// INPUTS: | ||
#define PIN_OPEN_DOOR 99 // ON/OFF (1 CLOSE, 0 OPEN) | ||
#define PIN_ZERO_CROSSING 99 // 50/60Hz AC ZERO_CROSSING INTERRUPT | ||
#define PIN_PUSH_00 99 // PUSH BUTTON INPUT | ||
#define PIN_PUSH_01 99 // PUSH BUTTON INPUT | ||
#define PIN_PUSH_02 99 // PUSH BUTTON INPUT | ||
#define PIN_PUSH_03 99 // PUSH BUTTON INPUT | ||
#define PIN_TEMP_SENSOR_01 99 // ANALOG SENSOR IN | ||
#define PIN_TEMP_SENSOR_02 99 // ANALOG SENSOR IN PINOUT COMPATIBLE: |