Thanks - turns out with this particular stapelberg teensy, if the error writing occurs and "halfkay connect" with keyboard doesn't fix write error, a simple disconnect/reconnect of the USB cable solves it.
This was...
Hi there,
I'm attempting to fine tune the control of a high number (16) N20 DC motors (ref product) rated for 6V. In my application I do not need neither a high torque nor a high precision/reliability of the mottors,...
Unfortunately no - only compiles on Mega or Uno (assuming I download another lib). Was just starting to do modifications and trying to understand the timers before I started hacking. I didn't notice the pre-scalers...
@fdaniels thanks for the pointer on the inductor position – I think I misunderstood your earlier recommendation. This makes much more sense.
Here’s the full circuit that I’m tinkering with. One of the Teensy outputs...
Good to know that you support multiplexed encoders. I got that question recently from a guy who is considering replicating my controller. I will pass the EncoderTool information on to him. Thanks again!
Len
They are doing some tricks with the prescalers to extend the 16bit timers to 32bit. -> Might be easier to use the Teensy 32bit timers instead.
Do you have a version already which compiles for the Teensy? Would make...
Sure, here the documentation: https://github.com/luni64/EncoderTool/wiki For things like volume control it also provides built in value limiting (cyclic and hard stop). Since you are using 11 encoders you might be...
Hi luni, Thanks for the information. On the unit that I built, I use 1:1 encoders from Leo Bodnar in England. My buddy built one with Bourns PEC-11 4:1 encoders. No problem with encoder jitter from either encoder. I...
For what it's worth: I have been using the little brother DSLogic Plus now for over a year and it served me well. I especially liked the protocol-decoder built into the DSview program. The cables a.k.a. "fly wires" are...
Just a note: That works nicely if your application is not sensitive to bounces. E.g. if you use the encoder for set point applications like a volume control or similar. If you need to trigger stuff whenever the encoder...
@luni
If you want to give it a try have fun. I already have a interface made up to control the track switches using a RA8875 and a Adafruit Motor shield so any help would be appreciated.
I was actually going to...
Does anyone know if Paul's NativeEthernet lib has the ability to do Broadcast messaging using UDP?
I searched NativeEthernet.h....didn't find anything that looked related to Broadcast functionality.
I don't know...
Sounds like a fun project :-)
I had a very quick look at the library, seems like it is already prepared for different processors. There are two folders ATMEGA328 and ATMEGA2560 in which a class Timer is derived from...
Good question - not sure what's happening at the wire level. All I know is that if I don't add the delay, nothing arrives on the receive end. Seems like I'll need to get Wireshark running to find out.
In my...
Again not fully knowing your setup.
You can setup a host USB connector to the T3.6.
The simplest way to try it out is using the USB Host cable: https://www.pjrc.com/store/cable_usb_host_t36.html And of course the...
for ordered frames you need FIFO, otherwise you'll have to build your own frame re-assembly code for multiframe (you can build both ways, but FIFO would make the rebuilding easier, also remove events() from the loop().
Sparkfun has a micro-SD sniffer that can be used to access the 8 pins. The design is also available at OSH park:
https://www.sparkfun.com/products/9419
https://oshpark.com/shared_projects/bxBIb105 ($10.30 for 3...
No problem i have ms2 3.4.2 pnp and teensy4 sn65hdv230. Canbus ok rpm tps clt iat voltage etc... Picture my facebook: https://www.facebook.com/tott.alex
You have question no hesitate!
Tott
Hello I was wondering since the calf plugins are written in c++ would it be theoretically possible to rewrite them to run on the teensy 4 with audio adaptor board? Thank you for your time.
@Micki, you get two value increments per detent click because your encoder is a 2:1 encoder. There are also 4:1 encoders that jump 4 values per click. To solve this problem, I multiply or divide by the number of steps...
Just posted the new version Blynk_Esp8266AT_WM v1.1.1 to add support to Teensy 3.x.
Please test and inform if there is any more issue as I have only Teensy 4.0 and 4.1, not Teensy 3.x to verify.
Morning all
Decided to start playing around with porting over the CommandStation-EX. CommandStation-EX (https://github.com/DCC-EX/CommandStation-EX) is a library that currently only supports Arduino Mega and Arduino...
I'm pretty sure powering the octoboard at 5v & gnd connection should power the teensy 3.2 through vin.
If it doesn't you've blown up the teensy 3.3v regulator. Are you saying you are putting 5V on pin A14 and the...
I have missed this post yesterday. I'm happy to tell you that I has not able to break it! Everything looks to be working as expected. Nice work! Thank you very much!
So it does look like the SDHC basic write speed I've tried with test sketches is better than OK, but only if I keep the file open. The easy method is the too slow method, where you open a file, write, and close it on...
you must be overseas, but ya I too hate ebay's shipping program. Why people use It I have no clue. Pitney Bowes is a joke nd they just add in more shipping
by sending it to their shipping hub. They then proceed to...
Thank you, tonton81,
Since I could not do a good job with FIFO, I went back to mail box stuff anyway.
So far I can send and receive OBD CAN message with extended 29 bit CAN communication.
Nevertheless, my goal is not...
Hey Paul,
A shift of 0.5 khz is what I am aiming for.
So between the space and mark frequency a shift of 500 Hz. I understand what you are saying, I am just trying to wonder if there is a simpler way to produce the...
We obviously don’t know the “arrangements” that the RaspberryPi Foundation has with various organisations... but we do know that Eben Upton is a GPU designer at ARM, and they have VERY close links with both ARM and...
Take this with a grain of salt, as I never use Eagle and the version I have is really old (6.6.0) and may not have read everything properly
But when I looked at your T4.1 board, it almost looks like some of the...
Hi ,
I use pwm an serial no problem
but with adding serial1 pwm stop correctly working go to upper limit directly.
same pb with 5 an 6 pin...
code to reproduce :
//
// try with in monitor tape (x 85 mean...
@Micki
Not sure what line 13/14 is but problem these 2 lines:
Encoder knobLeft(5, 6);
Encoder knobRight(7, 8);
If you are using a Teensy 4.x then all digital pins should be able to be used for the encoder pins. ...
I haven't tested teensy to teensy, but I have tested T4.1 to/from linux over 100mbs wired ethernet. The linux box sends 40 1000-byte UDP packets at 97mbs and T41 receives all 40 packets at 94 mbs (94.42 mbs 40...
Problem nearly solved !
Hi mjs513,
today I´ve tried the 2 knobs sketch with my pins 8/9 with the same results.
Than I took Pauls pins 5/6 and it works !!!!
But, what have I to do, if I want to use other pins?
I...
It is a custom ASIC, I expect that includes the fab set up costs too... I bet that the quoted cost is probably for the development of several chips too...
I was just about to suggest ESP as well - lots of examples with good explanations, which helps in determining what are the critical design considerations (power supply, type of capacitors to use, etc.)
Sadly this kind...
Thanks! I've just installed an older version of Arduino and Teensy core 1.51. I'm getting this error - do I need to make changes for my Teensy 3.5?:
...
Honestly I’m not sure about why the delay is needed, also flush for UDP has never done anything. I’m curious if it’s actually not sending out the packet or if the receiving Teensy is just missing it, I’ll admit I’ve...
Hi Paul,
I followed your suggestion and, unbelievably enough, I found that the problem is in the level shifter. :-O
I can't really understand how can a 74HCT245 enter this state... I hope it's a faulty device,...
Thanks Paul, I have a resistor in every dataline (150 ohms). The TeensyBat detector already needed them to keep the the noise out of the bat sound recordings.
I'm afraid an external antenne in the windowstill is not...
When measuring the voltage on pin 13 with a DVM, the LED very dimly lit... pin is floating I guess.
This code definitely does not turn on the LED during boot:
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
...
hi paul!
apologies for delay (ha), i've had computer troubles and had to migrate machines.
in regards to "clean" feedback, here's a sample from my implementation in maxmsp that i've been working to recreate:...
I had problems loosing GPS lock when powering up T4.1+ethernet and using an Adafruit ultimate GPS. I finally bought an external antenna and placed the antenna on windowsill. see thread ...
With this (empty) code, the orange LED is not lit during boot:
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
So I assume your...
It is rather a cosmetic issue, but sometimes there are easy solutions for these kind of problems: I want to use pin 13 as an output to control a led, but during the boot of the Teensy it is lit. Is it possible to alter...
This sort of error usually means poor quality USB signals. Circuitry connected to Teensy which draws too much power can also cause trouble.
Try a different USB cable / hub / port / computer. If possible, disconnect...
I tried several power sources, and planned it to be running from the "powerbank" that also powers the Teensy via a small RC filter. It already proved to be hard to keep all the data signals and pulsed power users like...
Any chance it is running short of power? No doubt you are seeing the RF Noise - just wondering ... Also - What is the satellite transmission freq?
Years back running GPS and IMU I could power the GPS from Teensy...
The Hacksoace #39 magazine (free download) PDF link before has 15 pages of PICO images and details and an then interview/pics with the raspberry Boss on pages 54 to 61 (for 2 pages of Q&A). They spent 3-4 Million...
You still have the Inductor L1 on the wrong place - theres no uses protecting the input of the Linear regulater, you should protect your analog circuitry which still ist directly connected to your (apparently noisy)...
My gut feeling is that there will be a future RaspberryPi SBC which will have this chip uC integrated... possibly taking over the GPIO exposed on the board?
Personally, I don't tend to think of the microcontroller market and dev boards as a war or conflict.
And yeah, since the beginning with Teensy 1.0 in 2008, the situation has always been that you could get cheaper...
I was able to get it to work! To anyone that may benefit from this in the future, my PCB has the LSM 303 connected to SDA 1 (pin 38) and SCL 1 (pin 37) on a Teensy 3.6. Using the code that JBrownlow had as a starting...
The RaspberryPi Pico has a few nice features:
a) 2 cores (and an easy API to control them).
b) Banked RAM, to allow parallel RAM access.
c) PIO... I wish all microcontrollers had this.
-edit- d) Low price...
...
Hi there,
I am using a Teensy 3.6 audio project using the audioboard getting samples on a high rate and a displaying waterfall or spectrum on an Ili9341 3.2" display. (Teensy bat detector thread).
Since I wanted...
Hey JBrownlow, I have spent the better part of my evening trying to solve this issue as I am facing it for a personal project. Were you ever able to get this magnetometer to work with the non standard I2C lines on the...
Sorry for the delay.
The latest version Blynk_Esp8266AT_WM Library v1.1.0 restores the support for Teensy using ESP8266/ESP32-AT command shields. You have to use Teensy core v1.51 in order to be able to open Config...
I am using a USB to RS485 adapter which is wired to the motor so it is convenient to plug this into the Teensy. I am using the Tall Dog breakout board Standard version A2 with the socket attached to the USB2 port
Hello,
I have been playing with Teensy for a while now, and I need some help to build less noisy circuits.
I mainly build musical instruments and MIDI controllers with a lot of pots, switches, sensors,...
If the SD card port is mapped to SPI2, the port can be used for other devices...has anyone made any any shield\hat equivalents that interface via the micro-sd connector?
My rig has worked flawlessly (kinesis advantage staple berg) with QMK until today.
I used QMK to change one key in my keymap, compiled and went to flash the firmware with QMK Toolbox on map. I have 28 different...
I have no experience using the Teensy for USB. Mostly I've used it for digital I/O and logic.
I need to send/receive short (<40 chars) command style ascii strings to/from a digital motor controller that only talks when...
This is partially done in Serial, but I agree that checking for open session is a good idea, especially as PC will time out MTP when session is not established for some time (have not established timeout value, but...
So, I'm shoving packets between two identical T4.1s using UDP and the NativeEthernet library.
Here's the Loop code:
Udp.beginPacket(destinationNodeIP, destinationPort); // aim the UDP packet to the...
Hey Mark, I don't have specific signal requirements per say. My goal is to make an AM transmission with minimum parts added which uses B-FSK at 600 BPS. I guess I can add filtering externally if the signal is too dirty...
@defragster Yes I learned all those older languages too. No semicolons required.
So I did use that little trick about matching the start and ending brackets and all 3 showed up but I did not realize, but should...
Yes as noted by @thebigg - the closing brace wasn't respected on setup() and you can't put a loop() function inside of another function and have it work.
If "Ctrl+T" had been done it would have shown that by...