Ears have been burning again, been re-writing project codebase. Noted a thread about encoders and Midi.
Here is the essence of what my project does with EncPlex. Variations tested on T3.2 - T4.1, Usb Type = MIDI....
To use other SPI ports, see lines 54-57 in the SdFat_Usage example:
https://github.com/PaulStoffregen/SD/blob/97ca5355b19095d9956fea902eb8f85eca312a4b/examples/SdFat_Usage/SdFat_Usage.ino#L54
Board arrived today!
The timing looks much better. Pleased so far.
< 500 ns count is 999999
< 750 ns count is 1
< 1000 ns count is 0
< 1500 ns count is 0
....
Sum of counts is 1000000
With the SD library with SPI1 and SPI2...
Look at the Examples->SD->SdFat_Usage example
It shows some example on how to do things like that, including:
//ok = SD.sdfs.begin(SdSpiConfig(chipSelect, SHARED_SPI,...
I am completely re-breadboarding the whole project, and drawing the circuit diagram as I go to post here.
I decided maybe the better option was to utilise the SPI1 and SPI2 ports on the Teensy 4, but now not so sure...
Make sure you have the latest VLI firmware installed (for the VIA USB chipset), by installing rpi-eeprom,
sudo apt install rpi-eeprom
then rebooting the 'Pi, and finally running rpi-eeprom-update,
sudo...
With DC motor power -> no motion
Power Slave Teensy -> no motion
Remove power from Slave teensy -> still no motion
Yes, it appears that only after the master-slave connection do the motors (controlled by the slave)...
Your code above did not work for me. I had to add delay(10) to the loop.
But your code can be simpler. Just divide the myEnc.read() by 4. And then check for the difference being positive or negative.
#include...
Seems details on the hardware controllers, motors and connections may be needed for related answers.
Wondering: If Master, Slave, DC unpowered::
> Plug in DC motor power: results?
> Then power Slave Teensy:...
I want to use a teensy 4.1 to be able to monitor the audio signal from the PC obtaining it's approximate FFT.
Since I recently installed liquid cooling for the processor and video card of the PC, I would also like to...
Hi,
Working on making a robot that uses multiple Teensy 4.0's to actuate many pairs of motors (5 motors controlled by each Teensy). Each of these Teensy's is controlled by a master Teensy 4.0 that communicates over...
Hi Paul,
my apologizes for my misstake in midi I accidentaly activate the midi output on teensy port after disable output to teensy midi port all work OK.
For info I write this code to send midi only when +4 or -4...
Here is a version of the previous that has been simplified to reduce it to 2881 KB. I took out the silkscreen features and also some internal features of the microsd card and usb port
Hi all,
i am trying to embed Lua 5.3.6 as an arduino library for different boards. Until now i have tested it on an esp32 dev module, and a pi pico, it works nice.
I would like it to support Teensy boards, especially...
Good luck. I know at least with some RPI like TFT displays I have played with. They roll their own and maybe don't use any standard chipset like the SSD...
Thanks, I'll take a look at that.
This one was sold by RPIGear. I'm trying to find out what chipset it uses (on the underside of the backpack) and is a 20 pin chip. A 2004A display with possibly a PIC16LF1829-I/SS...
Obviously it will depend on which display you are trying to use...
But for example SSD1306 - I would try Adafruit_SSD1306
They have a constructor:
Adafruit_SSD1306(uint8_t w, uint8_t h, TwoWire *twi = &Wire,
...
What libraries work with a T4.1 with a I2C Wire2 output for the common 20x4 LCD panels?
So far I'm batting zero with the ones I've tried. Some are supposed to let you override the default, but either that isn't...
Good morning all (at least my time zone)...
So far I have not seen the SD Pull Request (https://github.com/PaulStoffregen/SD/pull/43) has not been merged.
I am debugging this now. Note sometimes it works.......
Think the contrast is excellent for such a small display and the off-axis performance good as well - titled it about 80 deg (just a guess) and was still able to see the display clearly.
@defragster - sorry just saw the post. Yes @KurtE incorporated those changes into his fork of the SD library. Not sure if its been incorporated into Paul's master SD yet?