using (FileStream fs = File.Open(csvFile, FileMode.Open, FileAccess.Read)) using (BufferedStream bs = new BufferedStream(fs, MAX_BUFFER)) using (StreamReader sr = new StreamReader(bs)) {
Electrical Safety Compliance Analyzer 7440 Automatic Test Architecture, It is suitable for factory-side mass production testing to achieve quantitative production and reduce the automated production process of manual plugging and unplugging. It is more efficient to arrange streamline testing after assembly!
EXTECH7440 is produced by Taiwan Extech Electronics Ltd.,Co. Company. It is a safety analyzer with four functions in one: AC and DC withstand voltage testing, insulation resistance testing, and grounding resistance testing. It can be programmed and set up, and is equipped with RS232 and GPIB interfaces to enable automatic testing.
Hipot and Gound Test (耐壓、接地測試) 1. 交流耐壓測試(AC, AC Hipot):適合吃插座電的器具 2. 直流耐壓測試(DC, DC Hipot):適合電池或電容等吃直流電的 3. 絕緣阻抗測試(IR, Insulation Resistance):適合不能太高壓但想知道絕緣能力的,或已經測完高壓想再測絕緣的 4. 接地阻抗測試(GB, Ground Bond):適合測試接地較大的金屬件 5. 接地導通測試(Ground Continuity):適合測試接地較小或細的金屬件 6. 洩漏電流測試(Touch Current):適合人體會時常接觸到的部件,如醫療器材
Purpose: Goal is to Build a repeatable and controllable test method for measuring rate vs. range. The Performance Measurement of Range versus Rate for Wi-Fi System
Control the console interface of IxChartiot through the GUI written by Csharp and call the tst project file verified and executed by IxChariot. Then use the programmable attenuator to simulate the distance and cooperate with the measurement system (Range Versus Rate Test System) to obtain the attenuation The corresponding data of value (distance) and throughput are saved into a csv file to facilitate data analysis.
經由Csharp所寫的GUI來控制IxChartiot的console介面並呼叫由IxChariot所驗證和執行過的tst專案檔. 再以可程式衰減器模擬距離並配合量測系統(Range Versus Rate Test System),進而得到衰減值(距離)和Throughput之對應資料存成csv檔案以利分析資料.
覆蓋能力測試(Range Versus Rate Test)
RvR(Range versus Rate), 以可程式衰減器模擬距離並配合量測系統,進而得到衰減值(距離)和Throughput之對應資料
環境架構圖(Environment architecture diagram):
操作畫面:
Path1: Conductive Wireless Throughput Test
Server PC LAN Card<-> AP LAN Port <-> conductive cable <-> Programmable Attenuator<->Client PC WLAN Card
IxChariot is the industry's leading pre-deployment and live network performance testing tools and application assessment tool.
IxChariot console is a control platform that can be anywhere on the network, as long as the IP is reachable and can be contacted with Endpoint 1. What needs to be tested and evaluated is the point-to-point performance between Endpoint 1 and 2.
The LDA-908V-4 offers both USB and Ethernet interfaces. The USB port uses a native HID interface to avoid the difficulties inherent in using older serial or IEEE-488 interfaces implemented over USB. As a result, Lab Brick users can get to work faster without having to install kernel level drivers, and Lab Brick devices can be easily used on any system that supports USB HID devices, including low cost embedded computers using Linux or similar operating systems. The Ethernet interface is configurable for Static IP or DHCP with the ability to assign the HTTP port for extra security.
The LDA-908V-4 Digital Attenuator is a highly accurate, bidirectional, 50 Ohm step attenuator. The LDA-908V-4 provides calibrated attenuation from 1 to 8000 MHz with an amazing step size of 0.1 dB and typical accuracy <0.25 dB over 90 dB of control range. The attenuators are easily programmable for fixed attenuation, swept attenuation ramps and fading profiles directly from the included Graphical User Interface (GUI). Alternatively, for users wishing to develop their own interface, Vaunix supplies LabVIEW drivers, Windows API DLL files, Linux drivers, Python examples and much more.
Serial data communication is a very popular communication protocol among different data communication. Data communication between ESP32 and Arduino can be done by serial communication. Most microcontrollers can transmit and receive data between them using UART communication.
In this project I have read some data from Arduino Mega TX1 and RX1 from ESP32 pin17 TX2 and pin16 RX2 serially using UART communication protocol.
Fundamental:
Serial communication
Used for communication between the Arduino board and a computer or other devices. All Arduino boards have at least one serial port (also known as a UART or USART), and some have several.
Mega, pins 0 and 1 are used for communication with the computer. Connecting anything to these pins can interfere with that communication, including causing failed uploads to the board.
You can use the Arduino environment’s built-in serial monitor to communicate with an Arduino board. Click the serial monitor button in the toolbar and select the same baud rate used in the call to begin().
In every Arduino board, there is at least one serial pin available. The pins are named TX and RX pins. TX stands for transmitting; RX stands for receive.
In Arduino Mega, there are additional three serial pins. That means there are four serial communication pins available in Arduino Mega.
ESP32 Serial pins:
ESP32 boards also come with TX and RX pins. Depending on the model, the number of serial pins may vary.
Microcontroller boards like the "Arduino Mega" rely on the ATmega2560 microcontroller. It includes 54 digital input/output pins, of which 16 are analog inputs, 14 are used as PWM outputs, hardware serial port (UART) - 4, crystal oscillator - 16MHz, one ICSP header, one power supply jack, a USB connection, and the RST button.This board basically contains everything needed to support a microcontroller. Therefore, the board can be powered by connecting it to a PC via a USB cable, battery, or AC-DC adapter.By installing a backplane, the board can be protected from accidental discharges.
The SCL and SDA pins of the Mega 2560 R3 board are connected next to the AREF pin. Also, the two newest pins are located near the RST pin. One pin is IOREF, which allows the shield to set the voltage supplied by the Arduino board. The other pin is unassigned and will be reserved for future use. These boards can be used with any existing shield, but can accommodate the latest shields that use these extra pins.
圖一: Mega2560 pin definition
圖二:Mega2560 Specification
圖三: ESP32 功能方塊圖
圖四: ESP32 Pin Definition
Circuit:
圖五: 原理圖
圖六: 線路圖
Code Introduce:
ESP32
//--------- Flag structure --------------------------------------