Great news! Solved it.
The problem was in the net-list for the spice model i was using. So for anyone who is trying to accomplish sensor voltage level shifting the circuit in my last post works great. If you want 0-3.3v instead of 1-5v then use the resistors 15K and 10K for the divider and...
The circuit attached i have doing 0-1v into 0-5v. The reason i am doing this at the moment is to make any problems apparent. Currently with this circuit i get an output of 1v no matter what the input is.
I have found this out through trying to solve this problem. I can achieve this using an Ideal OP amp in Spice. But when i have to build the ciruit using a real OP amp i am unable to get the ciruit working.
Gain of 1.5 +5v (vcc) 0v (gnd)
Hey all,
I have been trying to create a circuit to scale a 0 - 3.3v sensor to a 0 -5v signal. Any suggestions on how to do this. I have been trying some Op amp circuits but haven't really gotten anywhere yet.
Thanks!
I found this and its a great getting started guide. It also explains a lot of the programming. I wish they would develop some PIC kits though im sick of breadboarding.
Roboteurs -> http://roboteurs.com/tutorial-1-micro-controller-programming-blink-an-led/
Getting started with PIC - Roboteurs
So i found a great tutorial that shows how to program a PIC and run through the hardware as well. Pretty awsome.
Roboteurs -> http://roboteurs.com/tutorial-1-micro-controller-programming-blink-an-led/