For a school project, I was put onto a project where I am supposed to use a PIC18F4550 to create a voltage and current sensor with a 0-24V range and 0-7A range, respectively.
For the voltage sensor, my idea was to just use a simple voltage divider with a Vin = 3.3v.
Therefore, Vout/Vin = 3.3/24 = R2 / (R1 + R2) which leaves R2 = 3.3k Ohms and R1 = 20.7K Ohms.
I am not very good at circuit design and I was wondering if someone with a lot of experience can tell me if this sounds decent? I had some suggestions about considering filtering and a capacitor to smooth voltage spikes, but I have no idea how to create the circuit to do that and I want to keep it simple and working.
As for the current sensor, I was thinking about using a current sense amplifier circuit. Would someone help me design one of these?
I appreciate all help and suggestions I can do to develop these tools. Thanks!
Corsair
For the voltage sensor, my idea was to just use a simple voltage divider with a Vin = 3.3v.
Therefore, Vout/Vin = 3.3/24 = R2 / (R1 + R2) which leaves R2 = 3.3k Ohms and R1 = 20.7K Ohms.
I am not very good at circuit design and I was wondering if someone with a lot of experience can tell me if this sounds decent? I had some suggestions about considering filtering and a capacitor to smooth voltage spikes, but I have no idea how to create the circuit to do that and I want to keep it simple and working.
As for the current sensor, I was thinking about using a current sense amplifier circuit. Would someone help me design one of these?
I appreciate all help and suggestions I can do to develop these tools. Thanks!
Corsair