. .
Page 1 of 3 123 LastLast

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I have a setup that uses 2 x 18650 3.7V 4000Mah batteries in series ( producing 7.8Vdc. Im trying to control a 6-9V dc miniature motor with 2 buttons 1 button to CW and the other to CCW
    Ive been told that a L293d will work but ive blown up 5 so far
    I think the problem is im imputing too high a current into the Vcc1 (pin 16) which calls for 5V (max 7) attached is a diagram i found with basic setup I would appreciate someone confirming the setup IF I REDUCE INPUT TO 5VDC
    Also if i connected something to the end of the + 7.8v feed to reduce the current to 5V .
    Im not electronics savvy so appreciate any help
    Thanks Richard
    Attached Files Attached Files

  2. #2
    You will need to put the 7.8V onto pin 8 (VCC2) and all your switching and VCC1 have to be 5V. So you need a LM7805 voltage regulator to derive that 5V.

  3. #3
    Quote Originally Posted by cropwell View Post
    You will need to put the 7.8V onto pin 8 (VCC2) and all your switching and VCC1 have to be 5V. So you need a LM7805 voltage regulator to derive that 5V.
    Hi thanks assume the lm7805 can just come off the end of the main feed ( going to vcc2pin 8) so betweem 8 and 16 or does it need dedicated feed?
    thanks

  4. #4
    No, you don't need a separate input, you can connect the 7.8V from the two batteries to VCC2 and the input of the LM7805 (pin1). Pin2 connects to GND and connect the out put (pin3) to VCC1 and all control inputs through the switches.
    Last edited by cropwell; 03-08-2020 at 03:11 AM.

  5. #5
    Hi so as drawn now OR does the feed go straight to 8 and no feed to 9 ? if so does the common power for switches come off pin 9 or am i wrong again. appreciate the help
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	L293 wiring diagram for 2 push buttons rev A.jpg 
Views:	106 
Size:	152.0 KB 
ID:	28669  

  6. #6
    5V output of the lm7805 goes to switches.

    Click image for larger version. 

Name:	L239d.jpg 
Views:	135 
Size:	68.8 KB 
ID:	28670

  7. #7
    Hi Cropwell
    mate as soon as i connect pin 3 lm78 to 16 on l293d the voltage drops from 5V to 2.56 and the motor power drops by about 50%
    unhook pin 3 and gets 5v perfect
    cant see where ive gone wrong i have 8.3 v at pin 1 LM78 and 8 on L29
    motor connections 11, 14
    switch power from pin 16,9
    other switch wires pin 10,15
    Have tries removing switch power at 16 and feeding both + sides from pin 9 but doesnt work
    any help please?
    also Doddy may have a thought

  8. #8
    Thanks very much so im actually switching 5 v thru the switch but the output to motor 11 14 is the 7.8V ?
    think ive got it now

  9. #9
    It's worth reading section 10 of the attached data sheet re. heatsinking - if you're drawing high currents:-

    https://www.ti.com/lit/ds/symlink/l293.pdf

  10. #10
    Hi
    thanks Doddy
    the motor is rated
    mA: 120
    Stall mA: 200
    so dont think is very high so im not worrying about heatsink ( am i correct?

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Everything works in reverse
    By Starday in forum Machine Discussion
    Replies: 0
    Last Post: 15-06-2020, 04:11 PM
  2. Replies: 1
    Last Post: 04-07-2017, 11:48 AM
  3. Dumb Reverse
    By Leadhead in forum General Discussion
    Replies: 3
    Last Post: 03-10-2016, 12:41 PM
  4. Reverse engineering
    By mikewatch in forum Probing, Digitizing & Scaning
    Replies: 1
    Last Post: 13-04-2013, 10:20 PM
  5. Reversing motor direction in Mach3
    By bruce_miranda in forum Artsoft Mach (3 & 4)
    Replies: 2
    Last Post: 16-11-2008, 06:54 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •