10/31/2018

[Electronics] Teach you to make induction wireless transmission, lighting energy-saving lamps

I happened to see a video about this before, I feel like a light tube is very fun.
Let's do one.
I didn’t think I could succeed once.










Secondary 300匝, primary 2.5匝





Circuit


Lighted the tube, it really succeeded.
But the brightness is not high
Transistor used s8050


Follow Me
Link:Tenco

10/30/2018

[Electronics] DIY Love Shaped Lantern

This is a simple work based on digital circuits, no programming, no circuit design, just two chips.

This work is especially suitable for beginners. The essence of this work is the heart-shaped lantern made up of digital chip CD4017. The display mode is OK according to your own preferences and creativity. It’s definitely better to make such a gift and give it to her.

First, the parts you need:

DuPont line (several)
2. Universal board X2
3. Potentiometer X2
4. 470uF capacitor X1
5. Diode X4
6. Transformer X1
7. 104 capacitors (several)
8. LM7809 chip X1
9. Heat sink X1
10. Various color LED lights (if available)
11. 100uF capacitor X1
12.2K resistance X1
13. 680 ohm resistor (several)
14. Common Yin Digital Tube X4
15. NE555 and CD4017 (one piece each)
16. Chip base X2 (favorable for secondary use of the chip)
17. 5 pieces of wooden board and 2 pieces of wrapping paper (size depends on your own situation)
The required device is shown below:


I divide the circuit of the work into three parts. These three parts are based on my real object. Of course you can have better ideas to improve it.

First, the power circuit:

Since the positioning of the work is a gift, the power must be installed inside.

The CD4017 has a higher operating voltage, and the lighting environment is indoors, so we consider using AC power. A small transformer of 3~5 watts is enough, and the secondary output of the transformer is required to be 7~8V, so that the 9~10V DC voltage required by the system can be obtained after rectification and filtering.

The following is a schematic and physical map of this part:




Second, LOVE type birthday lights:

1. Flow drive circuit:

The role of NE555 and CD4017. The NE555 constitutes an oscillating circuit, and the CD4017 is a counting circuit.

The heart-shaped middle part of the LED produces a flow effect, which is based on the combination of NE555 and CD4017. I will explain the circuit principle in detail for beginners below.

The oscillating circuit is composed of a time base integrated circuit NE555 and C2, C3, R1, R2, etc. (C2 is a delay charging capacitor, C3 is an anti-interference isolation capacitor, R1 and R2 are delay charging resistors, and R2 is a discharging resistor. ).

After power-on, the voltage across the capacitor C2 cannot be abrupt, the voltage of the 2 pin is low, the internal flip-flop of the integrated block NE555 is set, and the 3 pin outputs a high level.

At the same time, since the power supply charges C2 through the resistors R1 and R2, the voltages of pins 6 and 2 are continuously increased. When the potential rises to 2/3 of VCC, the internal flip-flop of the integrated block NE555 is reset, and the output voltage of the 3-pin is output. Flip to low.

At the same time, the discharge tube inside the integrated block NE555 is turned on, that is, the 7-pin is connected to the 1 pin through the internal discharge tube, and the charge stored on the C2 is discharged through the R2 and 7-pin, so that the voltages of the 6-pin and the 2-pin are continuously decreased. When reduced to 1/3 of VCC, the internal flip-flop of the integrated block NE555 is set.

At the same time, the discharge tube inside the integrated block NE555 is cut off, the 7-pin is suspended, and the power supply is charged to C2 through R1 and R2, so that the voltage of the 6-pin and the 2-pin is continuously increased... Thus, the oscillation is formed repeatedly.

The high-level sustain time of the output depends on the charging time constant of the capacitor C2, and the low-level sustaining time of the output depends on the discharge time constant of the capacitor C2. Since R2 ≥ R1, it can be considered that f is charged, and the purpose is to reduce the difference in the time interval in which the lanterns are turned off alternately.

If used in other situations, the course adjusts the parameters of R1, R2, and C2 as needed. In summary, the 3 pin is always in a binary state of high level and low level, so the circuit is also called an unsteady circuit.

The decoding circuit consists of a CD4017 integrated block. The manifold has three inputs (14 pins for 2 clock inputs CP and 13 pins for EN and 15 pins for reset terminal Cr). There are 10 output terminals Q0~Q9 (3 feet, 2 feet, 4 feet, 7 feet, 10 feet, 1 foot, 5 feet, 6 feet, 9 feet, 11 feet).

There is also a carry-end CO, whose function is: When the reset terminal Cr is added with a high level and a positive pulse, the output terminal Q0 is at a high level, and the remaining 9 output terminals Q0 to Q9 are at a low level. The clock output CP counts the rising edge of the input clock pulse and EN counts the falling edge of the clock pulse. The output states of the 10 output terminals Q0 to Q9 correspond to the number of input clocks.

If counting from 0, Q1 becomes high when inputting the first clock pulse, and Q2 becomes high when inputting the second clock pulse... until the 10th clock pulse is input, Q0 becomes Is high.

At the same time, the carry terminal C0 outputs a carry pulse as a clock signal for the next stage count. Cr is the reset terminal and is also the clear terminal. When Cr is input to a high level, the circuit is reset, that is, the output terminal Q0 is at a high level, and Q1 to Q9 are at a low level.

Repeatedly, as long as the binary signal sent from the 3 pin of the integrated block NE555 does not disappear, the CD4017 will convert the binary signal into the decimal signal and the counting operation will be repeated.

In summary, adjusting the variable resistor R2 can change the frequency of the oscillating circuit, reflecting the rate at which the output of the CD4017 is flowing.

2. Layout and working principle

I have drawn an intuitive picture of this LOVE-type lantern. The heart shape consists of 30 LEDs, but the CD4017 has only 10 sets of outputs, so I separate the heart-shaped top 5 LEDs and the bottom 5 LEDs separately. There are also 20 LEDs that are driven in parallel by CD4017 to form a water-light effect. Q0~Q9 are directly connected to the corresponding end of CD4017. After two high-bright LEDs are connected in parallel, the working current is below 20mA, and there is no need to connect the triode extension drive. ).


The two LEDs on the top and bottom are identical. The circuit is exactly the same. They connect the five LEDs in series and connect them directly to the power supply. Some friends will ask: Isn't the two LEDs still there?

Because of this, I replaced LED1 and LED30 with multi-color self-flashing LEDs (this is also one of the high-brightness LEDs, the price will be higher, I remember buying a piece of money at the time). After this treatment, the two LEDs are always flashing, emitting seven colors of light, and because they are constantly changing in the process of flashing, the voltage drops on the two LED paths are respectively The partial voltages of the other four LEDs also changed, causing the other four LEDs in the branch to exhibit high and low undulations, and just accompany the two flashing LEDs.



Note that in the above figure, the LED colors other than LED1 and LED30 are arranged according to personal preference, but it must be symmetrical, otherwise it will be ugly.

Third, the digital tube display LOVE:

After the work was made, I found that the middle of the heart-shaped lantern was very empty, and it looked quite awkward. So I thought of using the digital tube to display LOVE. I didn’t know how to drive the digital tube at that time, so I directly welded the digital tube, which strokes were needed. Turn it on and power it up. Of course, this is the most foolish way, but for beginners it may be the best way to achieve the desired results. This circuit uses a common cathode digital tube.






Note:

Hardware production points, I will make some explanations

1. As a gift, the appearance is crucial. Regardless of whether the work adopts my structure, it must be considered that it is not convenient to make and fix the outer casing.

2, the adjustable resistance R2 in the circuit, do not use the fine-tuning, you must use the handle (such as the volume potentiometer), after making it, whether you are your own debugging or the owner of the gift, you can adjust the LED flow speed.

The following is the finished product and renderings:




Follow Me
Link:Tenco

10/29/2018

Super alarm clock

Are you worried about getting up in the morning and teaching you to be a super alarm clock.

material:
Large

Electronic alarm clock*1
High current relay*1

Car speaker*1
11.1v lithium battery*1
One way wireless module*1

Small pieces

Hole plate
Ss8050*2
Capacitance 4.7uf 16v or more*1
T plug *1
Switch wire self-tapping plug spring strip

Function: Replace the buzzer of the electronic clock with a car horn. Why use a wireless module. This alarm clock is definitely not possible to put it on the bedside. But you can't close it, so add one. Wireless module to turn off the alarm (press the "Snoozing" button)

I am no longer woken up, but I am scared




Here's the production process:

Take the alarm off




Screw two bases on the housing





Below is a photo of my test drive circuit




Circuit diagram
(Generally, the buzzer of the electronic alarm clock is connected to the power supply at one end and the buzzer is controlled with the low level at the other end. So here only the negative pole of the alarm power supply and the "negative" side of the buzzer are connected)

Next, put the horn on a wooden board first.




Next, take the line in the alarm clock and fix it on the board (I drilled four holes on the board and fixed it directly with a plastic strap)



Welded plate (where a large current is used, I used a tin strip to lead the soldering relay. I can put the spring on the board and put it on the board in the appropriate position and then solder it in the way of "sMD" (I use a double panel) ))




T-plugs and switches are also "patch"

Connect the alarm clock and board to the circuit diagram

After loading it on the board, I made two strips of holes on the board. I used the Velcro to tie the battery.

after finishing:





Small size... a palm can hold the base



Follow Me
Link:Tenco

10/26/2018

DIY a fm radio

DIY materials required for DIY:
5×10K resistor
1×28p narrow body chip holder
5× momentary switch
1×0.1uf capacitor
2×100uf capacitor
1 power outlet
1× slide switch
1× audio jack
2 x 2 inch copper wire
1×TEA5767 radio module
1×ATmega328 inline
1×7cm×5cm hole plate
2 x 68 ohm resistor
2×3.3k resistor
1×5v 1602 LCD

Production process:
 1. Give TEA5767 radio module welding wire






2. Controller socket and TEA5767, the controller communicates with the TEA5767 via the I2C protocol. This is just an easy way to talk to the device with very few connections. Here, the SDA (green line) and symptom self-rating scale (yellow line) ports. Install TEA5767 radio module


Install 28p narrow body chip holder


Chipholder pin 27 is connected to pin 1 of the TEA5767.


Chipholder pin 28 is connected to pin 2 of TEA5767.


3, stereo audio output and capacitance, TEA5767 radio module 7 and 8 pins are stereo audio output pins (left and right respectively), connected to the audio output jack. Install the audio output jack


Increase the capacitance (positive polarity pointing down)


Solder the capacitor and connect it to the audio jack.


Solder the capacitor at both ends of the 7 and 8 pin TEA5767.


Increase power (right) and ground (left)


Ground wire ground


Soldering 5V power cord


4. Preset button, preset button tells the MCU whether to change the current frequency to save the frequency, or save the current frequency to the memory. Install momentary switch and 10K resistor


10K resistors have in common


Instantaneous switching of the power rail. Connect the green wires to each switch directly to the pins 4, 5, and 6.

 5. Tuning switch. The tuning switch increments or decrements the 0.1 current frequency. Install momentary switch and 10K resistor


Welding grounding and power connection switch


Weld pins 23 and 24 to the top and bottom switches.

6, power socket, toggle switch, bypass capacitor. Next, we need to add a power outlet and slide switch control and power circuit. We also need to add a small bypass capacitor (0.1uF) between TEA5767 5V and GND. Welding power outlet power supply and ground wire




7, liquid crystal display output, we are now connected to the LCD screen motherboard and two resistors (3.3kΩ) and backlight (67 ohms) LCD screen. This part may cause some confusion, so pay close attention to the numbers.








8. Finally, solder a wire to the TEA5767 pin 10 as an antenna, and then find a case to wrap it, it will be OK. Finished product display:
Follow Me
Link:Tenco


Robot shopping guide wins over real person shopping guide by nearly 90% of users welcome

To the person that loves shopping, a good guide is bought be like close close small boudoir honey, let a person be like mu chun feng, enjo...