Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
1 => 001
2 => 010
3 => 011
etc.
According to the datasheet from Philips, the 74F148 is an encoder?crutschow wrote:
The 74148 is a decoder and does the opposite of what you want, it converts BCD to 1 of 8 outputs.
You want an encoder circuit such as the CD40147.
8-input priority encoder 74F148
FUNCTION TABLE
Inputs Outputs
EI I0 I1 I2 I3 I4 I5 I6 I7 GS A0 A1 A2 EO
H X X X X X X X X H H H H H
L H H H H H H H H H H H H L
L X X X X X X X L L L L L H
L X X X X X X L H L H L L H
L X X X X X L H H L L H L H
L X X X X L H H H L H H L H
L X X X L H H H H L L L H H
L X X L H H H H H L H L H H
L X L H H H H H H L L H H H
L L H H H H H H H L H H H H
H = High voltage level
L = Low voltage level
X = Don’t care
hi,
As you say the 74F148 is an 8 bit to 3 octal encoder.
Thanks, just want to make sure I an not losing my mind.
Typo? Did you mean a 47K resistor?hi,
Connect the emitter of the 4N25 to 0V, connect a 4k7 resistor from the 4N25 collector to the +5V supply, the junction of the collector and resistor goto the input pin of the 148 ic.
The EI pin should be connected to 0V and the EO pin to +V via a 4K7.
OK.?![]()
Typo? Did you mean a 47K resistor?