Quantcast
Channel: ADC to sine
Browsing all 16 articles
Browse latest View live

ADC to sine

Yup: drive the X value from the timer (or the 'current  time' the sample was taken). It obviously depends on how fast you are recieving data, but if it's a serial port, it'll be fairly low. Or, it may...

View Article



Image may be NSFW.
Clik here to view.

ADC to sine

Hi, This is what I need SJWhiteley . I know that it isn't "FFT" but it's good for my project. I just need put in code for plot data from ADC from 0-255, 127 is midle of range 2.5V reference. p.x, p.y...

View Article

ADC to sine

Okay, I was thinking about this last night, and think the easiest solution may be to plot the lines using the DrawCurve method of a graphics object. It seems to exhibit good presentation behavior with...

View Article

ADC to sine

Hi, Yes you are right, I don't have enough sample points for 'smoother' (signal is jagged after plot) look. Well we are back on FFT, bah.. In FFT from let's say 5 points you can reconstruct whole sine...

View Article

ADC to sine

I don't know how you are going to be able to predict how a bezier curve hould look for any given signal (there are infinate possibilities), but look at the DrawBeziers function. Do you mean the signal...

View Article


Image may be NSFW.
Clik here to view.

ADC to sine

Hi, Are you wanting the signal to be smoothed out (bezier curve fit)? Yes that's it correct. I do not ask for super solutions only some improvements which can be done with VB2005,(if they can be done),...

View Article

ADC to sine

Okay, so now I'm confused as to what you mean by 'stairs': there's no stairs in the result based off the code I posted... Are you wanting the signal to be smoothed out (bezier curve fit)? This is...

View Article

ADC to sine

Hi, Well this is nice pice of code wich draw sine wave SJWhiteley, but I need draw sine wave from 8bit ADC data wihtoutor minimum stairs in signal. Thing is ADC start it make conversion, it gives me...

View Article


ADC to sine

I think you may be overcomplicating things - here's a simple form which plots a sine wave on it (no scaling, or anything, but I think you can get the idea): (Add a timer and a panel to the form)...

View Article


ADC to sine

Hi, Thanks for code above. Is it possible implement it in this case?Bargraph is no problem, i need to see sine form, not it's value. Look at this code below it only need picturebox (picgraph1) it is...

View Article

Image may be NSFW.
Clik here to view.

ADC to sine

Hi,Coming to think about it yes you are right.You might want to draw the zero line down the middle of the graph though.How many points can you see yourself wanting to plot?The reason i ask is with 160...

View Article

Image may be NSFW.
Clik here to view.

ADC to sine

Hi Spiderman, Well, I will use 8 bit data from ADC and yes +127.... 0......  -128 will be range (it can be and +125, -125). I use 2,5V to set reference for ADC's zero on it's input, and input AC signal...

View Article

ADC to sine

Hi,Good job i know my maths and what an ADC is. :-)Anyway you could write the values into an array.Dim myValues (20) As IntegermyValues(0) = 50myValues(1) = 75 etc. Is +100 and -100 your range?Usually...

View Article


ADC to sine

HI,That was fast ...... :) Thanks.But now I need from this : 20-30-50-70-90-80-60-40-20-10-50-60-70 (8 bit serial data from ADC) etc. plot sine wave or something....How implement this data in your code...

View Article

ADC to sine

Hi,What is 'a' in your code?Most versions of Basic work in Radians,360 degrees = 2 * Math.Pi 'in radians.Now try your code below with the alterations i've added.  Private Sub Bt_Click(ByVal sender As...

View Article


ADC to sine

  Hi,I have this piece of code wich plot sine and cos sinusoide in picture box, and it work ok, but I need different math functions wich will from capture  ADC data ( 8 or 10 bit data) plot signal on...

View Article
Browsing all 16 articles
Browse latest View live




Latest Images