logo elektroda
logo elektroda
X
logo elektroda

Description of the square wave generator based on the NE555 chip

grala1  13 6813 Cool? (+11)
📢 Listen (AI):

TL;DR

  • A very cheap single-channel rectangular signal generator module based on the NE555 chip uses two multi-turn potentiometers and a jumper-set frequency range.
  • One potentiometer adjusts duty cycle, the other adjusts frequency, and the L/H jumper selects 1Hz-50Hz, 50Hz-1kHz, 1kHz-10kHz, or 10kHz-200kHz.
  • The kit costs about $0.5 in China or PLN 11 in Poland and measures 32 x 22 x 15mm.
  • Testing showed output amplitude nearly matched supply voltage, reaching almost 15V at a 15V supply.
  • Duty cycle was adjustable from about 30% to 99%, but changing it also altered frequency, especially at higher frequencies.
Generated by the language model.


Hello.
Below I present to you a description of a very cheap single-channel rectangular signal generator with adjustable filling. Prices in China start from about $ 0.5 with shipping, in Poland from about PLN 11 with shipping.
The system is sold as a ready-made kit.
Dimensions: 32 x 22 x 15mm.

The generator is based on the well-known NE555 chip. The board also has two multi-turn precision potentiometers, where, according to the manufacturer, one is used to regulate the frequency, and the other to regulate the filling of the generated signal.
We also have a three-pin goldpin connector, where we have to provide power - VCC, ground - GND, and we have the output of the generated signal - OUT.
In addition, we also find an LED for signal visualization at the output and a row of double goldpins with a jumper for setting the frequency adjustment ranges. The connector is labeled with the letters L and H, where L is the lowest possible frequency range and H the highest. We have 4 possible ranges to set:
- 1Hz - 50Hz,
- 50Hz - 1kHz,
- 1kHz - 10kHz,
- 10kHz - 200kHz.
Generator power supply in the range 4.5 - 16VDC. According to the manufacturer, the amplitude at the output is in the 4-12VDC range, it depends on the generator supply voltage. The maximum output current according to the manufacturer is 5mA with a 5V supply and 35mA with a 12V supply. According to the NE555 catalog note, it is about 200mA, but you have to take into account that there is also an LED on the board, which also loads the system.
The potentiometer in the upper left corner is used to regulate the duty cycle of the signal - turning it to the left increases the degree of filling, turning it to the right reduces it. The potentiometer in the lower left corner is used to adjust the frequency - by turning it left, we decrease the frequency of the generated waveform, and turn it to the right.
Below are a few waveforms with different power values.



It can be seen that the amplitude at the output is almost the same as the supply voltage of the tested generator. You can see that with about 15V power supply, the amplitude at the output was almost that of the supply voltage, so the manufacturer's data is slightly understated - at least in this particular case.

The filling, which was achieved on the tested generator, is in the range of 30-99% (below 30%, the generator output shows a low state, setting the filling potentiometer to the minimum value will give us a 99% filling of the course) and you have to wind up a bit to set what we want, because by turning the knob to change the fill, we also change the frequency. We don't have that big problems with the frequency control potentiometer - here the frequency also changes, but only to a very small extent.
It can also be noticed that the change of the supply level has an impact on the frequency of the generated waveform at the same potentiometer settings, i.e. by increasing the supply voltage, the frequency of the output waveform increases and its filling slightly.

During the generator tests, it was possible to obtain a higher frequency of the generated signal than specified by the manufacturer, but the higher the frequency, the more distorted the signal becomes.

Below is a link to the description of another, more expensive two-channel generator with a three-digit seven-segment display, where it is also possible to adjust both the waveform frequency and the duty cycle.
https://www.elektroda.pl/rtvforum/topic3422908.html#16981517

About Author
grala1 wrote 9812 posts with rating 5036 , helped 1495 times. Live in city Kalisz. Been with us since 2006 year.

Comments

turfa8 23 Jan 2018 16:49

Can you ask for a diagram of this wonder? [Read more]

CMS 23 Jan 2018 18:09

Why do you need a diagram? Ready layout costs much less than if you were to buy each item individually. However, if you have all the components in the proverbial drawer, the diagram can be found... [Read more]

Anonymous 23 Jan 2018 20:41

Two PCB layers for such "shit"? [Read more]

michalko12 23 Jan 2018 21:58

Two cheaper than one, or the same price, and the benefits of two layers are much more. [Read more]

Anonymous 23 Jan 2018 22:01

Two cheaper than one or the same price What in this project? [Read more]

michalko12 23 Jan 2018 23:02

The prices for the Chinese are the same because they usually only use double-sided cores. With two layers, the size of the PCB can be reduced, thus lowering the cost of the PCB. Two layers are always better... [Read more]

Anonymous 23 Jan 2018 23:19

and before: In this project? I doubt it. In this project? And it effectively makes it difficult to desolder the element (e.g. during repair or commissioning) [Read more]

Kaliber PC - Service 24 Jan 2018 22:11

Hello. A simple, but as usual interesting project based on the NE555. This cube will probably never die ... :) Recently, I even had the pleasure of doing something similar at work for PWM control. ... [Read more]

yogi009 24 Jan 2018 22:26

And it's not like you can get 51-99% filling on 555, or something like that? [Read more]

icosie 24 Jan 2018 22:47

That's right, which is why those signals with less than 50% are so distorted. : / [Read more]

yogi009 25 Jan 2018 01:06

Therefore, I propose to correct this parameter in the description of the module's operation. [Read more]

HD-VIDEO 25 Jan 2018 01:36

Scheme: https://obrazki.elektroda.pl/2276734700_1516840571_thumb.jpg [Read more]

Kuurak 05 Nov 2021 15:06

Hello The output from this system is several dozen mA, and I need a few hundred, e.g. 0.5A. What's the easiest way to increase this? Is such a circuit on one transistor enough? https://obrazki.elektroda.pl/7581009800_1636121152_thumb.jpg... [Read more]

FAQ

TL;DR: The NE555 square-wave module costs just $0.50 delivered [Elektroda, grala1, post #16981516]; “Two layers are always better EMC” [Elektroda, michalko12, post #16983871] It outputs 1 Hz-200 kHz at 4.5-16 V, duty 30-99 % and ~5-35 mA drive.
Why it matters: You get a lab-grade timing source for the price of a soda.

Quick Facts

• Size: 32 × 22 × 15 mm [Elektroda, grala1, post #16981516] • Supply: 4.5–16 V DC [Elektroda, grala1, post #16981516] • Selectable ranges: 1 Hz-50 Hz, 50 Hz-1 kHz, 1 kHz-10 kHz, 10 kHz-200 kHz [Elektroda, grala1, post #16981516] • Tested duty cycle: 30-99 % [Elektroda, grala1, post #16981516] • Output current: 5 mA @ 5 V, 35 mA @ 12 V [Elektroda, grala1, post #16981516]

How do I change frequency and duty cycle?

  1. Move the 2-pin jumper to pick one of four L-H ranges.
  2. Turn the lower left multiturn pot right to raise frequency, left to lower it [Elektroda, grala1, post #16981516]
  3. Turn the upper left pot left for higher duty, right for lower duty (watch under-50 % distortion).

Does supply voltage change the waveform?

Yes. Raising VCC increases amplitude almost linearly and also nudges frequency upward and duty slightly higher [Elektroda, grala1, post #16981516] At 15 V the output swing nearly equals the supply despite the datasheet’s 12 V claim.

Where can I find the schematic?

A user posted the full circuit diagram at post #16986872 [Elektroda, HD-VIDEO, post #16986872] It mirrors the standard NE555 astable from any datasheet.

Why does the board use two PCB layers for such a simple circuit?

Double-sided FR-4 is the cheapest option from many Chinese fabs, allows a smaller board, provides continuous ground, and improves EMC for fast edges [Elektroda, michalko12, post #16983871]

How much current can the module source or sink?

The board’s LED and series resistor limit output to about 5 mA @5 V and 35 mA @12 V [Elektroda, grala1, post #16981516] The bare NE555 can deliver up to 200 mA typ. [TI Datasheet].

I need 0.5 A. How do I boost the output?

Add an NPN transistor or MOSFET buffer. A single 2N2222 with a 1 kΩ base resistor delivers >500 mA with ≤0.2 V drop; the phase will invert, which is fine per the post [Elektroda, Kuurak, post #19691746]

Is the signal TTL/CMOS compatible?

Yes. When powered from 5 V, logic-high is ≈5 V, logic-low ≈0 V, satisfying TTL and 5 V CMOS thresholds [Elektroda, grala1, post #16981516] For 3.3 V logic, power the module at 3.3-4 V or add a level shifter.

What is the highest usable frequency before distortion gets severe?

Users observed acceptable edges up to about 100 kHz; beyond that the square wave rounded noticeably [Elektroda, grala1, post #16981516] The module was still oscillating at 200 kHz but with heavy distortion—a practical ceiling.
Generated by the language model.
%}