Offline programming device

By designing an offline programming device, using function buttons and toggle switches to adjust programming parameters, and visualizing the screen to display information, the problem of existing programming modules relying on computers or tablets is solved, and a flexible offline programming operation experience is achieved.

CN117950654BActive Publication Date: 2024-12-03BEIJING MAXTHINKING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410151886.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-02
Publication Date
2024-12-03
Estimated Expiration
2044-02-02

AI Technical Summary

Technical Problem

Existing programming modules need to rely on computers or tablets for programming, and the operation is cumbersome and inflexible, so offline programming cannot be implemented.

Method used

An offline programming device is designed, including basic modules and screen modules, connected through 5PIN and 4PIN interfaces, and the programming parameters are adjusted using function buttons and toggle switches, and programming information is displayed in real time through the visual screen, so that it can be performed without external equipment. Programming operations.

Benefits of technology

It improves user operation experience and programming flexibility, and users can directly adjust and program parameters through basic modules and screen modules, realizing programming functions that are separated from computers and tablets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117950654B_ABST
    Figure CN117950654B_ABST
Patent Text Reader

Abstract

The present invention provides an off-line programming device, which relates to the field of electronic information technology, and comprises a basic module and a screen module, wherein the basic module comprises a first female head, and the screen module comprises a first male head, a function key, a toggle switch and a visual screen, wherein: the basic module and the screen module are connected via the first female head and the first male head; the screen module adjusts the programming parameters of the basic module via the function key and the toggle switch; the visual screen is used for visually displaying the programming information of the basic module when the programming parameters are adjusted via the function key and the toggle switch, thus compared with other programming products that rely on computers and tablets for programming, the present invention provides an off-line programming function, realizes a convenient, intuitive and flexible method for modifying the parameter settings of the module, and improves the user experience and programming efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of electronic information technology, and in particular to an off-line programming device. Background Art

[0002] Usually, programming modules usually need to be programmed on the computer, including using graphical programming tools. Every time the program is changed, it needs to be compiled and downloaded, which may be tedious and repetitive.

[0003] At present, some programming modules package the sensor or output module with the main control chip and connect it to the computer / tablet via Bluetooth or wireless connection. In this way, the collected data can be transmitted to the computer / tablet for calculation, and then transmitted back to the module and forwarded to other modules to perform related actions.

[0004] However, both types of modules cannot be separated from the support of computers / tablets. There are also some modules on the market that do not require programming, but they can only achieve simple triggering and feedback functions. Summary of the invention

[0005] The present invention provides an offline programming device to solve the defect that some programming modules in the prior art cannot be separated from the support of computers / tablets, and realizes the purpose of providing an offline programming device that can be programmed without computers and tablets and can realize various functions through the combination of different basic modules, thereby achieving the purpose of modifying functions that previously required programming.

[0006] The present invention provides an offline programming device, comprising a basic module and a screen module, wherein the basic module comprises a first female connector, and the screen module comprises a first male connector, a function key, a toggle switch, and a visual screen, wherein:

[0007] The basic module and the screen module are connected via the first female connector and the first male connector;

[0008] The screen module adjusts the programming parameters of the basic module through the function buttons and the toggle switch;

[0009] The visualization screen is used to visualize the programming information of the basic module when the programming parameters are adjusted through the function keys and the toggle switch.

[0010] According to an offline programming device provided by the present invention, the function key is used to provide a parameter setting back function and a function setting, and the toggle switch is used to provide at least one function of parameter setting entry, adjusting parameter options or adjusting parameter values.

[0011] The present invention provides an offline programming device, wherein the first female connector and the first male connector are a 5PIN interface, wherein the 5PIN includes a positive power pin VCC, a data signal transmission pin SDA, a clock signal synchronization pin SCL, a negative power pin GND and an output pin IO.

[0012] The present invention provides an offline programming device, wherein when the state of the function key or the toggle switch of the screen module changes, the voltage of the output pin IO changes accordingly, and the main control chip of the basic module detects the state of the function key and the toggle switch by reading the voltage of the output pin IO.

[0013] The present invention provides an off-line programming device, wherein the basic module sends data and control signals to the visualization screen through the data signal transmission pin SDA and the clock signal synchronization pin SCL to control the display content of the visualization screen.

[0014] The present invention provides an off-line programming device, wherein the basic module comprises a second female head and a second male head, wherein a plurality of the basic modules are connected and data are transmitted through the second female head and the second male head to realize the combination of the basic modules with different functions.

[0015] The present invention provides an offline programming device, wherein the second female connector and the second male connector are a 4PIN interface, wherein the 4PIN interface is a power positive pin VCC, a serial port sending pin TX, a serial port receiving pin RX and a ground pin GND.

[0016] The present invention provides an off-line programming device, wherein the basic module comprises a first pin, which is a built-in input pin or a built-in output pin. The built-in input pin is used to connect a built-in first device, and the built-in output pin is used to control a built-in second device.

[0017] The present invention provides an off-line programming device, wherein the basic module comprises a second pin, the second pin is an external input pin or an external output pin, the external input pin is used to connect an external third device, and the external output pin is used to control an external fourth device.

[0018] The offline programming device proposed in the present invention provides an offline programming function compared to the programming module that relies on computers and tablets for programming. Users can directly adjust parameters and perform programming operations through the basic module and the screen module without relying on external devices. Specifically, the screen module is equipped with function buttons, toggle switches and a visual screen, making the adjustment of programming parameters more intuitive and simple. Users can operate through function buttons and toggle switches, and the programming information is displayed in real time on the visual screen, which improves the user's operating experience. In addition, the basic module and the screen module adopt a connectable design, which can be easily disassembled and assembled through the first female head and the first male head. In this way, users can choose a suitable programming module for use according to actual needs, which improves the flexibility of programming. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 It is one of the structural schematic diagrams of the off-line programming device provided by the present invention;

[0021] Figure 2 This is the second structural schematic diagram of the off-line programming device provided by the present invention;

[0022] Figure 3 This is the third structural schematic diagram of the off-line programming device provided by the present invention;

[0023] Figure 4 This is the fourth structural schematic diagram of the off-line programming device provided by the present invention;

[0024] Figure 5 This is the fifth structural diagram of the off-line programming device provided by the present invention;

[0025] Figure 6 This is the sixth structural diagram of the off-line programming device provided by the present invention;

[0026] Figure 7 This is the seventh structural schematic diagram of the off-line programming device provided by the present invention.

[0027] Reference numerals:

[0028] 101: basic module; 102: screen module; first female connector 101a; first male connector 102a; function key 102b; toggle switch 102c; visual screen 102d; second female connector 101b; second male connector 101c; first pin 101d; second pin 101e. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] In the description of the present invention, it should be understood that the terms "upper", "middle", "outer", "inner" and the like indicating directions or positional relationships are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the components or elements referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as limiting the present invention.

[0031] refer to Figure 1 As shown, the present invention is an offline programming device, comprising a basic module 101 and a screen module 102, wherein the basic module 101 comprises a first female connector 101a, and the screen module 102 comprises a first male connector 102a, a function key 102b, a toggle switch 102c and a visual screen 102d, wherein:

[0032] The basic module 101 and the screen module 102 are connected via the first female connector 101a and the first male connector 102a;

[0033] The screen module 102 adjusts the programming parameters of the basic module 101 through the function button 102b and the toggle switch 102c;

[0034] The visualization screen 102d is used to visualize the programming information of the basic module 101 when the programming parameters are adjusted through the function button 102b and the toggle switch 102c.

[0035] Understandably, the male connector usually refers to the side of the connector that has a cylindrical pin or pin inserted. It is usually a metal pin with a protrusion that can be inserted into a slot or hole on the mating female connector. The female connector refers to the side of the connector that has a pin or pin that receives the male connector. It is usually an interface with a slot, hole or groove to accommodate the male connector's pin. The male and female connectors are used in pairs, connected and disconnected by plugging and unplugging, to achieve signal transmission and electrical connection between electronic devices.

[0036] In this embodiment, by providing a paired first male connector 101a and a first female connector 102a on the basic module 101 and the screen module 102, a reliable electrical connection between the two programming modules is achieved, thereby realizing programming parameter adjustment and information transmission.

[0037] In an example, the interface types of the first male connector 101a and the first female connector 102a include, but are not limited to, a magnetic interface, a USB interface, an HDMI interface, etc., and are not limited to this.

[0038] Specifically, after the basic module 101 is electrically connected to the screen module 102, by pressing the function button 102b or the toggle switch 102c of the screen module 102, the settings of the basic module 101, such as programming parameters, working mode, etc., can be changed, thereby changing the functions that can be realized by the basic module 101. The visualization screen 102d is a display device for displaying the programming information of the basic module 101. When the programming parameters are adjusted through the function button 102b and the toggle switch 102c, the programming information of the basic module 101 will be transmitted to the visualization screen 102d and displayed in graphics, text or other forms. Such a visualization display enables the user to understand the changes and effects of the programming parameters in real time.

[0039] The offline programming device proposed in the present invention provides an offline programming function compared to the programming module that relies on computers and tablets for programming. Users can directly adjust parameters and perform programming operations through the basic module and the screen module without relying on external devices. Specifically, the screen module is equipped with function buttons, toggle switches and a visual screen, making the adjustment of programming parameters more intuitive and simple. Users can operate through function buttons and toggle switches, and the programming information is displayed in real time on the visual screen, which improves the user's operating experience. In addition, the basic module and the screen module adopt a connectable design, which can be easily disassembled and assembled through the first female head and the first male head. In this way, users can choose a suitable programming module for use according to actual needs, which improves the flexibility of programming.

[0040] In some embodiments, the function button 102b is used to provide a parameter setting back function and a function setting, and the toggle switch 102c is used to provide at least one function of parameter setting entry, adjusting parameter options, or adjusting parameter values.

[0041] Normally, the user can press the function button 102b to realize the back function and function setting. For example, in one example, a short press of the function button 102b will exit, and a long press of the function button 102b will enter another setting, such as restoring factory settings, formatting and other function settings. The user can press the toggle switch 102c to realize the enter function, that is, enter the current parameter or option for adjustment. The user can adjust the option or adjust the value by turning the toggle switch 102c to the left or right.

[0042] For example, if you need to modify the parameters of an option, you can use the toggle switch 102c to browse the options left or right, then press the toggle switch 102c to enter the setting of the option, use the toggle switch 102c to adjust the parameters left or right, and then press the function button 102b to confirm.

[0043] The offline programming device proposed in the present invention combines the two functional components of the function button 102 b and the toggle switch 102 c , so that the user can conveniently program and adjust the parameters of the basic module 101 .

[0044] In some embodiments, the first female connector 101a and the first male connector 102a are 5-pin interfaces, wherein the 5-pin includes a positive power pin VCC, a data signal transmission pin SDA, a clock signal synchronization pin SCL, a negative power pin GND, and an output pin IO.

[0045] In one example, the basic module 101 and the screen module 102 are electrically connected via a 5PIN interface, which includes the following five pins:

[0046] Positive power pin VCC: This pin provides the positive power supply, which is used to provide power to the device.

[0047] Data signal transmission pin SDA: indicates that this pin is used for data signal transmission, transmitting digital data signals between two programming modules, such as control commands, etc.

[0048] Clock signal synchronization pin SCL: indicates that this pin is used to provide a clock synchronization signal for data transmission to ensure accurate data transmission and synchronization.

[0049] Negative power supply pin GND: Indicates that this pin is connected to the negative terminal of the power supply and is used to establish the ground or zero potential reference of the circuit.

[0050] Output pin IO: Indicates that this pin is used to detect the status of buttons and toggle switches.

[0051] In some embodiments, when the state of the function button 102b or the toggle switch 102c of the screen module 102 changes, the voltage of the output pin IO changes accordingly, and the main control chip of the basic module 101 detects the state of the function button 102b and the toggle switch 102c by reading the voltage of the output pin IO.

[0052] In some embodiments, the basic module 101 sends data and control signals to the visualization screen 102d through the data signal transmission pin SDA and the clock signal synchronization pin SCL to control the display content of the visualization screen 102d.

[0053] refer to Figure 2 As shown, in this embodiment, the function button 102b and the toggle switch 102c are respectively connected in series and in parallel with different resistors. Therefore, when the states of the function button 102b and the toggle switch 102c change, the voltage output by the output pin IO will also change accordingly. The main control chip of the basic module 101 detects the states of the function button 102b and the toggle switch 102c by reading the voltage of the output pin IO, for example, the function button 102b is pressed, the toggle switch 102c is pressed, the toggle switch 102c is turned to the left, and the toggle switch 102c is turned to the right.

[0054] In addition, in this embodiment, the data signal transmission pin SDA and the clock signal synchronization pin SCL are two pins of the I2C bus interface, which are used to transmit data and control signals between digital devices. Specifically, by connecting the screen through the I2C bus, the basic module 101 can control the screen and display the content output by the basic module 101 on the screen, thereby improving the user interaction experience.

[0055] refer to Figure 3 As shown, in some embodiments, the basic module 101 includes a second female head 101b and a second male head 101c, wherein a plurality of the basic modules 101 are connected and data is transmitted via the second female head 101b and the second male head 101c to realize a combination of the basic modules 101 with different functions.

[0056] In this embodiment, each basic module 101 is provided with a pair of matched second female connectors 101b and second male connectors 101c. By providing matched second female connectors 101b and second male connectors 101c on the basic module 101, reliable electrical connection between multiple basic modules 102 is achieved, thereby realizing information transmission. In this way, multiple basic modules 101 can be combined together to form a more complex and powerful system to realize different programming functions.

[0057] In an example, the interface types of the second female connector 101b and the second male connector 101c include, but are not limited to, a magnetic interface, a USB interface, an HDMI interface, etc., and are not limited to this.

[0058] In some embodiments, the second female connector 101b and the second male connector 101c are 4-pin interfaces, wherein the 4-pin interface is a positive power pin VCC, a serial port transmission pin TX, a serial port reception pin RX, and a ground pin GND.

[0059] In one example, multiple basic modules 101 are electrically connected via a 4-pin interface, which includes the following four pins:

[0060] Positive power pin VCC: indicates that this pin provides a positive power pin, which is used to provide power to the basic module 101 .

[0061] Serial port sending pin TX: indicates that the pin is used to send data in serial port communication, and sends data from the basic module 101 of the pin to other basic modules 101 or other devices.

[0062] Serial port receiving pin RX: indicates that the pin is used to receive data in serial port communication, and receives data transmitted from other basic modules 101 or other devices.

[0063] Ground pin GND: Indicates that this pin is connected to the negative pole of the power supply or ground, which is used to establish the ground or zero potential reference of the circuit.

[0064] refer to Figure 4 As shown, in some embodiments, the basic module 101 includes a first pin 101d, and the first pin 101d is a built-in input pin or a built-in output pin, the built-in input pin is used to connect to the built-in first device, and the built-in output pin is used to control the built-in second device.

[0065] The basic module 101 has some built-in pins that can be used for input and output. These built-in input pins can be used to connect other internal devices, such as sensors or other input devices. The built-in output pins can be used to control other internal devices, such as actuators or other output devices (such as LED lights).

[0066] refer to Figure 5 As shown, in some embodiments, the basic module 101 includes a second pin 101e, and the second pin 101e is an external input pin or an external output pin. The external input pin is used to connect an external third device, and the external output pin is used to control an external fourth device.

[0067] The basic module 101 also has additional pins for connecting and communicating with external devices. Through the external input pins, the basic module can receive signals or data from the outside, such as sensors, etc. And through the external output pins, the basic module can send signals or control commands to external devices, such as actuators or other output devices (such as LED lights).

[0068] Based on the above embodiments, the present invention proposes an offline programming method that can be programmed without a computer or a tablet and can modify various parameter settings. Specifically, referring to Figure 6 and Figure 7 shown.

[0069] In the embodiment of the present invention, two programming modules are included, namely, a basic module with a 4-pin magnetic male connector (a), a 4-pin magnetic female connector (c), a 5-pin magnetic female connector (b), a built-in input or output (d), and an external input or output (e), and a screen module with a 5-pin magnetic male connector (f), a screen (j), a button (g), and a toggle switch (h).

[0070] The 5-pin magnetic male connector (f) can be magnetically connected to the 5-pin magnetic female connector (b), and then the parameters and settings of the basic module program can be adjusted through the button (g) and the toggle switch (h).

[0071] Specifically, the main control chip is set in the basic module, and the button (g) in the screen module is used to provide a back function and function settings. For example, a short press of the button (g) will exit, and a long press of the button (g) will enter another setting, such as restoring factory settings, formatting and other function settings. The toggle switch (h) in the screen module has three positions: left, right and middle press. By toggling the switch (h), the user can browse options or adjust values, and confirm the selection or change by pressing the middle position. The button (g) and the toggle switch (h) are connected in series and parallel with resistors respectively. The state change of the button (g) or the toggle switch (h) will be presented as a voltage change. The basic module determines the state of the button (g) or the toggle switch (h) by reading the voltage. The state change of the button and the toggle switch will be presented as a voltage change, which is read by the main control of the basic module.

[0072] The screen module is equipped with a visualization screen (j) with SDA and SCL interfaces. The screen (j) can display the parameters and options output by the basic module. Through the SDA and SCL interfaces, the main control chip of the basic module can drive this screen (j) and display the relevant information on the screen (j).

[0073] The screen module realizes the display and adjustment of the programming parameters of the basic module through the screen (j), buttons (g) and toggle switches (h). Users can browse and modify parameters through buttons (g) and toggle switches (h), and the screen (j) is used to display relevant information. The status and results of these operations are transmitted to the main control chip of the basic module through the corresponding interface for corresponding programming adjustments.

[0074] In addition, multiple basic modules are connected by magnetic attraction through 4-pin magnetic male connector (a) and 4-pin magnetic female connector (c), and then data is transmitted through 4-pin magnetic male connector (a) and 4-pin magnetic female connector (c). Various functions can be realized through different basic module combinations, and the parameters and settings of each basic module can be modified by the screen module. Thus, various functions can be realized without using a computer / tablet / mobile phone.

[0075] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0076] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the specification and its full scope and equivalents.

Claims

1. An off-line programming device, characterized in that: It includes a basic module and a screen module, wherein the basic module includes a first female connector, and the screen module includes a first male connector, a function key, a toggle switch, and a visual screen, wherein: The basic module and the screen module are connected via the first female connector and the first male connector, and the first female connector and the first male connector are magnetic interfaces; The screen module adjusts the programming parameters of the basic module through the function buttons and the toggle switch; The visualization screen is used to visualize the programming information of the basic module when the programming parameters are adjusted through the function keys and the toggle switch; The basic module includes a second female head and a second male head, wherein a plurality of the basic modules are connected and data is transmitted through the second female head and the second male head to realize the combination of the basic modules with different functions, and the second female head and the second male head are magnetic suction interfaces; The second female connector and the second male connector are 4-pin interfaces, wherein the 4-pin interface is a positive power pin VCC, a serial port transmission pin TX, a serial port reception pin RX, and a ground pin GND.

2. The off-line programming device according to claim 1, characterized in that: The function button is used to provide a parameter setting back function and a function setting, and the toggle switch is used to provide at least one function of parameter setting entry, parameter option adjustment or parameter value adjustment.

3. The off-line programming device according to claim 1, characterized in that: The first female connector and the first male connector are 5-pin interfaces, wherein the 5-pin interfaces include a positive power pin VCC, a data signal transmission pin SDA, a clock signal synchronization pin SCL, a negative power pin GND, and an output pin IO.

4. The off-line programming device according to claim 3, characterized in that: When the state of the function button or the toggle switch of the screen module changes, the voltage of the output pin IO changes accordingly, and the main control chip of the basic module detects the state of the function button and the toggle switch by reading the voltage of the output pin IO.

5. The off-line programming device according to claim 3, characterized in that: The basic module sends data and control signals to the visualization screen through the data signal transmission pin SDA and the clock signal synchronization pin SCL to control the display content of the visualization screen.

6. The off-line programming device according to claim 1, characterized in that: The basic module includes a first pin, which is a built-in input pin or a built-in output pin. The built-in input pin is used to connect a built-in first device, and the built-in output pin is used to control a built-in second device.

7. The off-line programming device according to claim 1, characterized in that: The basic module includes a second pin, which is an external input pin or an external output pin. The external input pin is used to connect an external third device, and the external output pin is used to control an external fourth device.