1. Single network node system
A node is simply a computer or other device that has the function of sending and receiving data. A good node requires both good hardware support and suitable software control [1]. This paper selects the S3C6410 Arm11 chip as the node CPU and WindowsCE 6.0 as the embedded operating system running on ARM. The corresponding data communication function is completed through the network port, serial port, and SD card. The hardware structure block diagram of the node studied in this paper is shown in Figure 1.
2. Network port data transmission program design under WinCE
2.1 Network port server programming
In actual applications of network communication using sockets, the server/client approach is generally used.[2]
In the design of this paper, we have studied the mode of using PC as the server and ARM as the client, and also studied the mode of using ARM as the server and PC as the client. The basic process of server design in this paper is:
Use the function socket() to create a socket, then use the function bind() to bind the socket to the local (PC) IP address and port number, then use the function listen() to put the socket in a listening state, and then when waiting for the client's connection signal, use the function accept() to connect to the client, and finally use the functions send() and recv() to communicate. When the communication is over, use the function closesocket() to close the socket.
2.2 The server-side programming idea of this article
The server-side programming idea of this article is shown in Figure 2.
Previous article:Improvement of the usage of MM74HC4046 in induction heating power supply
Next article:Design of DSP asynchronous serial communication based on VK3366
- Popular Resources
- Popular amplifiers
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
- FPGA Design Code Cleanliness 2
- Overview of multi-string battery protection chip manufacturers
- Implementation of PID Control Algorithm Based on DSP
- Confused about measuring tantalum capacitors with a digital multimeter?
- This year, friends in the RF field, please come and discuss.
- 【National Technology N32G430】Review of lighting up WS2812 lamp
- 【Silicon Labs BG22-EK4108A Bluetooth Development Review】EFRConnect Mobile Applicationw and Issues
- kicad-age_12-layer_ciaa_acc
- Goodbye 2019, Hello 2020 + Standing at the Crossroads of Life
- Application of FPGA in barcode reader.zip