Skip to content

Use teensy ADC with periodic timer to sample input

Notifications You must be signed in to change notification settings

nicbres/teensy-sampler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teensy Sampler

Shows a multitude of different usages from periodic timers, ADCs, to ethernet while using interrupts.

Build Status

Build PlatformIO project

Requirements

Requires a Teensy 4.1 with the ethernet extension.

Run Example

To run without any of the serial traces, simply use

pio run -e release --target upload

If you want to run this with serial monitor use

pio run -e debug --target upload

beware that this might actually be to slow to use at high sampling frequencies (not tested). Additionally, the execution will halt until a serial connection is established. On Linux you can use

screen /dev/ttyACM0 9600

if the user has been added to the dialout group and the correct /etc/udev/ rules have been created.

The two options are provided by the platform.ini file. With the only difference being debug mode having an additional build flag -DSERIAL_DEBUG.

About

Use teensy ADC with periodic timer to sample input

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published