Relay Bypass With Microcontroller

Started by POTL, January 01, 2018, 05:03:24 PM

Previous topic - Next topic

POTL


Hello
I again asked the bypass question on the relay, using a microcontroller.
I see several circuits that are similar, but the microcontrollers are different
Basically it's Attiny13 / Attiny85 / Pic12F675
I'm still far from digital technologies and I want to start studying these technologies, tell me about the difference between these microcontrollers in the operation of the bypass switch.
Will there be any difference in the work or for these purposes the microcontroller model does not play a significant role?

Ice-9

Just different micro manufacturer both types will do the same job, you take your pic (pun  intended). If you program in assembly language then you will find you have to learn a specific language to suit whichever one you work with, alternatively you could use C or C+ and use a suitable compiler which would make porting form one type to the other simpler.

My personal preference is the PIC, but that is just because I am more familiar with them.
www.stanleyfx.co.uk

Sanity: doing the same thing over and over again and expecting the same result. Mick Taylor

Please at least have 1 forum post before sending me a PM demanding something.

arkatom

Yeah not too much difference really. Just go with either or what is readily available. You'll program it in C and once you learn to program one those skills are transferable to the other.


Sent from my iPhone using Tapatalk

POTL

Thanks, I'm interested in doing 2 modes of operation:
1) Turning on and off
2) Switching on by holding the button and turning off by releasing the button
Can both of these types of microcontrollers work equally well?
Both microcontrollers are capable of this?
It turns out in the work there is no difference between them (I'm not talking about programming, but about switching effect / bypass)

ElectricDruid

Definitely no practical difference between the two types for a job like this. Ultimately, you're only using them for a digital output, and 0V->5V out of a pin is the same on one chip as another.
Even the 12F675 is overkill, since it includes an ADC you won't need. 12F508 is slightly cheaper. For one-offs, you probably don't care. Build a thousand and you might.

HTH,
Tom

POTL


all thanks In addition one more question
anti-click Resistor 1 megohm between the input and ground I no longer need?
or does it need to be protected from a relay click?

highwater

#6
Keep the resistor.

The biggest difference between a relay and a switch is that the relay contacts are switched by an electromagnet instead of your finger. Anything you need for a switch, you still need for the relay.
"I had an unfortunate combination of a very high-end medium-size system, with a "low price" phono preamp (external; this was the decade when phono was obsolete)."
- PRR