Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

RS485 connectios

RS485 connectios

2005-03-07 by Javier Fiasche

Does anyone have idea/schematics of a rs485 db9 connector pinout?? How are
standard connections made?? and another question, any ideas of circuitry for
making a rs485 bus terminacion aviable or not in the board using a jumper, i
think that someone has already posted this, but i dont seem to find it,
Thanks

Javier




______________________________
Visita http://www.tutopia.com y comienza a navegar más rápido en Internet. Tutopia es Internet para todos.

Re: [AVR-Chat] RS485 connectios

2005-03-07 by Kathy Quinlan

Javier Fiasche wrote:

> 
> Does anyone have idea/schematics of a rs485 db9 connector pinout?? How are
> standard connections made?? and another question, any ideas of circuitry for
> making a rs485 bus terminacion aviable or not in the board using a jumper, i
> think that someone has already posted this, but i dont seem to find it,
> Thanks
> 
> Javier


RS-485 does not seem to have a standard pinout, but specific aplications 
have standard pinouts, e.g. some use RJ45 connectors, DMX-512 uses 
either a cannon 5pin or 3pin connector.

If you are only talking about the simple 120R termination, then just put 
a jumper to open one end of the Resistor.

Regards,

Kat.


-- 
---------------------------------------------------------------
K.A.Q. Electronics	Website: www.kaqelectronics.dyndns.org
IM: Yahoo: PinkyDwaggy  MSN: katinka@kaqelectronics.dyndns.org
For Everything Electronics     Phone: 0419 923 731
---------------------------------------------------------------	


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.2 - Release Date: 4/03/2005

RE: [AVR-Chat] RS485 connectios

2005-03-07 by Javier Fiasche

Thanks Kat, but i dont konw how terminations are made.....
Can you provide further information
Thanks again....

Javier

-----Mensaje original-----
De: Kathy Quinlan [mailto:kat-yahoo@kaqelectronics.dyndns.org]
Enviado el: Lunes, 07 de Marzo de 2005 10:12 a.m.
Para: AVR-Chat@yahoogroups.com
Asunto: Re: [AVR-Chat] RS485 connectios


Javier Fiasche wrote:

>
> Does anyone have idea/schematics of a rs485 db9 connector pinout?? How are
> standard connections made?? and another question, any ideas of circuitry
for
> making a rs485 bus terminacion aviable or not in the board using a jumper,
i
> think that someone has already posted this, but i dont seem to find it,
> Thanks
>
> Javier


RS-485 does not seem to have a standard pinout, but specific aplications
have standard pinouts, e.g. some use RJ45 connectors, DMX-512 uses
either a cannon 5pin or 3pin connector.

If you are only talking about the simple 120R termination, then just put
a jumper to open one end of the Resistor.

Regards,

Kat.


--
---------------------------------------------------------------
K.A.Q. Electronics      Website: www.kaqelectronics.dyndns.org
IM: Yahoo: PinkyDwaggy  MSN: katinka@kaqelectronics.dyndns.org
For Everything Electronics     Phone: 0419 923 731
---------------------------------------------------------------


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.2 - Release Date: 4/03/2005


      Yahoo! Groups Sponsor
            ADVERTISEMENT





----------------------------------------------------------------------------
----
Yahoo! Groups Links

  a.. To visit your group on the web, go to:
  http://groups.yahoo.com/group/AVR-Chat/

  b.. To unsubscribe from this group, send an email to:
  AVR-Chat-unsubscribe@yahoogroups.com

  c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

______________________________
Visita http://www.tutopia.com y comienza a navegar m�s r�pido en Internet. Tutopia es Internet para todos.

Re: [AVR-Chat] RS485 connectios

2005-03-07 by Jim Wagner

If the transceiver is one that has the built-in offset so
that 0V is a properly defined logic state, then you just
terminate with the resistor between the A and B lines.

If you are using older transceivers with no offset, then
you need to pull one side high (with, maybe, a 4.7K) to the
local 5V and the other side down to local ground with the
same resitor size. Then, you add the termination resistor,
line to line. This provides a bit of bias to provide the
necessary undriven line state.

For good information about RS422 and 485, check

http://www.national.com/an/AN/AN-1031.pdf
http://www.national.com/an/AN/AN-409.pdf
http://www.national.com/an/AN/AN-409.pdf

Jim Wagner

---------------------------------------------------------------
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---------------------------------------------------------------

RE:[AVR-Chat] Phase correct PWM

2005-03-10 by wbounce

What chip and what setting are you trying to use?
Show quoted textHide quoted text
-----Original Message-----
From: ttse7 [mailto:ttse7@yahoo.com] 
Sent: Tuesday, March 08, 2005 2:40 AM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] Phase correct PWM




Hi all, 

does anyone know how to use the phase correct pwm.  I've tried still not
succeeded.

Re: [AVR-Chat] AVR samples for Hamamatsu UVTron flame detector

2005-03-11 by Max Koessick

Dave,
One of my students in our grad level robotics class used one. Here is a link to his special sensor report:
You can also check out the main web site at www.mil.ufl.edu/5666 for lots of code examples on various sensors.
All we ask is that you credit the author. We encourage "code borrowing" with proper credit where it is due!
Best Regards,

Max Koessick

**********************************************************************
Maxmilian A. Koessick

Graduate Student ;
Electrical and Computer Engineering
University of Florida

2004 President and Electrical Team Leader,
UF Society of Automotive Engineers

Member: Society of Automotive Engineers
Institute of Electrical and Electronics Engineers
Eta Kappa Nu

GearHead/Geek Supreme:
1987 Mustang LX Coupe 306 CID/World Class T5/E Cam/3:73's/GT-40's
Next: Factory Five Type 65 Cobra (Whipplecharged 347!!)
Email: maxk@ufl.edu, max@koessickkidz.com

**********************************************************************
Show quoted textHide quoted text
----- Original Message -----
Sent: Thursday, March 10, 2005 4:10 PM
Subject: Re: [AVR-Chat] AVR samples for Hamamatsu UVTron flame detector

At 06:40 PM 3/10/2005, wbounce wrote:


>Has any one interfaced one of these? Does anyone have any C sample code
>for it?
>
>Sorry for a cross post

Is it anything more than a one-bit output?



Re: AVR samples for Hamamatsu UVTron flame detector

2005-03-11 by Ed

Great link!!
Thanks you just saved me a bundle of time. 


--- In AVR-Chat@yahoogroups.com, "Max Koessick" <maxk@u...> wrote:
> Dave,
> 
> One of my students in our grad level robotics class used one.  
Here is a link to his special sensor report:
> 
> 
http://www.mil.ufl.edu/5666/papers/IMDL_Report_Spring_04/staymates_ch
ris/backdraft-ss.pdf
> 
> You can also check out the main web site at www.mil.ufl.edu/5666 
for lots of code examples on various sensors.
> 
> All we ask is that you credit the author.  We encourage "code 
borrowing" with proper credit where it is due!  
> 
> Best Regards,
>  
> Max Koessick
>  
> 
*********************************************************************
*
> Maxmilian A. Koessick
>  
> Graduate Student                                                
>    Electrical and Computer Engineering                            
>    University of Florida
>       
> 2004 President and Electrical Team Leader,
>    UF Society of Automotive Engineers  
>  
> Member: Society of Automotive Engineers
>         Institute of Electrical and Electronics Engineers
>  Eta Kappa Nu
>                                           
> GearHead/Geek Supreme:   
>      1987 Mustang LX Coupe 306 CID/World Class T5/E Cam/3:73's/GT-
40's 
>      Next: Factory Five Type 65 Cobra (Whipplecharged 347!!)
> Email:  maxk@u..., max@k...
>   
> 
*********************************************************************
*
> 
>   ----- Original Message ----- 
>   From: Dave VanHorn 
>   To: AVR-Chat@yahoogroups.com ; AVR-Chat@yahoogroups.com 
>   Sent: Thursday, March 10, 2005 4:10 PM
>   Subject: Re: [AVR-Chat] AVR samples for Hamamatsu UVTron flame 
detector
> 
> 
>   At 06:40 PM 3/10/2005, wbounce wrote:
> 
> 
>   >Has any one interfaced one of these? Does anyone have any C 
sample code
>   >for it?
>   >
>   >Sorry for a cross post
> 
>   Is it anything more than a one-bit output?
> 
> 
> 
>         Yahoo! Groups Sponsor 
>               ADVERTISEMENT
>              
>        
>        
> 
> 
> -------------------------------------------------------------------
-----------
>   Yahoo! Groups Links
> 
>     a.. To visit your group on the web, go to:
>     http://groups.yahoo.com/group/AVR-Chat/
>       
>     b.. To unsubscribe from this group, send an email to:
>     AVR-Chat-unsubscribe@yahoogroups.com
>       
>     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of Service.

Re: RE:[AVR-Chat] Phase correct PWM

2005-03-16 by ttse7

I am using atmega16 timer0 to generate but fail.  Can you give me an 
example on setting phase correct pwm.


--- In AVR-Chat@yahoogroups.com, "wbounce" <wbounce@s...> wrote:
> What chip and what setting are you trying to use?
> 
> 
> -----Original Message-----
> From: ttse7 [mailto:ttse7@y...] 
> Sent: Tuesday, March 08, 2005 2:40 AM
> To: AVR-Chat@yahoogroups.com
> Subject: [AVR-Chat] Phase correct PWM
> 
> 
> 
> 
> Hi all, 
> 
> does anyone know how to use the phase correct pwm.  I've tried 
still not
> succeeded.

Re: RE:[AVR-Chat] Phase correct PWM

2005-03-16 by Luke.Wei

--- In AVR-Chat@yahoogroups.com, "ttse7" <ttse7@y...> wrote:
> 
> I am using atmega16 timer0 to generate but fail.  Can you give me 
an 
> example on setting phase correct pwm.
> 
Dear.....   


.include "m16def.inc"

.cseg
rjmp reset
.org 0x0

.org 0x30

reset:
ldi r16,0x61
out tccr0,r16
out ocr0,r16
start: 
rjmp start


I test success !!!!!! cheers!!!

Re: RE:[AVR-Chat] Phase correct PWM

2005-03-17 by ttse7

I also use c language to implement your code and pulse comes out.  I
have few questions:why you don't need to set COM01 and COM00 and why
you set FOC0.  As stated in datasheet, FOC0 is set when using non-PWM
mode.



--- In AVR-Chat@yahoogroups.com, "Luke.Wei" <mrddt4todie@y...> wrote:
Show quoted textHide quoted text
> 
> --- In AVR-Chat@yahoogroups.com, "ttse7" <ttse7@y...> wrote:
> > 
> > I am using atmega16 timer0 to generate but fail.  Can you give me 
> an 
> > example on setting phase correct pwm.
> > 
> Dear.....   
> 
> 
> .include "m16def.inc"
> 
> .cseg
> rjmp reset
> .org 0x0
> 
> .org 0x30
> 
> reset:
> ldi r16,0x61
> out tccr0,r16
> out ocr0,r16
> start: 
> rjmp start
> 
> 
> I test success !!!!!! cheers!!!

Re: RE:[AVR-Chat] Phase correct PWM

2005-03-18 by Luke.Wei

--- In AVR-Chat@yahoogroups.com, "ttse7" <ttse7@y...> wrote:
> 
> I also use c language to implement your code and pulse comes out.  I
> have few questions:why you don't need to set COM01 and COM00 and why
> you set FOC0.  As stated in datasheet, FOC0 is set when using non-
PWM
> mode.

Dear... 

I set tccr0 = 0x61...

bit  | pin   | 0/1
-----------------------------
bit7 | FOC0  | 0 (MSB
bit6 | WGM00 | 1
bit5 | COM01 | 1
bit4 | COM00 | 0
bit3 | WGM01 | 0
bit2 | CS02  | 0
bit1 | CS01  | 0
bit0 | CS00  | 1 (LSB
-----------------------------
0110 0001 bin
6 1 hex
-----------------------------

so FOC0 = 0 ... not 1
and i have set COM0n[0..1]......

cheers!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Luke.

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.