User Tools

Site Tools


eolab:ioa_trough_automation:documentation:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
eolab:ioa_trough_automation:documentation:start [2022/03/07 12:52] jan001eolab:ioa_trough_automation:documentation:start [2022/03/10 15:59] (current) jan001
Line 18: Line 18:
 ==== High Voltage Switching Side ==== ==== High Voltage Switching Side ====
 <imgcaption switching>{{ :eolab:ioa_trough_automation:documentation:switchingside.png?300|Switching Side}}</imgcaption> <imgcaption switching>{{ :eolab:ioa_trough_automation:documentation:switchingside.png?300|Switching Side}}</imgcaption>
-The high voltage side is directly fed by whatever voltage is applied to the PCB Input. So it is only limited by the voltage accepted by the voltage regulator. The relay can be toggled by toggling GPIO13 on the microcontroller. The relay populated is a normally open one. If the relay is activated and the coil inside is energized, the LED by the relay will light up. This is not an indication that there is definitely a voltage at the high voltage output pad but you at least know the state of the relay. On the low side of the high voltage output a current sensor is attached.+The high voltage side is directly fed by whatever voltage is applied to the PCB Input. So it is only limited by the voltage accepted by the voltage regulator. The relay can be toggled by toggling GPIO13 on the microcontroller. The relay populated is a normally open one. If the relay is activated and the coil inside is energized, the LED by the relay will light up. This is not an indication that there is definitely a voltage at the high voltage output pad but you at least know the state of the relay. On the low side of the high voltage outputa current sensor by Texas Instruments is attached. The datasheet can be found here: [[https://www.ti.com/lit/ds/symlink/ina4180.pdf|Datasheet]]. Depending on the load attached, the shunt-resistor has to be selected. More about this topic can be found here: [[https://eepower.com/resistor-guide/resistor-applications/shunt-resistor/#|Shunt Resistor for Current Measuring]]. The output of the current sense amplifier is attached to the analog input pin of the ESP microcontroller. This information can be used to identify the state of the load attached or just to measure the current used over a period of time.
  
-===== How to program =====+===== How to use the board ===== 
 + 
 +==== Programming ==== 
 + 
 +<imgcaption board+cables>{{ :eolab:ioa:trough_automation:20220217_170850.jpg?400 | Programming Cable connected}}</imgcaption> 
 + 
 +On the right side of the ESP-Chip are 4 pins located. These are labeled with GND TX RX and VCC. To program the board, you have to use a so-called FTDI or UART programmer. Connect the pins like so: 
 +^ UART/FTDI   ^ ESP Board  ^ 
 +| VCC / 3.3V  | VCC        | 
 +| GND         | GND        | 
 +| TX          | RX         | 
 +| RX          | TX         | 
 + 
 +You are now able to program the board with the Arduino IDE. 
 +The board is intended to work with Tasmota. If you want to learn how to flash Tasmota onto an ESP8266 you can read more here: [[https://wiki.eolab.de/doku.php?id=user:jan001:intro_iot_tasmota_nig#installing_the_tasmotizer|Flashing Tasmota]] 
 + 
 +===Configuration and Pin Assignment ====
  
 ===== Other possibilities ===== ===== Other possibilities =====
  
 =====Future improvements ===== =====Future improvements =====
-  * C1 should have a bigger footprint +  * C1 should have a bigger footprint, there is no 50V rated cap with the footprint 0603 
-  * Add a voltage divider in front of the ADC+  * Add a voltage divider in front of the ADC, the ADC is limited to a range of 0V to 1V
   * There should™ be no copper under the PCB Antenna of the ESP8266   * There should™ be no copper under the PCB Antenna of the ESP8266
-  * The 4-channel current meter is suboptimal, to say the least (thanks chip-shortage)+  * The 4-channel current meter is suboptimal, to say the least (thanks chip-shortage), a 1-channel would also work
   * The dot for the RS PRO Regulator is placed wrong   * The dot for the RS PRO Regulator is placed wrong
eolab/ioa_trough_automation/documentation/start.1646653950.txt.gz · Last modified: 2022/03/07 12:52 by jan001