189Views5Replies

Author Options:

I am looking for a simple circuit to use a picaxe 08m to control rs232 to relay driver? Answered


Tags:rs232

5 Replies

user
seandogue (author)2009-12-14

max232 or similar, if you're talking about TTL to RS232 in a pinned pkg.
(max 232CPE runs ~$3/ea from digikey or similar distributor)

requires 1 chip and a resistor an small cap. 2 resistors and 2 caps for a 2 channel, powers from 5V supply.

Ref design included in the data sheet

see www.maxim-ic.com

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)seandogue2009-12-15

I don't know why folks still recommend the 232. The 202E is a lot easier to use, because it only needs 100n caps, and it has a higher input protection rating.

Steve

Select as Best AnswerUndo Best Answer

user
seandogue (author)steveastrouk2009-12-15

As you say, with the need for only 0.uF caps, it sounds easier.

Select as Best AnswerUndo Best Answer

user
seandogue (author)steveastrouk2009-12-15

Primarily a habit of familiarity. I used hundreds of those over the years in one offs. I used the ESD protected version..can't recall but I think it was 15kV.

I haven't actually wired one up in ~6 years or so, so it's just a memory (although I have a half tube of them in storage)...They were just a dependable choice in both the experimental and industrial areas I supported.

Select as Best AnswerUndo Best Answer

user
AndyGadget (author)2009-12-14

Max232 sounds good to me.
Make sure you're able to isolate the the serial out pin or separately power the relay board otherwise all sorts of strange things will happen during PicAxe programming.

Select as Best AnswerUndo Best Answer