Starry sky lamp control circuit and circuit board structure
By designing the hexagonal structure of starlight control circuit and circuit board structure, the existing starlight lights are weak, monotonous and cost-effective, achieving better LED combination effect and energy-saving effect, which is suitable for mass production.
Patent Information
- Application Number
- CN202421763005.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2034-07-24
AI Technical Summary
The existing starlight has weak lighting, monotony, high cost, cumbersome circuits, and the traditional MCU's foot position cannot be controlled multiple times, resulting in messy circuit board layout and waste of space.
Design a starlight control circuit and circuit board structure, adopt a hexagonal structure circuit board, and the MCU package chip connects a variety of LEDs and motors, and controls pulse signals through resistors R1 and R2 to achieve multiple control and energy saving.
It achieves better LED combination effect, reduces cost and energy consumption, avoids space waste, and is suitable for standardized mass production.
Smart Images

Figure CN222839849U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to a starry sky lamp control circuit and a circuit board structure. Background Art
[0002] The starry sky lamp is a night light for toy and gift decoration. The circuit is composed of MCU and component combination to control multiple LEDs, changing multiple colors to achieve beautiful visual perception. At present, the light of this product on the market is weak, the changes are monotonous, the cost is high, the circuit is complicated, etc. At the same time, the traditional SOP8 MCU pins cannot control the circuit in multiple ways, and the circuit board layout is messy, resulting in space waste and other problems. Based on the above problems, it is necessary to provide a starry sky lamp control circuit and circuit board structure that can solve the problem. Utility Model Content
[0003] The technical problem to be solved by the utility model is to provide a starry sky lamp control circuit and a circuit board structure.
[0004] In order to solve the above problems, the utility model adopts the following technical solutions:
[0005] A starry sky lamp control circuit and circuit board structure, comprising:
[0006] A circuit board body, wherein a plurality of pre-buried wires are arranged at positions on the surface of the circuit board body, an MCU packaged chip is arranged at a position in the middle of the circuit board body, pin No. 7 of the MCU packaged chip is connected to a green LED light, pin No. 6 of the MCU packaged chip is connected to a blue LED light, pin No. 2 of the MCU packaged chip is connected to a red LED light, pin No. 3 of the MCU packaged chip is connected to a motor, pin No. 4 of the MCU packaged chip is connected to a white LED light and a switch S1, pin No. 5 of the MCU packaged chip is connected to a switch S2 and a switch S3, a transformer is arranged at a position near the bottom of the front end surface of the circuit board body, and the circuit board body is arranged in a hexagonal structure.
[0007] Preferably, the green LED lamp, the blue LED lamp, the red LED lamp and the white LED lamp are all convex chip LEDs.
[0008] Preferably, a resistor R2 is provided between the switch S2 and the MCU package chip, and a resistor R1 is provided between the switch S1 and the MCU package chip.
[0009] The beneficial effects of the utility model are:
[0010] In this device, the circuit board is designed into a hexagon, which adopts a structure with 3 short sides and 3 long sides, which is convenient for better LED combination. At the same time, the settings of resistors R1 and R2 can change its pulse signal, so that the chip can know the specific signal input, so that the program releases the pin to control it in the program instruction. The device has simple process, low cost, small size, and the triangular structure makes it more cost-effective, with low energy consumption and environmental pollution, and is suitable for standardized mass production. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0012] Figure 1 It is the electrical schematic diagram of the utility model;
[0013] Figure 2 This is a layout diagram of electronic components. DETAILED DESCRIPTION
[0014] All features disclosed in this specification, or steps in all methods or processes disclosed, except mutually exclusive features and / or steps, can be combined in any manner.
[0015] Any feature disclosed in this specification (including any additional claims, abstract and drawings), unless otherwise stated, may be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.
[0016] In the description of the present invention, it should be understood that the terms "one end", "the other end", "outside", "upper", "inside", "horizontal", "coaxial", "center", "end", "length", "outer end" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0017] In addition, in the description of the present invention, “plurality” means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0018] In the present invention, unless otherwise clearly specified and limited, the terms "set", "socket", "connect", "penetrate", "plug in" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral one; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0019] See also Figure 1 and Figure 2 A starry sky lamp control circuit and circuit board structure shown includes:
[0020] A circuit board body 101, wherein a plurality of pre-buried wires are arranged at positions on the surface of the circuit board body 101, an MCU packaged chip 102 is arranged at a position in the middle of the circuit board body 101, pin No. 7 of the MCU packaged chip 102 is connected to a green LED light, pin No. 6 of the MCU packaged chip 102 is connected to a blue LED light, pin No. 2 of the MCU packaged chip 102 is connected to a red LED light, pin No. 3 of the MCU packaged chip 102 is connected to a motor, pin No. 4 of the MCU packaged chip 102 is connected to a white LED light and a switch S1, pin No. 5 of the MCU packaged chip 102 is connected to a switch S2 and a switch S3, a transformer 103 is arranged at a position near the bottom of the front end surface of the circuit board body 101, and the circuit board body 101 is arranged in a hexagonal structure.
[0021] The main body of the circuit board adopts a three-short and three-long structure, which makes the entire circuit board body look like a triangular structure without three corners. This shape is designed to facilitate the installation of components and is more convenient to install.
[0022] In a preferred embodiment of the present invention, the green LED lamp, the blue LED lamp, the red LED lamp and the white LED lamp are all convex-head SMD LEDs.
[0023] In a preferred embodiment of the present invention, a resistor R2 is provided between the switch S2 and the MCU package chip 102 , and a resistor R1 is provided between the switch S1 and the MCU package chip.
[0024] By adding a resistor at one of the switches, the risk of a short circuit caused by pressing both buttons at the same time can be avoided.
[0025] The components of a starry sky lamp circuit and circuit board design are as follows: 3 buttons respectively control a programmed MCU chip, the MCU chip sends multiple instructions to the LED, the LED receives the instruction and responds to the color of the instruction, button 3 controls the start and stop of the motor, button 2 controls the color change of the RGB combination, and button 1 controls the on and off of the white light. The circuit solves the disadvantage of insufficient MCU pins of SOP8, and adopts the output of white LED at pin 4 of the MCU, and the pull-down resistor controls the LED; a resistor in series with the 5th pin triggers the negative pole to control the color change of the RGB LED. The resistor also avoids the risk of short circuiting the buttons at the same time, and the pin directly triggers the positive pole to control the start and stop of the motor.
[0026] In this circuit, capacitor C1 is used for power filtering, C2 is used for filtering and assisting motor starting, and resistors R1 and R2 play a key control role in this circuit. The pulse signal is changed by the pull-down resistor to input the signal on the pin program. When the program receives the pulse signal, it releases the pin to control it in the program instruction; especially when two groups of signals are input to pin 5 at the same time, the program will automatically identify the order of the signals and implement this function based on the principle of signal input first and control first. Under a 6V power supply, the circuit outputs 80-86MA current on pins 23467 to achieve the optimal brightness of the LED. This circuit makes full use of the compilation of the MCU program and the reasonable combination of peripheral components to achieve this function, thereby achieving the effect of reducing costs.
[0027] The components are in SMD form, making installation easier and more convenient.
[0028] Installation method: First mount the MCU, C1, C2, R1, R2, red, blue, green and white LED components on the circuit board, then connect the three touch switches to the corresponding pins, connect the 6V or 5V power supply, and press the corresponding function key to work.
[0029] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0030] Unless otherwise specifically stated, the relative arrangement, numerical expressions and numerical values of the parts and steps described in these embodiments do not limit the scope of the utility model. At the same time, it should be understood that, for ease of description, the sizes of the various parts shown in the accompanying drawings are not drawn according to the actual proportional relationship. The technology, methods and equipment known to ordinary technicians in the relevant field may not be discussed in detail, but in appropriate cases, the technology, methods and equipment should be regarded as a part of the authorization specification. In all examples shown and discussed here, any specific value should be interpreted as merely exemplary, rather than as a limitation. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once a certain item is defined in one drawing, it does not need to be further discussed in subsequent drawings.
[0031] For ease of description, spatially relative terms such as "above", "above", "on the upper surface", "above", etc. may be used herein to describe the spatial positional relationship between a device or feature and other devices or features as shown in the figures. It should be understood that spatially relative terms are intended to include different orientations of the device in use or operation in addition to the orientation described in the figure. For example, if the device in the accompanying drawings is inverted, the device described as "above other devices or structures" or "above other devices or structures" will be positioned as "below other devices or structures" or "below other devices or structures". Thus, the exemplary term "above" may include both "above" and "below". The device may also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatially relative descriptions used herein are interpreted accordingly.
[0032] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein.
[0034] The above description is only the preferred embodiment of the utility model, and is not intended to limit the utility model. For those skilled in the art, the utility model can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the utility model shall be included in the protection scope of the utility model.
Claims
1. A starry sky light control circuit and circuit board structure, characterized in that: include, A circuit board body (101) is provided with a plurality of pre-buried wires at positions on the surface of the circuit board body (101); an MCU packaged chip (102) is provided at a position in the middle of the circuit board body (101); a green LED light is connected to pin No. 7 of the MCU packaged chip (102); a blue LED light is connected to pin No. 6 of the MCU packaged chip (102); a red LED light is connected to pin No. 2 of the MCU packaged chip (102); a motor is connected to pin No. 3 of the MCU packaged chip (102); a white LED light and a switch S1 are connected to pin No. 4 of the MCU packaged chip (102); a switch S2 and a switch S3 are connected to pin No. 5 of the MCU packaged chip (102); a transformer (103) is provided at a position near the bottom of the front end surface of the circuit board body (101); the circuit board body (101) is provided in a hexagonal structure; a resistor R2 is provided at a position between the switch S2 and the MCU packaged chip (102); and a resistor R1 is provided between the switch S1 and the MCU packaged chip (102).
2. The starry sky lamp control circuit and circuit board structure according to claim 1, characterized in that: The green LED lamp, the blue LED lamp, the red LED lamp and the white LED lamp are all convex-head SMD LEDs.