How to make a Brushed ESC | Bidirectional ESC

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ย. 2024

ความคิดเห็น • 148

  • @DavedW1964
    @DavedW1964 2 ปีที่แล้ว +1

    Nice and appreciate you posting this. It "might" have been better to use a more readily available driver. There is lots of info out there on using the L9110,. Am looking into if it can be substituted but at a glance I think it works on a slightly different principal. Cheers

  • @svenp.4353
    @svenp.4353 4 ปีที่แล้ว +4

    Hi, I am using the RZ7889 (SMD Version of 7886). Since this ESC is only forward/backward without braking, I would like to use the brake feature that is mentioned in the datasheet. Can anyone tell me how to activate it?

  • @sarcosmic-
    @sarcosmic- ปีที่แล้ว

    Thanks for the tutorial man. Apparently this IC doesn't support pwm control. The speed control is really noticeable or it goes from 0 to max? I am sorry for the noob question, but I am looking to build a small project and the speed control will be really important. Thanks again.

  • @serekes2002
    @serekes2002 2 ปีที่แล้ว

    Hi
    It's me again. Finally I figured out how to silence that annoying PWM buzz that was comming out of the motors when idle.
    I am still not good with programming, and I am sure that there must be some other solutions to that problem but this is what I came up with and it works perfect:
    if ((tempSpeeds >= (speeds-MIDDLE_POINT-50)) && (tempSpeeds MIDDLE_POINT ){
    analogWrite(OUT1, tempSpeeds );
    pinMode(OUT2, OUTPUT);
    digitalWrite(OUT2, LOW);
    } else {
    pinMode(OUT1, OUTPUT);
    digitalWrite(OUT1, LOW);
    analogWrite(OUT2, tempSpeeds );
    }
    }
    Basically I shut down the output of the H bridge when the value is in these limits.
    💪

  • @nou4898
    @nou4898 3 ปีที่แล้ว +3

    1:27 hi ant

  • @wibbyarief8958
    @wibbyarief8958 4 ปีที่แล้ว +1

    Very nice video. But i have a question. I need 1 way brushed ESC for rc plane. Can i just use the AtTiny board with a mosfet or transistor instead of the H-bridge driver? And the code must be different right?

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      Yes. but without modify the code only a half of control stick will make your motor run.

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      change the body of PWM_out like this to make it work with full range
      void PWM_out(int speeds){
      // speed
      int tempSpeeds = map(speeds, 0, 1000, 0, 255);
      if(tempSpeeds>255) tempSpeeds = 255;
      // direction
      analogWrite(OUT1, tempSpeeds );
      digitalWrite(OUT2, LOW);
      }

    • @wibbyarief8958
      @wibbyarief8958 4 ปีที่แล้ว

      Thank you for the explanation. Will try it out soon👍👍

  • @69iqtutorial
    @69iqtutorial 4 ปีที่แล้ว +5

    We can make the same with a servo motor chip and an h bridge right

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว +3

      Yes. Sure. But I bet that you don't want to break out a 5$ servo to make an esc which support 13A current at 15V instead of spend 1$ for this. Especially when you need more than 1 esc.

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว +2

      You can refer my video here if you want to transfer Servo to ESC th-cam.com/video/O_brwlF283c/w-d-xo.html

    • @lagkun8271
      @lagkun8271 ปีที่แล้ว

      ​@@TheHLab can i make dual way esc for my mini rc tank with this chip or 2 servo chip ? I made arduino rc controller a few days ago and now i want to build 1 dual way brushed esc . Can you help ?

  • @serekes2002
    @serekes2002 3 ปีที่แล้ว +1

    Hi The H Lab
    I made this with rz7889
    It works great, but there is some annoying noise comming out of the motors as soon as I turn on the transmitter.
    I guess it is comming from the receiver and it amplifies in the rz7889
    However when I was doing tests with digispark there was no noise.

    • @adityabaghel729
      @adityabaghel729 2 ปีที่แล้ว +1

      use 100nf capacitor on your motor

  • @jonujangid3J
    @jonujangid3J 2 ปีที่แล้ว +2

    Sir I have one question for you, can we build this with only mosfet & attiny 13 is that possible, if yes then please make it

    • @AbhinandKK-y5j
      @AbhinandKK-y5j 7 วันที่ผ่านมา

      I think you would need more like flash back diodes to protect it from back-EMF

  • @lipinghe40
    @lipinghe40 4 ปีที่แล้ว

    Amazing video, thank you and GOD bless.

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      Thank :)

  • @thefiles7742
    @thefiles7742 3 ปีที่แล้ว +1

    I can't find out if the rz7886 is connected directly to the battery or not, due to two of your cables blocking the view on the schematic.

    • @TheHLab
      @TheHLab  3 ปีที่แล้ว

      Yes. It is connected directly to the battery.

    • @thefiles7742
      @thefiles7742 3 ปีที่แล้ว

      @@TheHLab Thanks

  • @rupeshchari5483
    @rupeshchari5483 4 ปีที่แล้ว +3

    Can we make a dual way differential esc using the same code?

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว +2

      I think yes. You can use 2 ESC like this and then connect it with RX via CH1 & CH2, then use MIX mode on Transmitter. You can control a tank with crawler by this way.

  • @samalrc
    @samalrc 3 ปีที่แล้ว

    Thank you for this.. this will help me a lot..i planned to make a very low budget RC so many can enjoy the hobby.. but i dont know about programing :D
    So i would ask many question or email you..tnx

  • @grzesiek1x
    @grzesiek1x ปีที่แล้ว

    but the problem is that the PWM is in audible range of frequency which is very annoying..

  • @premkumarl
    @premkumarl 4 ปีที่แล้ว +1

    Hi H Lab, Could you share where to buy these chips. I see a variety of ATTINY13 or 85 chips

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว +2

      I bought it from vi.aliexpress.com/ go there and search for ATTINY85-20SU SOP8

    • @premkumarl
      @premkumarl 4 ปีที่แล้ว

      @@TheHLab thank you

  • @pratyakshaggarwal5737
    @pratyakshaggarwal5737 2 ปีที่แล้ว

    Bro can u plz explain how can we make brushed esc with servo motor chip and h bridge

  • @Bounty977
    @Bounty977 3 ปีที่แล้ว +1

    Hi
    Great little ESC
    However on the first look at the code there is a mistake
    #DEFINE IN should be 2 and not 0 because 0 is already taken for one of the PWM outputs
    Or am I wrong
    I will try it soon on my tiny track.

    • @TheHLab
      @TheHLab  3 ปีที่แล้ว +1

      Hi @Janja, input of attachInterrupt() is interrupt pin (in this case I used INT0), 0 at #define OUT1 is arduino pin0. These are 2 different definitions.

  • @rachit_25
    @rachit_25 4 ปีที่แล้ว +1

    I visited the link given in discription . But there are two codes . One is for attinny 13 . But other is for what ( file named as "brushed esc.ino" ) . Please help me .

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      That for ATtiny 85. On github, click on that file to view content and you can see header with all info about MCU, IDE...

    • @rachit_25
      @rachit_25 4 ปีที่แล้ว

      @@TheHLab sorry . I got it . I didnt noticed what you provided at the starting . I just started reading codes

  • @TheTtreasure
    @TheTtreasure 4 ปีที่แล้ว +1

    great, can I connect this circuit directly to the receiver? why I must prepare code for this circuit? I mean I have general receiver and transmitter and they are already configured, and I can apply direct, is it right?

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว +2

      You can't make it work by that way. Output from Receiver is a PWM and my designed circuit come with an ATtiny (a programmable chip), it read the PWM from receiver and create a new PWM. This new PWM can be switched +/- to make motor run in 2 directions. The origninal PWM can't do a switch like that.

    • @TheTtreasure
      @TheTtreasure 4 ปีที่แล้ว

      @@TheHLab thank you dear for your reply, kindly i don't need to two directions, I just want the esc to control the speed of dc motor for airplane.so now can I connect it directly?

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว +1

      No. You can't. Because this circuit was designed for bi-direction purpose and code is required.

  • @dianpurwatorodoyonoto400
    @dianpurwatorodoyonoto400 4 ปีที่แล้ว +2

    hi my friend, i tried your project with little adjustment, i changed the attiny with atmega8, change the mosfet (rz7886) to hbridge mosfet i made., ive done already to burn bootloader then your sketch had done uploaded, but seems not working at all. is there solution my friend ?
    anyway i had succeed by using the simple code below:
    void setup() {
    pinMode(11, INPUT);
    pinMode(3, OUTPUT);
    }
    void loop() {
    analogWrite(3, map(pulseIn(11, HIGH), 1000, 2000, 0, 255));
    delay(15);
    }
    but its only for 1 direction with just 1 mosfet for switching. would you please help me, BTW im very newby in programing if that code are possible to add such several function that can run same as your project . thankyou verymuch.

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว +1

      Sorry for long respond. I missed your comment: you should have 2 output pins for 2 directions and then do a if to device the received value from INPUT (11) to 2 separate case: for < 1500 and > 1500, then do analogWrite() for corresponding output pins, ex: 1500 for backward.

  • @underengineered_1077
    @underengineered_1077 4 ปีที่แล้ว

    I was hoping it was going to show how to make an esc using basic components like resisters and such, not premade chips.

    • @milkparker4479
      @milkparker4479 4 ปีที่แล้ว +1

      thats simply not possible. this is a simple as it gets. you're working with digital pwm signals. you need something to decode them and control high power switching devices

    • @underengineered_1077
      @underengineered_1077 4 ปีที่แล้ว

      Milk Parker ah ok. Thank you for the explanation.

    • @TheHLab
      @TheHLab  3 ปีที่แล้ว

      @Milk Parker thank you :)

  • @ebeahimebrahimmohamed9014
    @ebeahimebrahimmohamed9014 2 ปีที่แล้ว

    Did this reverse and forward ????

  • @jonujangid3J
    @jonujangid3J 3 ปีที่แล้ว

    Sir please can we make only forward direction so then we can use mini rc plane & ornithopter setup

    • @TheHLab
      @TheHLab  3 ปีที่แล้ว

      Yes. we can. just modify the code a bit and it will be 1-direction esc.

  • @priyanshuwaghadhare8494
    @priyanshuwaghadhare8494 3 ปีที่แล้ว

    Thank you for this little esc but I wanna make only forward direction can you please help me for coad...please replay

  • @Techkre8rsYT
    @Techkre8rsYT 2 ปีที่แล้ว

    From where we have to buy these all components

  • @volkandeniz0048
    @volkandeniz0048 3 ปีที่แล้ว

    I like it

  • @LordMarinade
    @LordMarinade 2 ปีที่แล้ว

    Can someone make or link me a tutorial to a brushless esc like this that can be plugged into the receiver too?

  • @cagnyorat5463
    @cagnyorat5463 4 ปีที่แล้ว +1

    Hİ sorry. Can u help me please? I can't find RZ7886. what can i use?

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว +1

      You can buy it as I've mentioned in this video: th-cam.com/video/-SF2C8uHyJA/w-d-xo.html
      For alter, try to use others H-Bridge IC. Don't forget that each IC have their properties: Volt, Watt... and it may differ from 7886

  • @random_idRI
    @random_idRI 3 ปีที่แล้ว

    Capasitor 10.uf brpa volt

  • @yodad4776
    @yodad4776 8 หลายเดือนก่อน

    Have U got a decent schematic

  • @kmishaque1
    @kmishaque1 3 ปีที่แล้ว

    where is diagram?

  • @priyanshuwaghadhare1447
    @priyanshuwaghadhare1447 3 ปีที่แล้ว

    This esc is work on flight controller for drone

  • @technicaldhan8540
    @technicaldhan8540 3 ปีที่แล้ว +1

    Sir where to get ATtiny

    • @TheHLab
      @TheHLab  3 ปีที่แล้ว +1

      You can buy on aliexpress.com

  • @kboby5717
    @kboby5717 3 ปีที่แล้ว

    Can you add circuit diagram clearly at the end of video, And where can i buy these ATtiny and AMS 1117 i.c, and in order to work this brushed e.sc do i need to code?

    • @TheHLab
      @TheHLab  3 ปีที่แล้ว

      I shared all the stuff in description. I also shared code, just download it and upload to your ATtiny.

    • @kboby5717
      @kboby5717 ปีที่แล้ว

      @@TheHLab thank u

  • @Ajaysingh-li1dv
    @Ajaysingh-li1dv 4 ปีที่แล้ว +1

    How to make brushless motor driver OR esc

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      I haven't tried make brushless ESC yet.

    • @jayakrishnans2785
      @jayakrishnans2785 4 ปีที่แล้ว

      I also need that video

  • @Bounty977
    @Bounty977 3 ปีที่แล้ว

    I just tried this code and it works only with #DEFINE IN 0 which is very strange to me
    Am I missing something
    And also I noticed some jitter.
    Is there a way to reduce it ?
    I am using flysky receiver FS2A 4 channel

    • @TheHLab
      @TheHLab  3 ปีที่แล้ว

      Hi @Janja, input of attachInterrupt() is interrupt pin (in this case I used INT0), 0 at #define OUT1 is arduino pin0. These are 2 different definitions.

  • @margran1
    @margran1 4 ปีที่แล้ว +1

    How can I boost the current rating of this device?

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      Please try to use another H-Bridge IC, instead of 7886.

  • @fabriciooliveira9614
    @fabriciooliveira9614 4 ปีที่แล้ว

    Bom dia Vc tem algum projeto com Esc mais potente para motor 12v com escova

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      Not yet. But I have tested this ESC with 12V supply on another video

  • @rokanuzzamanovi917
    @rokanuzzamanovi917 3 ปีที่แล้ว +1

    Is it work with 180 motor

    • @TheHLab
      @TheHLab  3 ปีที่แล้ว

      Yes. Of Course

  • @adesouza9352
    @adesouza9352 3 ปีที่แล้ว

    Pode ser IC 555 ou IC 001?

  • @abina3233
    @abina3233 3 ปีที่แล้ว

    👍

  • @akshetty1
    @akshetty1 4 ปีที่แล้ว

    Bro I am not able to find 7886 ic so any alternative to that

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      You can try with others motor driver/H-Bridge IC. But others IC may have different current, voltage and size.

  • @elnn8640
    @elnn8640 4 ปีที่แล้ว +1

    Can this run the brushles?

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว +1

      No, Ein. For brushed motor only.

  • @rupeshchari5483
    @rupeshchari5483 4 ปีที่แล้ว

    Can we use the code with Arduino nano and tc117hs h bridge ic?

    • @rc3d490
      @rc3d490 3 ปีที่แล้ว

      same question

  • @ericwil76
    @ericwil76 4 ปีที่แล้ว +1

    Do you have a schematic for this or eagle files?

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      I've put schematic on my github. Please see video description.

    • @ericwil76
      @ericwil76 4 ปีที่แล้ว

      @@TheHLab I did but its not a traditional schematic what was this designed in? How are you translating the PPM RC Pulse signal from the RX it's not PWM?

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      What is traditional schematic? All translation process are controlled by MCU Attiny85/Attiny13.

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      Program an Attiny85: th-cam.com/video/c8jco7PHT-c/w-d-xo.html

    • @ericwil76
      @ericwil76 4 ปีที่แล้ว

      @@TheHLab Lets talk how do I contact you direct?

  • @lalithshetty1153
    @lalithshetty1153 4 ปีที่แล้ว +1

    please make a proper guide how to program

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      I dit it: th-cam.com/video/c8jco7PHT-c/w-d-xo.html

  • @Kongfufrank
    @Kongfufrank 4 ปีที่แล้ว

    For brucheles???

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว +1

      No. It's for brushed motor

  • @adesouza9352
    @adesouza9352 3 ปีที่แล้ว

    i can use the IC 555 ou IC 001?

    • @TheHLab
      @TheHLab  3 ปีที่แล้ว +1

      No, you can't. need a H bridge IC

    • @adesouza9352
      @adesouza9352 3 ปีที่แล้ว

      @@TheHLab CI 555 can I use ?

  • @sajitharasheed7734
    @sajitharasheed7734 4 ปีที่แล้ว

    From where can i get that rz7886

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      You can buy it from aliexpress.com

    • @sajitharasheed7734
      @sajitharasheed7734 4 ปีที่แล้ว

      @@TheHLab ok thanks

  • @azizrahman2213
    @azizrahman2213 4 ปีที่แล้ว

    How much volt can it handle?

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว +1

      It can run at maximum power at 15V-13A

    • @azizrahman2213
      @azizrahman2213 4 ปีที่แล้ว

      How to upload code..please guide

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      Please watch my video here: th-cam.com/video/c8jco7PHT-c/w-d-xo.html to know how to program an ATtiny

  • @cvanlaldingngheta1866
    @cvanlaldingngheta1866 4 ปีที่แล้ว

    Sir is there any program requires here?

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      Yes. you need to program the attiny. Read video description for more detail.

  • @aliyildizcelik4657
    @aliyildizcelik4657 3 ปีที่แล้ว

    Thank you for video. How can ı load to code. Please help.

    • @aliyildizcelik4657
      @aliyildizcelik4657 3 ปีที่แล้ว

      I dont find to attniy85. Please add to link

    • @TheHLab
      @TheHLab  3 ปีที่แล้ว +1

      @@aliyildizcelik4657 you can buy on aliexpress.com I have another video guide how to program attiny, search on my channel

    • @aliyildizcelik4657
      @aliyildizcelik4657 3 ปีที่แล้ว

      Hi, Can another integrate be used instead of rz 7886?

    • @aliyildizcelik4657
      @aliyildizcelik4657 3 ปีที่แล้ว

      Also, I don't understand the scheme. Is there a more detailed diagram?

    • @Bounty977
      @Bounty977 3 ปีที่แล้ว +1

      @@aliyildizcelik4657 I intend to use even smaller chip (SMD) RZ7886 for my tiny track.
      One could probably use even H bridge with MOSFETs with this schematic.

  • @ArunShankartheRealOne
    @ArunShankartheRealOne 4 ปีที่แล้ว

    can i use atiny with ln298n?

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      yes. You can

    • @axelramoscastro
      @axelramoscastro 4 ปีที่แล้ว

      @@TheHLab how i can do?, move alone. I use ln298.

  • @binasoren2358
    @binasoren2358 4 ปีที่แล้ว

    I am a beginer pls can you send me circuit digram i am unable to understand the one in descreption

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      555 ic in the picture is actually 7886 ic. I will update the picture. My mistake

    • @binasoren2358
      @binasoren2358 4 ปีที่แล้ว

      @@TheHLab thanks

  • @mohammedabrarahmed3299
    @mohammedabrarahmed3299 4 ปีที่แล้ว

    Bro, only you know what you have soldered and where . He he. Not able to figure out.

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว

      I have shared schematic in description. Video only show the placement idea

    • @mohammedabrarahmed3299
      @mohammedabrarahmed3299 4 ปีที่แล้ว

      @@TheHLab Alright sorry didn't see that

  • @drdino9368
    @drdino9368 4 ปีที่แล้ว

    Sir can i use LM358 ic

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว +1

      No. You need a H-bridge IC

    • @drdino9368
      @drdino9368 4 ปีที่แล้ว +1

      @@TheHLab sir please provide me name of another h bridge ic

    • @drdino9368
      @drdino9368 4 ปีที่แล้ว +1

      Can i use l293d h bridge ic

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว +1

      yes. l293d should work

    • @drdino9368
      @drdino9368 4 ปีที่แล้ว +1

      @@TheHLab please diagram

  • @sovietunion1188
    @sovietunion1188 4 ปีที่แล้ว

    I dare you make bldc ESC

  • @DavedW1964
    @DavedW1964 2 ปีที่แล้ว

    Mmmmmmmm not off to a good start. ATtiny13 schetch is to big for a ATtiny 13, 114%. Yes i used the correct file.

    • @TheHLab
      @TheHLab  2 ปีที่แล้ว

      It should be smaller than 100% with MCUdude/MicroCore for ATiny13. Check detail specs on header of the .ino file

  • @drdino9368
    @drdino9368 4 ปีที่แล้ว +1

    Sir please give me component links

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว +1

      Please visit the github link in description

    • @drdino9368
      @drdino9368 4 ปีที่แล้ว +1

      @@TheHLab sir I can't find 7886

    • @drdino9368
      @drdino9368 4 ปีที่แล้ว +1

      Please give me another

    • @TheHLab
      @TheHLab  4 ปีที่แล้ว +1

      I haven't tried with others but you can search for "motor driver ic"

    • @drdino9368
      @drdino9368 4 ปีที่แล้ว

      @@TheHLab okk sir