Guaranteed Safe Checkout
Use description:
1. Interface description:IN0-IN-15: 16 AD sampling voltage inputsGND: negative pole of power supply/sampling voltage common ground interfaceTX, RX: UART communication interfaceTCK, TMS: SWD debug interface3V3/5V: reserved 3.3V/5V power input port2. Use on PC:Install the driver of the USB to serial port chip CH340, plug the module into the computer, connect IN0-IN15 to the positive pole of the sampling voltage, GND to the negative pole of the sampling voltage (that is, common ground processing), open the serial port debugging assistant, select the correct COM port and baud rate (115200), you can view the AD sampling results. The sampling results are refreshed every 500ms. Customers can modify this time based on the source code.Here is a sample of the 3.3V voltage that comes with the module. The steps are as follows: Prepare a DuPont line, connect one end to the 3.3V pin that comes with the module, and the other end to the IN0-IN15 pins in queue. The data sent through the serial port can be found. The sampling results have changed. The wiring diagram and sampling result diagram are as follows:
Judging from the test results, although it is not a customized AD sampling chip and only uses theinternal AD resources of STM32, the accuracy is still good.3. Connect to MCU for use:If you want to directly use an external MCU to obtain sampling data, you can connect the 3.3V, RX, TX, and GND of the MCU to the 3.3V, TX, RX, and GND of the module respectively. Of course, it is also possible to use 5V to power the module. About the serial port the data transmission protocol can be found by viewing the source code.4. About updating firmware:
If the customer wants to modify the source code himself re-burning the program.The method is as follows: Plug the module into the USB port of the computer, plug the jumper cap on the module into the 3V3 end (note that it must be plugged back into GND after programming is completed) open the programming software FlyMcu, open the hex file and set the port number and waveform rate and other related parameters, click "Start Programming", and then press the reset button.
Things to note:1. The sampling voltage input terminals IN0-IN9 can be connected to all or only part of them. When there is no sampling voltage input to a certain channel, the output result of this channel is a random value. The unused ports can also be used as ordinary I/O ports by modifying the program.2. The voltage used cannot exceed 3.3V, otherwise the chip may be damaged.
To get the latest brand news and 15% off for your first order.