Hi all
Please treat me carefully. I have some basic knowledge but am getting confused.
I have two small issues which I need to address.
This is for a keyboard instrument. The hall effect sensors will be used to detect movement of the key.
1) I am going to be reading a hall effect sensor using something like an attiny85. The output from the tiny is going to be digital 0 or 1.
This is at 5volts but I need to bring this signal up to control another control system at 15v. In my industry these control systems could be from 12 to 30vdc. Most of them are solid state and have opto isolators on the inputs.
I have been thinking of a transistor on the output of the tiny. I know the norm is to have a signal out between a resistor load and transistor. My concern is would this trigger the input of another control system? I was assuming a better way would be to have the signal out on the emitter followed by the load (Commom Collector)
What is your advice and what transistors and resistors would you recommend for the base and load?
2) I need to design a simple input board. The signal is 15v again it could be anything from 12 to 30vdc. I want to run this through optocouplers and into shift registers. What is the best way to handle this variable voltage? would a zener with resistors be the best idea?
Im just getting a little confused by it all.
Thanks in advance
Gary
Please treat me carefully. I have some basic knowledge but am getting confused.
I have two small issues which I need to address.
This is for a keyboard instrument. The hall effect sensors will be used to detect movement of the key.
1) I am going to be reading a hall effect sensor using something like an attiny85. The output from the tiny is going to be digital 0 or 1.
This is at 5volts but I need to bring this signal up to control another control system at 15v. In my industry these control systems could be from 12 to 30vdc. Most of them are solid state and have opto isolators on the inputs.
I have been thinking of a transistor on the output of the tiny. I know the norm is to have a signal out between a resistor load and transistor. My concern is would this trigger the input of another control system? I was assuming a better way would be to have the signal out on the emitter followed by the load (Commom Collector)
What is your advice and what transistors and resistors would you recommend for the base and load?
2) I need to design a simple input board. The signal is 15v again it could be anything from 12 to 30vdc. I want to run this through optocouplers and into shift registers. What is the best way to handle this variable voltage? would a zener with resistors be the best idea?
Im just getting a little confused by it all.
Thanks in advance
Gary


