Skip to main content

Questions tagged [teensy]

A small USB-based SBC with an AVR or ARM microcontroller

Filter by
Sorted by
Tagged with
0 votes
1 answer
69 views

How do I increase I2C/Wire Timeout on Teensy41

I am working on an I2C system with a Teensy41 master and an Adruino NANO as a slave. It currently takes the NANO about 700 microseconds to do a calculation and reply to the request for data from ...
Hubert B's user avatar
0 votes
0 answers
36 views

Running Teensy41 on battery

I'm trying to get my Teensy41 project to run on battery. The docs at the link below seem to indicate that connecting 5v across VIN and GND pins should be enough to run on battery. Initially I am just ...
Hubert B's user avatar
0 votes
2 answers
44 views

I2C Level Shifting (Adafruit breakouts)

I have programmed an I2C slave on an Arduino Nano and an I2C master was on an Arduino Mega. I'm now working on upgrading the master to a Teensy 4.1. The new master is a 3.3v microcontroller, where as ...
Hubert B's user avatar
1 vote
1 answer
123 views

Is this a good circuit for connecting a piezo disc sensor to a microcontroller?

I'm making a musical instrument, where you pluck "teeth" which have piezo disc sensors attached to them, and I want to get the output of the piezo into a microcontroller so I can interpret ...
Jeff Kaufman's user avatar
1 vote
0 answers
43 views

Running a Motor Controller, Motor, and Raspberry Pi off the Same Power Supply

I have a 24V brushed motor, a Raspberry Pi, and a Teensy 4.1 microcontroller all running off the same power supply (a 24V tool battery). I have a step down regulator that converts 24V to 5V: https://...
rian1's user avatar
  • 23
0 votes
1 answer
63 views

Input stage for sampling audio sine wave with ADC

I'm building a prototype, checking the potential for a project. I want to be able to sample a sine wave from a power amplifier using a Teensy4 ADC. I have a Teensy 4.0 powering an Evisun isolated DC-...
David R's user avatar
1 vote
5 answers
242 views

Clock Signal over long distance

I'm building microphone array using 16 ICS-52000 MEMS microphones and I propably have problem with clock singal because of the long distance. Below is output signal of the 8 microphone I have already ...
erysvh's user avatar
  • 41
1 vote
4 answers
2k views

How can I read 50kV using the built in ADC of a Teensy microcontroller?

Can I use the voltage divider like shown below for stepping down the voltage to 3.3V? Is there a better solution to digitise the voltage values?
Rohan Kharvi's user avatar
1 vote
1 answer
66 views

Detecting Bus Presence

I have a PCB that connects to an existing device through a simple parallel bus. I want a way to determine whether this device is connected or not. The data lines aren't of any help, as they are ...
Enrique Cortez's user avatar
2 votes
3 answers
924 views

Sending a float type values over CANBUS

I need help in sending float-type values over CANBUS. I'm working on data acquisition of an fsae car. I'm using Teensy 4.1 and Teensy 3.5 using MCP2562 and MCP2551 CAN transceivers (respectively) to ...
megahgan's user avatar
1 vote
1 answer
74 views

Reading a resistance to earth sensor with a microcontroller

What are the options for reading a resistance to earth sensor from a microcontroller? Scenario: I'm building a digital dash for a vintage car, using a Teensy 4 as the microcontroller. The car is a ...
Brad Robinson's user avatar
2 votes
2 answers
355 views

Teensy (Arduino-like development board) 5V and 3.3V supplies

I am using a Teensy 4.0 microcontroller for a project. For the project, there are lots of peripheral ICs in the design that allow for general purpose I/O, such as multiplexers, ADCs, and waveform ...
Agard's user avatar
  • 21
0 votes
1 answer
68 views

Microcontroller to control 18V Source

I'm Designing a circuit to help calibrate a programable rotary encoder, essentially 18V @ 20ma must be supplied to a certain pin on the rotary encoder to set its position. I am trying to use a N-...
T-Man58's user avatar
5 votes
1 answer
1k views

High-temperature microcontroller

I am looking for a microcontroller to replace a Teensy 4.0. The problem is that the Teensy doesn't cope well with high temperatures. I realise that seeking recommendations for specific products is ...
Juno's user avatar
  • 93
0 votes
2 answers
67 views

Increase amplitude of ultrasonic transmitter

I'm currently working on a project where I want to send an ultrasonic signal from one Teensy 4.1 to another. To do this I've taken a US-100 ultrasonic module apart so that I only have the transceivers....
Martin J's user avatar
0 votes
1 answer
68 views

Power Distribution

I work on a project that need a power distribution method. I thought some schematic bellow that you can see. I don't try that connections because I am not sure. If anyone can warn me about my mistakes ...
TA2ERR's user avatar
  • 99
0 votes
0 answers
241 views

Modifying code for 61-key to 49-key keybed matrix

I'm currently working on a DIY music keyboard project and I have a newbie question as I've gotten stuck in the process and my electronics knowledge doesn't extend past some basic Arduino blink ...
Jelani Thompson's user avatar
0 votes
0 answers
92 views

Vacuum Fluorescent Display (VFD) + Teensy 4.1 (wiring check)

In my current project I would like to control a Vacuum Fluorescent Display (VFD) with my Teensy 4.1. I have made a wiring plan but since I don't have much experience in electronics I would appreciate ...
pentonic's user avatar
0 votes
1 answer
53 views

Connecting Keybed to Microcontroller

I learned some basic Arduino stuff in school but we never really got to the point of reading proper schematics. I was just trying to figure out how to connect this Fatar Keybed I bought to my ...
Jelani Thompson's user avatar
0 votes
2 answers
141 views

Use dedicated display controller MCU or delegate to main Microcontroller?

I am currently working on the design of a handheld instrument for a specific biomedical application (from which I cannot disclose much information due to IP-related issues, sadly). I have a working ...
Daniel Melendrez's user avatar
1 vote
0 answers
94 views

Gated buffer SN74LVC1G125 seems not to work with ADXL357 SPI connection. What is going on?

N.B. this question is cross posted from Analog Devices forum, but wasn't expecting much answer there so I'm also putting it here. Hope that's okay. I have a PCB prototype whereby an ADXL357 is ...
daniel's user avatar
  • 319
2 votes
1 answer
155 views

How to work with `WR` signal; incorrect datasheet for NEC FC40X2EA-AB VFD?

(Caveat: I'm a programmer, not an electronics engineer.) Edit: Fixed a misunderstanding, added better smallest possible sample code. I'm in the process of repurposing an old device containing a 2x40 ...
noughtnaut's user avatar
0 votes
1 answer
560 views

Brushless DC motor with built in controller and Teensy 4.1

I recently purchased a brushless DC motor. This motor is pretty much this one It has a built-in controller very similar to this post: Brushless DC motor with built in controller There are five wires: ...
rian1's user avatar
  • 23
1 vote
1 answer
421 views

Converting 0-3.3 V to 0-12 V

My Teensy 3.6 microcontroller outputs an analog 0 V - 3.3 V signal. I plan to use my Teensy's PWM pin to control the speed of a fan that has 12 V as its 100%. I wish to convert the 0 - 3.3V --> 0 - ...
megahgan's user avatar
0 votes
0 answers
230 views

Microcontroller shared ground with different power supplies

I'm looking at a similar setup to the one shown in this video. What confuses me is that the Teensy microcontroller is receiving power from the USB connection, the servo motor is receiving power from ...
MAP3's user avatar
  • 1
1 vote
1 answer
111 views

What is the best approach to get the data from a single interface pin ultrasonic sensor?

I am using a Teensy 4.1 to get the data from the TDK B59150X0754P030 sensor. The sensor is working on 8 to 12 VDC. Three pins are there to get data (Vin, Sig, and Gnd). The Sig pin is bidirectional ...
Maharshi Oza's user avatar
0 votes
1 answer
292 views

I need a 3.3V relay that connects a Teensy 4.1 to 10 24V solenoid valves

I am in a school project. I need a relay that can connect a Teensy 4.1 to a 24 VDC solenoid. We have around 10 solenoid valves and 4 transducers but the only thing to be considered right now are the ...
Kashyap Kada's user avatar
1 vote
1 answer
438 views

Arduino Sensor data Logging

I am currently using a Teensy 3.2 to log data from a sensor. My current strategy is to print the sensor data onto the serial port using a 115200 Baud rate. I then use Putty to log the serial data into ...
Marko Jurisic's user avatar
1 vote
1 answer
702 views

Using CAN with Teensy 4.1 is better than using RS-485 which requires extra converter?

I am using Teensy 4.1 and need to communicate with motor driver which supports CAN and RS-485. In teeny4.1 CAN is supported yet it requires CAN transceiver whereas if I want to use RS-485 I need to ...
dharmikP's user avatar
  • 525
0 votes
0 answers
266 views

Teensy read two encoders simultaneously

I am trying to read two Quadrature encoders at exactly the same time. They are 4000CPR encoders, and they will be spinning between 10 to 60 RPM. The two encoders are mechanically paired to the same ...
Marko Jurisic's user avatar
0 votes
4 answers
149 views

I2C Strange goings on

I am using a Teensy 4.0 and an MCP23016 Port Expander (only I2C device) on my PCB. I have 4k7 pullups to 3V3 on SDA & SCK. SCK track is 77.9 mm long, 0.254 wide. SDA 64.3 mm long, 0.254 wide. I ...
smalljimmy's user avatar
2 votes
2 answers
3k views

Series resistor and Zener as overvoltage protection for ADC input

I am trying to come up with a simple overvoltage protection circuit for a Teensy's ADC inputs, which can only handle voltages between 0-3.3V. I am studying EE in college, but I haven't yet done much ...
mistasef's user avatar
2 votes
1 answer
386 views

DM542 driving Nema17 controlled by a Teensy 4.1, random stepper stalls

I am trying to drive 4 Nema17 stepper motors using 4 DM542 drivers, controlling them using a teensy4.1. The step and direction signal is level shifted to 5V, the DM542 are powered using a separate 48V ...
AndGL's user avatar
  • 146
1 vote
1 answer
196 views

Resizing a vector with ARM CMSIS DSP on Teensy 4.0 (Cortex M7)

I have the following code that does the resizing of a 1D vector with nearest neighbor interpolation in a similar fashion you'd also resize an image, only in 1D rather than 2D. Another term would be ...
Max Walczak's user avatar
1 vote
0 answers
235 views

How to obtain torque constant for stepper motor?

I want to measure the torque constant of a stepper motor but seems I am doing it wrong. I have an MST342C02 stepper motor (200 step/rev and 4 phases) with SMD42C2 Driver. I have a converter that gives ...
Amirmkr's user avatar
  • 11
2 votes
1 answer
710 views

How to convert the ADC/PDB part code of Teensy 3.2 for Teensy 4.0

I was working on two thumb ECG device on Teensy 3.2 but Teensy 3.2 was out of stock everywhere, so I was having only option to buy Teensy 4.0, now I was having code for Teensy 3.2, the below code is ...
Rohit gupta's user avatar
3 votes
3 answers
378 views

ADS7822 wrong output values (SPI)

I am facing some issues with the output values from an ADS7822. The ADC is adequately bypassed and wired up, as follows. Please note that the inverted pins on the schematic are not an issue. I routed ...
Daniel Melendrez's user avatar
0 votes
0 answers
72 views

What flaws can be found in my Teensy 4.1 Break Out Board for Mini Sumo Robot schematic?

My schematic is divided in 4 different parts for easy understanding. First off, we have the power supply, it is composed of a screw terminal where the positive and negative end of a 3 cell, 11.1v LiPo ...
EdimarDigital's user avatar
1 vote
2 answers
105 views

No connection from wired protoboard

I am using protoboards for the first time, and I can't seem to get the circuits I am making on them to work. I would have no problem getting these circuits working on a breadboard, but for some reason ...
JLCarveth's user avatar
0 votes
2 answers
65 views

Separating power ground from control ground to exceed NMOS threshold voltage

I'm a novice circuit designer looking to create a high voltage source follower NMOS circuit. I originally planned to use a Teensy digital I/O pin as the gate control signal, so when the Teensy ...
asyndeton256's user avatar
1 vote
0 answers
209 views

Teensy++ 2.0 doesn't jump into bootloader using software

I have a Teensy++ 2.0 with 90USB1286 CPU running QMK. I'm trying to make it jump into the bootloader using the QMK software. I tried two approaches: Mapping a RESET...
Jakub Jindra's user avatar
0 votes
1 answer
103 views

How to make AT90USB646 run at 3.3v VCC?

[WHAT I DID] I've made one prototype of AT90USB646 running at 16MHz, 5V. The design is almost the same as Teensy++ (schematics can be found here https://www.pjrc.com/teensy/schematic.html). [WHAT I AM ...
Leo's user avatar
  • 101
0 votes
1 answer
924 views

How to read 5V sensor signals on a 3.3V logic microcontroller?

I have a Teensy 4.0 which cannot handle more than 3.3V on its IO pins. I have an ultrasonic sensor for which the minimum power supply is 3.3V. If I power the sensor with the Teensy's 3.3V source, it ...
Ahmed Anwer's user avatar
1 vote
3 answers
2k views

What's happening to my stepper motor at high RPM?

I am trying to get high RPM output from my stepper motor, but no matter what I try I can't get it to spin more than 65,000 steps/sec. I have tried many combinations of settings, drivers, power supply, ...
Harsh Dobariya's user avatar
1 vote
2 answers
2k views

Driving step motors using microstep drivers with teensy 4

I am trying to drive two stepper motors NEMA23 with two DM542 microstep driver (one for each) and a Teensy 4.1 as controller: http://tinel.com/uploads/DM542.pdf Please find datasheet of DM542 here: ...
Armand's user avatar
  • 21
1 vote
2 answers
201 views

Reading oil pressure switch from motorcycle with Teensy (Arduino)

I'm trying to read a oil pressure switch (I'm actually not sure about the sensor type) from my motorcycle (ZX6R) with a Teensy 4 board (Arduino like). Here is a picture from the electrical schematic: ...
guidout's user avatar
  • 119
1 vote
1 answer
228 views

common anode LED forward voltage higher than pin

I want to use this led with my teensy 4.0. The specs are Red: 2.1-2.5V Forward Voltage, at 20mA current, Green: 3.8-4.5V, Blue: 3.8-4.5V. I can supply either 3.3v or 5v. Since it's a common anode LED ...
jujumumu's user avatar
  • 127
0 votes
1 answer
226 views

connecting teensy + A4988 carrier + motor

I am very new to electronics and I am trying to wire a teensy 3.2 to a A4988 driver carrier and a (unipolar???) motor. I have zero clue what I am doing but I am trying my best to follow the diagram ...
TheHidden's user avatar
  • 101
0 votes
1 answer
149 views

Converting 12 Volt Lipo to 5V with Buck Convertor

I'm trying to power a large bank of LEDs that require 5V at 5 amps. I plan to use a 12v hobby Lipo attached to a buck convertor to step that down. I also need to power a teensy microcontroller with ...
Billathekilla's user avatar
0 votes
0 answers
144 views

Help with SPI routing for a display

I’m designing my first PCB and got weird SPI issues after my second revision of the PCB layout. I did a few small changes for the SPI routing in the second revision but nothing that I thought would ...
Kalle's user avatar
  • 1