Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi to all.
I'm trying to get an LIS3DH accelerometer working and I have a question about the output data.
It seems to be very "noisy". I have the board with the accelerometer on a flat table.
I've set the data rate to 100hz and 2g fullscale , high res mode on.
The data seems to jump all over the...
I'm not complaining about it , I was just wondering why 2's compliment and not straight binary.
It's easy to convert 2's compliment , it's just an extra step.
Hi all.
I'm currently using an accelerometer (LIS3DH).
It's output is given in 2's compliment format.
Why do they do this.
This is pretty common practice with lots of sensors and high res a2d's etc.
I know it makes subtraction easy , but is there any other reasons for outputting data
in 2's...
Squaring up the pulses and all that is the easy part. That is done. It is routing (internally) the pulses to timer1 to count that I can't get right. It is easy to GATE timer1 via the comparator ,I just can't see how to count the pulses via timer 1. There is no external pins available , all the...
It's not a frequency change , it changes the number of pulses it sends.
The frequency of the pulses is about 80 - 90khz.
For 0 deg C it sends about 800 pulses. ( the pulse "bursts" are sent every 100mS or so)
For 30 deg C it sends about 1280 pulses
For 50 deg C it sends about 1600 pulses...
Hi all.
I have a simple problem , that I don't seem to be able to get right.
I have an LMT01 temperature sensor that provides a pulse train that is proportional to
temperature. It's an analog pulse train that has to be processed before it can be counted.
I thought I'd use the comparator in the...
You don't need to calculate the base current depending on Vout. You need the base current for I out.
Say you want 16V out and the Vbe of the transistor is 1.2V then you need to set the base to 17.2V to get 16V out.
If your load at the emitter draws 1A at 16V , then your base current (assume hfe...
Just to add to the post , don't forget you can easily generate a negative rail for your op-amp via one of the micro pins , 2 caps and 2 diodes. With a 5V micro you won't get -5V , but you could easily get -4V. That would be more than enough and it takes away any funny biasing headaches.It will...
I have to agree with Bob Pease (who am I to disagree :0) ) , breadboard testing is a must. I built the circuit last night. Worked surprisingly well , probably not far off the simulation. I did't have a high quality multimeter with me to accurately measure uA accurately though.
Will take a...
Attached is a LTSpice circuit of a simple constant current source. A standard pnp / zener arrangement.
I've used this circuit years ago , but I don't remember it being as good as the simulation
suggests. Set for about 1mA output , it only varies by 25uA with a temperature change from 20 to 80...
You guys really are making things more complicated than they need to be. To look at things that are on different scales , just add another plot pane. Or you can zoom in and re-plot the relevant waveforms. You don't have to add any offsets and you certainly don't need to change and spice settings...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.