Arduino UNO/Duemilanove 2dof firmware

AMC, H-Bridge projects etc.
Please use the image gallery for your pictures, a short tutorial can be found here.
The first image in the first post will be shown in the project gallery.

Re: Arduino UNO 2dof firmware

Postby prilad » Fri 11. Jan 2013, 05:48

User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

Re: Arduino UNO 2dof firmware

Postby tronicgr » Fri 11. Jan 2013, 16:50

Its not only the available channels or the voltage rating...

Afaik the ADUM1400CRW is the only one rated for 45 MHz logic signal freq (90Mbps).

The ADUM1400BRW is rated only for 5 MHz logic signal freq (10Mbps), and the ADUM1400ARW for 1 MHz logic signal freq (2Mbps)... Kind of useless for fast and error free serial communications...


Thanos
User avatar
tronicgr
 
Posts: 624
Images: 11
Joined: Tue 20. Mar 2012, 22:10
Location: San Diego, CA
Has thanked: 130 times
Been thanked: 50 times

Re: Arduino UNO 2dof firmware

Postby tronicgr » Fri 11. Jan 2013, 17:00

BobBuilt wrote:Where I shop locally - RS Components.

Will these work. http://australia.rs-online.com/web/p/digital-isolators/7532226/


And this is only 500Khz rated (1Mbps) ... good for isolating simple on-off signals I guess, PWM maybe.


Thanis
User avatar
tronicgr
 
Posts: 624
Images: 11
Joined: Tue 20. Mar 2012, 22:10
Location: San Diego, CA
Has thanked: 130 times
Been thanked: 50 times

Re: Arduino UNO 2dof firmware

Postby prilad » Fri 11. Jan 2013, 21:55

Hi Thanos.

Once again I cannot agree with you :D

tronicgr wrote:Its not only the available channels or the voltage rating...
Afaik the ADUM1400CRW is the only one rated for 45 MHz logic signal freq (90Mbps).
The ADUM1400BRW is rated only for 5 MHz logic signal freq (10Mbps), and the ADUM1400ARW for 1 MHz logic signal freq (2Mbps)... Kind of useless for fast and error free serial communications...


What do you say? what the "serial communications" do you mean? We are talking about isolation for DIR and PWM lines between Arduino and H-Bridge.

Or you think, that 1 MHz is very "slow" for this mission? But you use in your "optolink" (http://www.x-sim.de/forum/viewtopic.php?f=39&t=132&start=20#p978) optocouplers 4n35, which EIGHT times more SLOWLY than ADUM1400ARW.

In 4n35 Datasheet we can see, that rise time (Tr) for output pulse is 3.2 us and fall time (Tf) is 4.7 us.
It mean, what full pulse width can not be smaller then 3.2+4.7 = 7.9 us and max pulse "frequency" is only 127 kHz instead 1MHz for ADUM1400ARW

4N35 Rise and Fall times description


4N35 Rise and Fall times values


And 4n35 has propagation delay more then 5.7 us (Time-off delay) instead 100 ns (0.1 us) for ADUM1400ARW or 65 ns for ADUM1410 .

ADUM1410 Propagation delay


Regards,
ALE
User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

Re: Arduino UNO 2dof firmware

Postby tronicgr » Fri 11. Jan 2013, 22:11

And I cannot agree more with you on the PWM signals...

But given the price, it would be cheaper to isolate the RX-TX signals from the serial port or the USB FTDI chip only. After all you just don't wan't the regenerative voltages or currents to damage your USB port on your computer or the motherboard, that costs more than just paying for replacing a microcontroller.

And isolating 2 lines (RX-TX) is simpler and more inexpensive than isolating 6 lines (for two motors). Imagine you had to isolate 6 motors!!! :o


Thanos
User avatar
tronicgr
 
Posts: 624
Images: 11
Joined: Tue 20. Mar 2012, 22:10
Location: San Diego, CA
Has thanked: 130 times
Been thanked: 50 times

Re: Arduino UNO 2dof firmware

Postby prilad » Fri 11. Jan 2013, 22:36

tronicgr wrote:And I cannot agree more with you on the PWM signals...

Why? You made the same thing with "optolink" board. Isn't it?

tronicgr wrote:But given the price, it would be cheaper to isolate the RX-TX signals from the serial port or the USB FTDI chip only.

Yes of course. But this thread about Arduino board. And this board in stock without RX-TX isolations. :D On my own controller board (not Arduino) I made isolation for RX-TX lines.

tronicgr wrote:After all you just don't wan't the regenerative voltages or currents to damage your USB port on your computer or the motherboard, that costs more than just paying for replacing a microcontroller.

Yes of course. That is why you and I talk together about galvanic isolation. :D

tronicgr wrote:And isolating 2 lines (RX-TX) is simpler and more inexpensive than isolating 6 lines (for two motors). Imagine you had to isolate 6 motors!!! :o

Yes of course. But this thread about 2dof firmware. :D And my H-bridge has only two control lines for motor.

Best regards,
Ale
Last edited by prilad on Fri 11. Jan 2013, 22:44, edited 1 time in total.
User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

Re: Arduino UNO 2dof firmware

Postby tronicgr » Fri 11. Jan 2013, 22:44

I'm not here to argue. I'm just pointing out the correct use for the mentioned chips.

And of course the opto-isolator I designed can be used by this arduino 2DOF firmware as well. There is no argue that the 4n35 are enough for PWM signals.


Thanos
User avatar
tronicgr
 
Posts: 624
Images: 11
Joined: Tue 20. Mar 2012, 22:10
Location: San Diego, CA
Has thanked: 130 times
Been thanked: 50 times

Re: Arduino UNO 2dof firmware

Postby prilad » Fri 11. Jan 2013, 22:50

tronicgr wrote:I'm not here to argue. I'm just pointing out the correct use for the mentioned chips.
And of course the opto-isolator I designed can be used by this arduino 2DOF firmware as well. There is no argue that the 4n35 are enough for PWM signals
Thanos

Yes. You are right.
I only want to say, that any way has alternatives...

Thanks and regards,
Ale.
User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

Re: Arduino UNO 2dof firmware

Postby vicpopo » Fri 11. Jan 2013, 23:03

Hi guy's,

Cool men ... I love your battle ... And I love that no one had lost ...

I learn a lot reading your posts. :lol:

Thanks to you.

Gilles
User avatar
vicpopo
 
Posts: 645
Joined: Fri 20. Apr 2012, 18:04
Location: Strasbourg France
Has thanked: 39 times
Been thanked: 80 times

Re: Arduino UNO 2dof firmware

Postby ferslash » Sat 12. Jan 2013, 19:24

dear Bob:

If you are able to wire up the whole thing and make it works... please, publish it, for a non electronic audience

this is a grate project... since it will brake the 200 usdlls barrier that pololu set for the non electronic guys :D


best regards guys...
ferslash
 
Posts: 226
Images: 4
Joined: Tue 3. Jul 2012, 18:08
Location: Mexico, Guadalajara
Has thanked: 8 times
Been thanked: 1 time

PreviousNext

Return to Controllers and Drivers Projects

Who is online

Users browsing this forum: No registered users and 2 guests

cron