Search the Community
Showing results for tags 'analog input'.
-
Hey there guys. First post in a long time. I find myself developing once again on an MSP430G2553 chip on a Rev 1.4 Launchpad and I am trying to take samples from the on-chip ADCs using Energia. It's not secret that the on-chip ADCs are quite unstable (very accurate perhaps?), I don't get anywhere near the kind of jitter I see when using the MCP3008 (10-bit, 8-channel ADC converter IC). Regardless, I am very frustrated with the section of my code that deals with smoothing the signal from analog controls. I am sampling 4 ADC values and averaging it, no problem. What really frustr
- 4 replies
-
- analog input
- smoothing
-
(and 5 more)
Tagged with:
-
hi there, i'm trying to measure impedance by applying sinusoidal wave to a chemical gel. it cannot operate by dc voltages. i can achieve to measure resistance from a dc circuit and send the solution to an LCD screen by reading two channels as follows: my code: #include <LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); void setup() { // set up the LCD's number of columns and rows: lcd.begin(16, 2); lcd.print("impedance :"); } void loop() { int sensorValue1 = analogRead(A0); int sensorValue2=analogRead(A1); // Convert the analog reading (which goe
- 1 reply
-
- sinus
- peak detection
-
(and 4 more)
Tagged with: