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.
"PC-lint for C/C++ the longest continuously advertised software tool in human history, was first introduced in 1985. It will thoroughly check your C/C++ source code for bugs, glitches, inconsistencies, non-portable constructs, and much more, so you can find and fix your bugs more quickly, and...
It wont be the smbus, that just puts out the values calculated by the battery. It looses capacity each time it is cycled (this is non-recoverable) and if the aging algorithms are rubbish or don't exist eventually what you are seeing will happen. This once happened to my laptop battery. It is...
Hi,
I have some experience of this.
What tools and methods do you plan to use? And how is your code structured? state machine , rtos? Will you use step through debugging in an ide or create a test harness and use printf diagnostics?
What level of testing is required? Function, module, system...
Try to think about the problem mathematically:
average velocity = change in distance / change in time ------ (Vav = dD/dt)
read the datasheet for the rotary encoder to find out number of pulses per revolution
use the number of revs per min to calculate the distance travelled and plug...
What about sampling the sinewave on an adc port and counting each time the gradient switches polarity? That way ypu can count each peak.
something along the lines of:
#define positive TRUE
#define negative FALSE
last_polarity = sinewave;
this_reading = read_adc(sinewave_input);
if...
USB complete by Jan Axelson is a very good book which covers both, PC and Microcontroller. The PC code is described in the book in VB and C#.
The Author also has downloads to example code on her website, which is where I began, If you dont mind coding in C# **broken link removed**
For the PIC...
Hello, I have very recent experience working with the ATF1504AVSL (64-MC) and I am prepared to carry out this project for you.
I am able to work fast and can implement fairly complex circuits inside these devices. Please contact me if you are interested.
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.