Message from @Ondsinet

Discord ID: 510112343410343959


2018-11-08 14:43:19 UTC  

im an artfag so if i start drawing my circuits on paper i'll waste a lot of time making them pretty 😄

2018-11-08 14:47:06 UTC  

that's pretty gay

2018-11-08 15:01:50 UTC  

<:GWcmeisterPeepoShrug:403295315685539852>

2018-11-08 15:18:05 UTC  

You are supposed to make them pretty

2018-11-08 15:18:14 UTC  

Me little babbies

2018-11-08 15:19:01 UTC  

circuit diags in oils or GTFO

2018-11-08 15:19:05 UTC  

Do you have an idea of how h bridges look/work?

2018-11-08 15:19:36 UTC  

Or in general motors?

2018-11-08 15:20:11 UTC  

https://cdn.discordapp.com/attachments/423219052849397773/510111301637505026/20181108_071942.jpg

2018-11-08 15:20:43 UTC  

Yeah that's the closed box

2018-11-08 15:20:46 UTC  

https://cdn.discordapp.com/attachments/423219052849397773/510111448320442368/310px-H_bridge.svg.png

2018-11-08 15:21:01 UTC  

I know those grounds are where they are for a reason and theres a reason there's 4 of them and the reason isnt grounding 😄

2018-11-08 15:21:13 UTC  

Say one wire of the motor is A and the other is B

2018-11-08 15:21:49 UTC  

I A has an higher voltage than B, motore spins one way

2018-11-08 15:21:53 UTC  

And vice versa

2018-11-08 15:22:01 UTC  

Those switches do just that

2018-11-08 15:22:19 UTC  

The motor pins control two of those switches each

2018-11-08 15:22:38 UTC  

S1-4 and S2-3

2018-11-08 15:24:08 UTC  

Ok for now?

2018-11-08 15:24:11 UTC  

not S1-2 and S3-4?

2018-11-08 15:24:20 UTC  

Nope

2018-11-08 15:24:57 UTC  

https://cdn.discordapp.com/attachments/423219052849397773/510112500017266701/IMG_20181108_162452_823.jpg

2018-11-08 15:25:08 UTC  

to clarify, i have my motors connected this way: left pins == left motor, right pins = right motor. this is bad?

2018-11-08 15:25:22 UTC  

If it were the case, you would just connect vcc and ground

2018-11-08 15:25:31 UTC  

It's cool

2018-11-08 15:25:39 UTC  

Don't think about the specific ic

2018-11-08 15:25:43 UTC  

It's just the concept

2018-11-08 15:26:28 UTC  

but i could swap them 1-4 and 2-3 and it will work the same, ya?

2018-11-08 15:26:37 UTC  

Just reversed

2018-11-08 15:27:13 UTC  

i read people do that for stacking

2018-11-08 15:27:20 UTC  

You can look at inline videos with animations and stuff to clarify

2018-11-08 15:27:34 UTC  

1 and 4 are already connected...

2018-11-08 15:27:42 UTC  

The l293 is a dual oc

2018-11-08 15:27:50 UTC  

It has 2 of the circuits above

2018-11-08 15:28:15 UTC  

it's 2 sets of 2 H bridge, yes?

2018-11-08 15:28:21 UTC  

Ok the concept of the j bridge is generic you can easily find it online

2018-11-08 15:28:35 UTC  

The reason you don't need enable is as follows

2018-11-08 15:29:07 UTC  

If you wire the two ends of a motor together, it will try not to rotate

2018-11-08 15:29:15 UTC  

That's regenerative breaking for you

2018-11-08 15:29:50 UTC  

So if you have bot direction pins in the same state, the motor will stop

2018-11-08 15:30:24 UTC  

That's why you can use just those two pins, only one of them as pwm, and do everything you would do with enable