Loading...
Pages: [1]   Go Down
Author Topic: UNO + TFT Shield = Oscilloscope!  (Read 706 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 15
Posts: 463
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is nothing yet... just a quick test to see how fast is is. I do a simple loop from 0 to 319 and send an analog input (scaled to 0...239 with map()) to Tft.setPixel() and it works!

(click for video)
Logged

0
Offline Offline
Tesla Member
***
Karma: 71
Posts: 6611
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Good stuff - you might need to do a little more work on it though smiley-wink

If you want inspiration look at the xprotolab and xminilab:
Logged

Offline Offline
Sr. Member
****
Karma: 15
Posts: 463
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Good stuff - you might need to do a little more work on it though smiley-wink


I just tossed it together to see if it would work and upon seeing the sine wave I laughed just because it was SO COOL!

In reality, it's not fast enough to be a "real" oscilloscope (and it would never beat my HP DSO), but it was neat anyway.
Logged

0
Offline Offline
Tesla Member
***
Karma: 71
Posts: 6611
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Cool - but cooler with a trigger input?  Add a pot to one analog input to set the trigger level - not that much more work?
Logged

Offline Offline
Sr. Member
****
Karma: 15
Posts: 463
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Cool - but cooler with a trigger input?  Add a pot to one analog input to set the trigger level - not that much more work?

You're tempting me! I may just go ahead and make a full blown scope out of it!

I'll have to add it to my list of projects "to do".

The big one I'm working on now is for a research project at the university here (my employer). I used to use Motorola 68HC11 EVBU boards for student projects, but the Arduino is SO much easier to program (C vs raw assembler) and the 328P has a lot more memory than the HC11 (the HC11 only has 512 bytes of SRAM and 512 bytes of EEPROM and no flash at all!).

For every project I had to build daughterboards ("shields" in Arduino-speak) for I/O, memory, D/A, etc... now all of that is built into the chip - which costs less and is easier to program.

Code that would have taken me weeks to do in ASM I've done in only a few days with the Arduino. Wish I knew about these a lot sooner!

-- Roger
Logged

Pages: [1]   Go Up
Print
 
Jump to: