Arduino LCD touch shield dual channel oscilloscope

Arduino LCD touch shield dual channel oscilloscope with equivalent time sampling

Feb 6, 2022

21737 views

11 respects

Components and supplies

1

Arduino Pro Mini 328 - 5V/16MHz

2

BNC Female connector

1

TFT Touchscreen shield for UNO, 2.4" 320x240

2

Pushbutton Switch, Push-Pull

2

Resistor 1k ohm

6

Resistor 2M ohm

2

Ceramic Capacitor 1 µF

Tools and machines

1

Soldering iron (generic)

Apps and platforms

1

Arduino IDE

Project description

Code

Comments

Only logged in users can leave comments

12892141a

2 months ago

Hi, Am try compiling but. I see this error . How resolve ? Compilation error: 'dataAnalize' was not declared in this scope

siliconvalley4066

2 months ago

There shoule be 4 ino files in the source code folder. Please try the Download button at upper right of Code section.

1_art_099

5 months ago

Actually can I use nano instead of pro mini and also I broght a tft model which is named as tft spi. Can I use this as the normal tft Also you did not mention the the connects between arduino and tft Please mention these also

siliconvalley4066

5 months ago

Yes, you can use nano for making UNO compatible custom board. However, TFT SPI is out of concern in this project. Connections and the software library are different. You need to adjust those by yourself. This project adopts a TFT shield with parallel interface. The shield just fits on the UNO. There is no special connection.

grenken

10 months ago

Where id you purchase the TFT Touchscreen shield for UNO, 2.4" 320x240? What is its part number?

siliconvalley4066

9 months ago

I purchased the TFT shield at Japanese Yahoo Shopping site. But, that was 2 years ago. So, you cannot find same parts available now. You may try any TFT Touchscreen shield available now. You must modify the source code for new shield. I believe it's not so difficult. Good luck!

grenken

10 months ago

Where did you purchase the TFT Touchscreen shield for UNO, 2.4" 320x240? What is its part number?

fabiopadula

10 months ago

Hello, I came across your post and I know it is old, I tried to compile your code TFT_Oscillo_v110 and got lots of errors, lots of Not declared and One Token } is missing

siliconvalley4066

9 months ago

You may working in the ZIP folder. At first unzip the archive file. Then, open the TFT_Oscillo_v110.ino in the unzip'ed folder.

siliconvalley4066

9 months ago

FYI, latest version is here: https://create.arduino.cc/editor/siliconvalley4066/4498e4d8-7ce5-4b22-bca6-9784e04b1f94/preview

Anonymous user

2 years ago

Is it possible to display X-Y mode for the 2 channels? Thanks...

siliconvalley4066

2 years ago

No. It is not coded for continuously sampling. So, there should be many coding.

Anonymous user

3 years ago

Hi, thanks for it. How can l scale the data ( I want to show -400 to 400 data) And also how can I change display frequency.

rohit43u

3 years ago

i have trouble in touch buttons, i have calibrated the touch but not getting good results on pressing touch buttons, so please replace the touch buttons with push buttons in the circuit, and make it using arduino uno atmega328p compatible,, make it one channel only if it is having problem. i am waiting for your replay sir.

siliconvalley4066

2 years ago

For the original Arduino UNO, you can use A5 as CH1. Find the line: const int ad_ch0 = 6; Modify it like: const int ad_ch0 = 5; Then you can use it as single channel.

rudik3055

2 years ago

Yes Mr Asugi, i think this will easier to build with push-button just like Mr Matsunaga original design, or make it as optional which users can do some comment / uncomment in the pin out inisiation lines. I still make effort to convert back using 11 push buttons, but still no luck. i am is in progress to to make this design working with push buttons, but i using Mega 2560 board for my personal flexibility, the sketch is done compiling, but i need to testing it in the breadboard first.

siliconvalley4066

2 years ago

I don't understand how bad is your trouble in touch buttons. You had better to check if the pin assignments and the direction of the MIN/MAX values match with your calibration sketch. And also you may have to adjust the pressure threshold value. I don't want to replace the touch buttons with push buttons, because there will be much push buttons and registers and wirings. With original Arduino UNO rev3 compatible board, there isn't A6 nor A7 then only A5 is available for analog input. So no input pin is available for many push buttons. Please refer to Mr. Mitsunaga's web page. Settings shall be changed by source code only. As described in "ABOUT THIS PROJECT", this project is for some Arduino UNO compatible boards that use the QFP package ATmega328P and A6 and A7 through holes.

Anonymous user

3 years ago

Hi. "The sketch is no longer here", could you update by putting the sketch?

siliconvalley4066

2 years ago

I forgot to make it public. Now you can see the sketch. You may visit my Webpage at the bottom of "ABOUT THIS PROJECT", though it is written in Japanese, and find TFT_Oscillo_v110.zip.