Difference between revisions of "Teensy"

From TheAnalogThing
(+ circuit)
(no DAC)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
The '''Teensy Microcontroller''' is a very powerful 32 bit microcontroller (ARM Cortex) with a large number of input outputs. The website of the product is for instance https://www.pjrc.com/store/teensy41.html
 
The '''Teensy Microcontroller''' is a very powerful 32 bit microcontroller (ARM Cortex) with a large number of input outputs. The website of the product is for instance https://www.pjrc.com/store/teensy41.html
  
== Teensy for data aquisition ==
+
== Teensy for data acquisition ==
 
[[File:Teensy Datalogger Prototype 2.jpg|thumb|Photo of the prototype board]]
 
[[File:Teensy Datalogger Prototype 2.jpg|thumb|Photo of the prototype board]]
  
 
[[User:ulmann|Bernd Ulmann]] created a Teensy data logger ([[Software oscilloscope]]) which is released as open source at
 
[[User:ulmann|Bernd Ulmann]] created a Teensy data logger ([[Software oscilloscope]]) which is released as open source at
https://github.com/anabrid/TeensyLogger. It is suitable for data aquisition of  
+
https://github.com/anabrid/TeensyLogger. It is suitable for data acquisition of  
 
[[The Analog Thing]].
 
[[The Analog Thing]].
  
The usage is basically that the Teensy does the analog to digital data aquisition and then sends (more or less) raw data to a connected PC over USB. It is up to the PC to display and render the data, and no software exists yet (but it is easy to come with).
+
The usage is basically that the Teensy does the analog to digital data acquisition and then sends (more or less) raw data to a connected PC over USB. It is up to the PC to display and render the data, and no software exists yet (but it is easy to come with).
  
Limitations: The ADC has only about 10 bits.
+
Limitations of Teensy 4.0 and 4.1: The ADC has only about 10 bits, and it has no built-in DAC.
  
 
=== Rebuild the THAT-CMOS level shift ===
 
=== Rebuild the THAT-CMOS level shift ===
 
If you want to rebuild the level shifting circuit of Bernd with some cheaper OPAMPs, for instance the LM32x series, you should use TTL 5V to power the opamp, since it's not rail2rails:
 
If you want to rebuild the level shifting circuit of Bernd with some cheaper OPAMPs, for instance the LM32x series, you should use TTL 5V to power the opamp, since it's not rail2rails:
  
[[File:Teensy-Cheaper.svg|thumb|left|Circuit for THAT-CMOS level shift.]]
+
<gallery>
 +
  File:Teensy-Cheaper.svg|Circuit for THAT-CMOS level shift.
 +
  File:Breakboard Level Shifting with Teensy.jpg|Photography of a level shifting setup on a Breadboard
 +
</gallery>
 +
 
 +
[[Category:Hardware]]
 +
[[Category:Software]]

Latest revision as of 13:58, 30 January 2024

The Teensy Microcontroller is a very powerful 32 bit microcontroller (ARM Cortex) with a large number of input outputs. The website of the product is for instance https://www.pjrc.com/store/teensy41.html

Teensy for data acquisition

Photo of the prototype board

Bernd Ulmann created a Teensy data logger (Software oscilloscope) which is released as open source at https://github.com/anabrid/TeensyLogger. It is suitable for data acquisition of The Analog Thing.

The usage is basically that the Teensy does the analog to digital data acquisition and then sends (more or less) raw data to a connected PC over USB. It is up to the PC to display and render the data, and no software exists yet (but it is easy to come with).

Limitations of Teensy 4.0 and 4.1: The ADC has only about 10 bits, and it has no built-in DAC.

Rebuild the THAT-CMOS level shift

If you want to rebuild the level shifting circuit of Bernd with some cheaper OPAMPs, for instance the LM32x series, you should use TTL 5V to power the opamp, since it's not rail2rails: