There are four sets of switches on the top. The middle is a pwm control, led light adjustment method and the bottom as a set of switches for the ultrasonic rangefinder, now lets take a look at the effect of the actual switch. The above is the state of the switch. The switch is turned on. The light is on the switch is turned off and the light is off in the middle is the state of continuously adjusting the led light by sliding the indicator icon to adjust the parameters? You can see the adjustment of the brightness effect of the led light from the off state to the continuous brightest state from here. We can also see the value of the specific parameter, the value in the range of 0 to 255. We can also see a way to adjust the status of the led light from the following set of switches control, the operation of turning off. Turning on and clearing the data of the ultrasonic rangefinder. Now it is in a closed state click to open the data and display it in the corresponding position through the serial port click to start the data to start collecting, for example, if you put your hand on it, the parameter will be adjusted. The parameter becomes larger. The handle is retracted, the parameter becomes smaller click to close the data and no longer receive click to clear the buffer data are all reset. This is our t5l display screen and the actual demonstration of the development effect of the arduino development board for the specific wiring.

We will have a specific demonstration on the computer. We will divide it into three small sections to illustrate. One is how to connect. The other is the grey configuration software and the third is the arduino development software. The development board as an external resource interface derived from the t5l chip. There is a lead angle, definition on the side of the through tube pad. The lead angle. Function can be used as needed. Here is a serial port too, connected to a sending, pin and receiving of the development board the pin as a ttl electric frequency. It is connected from this communication interface to receive the transceiver pin of the arduino development board. Here the transceiver pin has a crossover connection. Ttr and r are connected to t these interfaces are the interfaces for external resources of the development board use the corresponding? I o port to control the led lights on this side, for example the second i o port is connected to pin 2 here. A current limiting resistor is connected here and an led light is connected to the positive and negative sides and go down the corresponding pin. Pin is connected to the i o port on the development board. The i o ports here are four and five used as a pwm interface, walk from the bottom of the development board to the surface wave board and then connect to the fourth and fifth interfaces and then connect the transmitter and receiver pins of the ultrasonic rangefinder.

Here the ultrasonic rangefinder powers, the rangefinder separately, the 5 volts power supply of the development board is connected to a positive and negative pole. This is the specific wiring for our external settings. There is also an interface on the development board which can be connected to the pc via a usb cable for a debugging and a download of the serial port compiler program. The boo rate is 115 200. The development board has a usb interface, the serial port boot rate as 921 600 5 volts power supply after the line is connected. The second step is carried out. The communication plays the role of data transmission, which is to transmit from the gray communication software open the configuration development software. These touch buttons use the corresponding touch module. The touch module can be used according to the actual function. The most important attribute of the touch module is the attribute of the variable address. By operating this address, we can transmit the signal of our operation to the development board. When we press a button, an instruction 5500 will be sent to the development board. The address controls the corresponding and the seventh lead angle. Writing one will give a high level writing 0 will give a low level. The 7th lead angle can be controlled through the corresponding high and low levels, and the display of the lamp status can be controlled. The other buttons are also operated in the same way. In general. The variable address is important for the configuration software, the specific module development can be viewed on the forum or contact the corresponding sales.

The instructions we used before all need to be programmed accordingly. The arduino development board software uses part. This program is a written program of several small modules. It is based on the control of several variable addresses and pins. The front part of the program is a definition. The following is the part of each module function, such as a function of io, port, a function of pwm and a function of ultrasonic rangefinder, for example. The part selected now is the module of ultrasonic rangefinder, a definition of i 0 port as input or output and a processing of our other interfaces. For example, the variable address of the test of led on and off is connected with the upper surface of our software. To control the light on and off when it is 1, it means that the state of the 7th lead angle is a lit state. Otherwise it is zero. A low frequency well put our seventh lead angle, led in a extinguished state. The same second button as the the variable address of 5400 as a high power frequencie, which is a state of power on, for example, it is zero, which is a low power frequency and a state of off. The third lead angle is a variable address of 5300 and the fourth pin the second pin here is the variable address of the 5200, the same as to give a zero or one control, pin to a state of the electrical cadence to control the led on or Off the 5100 address is to write one to this address, write one to turn on the ultrasonic rangefinder right: zero to turn off the ultrasonic rangefinder the address of 5700 as the rangefinder, a clear function to clear the slave area.

Correspondingly, compare the smart screen when writing programs time as a variable address, operate this variable to control an external device. After the program is written, perform a compilation, then save and survive, and then you can download the gui software to the screen and it will appear, as we first explained, the actual development results can be downloaded on our forum or contact the corresponding salesperson.

https://www.youtube.com/watch?v=gAIXxIcX4w8