Happy birthday Paul!!
Type: Posts; User: XFer
Happy birthday Paul!!
Impressive work, Rolf!!
Lots of nice suggestions, thank you!
Sorry, I was not clear.
I was not searching another algorithm to read encoders, I've tried them all.
I was looking for hint to port Luni's library specifically, from Teensy-only to other boards.
Yes, it's for the (only) USB Host port of the Teensy 3.6.
Sure, it's the standard USB Host T3.6 library which comes with Teensyduino:
https://github.com/PaulStoffregen/USBHost_t36
By the way.
I'm using the great EncoderTool library by luni:
https://github.com/luni64/EncoderTool
It's absolutely, by far, the best I've ever tried. Much better than Paul's library, which is...
It depends on what you're driving. For CEM 3394, for example, you just need 100nF caps.
GTK2 dev package is still available on Ubuntu 20 (libgtk2.0-dev).
Not sure if it helps.
Interesting library, thanks!
If you declare a global variable like
USBHost gUSBHostPort; // g prefix for "global"
USBHub gUSBHostHub(gUSBHostPort);
MIDIDevice gInputMIDIUSBDevice(gUSBHostPort);
then in main loop you...
Large soundfonts/samples are not exactly easy to manage with a microcontroller, even as powerful as the Teensy.
The 4.1 has a very fast integrate microSD slot and quite some RAM for buffering;...
Thank you Michael!
A bit expensive in EU (Eur 85 + shipping), will ask about overseas shipping (worried about shipping time and customs).
Yes, sorry, I have the bad habit of using the term in a generic way, for both multiplexing and demultiplexing.
If you demultiplex each DAC to say 16 channels (example: CD74HC4067, quite cheap), with...
Depending on the needed accuracy and speed... what about T3.5/3.6 integrated DACs?
T3.5s and 3.6s have two onboard 12-bit, independent DACs (pins A21 and A22). You could multiplex them (cheap...
Hi,
until now, I used the well known small OLED and TFT displays, up to 2.8", without issues.
Now I need something much larger: say 4.3" as very minimum, 7" if possible.
Resolution is not...
I use VisualStudio 2017 + VisualMicro for most of my work (minus TI and Microchip stuff). I like it a lot!
I fire up the Arduino IDE only for very simple stuff and trying example sketches on the fly.
I've read those data and they are not really telling much, apart from the very high sleep power consumption (1400 uA @ 5V).
Well I guess someone will post real world figures in a few weeks.
Does anybody has clear figures of actual power consumption, for the Pico?
I know, I seem to be the only one around here who cares a lot about power consumption ;) , but for me that's very important...
Pin number 13 is already "tied" to the onboard LED of Teensy 3.2. So it will always engage the onboard LED.
That said, you can still add another (external) LED to pin 13.
LEDs need series resistors...
Sure!
Read here:
https://www.pjrc.com/teensy/td_libs_Bounce.html
let us know if you need more support.
Just a quick note: your "delay(3)" works for 115200 data speed; but it's not going to work for different speeds.
With my HC-05 (v2 and I only use it as slave, so cannot help with INQ) I have to...
Assuming you're using Arduino IDE 1.8.12 with Teensyduino 1.52 installed, you could use the example:
"Examples->04.Communication->Serial.passthrough"
as a base, replacing "Serial1" with...
I don't know what Paul thinks about it, but I have to say I prefer 3.x to 4.x unfortunately.
4.x has too much power draw for most of my projects, even at lower clock speeds, and the powersave/sleep...
Paul asked to wait until final Teensyduino 1.53 is out: he does not want to discuss future models until then.
I have enabled 8 Mhz and 2 MHz in boards.txt and tried a few sketches on the LC.
Powered at 3.3v by Vin with Vin-Vusb cut:
Run @ 48 MHz = 11.8 mA
Run @ 24 MHz = 9.3 mA
Run @ 8 MHz = 4.3 mA...
You don't tell which development environment you are using.
If it's Arduino IDE + Teensyduino, you are already using the FPU automatically, no need to take extra steps. The compiler already...
You mean the setup runs fine and finds the board ("BNO found"), but the main loop never prints anything (so myIMU.dataAvailable() returns false)?
Yes, this is very unfortunate.
I have a lot of code, developed for T3.6, which uses "regular" SdFat with SdFatSdioEX objects.
Now I can't use it with T4.1, because SdFat Beta does not provide...
Thanks for the report.
Is this with "raw" wavetable only, no modulators?
Not familiar with the Audio Library.
VisualMicro does not really hang; it just takes say 20s pauses once in awhile, for whatever reason. :confused:
Not common, but happens.
I routinely use VS 2017 with Visual Micro (registered version).
I like it very much; sometimes it has looong pauses (to the point that VS complains about the Visual Micro extension) but all in all...
You can't declare an argument of a function like that.
Moreover, you declare Squat but in the function body use MotorValues instead.
Try:
void Ev_GoTo_Pos_Struct (Way_Pt MotorValues)
{...
You cannot initalize a struct that way, it's not an array.
Also your declaration does not define a type.
This should work (untested):
typedef struct Way_Pt {
float M1;
float M2;
Excellent, many thanks Paul.
Will report back.
Hi,
always struggling with power budget, I would like to run the LC at less than 24 MHz (I don't care about USB).
T3.2 has 16/8/4/2 MHz, LC has not.
It there a way to add slower speeds to...
Have you tried with the latest Teensyduino (v1.52)?
That's usually a good idea, expecially for T4.x
Hello and welcome!
Absolutely what Paul said, of course.
Just a quick glimpse:
Different GCC optimizations levels (think -O1, -O2, -O3)
Wow, that's BAD! :(
It would render the T4 unusable for most of my projects.
I had hoped for at least T3.6-level sleep currents (hoped for even better power saving, since the chip is newer and...
A level (fast) shifter may be the right solution.
Zeners are tricky and introduce a parasite capacitance which may smooth out signals.
ma? Are you sure?
A soldering iron:
https://hackaday.com/2017/07/24/review-ts100-soldering-iron/
Just to give the ball a first kick: I'm currently tipping my toes on BT (firmware to connect a medical device to an Android smartphone), and used WiFi in the past for a custom project (performing art...
If you prefer soldering irons to stations, I use an Ersa Multitip C25 and a very, very nice TS100, which I love more and more.
Purchased both on Amazon (IT).
Yes; just one, and 12-bit only
It may reduce LED brightness, no damage to Teensy. :)
It says the video is not available?
Please avoid removing the resistors and plugging the LEDs directly to the Teensy pins.
You risk damaging the Teensy.
You don't need a 12V PSU to measure the current:
Replace your resistor...
You can't include both <i2c_t3.h> and <Wire.h>. Include <i2c_t3.h> only.
If other libraries include <Wire.h>, the only way is replacing every Wire.h with i2c_t3.h across every source of the...
Hello, is there a calibration routine to be performed?
I tried to work on a project for an underground orientation instrument, but stumbled upon unreliable devices (mag + gyro + compass), even...
I got crazy trying to find a reliable unit. I tested maybe 3 o 4 of the most talked about, with tilt compensation etc., with "sphere" calibration etc.
Never got reliable results. Gave up in the end....