中文English
1, What do I need to buy for the MCU to achieve WiFi function?2, sfr MCU noun 3, About ps wireless handle 51 microcontroller MCU WiFi function need to buy what 1. Generally, the...

MCU wireless charging code (MCU wireless charger)

10/25/2024 04:10:09Wireless charging module

MCU WiFi function need to buy what

1. Generally, the single chip microcomputer is connected to the WIFI module, and the data exchange between the single chip microcomputer and the wifi module is realized through the serial port (VCC, RX, TX, GND) function of the WIFI module. In this process, the role of the wifi module is to convert the serial port data into wireless wifi signals, and wireless communication with the WIFI on the computer.

2, buy a serial port - infrared receiver/transmitter, and then buy a Moxa 232-LANThe module is connected to an infrared transceiver so that the Moxa can be connected to the network (routing), and a special software can be implemented on the computer side to send instructions to the specified IP address. These instructions can be "recorded" by the serial debugging assistant.

3, it is estimated that you can only use the module done by others, if it is Ethernet. There are many schemes for connecting network cables. But you can only send data at 51. And the price is more expensive, if it is 51 and 51 data transmission, you can use the wireless module (many choices, but not Ethernet) 51 and wifi these two kinds of speed1, MCU SFR is the abbreviation of Special Function Register, that is, special function register. Special function register is an important memory unit in single chip microcomputer, which is used to control various functions and operations of single chip microcomputer. SFR is different from ordinary RAM or ROM in that they have a specific address and a fixed purpose.

2, in the field of single-chip computers, sfr refers to special function registers, which are specially used to control and guide the functions of single-chip computers. The special function register sfr is a part of the internal memory of the MCU.It is divided into read-only memory (ROM) and random access memory (RAM). The data in ROM remains unchanged during the execution of the program, similar to a book, and cannot be modified once printed.

3, sfr stands for Special Function Register (Special Function Register), is the MCU for specific control and data processing register. Registers are divided into RAM and ROM. ROM is similar to read-only memory, the data does not change while the program is running, similar to a book, once printed cannot be modified.

4. SFRSpecial Function registers are registers used to store control commands, status, or data in a single chip computer, which are critical to the various functional components of a microcontroller. In 80C51 microcontrollers, SFR occupies the address space from 80H to FFH, depending on the model, usually consisting of 21 or 26 bytes.

5, SFR (special function register) is the core component of 80C51 MCU, they are dedicated to control and configure each function module of the MCU. These registers are for microcontrollersThe operations are critical because they directly affect the performance and function of the microcontroller. In the 80C51 MCU, the number of SFR reached 21, they cover such as timers, serial communication, parallel I/O and other key functions.

6, sfr is a special function register, the full name is Special function register. It is the most characteristic part of 80C51 microcontroller, and almost all the 80C51 series functions are increased and expanded by adding special function registers to achieve the purpose. SFR stands for Special Function Register (IAL Function Register).

About ps wireless controller to 51 microcontroller

This figure is my own drawing, a wireless mouse of the school's scientific research project, I did not use infrared tube, I am using infrared decoding, that is, using an infrared remote control (TV) to translate the code of 0 to 9 from the remote control combined with VB to write an upper computer program to achieve control, see what help you have, the principle of what is actually very simple.

Four wires need to be connected. 2 1 1=4 Serial communication RXD and TXD need two cables to connect to the TXD and RXD of the microcontroller. Start pin IGT is connected to the I/O port of the microcontroller, such as P0. (The MCU output start signal, output a low pulse greater than 100ms, the level drop duration should not exceed 1ms, that is, the falling edge should be short) Hardware handshake RTS0 pin and the MCU I/O port connection, such as P1.

USB interface is free, 51 MCU hardware does not support usB function, the communication protocol is very complex, PS/2 interface is relatively simple, a search on the Internet can find routines, many 51 MCU development board with PS or PS/2 interface. Of course, since you use a single chip computer, why do you need to use such a large keyboard, there is a special keyboard, why also through the single chip computer. The single chip computer can communicate with the host computer by serial port, and the program receives serial port data on the line.