Skip to content

Commit

Permalink
Ficheros no necesarios
Browse files Browse the repository at this point in the history
  • Loading branch information
surfzone-org committed Jul 13, 2022
1 parent 58f40b1 commit 6288b6b
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 185 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch
/.vscode
/.pio
1 change: 0 additions & 1 deletion .pio/build/project.checksum

This file was deleted.

57 changes: 0 additions & 57 deletions .vscode/c_cpp_properties.json

This file was deleted.

10 changes: 0 additions & 10 deletions .vscode/extensions.json

This file was deleted.

44 changes: 0 additions & 44 deletions .vscode/launch.json

This file was deleted.

73 changes: 0 additions & 73 deletions include/configuration_pins.h

This file was deleted.

39 changes: 39 additions & 0 deletions include/configuration_pins_arduino.h
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
38 changes: 38 additions & 0 deletions include/configuration_pins_raspberry.h
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:

0 comments on commit 6288b6b

Please sign in to comment.