Experiments with CMOS 4093 chip


original article (roumanian language)

    
Usually, for made a simple square wave generator it use old 555 (you can see my experiments with 555 at Experimente cu “batranul” 555).
I like more CMOS chips… so, I use 4093 series (CD4093, MMC4093, etc) who is Quad 2-Input NAND Schmitt Trigger (see datasheet).
    
I use schematic for gatted oscillator:
gatted oscillator with 4093
A funny montage is same police lights:
gatted oscillator with 4093
    
I use Livewire software for simulate this schematic and I made 2 movies:
original police flasher only CMOS 4093:

police flasher only CMOS 4093 – logical views

    
Initial schematic has formulas for calculate times.. imposible formulas at first view, but if study datasheet, we can calculate values.
    
I calculate times for three value of power suplly:
– for 5V:
5V
– for 10V:
10V
– for 15V:
15V
    
After that, we can see dutty factor (fu) is about 50%.
Frequency f=k*R*C, so:
k
    
Recomadated values are:
ok values
    
For minumum recomandated value for resistor:
r minim
    
For maxim value of resistor:
maximum resistor
    
Theoretical frequency is from 1Hz to 234kHz.
    
Practical schematic is:
practical schematic
    
If change just capaciter:
– 100pF:
100pF
– 1nF:
1nF
– 10nF:
10nF
– 100nF:
100nF
– 1uF:
1uF
    
I made a new simulation with Livewire software and new movies:
simulare functionare oscilator cu poarta CMOS 4093

oscilator cu poarta CMOS 4093 part2

    
I found on Minimaxfly channel on youtube a movie named Signal lumineux de Police Flasher CMOS 4093 Electronique who use my schematic:

Single phase motor use in both directions

For use a single phase motor in both directions for made a hoist, whinch or for other applications must use a simple schematic named PSC (Permanent Split Capacitor), see docs from Washing machine two speed electric motor.

Base schematic is

For use in host when you need a limit switch for up, practical schematic is:

Note: limitator = limit switch

I made a movie with a rebuit hobby hoist:

Pornire motor monofazat in ambele sensuri (2)

Intr-un articol anterior, am prezentat schema de legare a unui motor monofazat ce echipa un troliu (electropalan cu cablu) pentru a functiona in ambele sensuri:

Totul se baza pe informatiile prezentate in articolul Reutilizarea motorului cu 2 viteze de la masina de spalat automata (Washing machine two speed electric motor).

Acum, am dat de alt troliu/electropalan alimentat la 230V~ la care se umblase in schema si diferea de cea prezentata anterior, in sensul ca aveam la dispozitie doar 3 borne si o cutie de comanda cu butoane prin cablu, in care se gasea si condensatorul.

startek_01

startek_02

S-a pornit de la aceasi schema de baza , in schema “PSC (Permanent Split Capacitor). Acest motor are un condensator conectat permanent in serie cu infasurarea de pornire, ceea ce face ca aceasta sa devine infasurare auxiliara odata ce rotorul a atins turatia nominala”.

mms0

Dupa ce s-au refacut legaturile conform unei schema de conexiuni corecte, de catre acelasi coleg, Gigi:schema

am facut un filmulet numit test dupa reparatie troliu (electropalan) monofazat din gama hobby

P20F04D-12L display with HUB40A interface and 16×8 2R1G1B pixels (part 2)

original article (roumanian language)

by niq_roAfter I became familiar with P20F04D-12L display module using Arduino develelopment board, I decided to made a weather station (temperature & humidity). The first tests we presented in the previous article named P20F04D-12L display with HUB40A interface and 16×8 2R1G1B pixels.

For test I use 2 module and I create a “picture” with 32×8 pixels for clock data (hours and minutes) imagine0aimagine0and a real case is:eP9260170In movie named afisaj 2R1G1B cu interfata HUB40A controlat de Arduino (8) I try different type of  colours and speed animatrions:

Then I made a new “picture” for temperature:imagine1and I create a string with 512 elements (32 columns & 8 rows): imagine1aNow, on my display I see:P9300173After this, I made a new “picture” for humidity:imagine2and a new string with 512 elements:imagine2aNow, on display I see:

P9300183

I made a new movie, named afisaj 2R1G1B cu interfata HUB40A controlat de Arduino (9)

I made a weather station with AM2302 (DHT22):arduino weather station on P20 2R1G1B HUB40A display schematic

using an original sketch named hub40a_test4m1s1.ino and I made 2 movies:

P20F04D-12L display with HUB40A interface and 16×8 2R1G1B pixels

original article in roumanian languagedP9260170This display module named P20F04D-12L has 16×8 pixels, each made with 2R1G1B leds (2 red leds, one green led & one blue led).

For power supply it use 5V (VCC & two VDDs):dP9260171dP9260173and interface for control is named HUB40A:dP9260172dP9260174Usual, this modules are used as street display with maximum 8 rows:dP9260176and cascaded on columns:
eP9260170
I search for info about HUB40A interface, but i found few usefull datas:HUB40Aand I found on board 2 chips 74HC245 and 32 chips MBI5026.bP9220176MBI5026GFDisplay has 2 big zone (upper & bottom rows), each with 4 square (4×4):HUB40A_vs_human_eyesData is put serial like as ususal shift register, just there is 2 zone & 4 colour (2 red, 1 green & 1 blue):text_HUB40AFor control the display module I use a Arduino with this schematic:HUB40A Arduino test schematic

For power this module I use a 5V/40A power supply module (can be used for 4 display modules).

First, I change a sketch from www.arduino.cc/en/Reference/ShiftOut and now I see a “picture” with my name with base colour:IMG_20150924_134820IMG_20150924_134833IMG_20150924_134826I made a movie named afisaj 2R1G1B cu interfata HUB40A controlat de Arduino

Then, I put 2 colours to made other colour:IMG_20150924_155128IMG_20150924_155123IMG_20150924_155118and I made a new movie named afisaj 2R1G1B cu interfata HUB40A controlat cu Arduino (2)

Finally, I put all colour (one red, one blue & one green):IMG_20150924_155446Next step was to put text at bottom zone:P9250170P9250170xP9250171 (1)and using both zones:P9250173and I made a new movie named afisaj 2R1G1B cu interfata HUB40A controlat cu Arduino (3)

I put at middle of display:P9250170 (1)P9250171 (1)P9250172 (1)

like in movie https://youtu.be/muSU_hueHlk

then I use 2 colours:P9250171xP9250172xP9250170y

like in nest movie named afisaj 2R1G1B cu interfata HUB40A controlat de Arduino (5)

and “white”using one red, one green and one blue:P9250170ylike in movie named afisaj 2R1G1B cu interfata HUB40A controlat de Arduino (6)

For this movie I use sketch HUB40A_test4m1g.ino !!!

I change the “picture” for use all pixels from display:text2_HUB40Aand I got next cases:P9250170zP9250178zP9250177zP9250175zP9250173zP9250171z

like in movie named afisaj 2R1G1B cu interfata HUB40A controlat de Arduino (7)

For this cases, I use sketch named HUB40A_test4m1h.ino !!!

With 2 display modules, I can put a clock:eP9260170 (1)

Mini audio amplifier with LM386

In more portable devices it use LM386 who is 1W audio power amplifier with x20 to x200 gain (26..46dB) and BASS BOOST feature.

Is very usefull to read the datasheet from Texas Instruments or UTC.

base schematic
base schematic
base schematic with bass boost
base schematic with bass boost

I made a sound surveillance system using LM386 with huge gain like in article How to get 74dB by LM386 writted by Kazuhiro Sunamura.

74dB

At LA3ZA Radio & Electronics is made a analize of this schematic with LM386, see the document.

At Decibels (dB) Calculator page you can understund the conversion between gain using dB, e.g. 74dB = x5000 and 20dB = x10.

I design a schematic who use jumpers for classic and special gain:

niq_ro's design
niq_ro’s design

The cases are:

  • with all jumpers free, gaine x20:
x20
  • close 1-2, gain x20..x200:
x20..200
  • close 2-3, gain x50..x5000:
x50..5000

For unidirectional intercom schematic is:

A version a board and montage can be:

3D
montage

 

230V~ LED flasher

original article (roumanian language)

In a old paper magazine named ELEKTOR I found a nice schematic 

Using Eagle PCB software I designed a version for made this schematic:

montage
3D montage
board

On net, I found a movie with similar montage, named 110 or 240 Volts blinking LED:

If you put this module in parallel with a incandescent bulb, LED flash when bulb is on (work with led lamp or other lamp):

230V~LED flasher when bulb lamp is ON

If you put this module in parallel with switch at incandescent bulb circuit, LED flash when bulb is off:

230V~LED flashet whem bulb lamp is OFF

I made simple circuit in air:

tested schematic
tested schematic

I put a additional resistor for better intensity of LED:

I change red led wih blue led:

I made a movie named 230V LED flasher

 

back to main page !!!

Alte 10 articole “sonore” recuperate…

1) Defazor/driver audio

2) Preamplificator audio liniar

3) Adaptor pseudostereo

4) Reglarea volumului si a balansului la un amplificator

5) Protectie la tensiune continua a boxelor

6) VU-metru analog

7) Miniamplificator audio cu TDA2822M

8) Miniamplificator audio cu LM386

9) Boxe active pentru calculator

10) Boxe active calculator 120W PMPO – A4Tech (releveu)