Author Topic: Electronic Modules  (Read 14394 times)

0 Members and 1 Guest are viewing this topic.

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Electronic Modules
« on: April 27, 2023, 05:03:06 pm »


It's an open source archive of simple and useful electronic modules.
Source Link: GitHub.com/AliRezaJoodi/Electronics_Modules

Note:
I did many electronics projects during over past ten years. I want to publish my personal electronics projects on the GitHub. Likewise, I will publish simple files to start, then main projects.
Here will be just informing. Please, follow and star me on the GitHub.
Thanks
« Last Edit: April 27, 2023, 05:04:38 pm by AliRezaJoodi »
 
The following users thanked this post: edavid, doktor pyta, schmitt trigger, beanflying, crgarcia

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
DC to Differential Converter
« Reply #1 on: April 30, 2023, 10:36:23 pm »

DC to Differential Converter
Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> PowerSupply_Converter_DCtoDifferential

I used it for reading thermocouple voltage. It converts thermocouple DC voltage to differential voltage. I tested it for many times and worked great.

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
1~5V to 4~20mA Converter
« Reply #2 on: May 02, 2023, 06:39:32 am »
1~5V to 4~20mA Converter

Picture:


Schematic:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Converter_1-5Vto4-20mA
 
Note: It's not fast but useful for a dimmer.

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
« Last Edit: May 25, 2023, 07:16:58 am by AliRezaJoodi »
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Frequency to Voltage Converter
« Reply #3 on: May 03, 2023, 08:20:56 pm »
Frequency to Voltage Converter.

Picture:


Schematic:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Converter_FrequencyToVoltage

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
« Last Edit: May 03, 2023, 08:23:37 pm by AliRezaJoodi »
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
AC Voltage Detector
« Reply #4 on: May 04, 2023, 03:36:20 pm »
AC Voltage Detector

Picture:


Schematic:


Simulate:


Source Link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Detector_AC-Voltage
 
Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
« Last Edit: May 04, 2023, 03:38:29 pm by AliRezaJoodi »
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Phase Detector
« Reply #5 on: May 06, 2023, 04:42:29 pm »
Phase Detector

Picture:


Schematic:


Simulate (with PWM output):


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Detector_PhaseDifference

Note: I tested it for many times and worked great

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Zero Crossing Detector for 1-Phase Dimmer
« Reply #6 on: May 07, 2023, 10:17:27 pm »
Zero Crossing Detector for 1-Phase Dimmer

Picture:


Schematic:


Simulate:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Detector_ZeroCrossing_1Phase

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Zero Crossing Detector for 3-Phase Dimmer
« Reply #7 on: May 14, 2023, 11:13:25 pm »
Zero Crossing Detector for 3-Phase Dimmer

Picture:


Schematic:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Detector_ZeroCrossing_3Phase

Three of these blocks can be used for a three-phase dimmer
I tested it for many times and worked great.

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Relay Driver
« Reply #8 on: May 15, 2023, 07:20:46 pm »
Relay Driver

Picture:


Schematic:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Driver_Relay_1CH

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
« Last Edit: May 24, 2023, 12:51:31 pm by AliRezaJoodi »
 

Offline barshatriplee

  • Regular Contributor
  • *
  • !
  • Posts: 130
  • Country: bd
Re: Electronic Modules
« Reply #9 on: May 17, 2023, 03:34:58 pm »
Thanks for sharing the github link.
 
The following users thanked this post: AliRezaJoodi

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Isolated Relay Driver
« Reply #10 on: May 17, 2023, 05:34:17 pm »
Isolated Relay Driver

Schematic:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Driver_Relay_1CH_Isolated

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Thyristor Gate Driver Using TLP521
« Reply #11 on: May 19, 2023, 07:38:49 am »
Thyristor Gate Driver Using TLP521

Picture:


Schematic:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Driver_Thyristor_TLP521

Note: Use isolated power supply for the thyristor side
Note: It usable for a triac gate

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Triac Gate Driver Using MOC3021
« Reply #12 on: May 20, 2023, 09:49:01 am »
Triac Gate Driver Using MOC3021

Picture:


Schematic:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Driver_Triac_MOC3021

Note: MOC302x series have no zero-cross
Note: MOC304x series have zero-cross

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
« Last Edit: June 01, 2023, 06:12:56 pm by AliRezaJoodi »
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
ULN2003 Driver
« Reply #13 on: May 21, 2023, 01:43:31 pm »
ULN2003 Driver

Schematic:


Picture:


User Manual:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Driver_ULN2003_1Layer
==> Driver_ULN2003_2Layer

Note: Included schematic and PCB layout with Proteus

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
« Last Edit: May 26, 2023, 11:26:47 pm by AliRezaJoodi »
 

Offline floobydust

  • Super Contributor
  • ***
  • Posts: 7000
  • Country: ca
Re: Electronic Modules
« Reply #14 on: May 21, 2023, 10:18:06 pm »
Please add ULN2003 pin 8 GND to schematic.
 
The following users thanked this post: AliRezaJoodi

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Isolated DC Motor Direction Controller with Two Relays
« Reply #15 on: May 24, 2023, 12:53:22 pm »
Isolated DC Motor Direction Controller with Two Relays

Simulate:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Driver_DcMotor_DirectionController_IsolatedWithRelay

D4: Schottky Diode

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
« Last Edit: May 26, 2023, 09:10:16 am by AliRezaJoodi »
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
AT24Cx I2C EEPROM Module
« Reply #16 on: May 25, 2023, 07:23:34 am »
AT24Cx I2C EEPROM Module

Picture:


Schematic:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> EEPROM_AT24Cx

Note: With LEDs to display reading and writing modes.

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks

« Last Edit: May 25, 2023, 07:39:55 am by AliRezaJoodi »
 

Offline floobydust

  • Super Contributor
  • ***
  • Posts: 7000
  • Country: ca
Re: Isolated DC Motor Direction Controller with Two Relays
« Reply #17 on: May 25, 2023, 07:30:39 pm »
Isolated DC Motor Direction Controller with Two Relays

Simulate:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Driver_DcMotor_DirectionController_IsolatedWithRelay

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks

What is zener D4 doing other than making smoke?
 
The following users thanked this post: AliRezaJoodi

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Re: Electronic Modules
« Reply #18 on: May 26, 2023, 08:58:04 am »
Thanks for your message   :-+
My mean was a Schottky Diode
I'll edit it
« Last Edit: May 26, 2023, 09:10:35 am by AliRezaJoodi »
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
TTL UART to RS232 Converter
« Reply #19 on: May 26, 2023, 11:30:08 pm »
TTL UART to RS232 Converter

Picture (1L):


Picture (2L):


Schematic:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Interfacing_UARTtoRS232_1Layer
==> Interfacing_UARTtoRS232_2Layer

Note: An old converter but useful

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
TTL UART to USB Converter Using CH340G
« Reply #20 on: May 28, 2023, 08:51:52 am »
TTL UART to USB Converter Using CH340G


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Interfacing_UARTtoUSB_CH340G

Picture:


Schematic:


It can be used as a programmer when you make a arduino with AVR and bootloader.
Note: Included schematic and PCB layout with Altium

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
 

Offline Infraviolet

  • Super Contributor
  • ***
  • Posts: 1017
  • Country: gb
Re: Electronic Modules
« Reply #21 on: May 28, 2023, 11:52:14 pm »
Looks like some of them could make quite a useful library of ideas, good work on assembling your collection.
 
The following users thanked this post: AliRezaJoodi

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
TTL UART to USB Converter Using FT232RL
« Reply #22 on: May 30, 2023, 11:53:46 am »
TTL UART to USB Converter Using FT232RL

Picture:


Schematic:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Interfacing_UARTtoUSB_FT232RL

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
« Last Edit: June 01, 2023, 06:04:08 pm by AliRezaJoodi »
 

Offline floobydust

  • Super Contributor
  • ***
  • Posts: 7000
  • Country: ca
Re: TTL UART to USB Converter Using FT232RL
« Reply #23 on: May 30, 2023, 09:41:24 pm »
TTL UART to USB Converter Using FT232RL

If you're going to publish circuits on the Internet, your blog, it's important that they work. Otherwise people come here and post that it is not working, whaaaa why? and waste a lot of people's time.
Copying datasheet circuits and then adding mistakes is really annoying.

Why does your PCB not match your schematic? Where's the switch, what does it do? Missing resistors on USB DP, DN, electrolytic capacitor etc.
I thought for 3.3V logic interfacing, VCC I/O connects to 3.3V ? Why do you leave VCC I/O not connected.
FT232R datasheet
 
The following users thanked this post: AliRezaJoodi

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Re: Electronic Modules
« Reply #24 on: June 01, 2023, 06:00:59 pm »
Thank you for feedback  :clap: :clap: :clap:
Edited  :-+
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
4~20mA Analog Input With A Relay Switch For Disable InputPicture:
« Reply #25 on: June 01, 2023, 06:18:44 pm »
4~20mA Analog Input With A Relay Switch For Disable Input

Picture:


Schematic:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> AnalogInput_CurrentSource_DisableInputWithRelay

If we turn off a board power supply while a ADC input connect to 4~20mA external source, The microcontroller does not turn off completely. 
So, after turn on the board power supply, the micro will behave unreliably. 
It was my experience about control board that use a ATmega2560 for induction furnace. I had to use a switch before ADC for disconnect the external source. 
I tested it for many times and worked great. 

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks

 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Protected 4~20mA Analog Input
« Reply #26 on: June 03, 2023, 07:59:12 am »
Protected 4~20mA Analog Input

Simulate:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> AnalogInput_CurrentSource_ProtectedInput

A circuit that design by Jefferson Pehls for Protection a 4~20mA Current Input.
I just tried to understand it in Proteus.

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks

Source Link (Jeferson Pehls): https://www.linkedin.com/feed/update/urn:li:activity:7042709425547001856/
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Re: Electronic Modules
« Reply #27 on: June 04, 2023, 09:27:23 am »
Isolated High Power Full-Bridge Inverter with MOSFET Switches

Schematic:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Inverter_FullBridge_MOSFET

Please follow and star me on the GitHub
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
IR Sender and Receiver
« Reply #28 on: June 12, 2023, 09:38:59 am »
Electronic Modules
IR Sender and Receiver
Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> IR_Sender



==> IR_Receiver



Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
« Last Edit: June 25, 2023, 06:33:49 am by AliRezaJoodi »
 

Offline floobydust

  • Super Contributor
  • ***
  • Posts: 7000
  • Country: ca
Re: Electronic Modules
« Reply #29 on: June 13, 2023, 02:43:02 am »
Isolated High Power Full-Bridge Inverter with MOSFET Switches

Schematic:
Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> Inverter_FullBridge_MOSFET

Why are you pulse stretching with C4, C5? You don't want overlap in a full bridge or it goes boom. What PWM frequencies is this bridge good for at 300VDC?
 
The following users thanked this post: AliRezaJoodi

Offline f4eru

  • Super Contributor
  • ***
  • Posts: 1093
  • Country: 00
    • Chargehanger
Re: Electronic Modules
« Reply #30 on: June 14, 2023, 10:22:32 pm »
Seems intended to do stretching the OFF state of the MOS.

But really poor bridge design. A really good example of all things what not do do at 300V.
- slow optos
- too Hi-Z gate drive make it even slower.
- no good handling of transients during startup of the charge pumps
- Bipolar PWM means really crappy efficiency
- no mention of output filters, load type, nor bootstrap supply
- generation of VDD2 probably compromised at startup by the huge bootstraps charging without real current limits
- discharged C4, C5 generate a short circuit transient to the MOS gates at power up of the 5V -> funny one.
- no UVLOs on gate drivers
- no rail filtering
- no protection, current limit
- LEDs of optos directly in paralell.
......

If it is found to work, it would be a pure luck kind of situation depending on environment.
Each one of those points is easily capable to generate an EMS event (Explosive Magic Smoke).
Please learn all those topics, and I strongly advise to use real half-bridge driver ICs



« Last Edit: June 14, 2023, 10:40:39 pm by f4eru »
 
The following users thanked this post: AliRezaJoodi

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Re: Electronic Modules
« Reply #31 on: June 15, 2023, 06:33:43 pm »
It was my old archive for UPS.
The C4 and C5 is stretching the ON state of the MOS
SPWM frequency was under 20KHz (I'm not sure now. I didn't write it)
« Last Edit: June 15, 2023, 06:45:21 pm by AliRezaJoodi »
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Re: Electronic Modules
« Reply #32 on: June 15, 2023, 06:51:37 pm »
Seems intended to do stretching the OFF state of the MOS.

But really poor bridge design. A really good example of all things what not do do at 300V.
- slow optos
- too Hi-Z gate drive make it even slower.
- no good handling of transients during startup of the charge pumps
- Bipolar PWM means really crappy efficiency
- no mention of output filters, load type, nor bootstrap supply
- generation of VDD2 probably compromised at startup by the huge bootstraps charging without real current limits
- discharged C4, C5 generate a short circuit transient to the MOS gates at power up of the 5V -> funny one.
- no UVLOs on gate drivers
- no rail filtering
- no protection, current limit
- LEDs of optos directly in paralell.
......

If it is found to work, it would be a pure luck kind of situation depending on environment.
Each one of those points is easily capable to generate an EMS event (Explosive Magic Smoke).
Please learn all those topics, and I strongly advise to use real half-bridge driver ICs

Thank you for feedback  :-+
I'll study about it 
 

Offline ArdWar

  • Frequent Contributor
  • **
  • Posts: 373
  • Country: sc
Re: Electronic Modules
« Reply #33 on: June 18, 2023, 03:45:47 pm »
"stretching the ON state" on both leg is probably the last thing you want to do on a bridge, let alone at 300V

How it didn't end up in a ball of plasma? You're lucky if it "only" ends up in smoke.
 
The following users thanked this post: AliRezaJoodi

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
External WatchDog for AVR Microcontrollers
« Reply #34 on: June 25, 2023, 06:41:27 am »
External WatchDog for AVR Microcontrollers

Picture:


Schematic:


Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> MCU_WatchDog

Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
 

Offline AliRezaJoodiTopic starter

  • Contributor
  • Posts: 31
  • Country: 00
Dialing on the Phone Line
« Reply #35 on: July 18, 2023, 12:17:19 pm »
Dialing on the Phone Line
Open-source link: GitHub.com/AliRezaJoodi/Electronics_Modules
==> PhoneLine_Dialing

Picture:


Schematic:


Please follow and star me:
GitHub Account: GitHub.com/AliRezaJoodi
LinkedIn Account: LinkedIn.com/in/AliRezaJoodi
Thanks
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf