Tell us about yourself!

Complete Your Profile
  • Arduino High Speed Oscilloscope With PC Interface

    I mean the LCD screen is not LEDThank

    Hello DavidI have tried the program on mega I have boosted your image signal at 30KHZ.The signal is somewhat distorted. The extra frequency at 30KHZ is more distorted.If you can write me a program in which sampling shows me high frequencyProgram without programming a LED screen or connecting with a PC means a program that deals with ADC fast onlyThank you DavidI'm sorry to take your time.

    View Instructable »
  • Arduino High Speed Oscilloscope With PC Interface

    HelloPlease allow me a lot of questions.You have tried this code from the description 2015/09/20.The maximum frequency of sampling is 30KHZ in signal sine wave.Is there a faster sampling mode or code for me to speed up the faster regester for sampling.Knowing I'm using my maximum prescalar value.I could explain my steps to speed up my response to Arduino to speed up sampling.This code I used.Thank you// Defines for setting register bits#ifndef mysbi#define mysbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))#endif#ifndef mycbi#define mycbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))#endif#define BUF_SIZE 1000uint8_t bufa[BUF_SIZE];const byte check = 1 << ADSC;boolean triggered;boolean trigplus = true;boolean writeit;byte oldval, newval;int trigger;unsigned long fasttime, starttime;unsigned lon...

    see more »

    HelloPlease allow me a lot of questions.You have tried this code from the description 2015/09/20.The maximum frequency of sampling is 30KHZ in signal sine wave.Is there a faster sampling mode or code for me to speed up the faster regester for sampling.Knowing I'm using my maximum prescalar value.I could explain my steps to speed up my response to Arduino to speed up sampling.This code I used.Thank you// Defines for setting register bits#ifndef mysbi#define mysbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))#endif#ifndef mycbi#define mycbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))#endif#define BUF_SIZE 1000uint8_t bufa[BUF_SIZE];const byte check = 1 << ADSC;boolean triggered;boolean trigplus = true;boolean writeit;byte oldval, newval;int trigger;unsigned long fasttime, starttime;unsigned long endtime;int trip;float frequency, period , myinterval;byte p;void setup() { cli(); // disable interrupts Serial.begin(115200); // start serial for output ADCSRA = 0; // clear ADCSRA register ADCSRB = 0; // free running - only has effect if ADATE in ADCSRA=1 ADMUX |= 0; //set up continuous sampling of analog pin adport ADMUX |= (1 << REFS0); // set reference voltage to Vcc ADMUX |= (1 << ADLAR); // left align the ADC value- so we can read highest 8 bits from ADCH register only ADCSRA |= (1 << ADPS0); // prescalar 2 mysbi(ADCSRA, ADEN); // enable ADC sei(); // enable interrupts}ISR(ADC_vect) {}void startad() {}void loop() { /* Fast read via registers cf pages 242-260 of ATmega328P manual "A single conversion is started by writing logical 1 to the ADC Start conversion bit ADSC. This bit stays high as long as the conversion is in progress and will be cleared by hardware when the conversion is completed." >= 237.2 KHz !!!!! */ // First conversion- initialises ADC mysbi(ADCSRA, ADSC); while ((ADCSRA & check) == check); // wait for ADSC byte to go low // New conversion and use current ADCSRA value for trigger byte startit = ADCSRA | check; ADCSRA = startit; while (!triggered) { // wait for adc conversion while ((ADCSRA & check) == check); newval = ADCH; // New conversion ADCSRA = startit; trip = newval - oldval; if (!trigplus) trip = -trip; if (trip > trigger) triggered = true; else oldval = newval; } for (unsigned int i = 0; i < BUF_SIZE; i++) { // wait for conversion while ((ADCSRA & check) == check); bufa[i] = ADCH; // New conversion ADCSRA = startit; } mycbi(ADCSRA, ADEN); // disable ADC writeit = true; for (unsigned int i = 0; i < BUF_SIZE; i++) { Serial.println(bufa[i]); }}

    View Instructable »
  • Arduino High Speed Oscilloscope With PC Interface

    Hello DavidPattersonIs there a special library for my ADC TLV571 chip.If there is no library upload me the Ka program is an example of fast ADC read via ADC TLV571 chipThank

    View Instructable »
  • DPScope - Build Your Own USB/PC-Based Oscilloscope

    HelloIs it possible to give me the source code file or my HEX file DPScope SE?on email www.14laid@gmail.comThank you

    View Instructable »
  • Arduino High Speed Oscilloscope With PC Interface

    Hellothank you my friendBut I'm for the purpose of understanding ADC fast even in Arduino Mega and understanding the sampling method of 200KHZ so that the display signal is clean, so you will be able to correct the errors that are in itThis email is www.14laid@gmail.comIt will download you the program you createdIt can be adjusted to take samples from 0-200KhzThank you#include #define FASTADC 1// defines for setting and clearing register bits#ifndef cbi#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))#endif#ifndef sbi#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))#endifvolatile int value[300]; // variable to store the value coming from the sensorvolatile int i;volatile int p = 0;void setup(){ Serial.begin(9600) ;#if FASTADC // set prescale to 16 sbi(ADCSRA, ADPS2) ; cbi(A...

    see more »

    Hellothank you my friendBut I'm for the purpose of understanding ADC fast even in Arduino Mega and understanding the sampling method of 200KHZ so that the display signal is clean, so you will be able to correct the errors that are in itThis email is www.14laid@gmail.comIt will download you the program you createdIt can be adjusted to take samples from 0-200KhzThank you#include #define FASTADC 1// defines for setting and clearing register bits#ifndef cbi#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))#endif#ifndef sbi#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))#endifvolatile int value[300]; // variable to store the value coming from the sensorvolatile int i;volatile int p = 0;void setup(){ Serial.begin(9600) ;#if FASTADC // set prescale to 16 sbi(ADCSRA, ADPS2) ; cbi(ADCSRA, ADPS1) ; cbi(ADCSRA, ADPS0) ;#endif Timer1.initialize(10); Timer1.attachInterrupt( timerIsr1 ); // attach the service routine here}void timerIsr1() { if (p == 0) { for ( int i = 0; i < 255; i ++) { value[i] = analogRead(A0); // delayMicroseconds(2); }; p = 1; }}void loop(){ for (i = 0; i < 300; i++) { value[i] = analogRead(0); } for (i = 0; i < 300; i++) { Serial.println(value[i]); delayMicroseconds(2); }// delayMicroseconds(2); p=0;}

    Hellothank you my friendBut I'm for the purpose of understanding ADC fast even in Arduino Mega and understanding the sampling method of 200KHZ so that the display signal is clean, so you will be able to correct the errors that are in itIt will download you the program you createdIt can be adjusted to take samples from 0-200KhzThank you-This is the program:#include "TimerOne.h"#define FASTADC 1// defines for setting and clearing register bits#ifndef cbi#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))#endif#ifndef sbi#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))#endifvolatile int value[300]; // variable to store the value coming from the sensorvolatile int i;volatile int p = 0;void setup(){ Serial.begin(9600) ;#if FASTADC // set prescale to 16 sbi(ADCSRA, ADPS2)...

    see more »

    Hellothank you my friendBut I'm for the purpose of understanding ADC fast even in Arduino Mega and understanding the sampling method of 200KHZ so that the display signal is clean, so you will be able to correct the errors that are in itIt will download you the program you createdIt can be adjusted to take samples from 0-200KhzThank you-This is the program:#include "TimerOne.h"#define FASTADC 1// defines for setting and clearing register bits#ifndef cbi#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))#endif#ifndef sbi#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))#endifvolatile int value[300]; // variable to store the value coming from the sensorvolatile int i;volatile int p = 0;void setup(){ Serial.begin(9600) ;#if FASTADC // set prescale to 16 sbi(ADCSRA, ADPS2) ; cbi(ADCSRA, ADPS1) ; cbi(ADCSRA, ADPS0) ;#endif Timer1.initialize(10); Timer1.attachInterrupt( timerIsr1 ); // attach the service routine here}void timerIsr1() { if (p == 0) { for ( int i = 0; i < 300; i ++) { value[i] = analogRead(A0); // delayMicroseconds(2); }; p = 1; }}void loop(){ for (i = 0; i < 300; i++) { Serial.println(value[i]); delayMicroseconds(2); }// delayMicroseconds(2); p=0;}

    View Instructable »
  • hackerh commented on Annikken's instructable IOS-Controlled Arduino Waveform Generator3 months ago
    IOS-Controlled Arduino Waveform Generator

    HelloI have a query to make it possible to create Oscilloscope By Arduino UNO and have a fast analogRead can read the signal with high speed for 200KHZ.If possible, it helps me to accomplish itIs it possible to give me an example of this is a small program showing the action of ADC fast to take the sample of 200KHZThis email is www.14laid@gmail.comThank

    View Instructable »
  • Arduino High Speed Oscilloscope With PC Interface

    HelloI have a query to make it possible to create Oscilloscope By Arduino UNO and have a fast analogRead can read the signal with high speed for 200KHZ.If possible, it helps me to accomplish itIs it possible to give me an example of this is a small program showing the action of ADC fast to take the sample of 200KHZThis email is www.14laid@gmail.comThank

    View Instructable »
  • Make an Oscilloscope Using the SainSmart Mega2560 With the TFT LCD Shield and the 3.5 "color Touch Screen

    HelloI have a query to make it possible to create Oscilloscope By Arduino UNO and have a fast analogRead can read the signal with high speed for 200KHZ.If possible, it helps me to accomplish itIs it possible to give me an example of this is a small program showing the action of ADC fast to take the sample of 200KHZThis email is www.14laid@gmail.comThank

    View Instructable »
  • DPScope SE - the Simplest Real Oscilloscope/logic Analyzer on the Planet

    HelloI have a query to make it possible to create Oscilloscope By Arduino UNO and have a fast analogRead can read the signal with high speed for 200KHZ.If possible, it helps me to accomplish itIs it possible to give me an example of this is a small program showing the action of ADC fast to take the sample of 200KHZThis email is www.14laid@gmail.comThank

    View Instructable »
  • DPScope - Build Your Own USB/PC-Based Oscilloscope

    HelloI have a query to make it possible to create Oscilloscope By Arduino UNO and have a fast analogRead can read the signal with high speed for 200KHZ.If possible, it helps me to accomplish itIs it possible to give me an example of this is a small program showing the action of ADC fast to take the sample of 200KHZThis email is www.14laid@gmail.comThank

    View Instructable »
  • hackerh commented on ajoyraman's instructable DIY - USB OSCILLOSCOPE IN a MATCHBOX3 months ago
    DIY - USB OSCILLOSCOPE IN a MATCHBOX

    HelloThank you Mr. ajoyramanIs it possible to give me an example of this is a small program showing the action of ADC fast to take the sample of 200KHZThis email is www.14laid@gmail.comThank

    HelloI have a query to make it possible to create Oscilloscope By Arduino UNO and have a fast analogRead can read the signal with high speed for 200KHZ.If possible, it helps me to accomplish itThis email is www.14laid@gmail.comThank

    View Instructable »
  • Arduino High Speed Oscilloscope With PC Interface

    HelloI have a query to make it possible to create Oscilloscope By Arduino UNO and have a fast analogRead can read the signal with high speed for 200KHZ.If possible, it helps me to accomplish itThis email is www.14laid@gmail.comThank

    View Instructable »
  • hackerh commented on amandaghassaei's instructable Arduino Timer Interrupts1 year ago
    Arduino Timer Interrupts

    so if you wanted an interrupt every second (frequency of 1Hz):compare match register = [16,000,000 / (prescaler * 1) ] -1with a prescaler of 1024 you get:

    View Instructable »