Questions tagged [teensy]

Teensy is a cheap and powerful development board with some Arduino compatibility.

Teensy is a cheap and powerful development board with some Arduino compatibility. Through its teensyduino compability module, it can be programmed from Arduino IDE and use most of Arduino base code. Teensyduino replicates Arduino APIs, and many Arduino libraries can run on the Teensy.

Teensy 3 has much more power than most Arduino with a 32bits cortex-M4 (K20) processor, 64KB of RAM, 3 UARTs (hardware Serial) + 1 separated for USB, I2S, DMA SPI, multiple ADCs, etc... The Arduino compatibily offers a smooth migration path for a project started on an Arduino but needing a more beefy controller.

136 questions
5
votes
3 answers

Is it possible to create a standalone exe which can burn the code into a Teensy 3.1?

So here's the scenario. I have sent my teensy 3.1 circuit to a client of mine And now I need to update the code burned onto teensy without providing client access to the code So is it possible to create an exe or an installer of a kind which on…
newbie2015
  • 223
  • 2
  • 9
4
votes
1 answer

Teensy MIDI Show Control

I'd like to use my Teensy 3.1 to send MIDI Show Control messages using USB MIDI in order to control an ETC Nomad system. These are different from standard NoteOn, NoteOff, ProgramChange, etc. commands, but as far as I can tell they are not supported…
Alfo
  • 144
  • 1
  • 7
3
votes
3 answers

Is it possible to program Arduino in transpiled JavaScript?

Coming from JS, I find it very difficult to program Arduino in C++ (not even knowing which version or what features are supported), being bound to the loop and delay, not being able to (easily) use anonymous functions in parameters or async code. I…
Qwerty
  • 139
  • 4
3
votes
1 answer

Get USB host controller serial number or ID using Teensy or other HID devices

I have a Teensy board and would like to know if there's a way to get a serial number (or any other kind of ID that is preferably unique) of the host controller that I plug my Teensy into. E.g. can I get any unique identification numbers of my…
JSmyth
  • 131
  • 3
3
votes
1 answer

Raspberry Pi, Teensy and Arduino's on i2c

I just got into an interesting mess. I have 3 Arduino's (Pro Mini's) and 2x Teensy's (3.1's) connected via I2C to a Raspberry Pi Master. The 2x Teensy's I2C data lines are connected via OctoBoards but that doesn't really matter since the OctoBoard…
flyandi
  • 131
  • 2
2
votes
0 answers

Having trouble bootloading my Two-Up printer

I am following these instructions to set up my Two-Up 3D printer, and I have no problems all the way up until step 18. The board uses the arduino IDE to burn the bootloader, which is why I am posting this here. I have my board set to…
xcdemon05
  • 173
  • 1
  • 1
  • 6
2
votes
0 answers

Arduino 1.6.1 IDE with Teensyduino Serial port lag issue?

OS: Ubuntu 14.04 Board: Teensy 3.1 and Arduino UNO I've ran many tests and concluded that the issue is within the Arduino IDE itself. The issue: Instead of a smooth stream of data displaying from the serial port, the terminal displays big chunks of…
Trexter
  • 132
  • 9
2
votes
1 answer

Pull more than 250 mA from powerbank-powered Teensy 3.6

I'm using a powerbank speced 5V at 2.4A to power my Teensy 3.6 via the USB port. However, Teensy recommends to not pull more than 250 mA from its 3.3V pin. Is there any way I can pull more current, at either 3.3V or 5V, without splicing the USB…
Anna
  • 163
  • 5
2
votes
2 answers

MPU6050 Calibrating Accelerometer

I recently got an MPU6050 and I noticed the accelerometer data was a bit off, especially on the Z axis. I'm running it on a Teensy 4.0 with Adafruit's MPU6050 library and basic example code:…
Koszuta
  • 21
  • 2
2
votes
2 answers

Teensy4.1 with 2x 8MB PSRAM Chips: external_psram_size=0 but EXTMEM char[] works as expected?

So I got 2x PSRAM chips from PJRC with my Teensy4.1 and soldered them on (it's a hideous job as I lost my tips) but it's all tested with a multimeter and the connections are solid. I ran the memtest sketch from here compiled in both Teensyduino and…
CSoft
  • 33
  • 4
2
votes
1 answer

Updating SPI transfer16 to create Transfer24

It might be a bit out there, but for a project that I am working on, my word size default is 24bits (3x8-bit), of which the first 8-bits are data and the next 16-bits are data. I would like to transfer it out of the system as fast as possible with…
sandeepzgk
  • 121
  • 2
2
votes
0 answers

Teensy 4.1 Ethernet Throughput

Using a socket server on a Teensy 4.1, I am sending and receiving data in a loop from a Windows socket client (WinForms C#.NET). I am sending or receiving 530 bytes of data. In each direction, it takes approximately 1.6 seconds to read or write and…
Joe
  • 51
  • 4
2
votes
1 answer

C++ Undefined reference to 'Class:Function()'

I have these files: Project.ino Sensor.h Sensor.cpp IMU/L3G.h IMU/L3G.cpp Sensor.h #ifndef Sensor_h #define Sensor_h #include #include "IMU/L3G.h" #define CUTOFF_FREQ 30 #define FREQ 400 class Sensor { public: Sensor(); …
user3552818
  • 21
  • 1
  • 2
2
votes
4 answers

How to find the index of the maximum value in an array?

Say we have an array named myMeasurements int myMeasurements[9]={3,4,8,12,7,2,1,67,8}; How can I find the index of the maximum element of this array? For example the MATLAB code would be: myMeasurements = [3,4,8,12,7,2,1,67,8]; [maxValue,Index] =…
csg
  • 141
  • 1
  • 6
2
votes
2 answers

Avoiding false rising and falling edge when using demultiplexer

I have 8 sets of 8 push buttons. There is a Teensy and a demultiplexer. The demultiplexer has 8 outputs. When an output is selected it is pulled low. Each output is connected to a group of 8 push buttons. The 8 push buttons are then connected to 8…
Daniel
  • 23
  • 2
1
2 3
9 10