Maker Pro
Maker Pro

help with IR2110 chips

Maglatron

Jul 12, 2023
257
Joined
Jul 12, 2023
Messages
257
ok sorry didn't catch that, okay small hic-up how do I remove the extention? I used to be able to just click things so that the writing goes blue and change it but now when it goes blue it doesn't show the extention!
 

Maglatron

Jul 12, 2023
257
Joined
Jul 12, 2023
Messages
257
lol okay I've done it and I have the files in the right directory and they are working wel,l I appreciate everything which you guys have helped me with, chuffed!
 

Maglatron

Jul 12, 2023
257
Joined
Jul 12, 2023
Messages
257
So theres a small bit more and thats the programming of the arduino to provide the pulses with the dead time is this good enough?
C:
#include <TimerOne.h>

const int pin1 = 9;  // Timer1 uses pin 9 and 10 for most Arduino boards
const int pin2 = 10;

const long frequency = 50; // 50Hz
const long period = 1000000 / frequency; // in microseconds

const long halfPeriod = period / 2;
const long pulseWidth = halfPeriod - 2; // Deducting 2 microseconds for the deadtime

void setup() {
 pinMode(pin1, OUTPUT);
 pinMode(pin2, OUTPUT);

// Set up Timer1
Timer1.initialize(period);


// Set the PWM period for each pin
 Timer1.pwm(pin1, 512); // 50% duty cycle
 Timer1.setPwmDuty(pin2, 512); // Set the duty but do not start it yet

 // We create a manual interrupt to precisely control the phase difference
 Timer1.attachInterrupt(togglePins);

 }

 void togglePins() {
  static bool toggleState = false;
if(toggleState) {
   digitalWrite(pin1, HIGH);
   delayMicroseconds(pulseWidth);
  digitalWrite(pin1, LOW);
 } else {
 digitalWrite(pin2, HIGH);
   delayMicroseconds(pulseWidth);
   digitalWrite(pin2, LOW);
}  toggleState = !toggleState; // Switch states

 } void loop() {
 // No logic in loop. The Timer1 library and ISR handle the toggling.

 }
[mod edit: put the code into a code box for better readability]
 
Last edited by a moderator:

Alec_t

Jul 7, 2015
3,457
Joined
Jul 7, 2015
Messages
3,457
Programming's not my forté. Someone else may be able to help with that.
 

Maglatron

Jul 12, 2023
257
Joined
Jul 12, 2023
Messages
257
cool out of interest are there any other circuits I should know and play around with that should be in everyones resamea? any that you might think that i may find usefull in the future?
 

Maglatron

Jul 12, 2023
257
Joined
Jul 12, 2023
Messages
257
I'm thinking I might make a new thread named "circuits you should know" what do you recon?
 

Alec_t

Jul 7, 2015
3,457
Joined
Jul 7, 2015
Messages
3,457
are there any other circuits I should know
There are too many specific ones to make listing them worthwhile IMO, but knowing the essential operation of certain families of ICs would be useful, for example CMOS logic, op-amps, voltage regulators etc.
Have you read through the Resources section of this site?
 

Maglatron

Jul 12, 2023
257
Joined
Jul 12, 2023
Messages
257
Still not got my pieces or had a chance to go on my project yet but I have not forgotten. I'll keep you posted.
 

Maglatron

Jul 12, 2023
257
Joined
Jul 12, 2023
Messages
257
i have made this in KiCad i want to put two solder point or header pins for the digital input from an arduino then i want to make the schematic into a pcb ,
 

Attachments

  • kicad ir2110.png
    kicad ir2110.png
    363.6 KB · Views: 3

Maglatron

Jul 12, 2023
257
Joined
Jul 12, 2023
Messages
257
i took the labels off to see better but can't add them again! please help?
 

Martaine2005

May 12, 2015
4,675
Joined
May 12, 2015
Messages
4,675
@Maglatron
Seriously??.
You are going to starve yourself of help very soon.
Many contributors to this forum have spent a lot of time helping you. I prefer calling it ‘baby sitting’.
From all your threads, you haven’t learned anything. You haven’t read the links. You haven’t done the calculations that were shown. You haven’t even tried some of the suggestions.

Your internet connection..
You can post links ( in other posts) just fine.
Are you too damn lazy to Google??. Or an 8 year old?.

Martin
 

Maglatron

Jul 12, 2023
257
Joined
Jul 12, 2023
Messages
257
I have learned a lot to be fair, like how to make H-bridge with two half bridges IR2110 (to make a funtional inverter) and that's because they use NPN MOSFETS which switch faster than PNP and I learned about bootstrapping, I've learned to use new programs LTSpice and KiCAD and how to load in new libraries such as the zzz series. and have learned about how to model transformers to reflect reallistic out put. I learned about laser printers and photopaper for the toner transfer with the iron method at 130 degrees, and have learned a few other things too. I do read the material that you guys provide i'm sorry if it appears that i do not. I appreciate that you dont like to "baby-sit" so from now I will keep my activity to a minimum
 
Last edited:
Top