-
Older Activity
-
Today, 11:23 PM
Tim
That cycle connect/disconnect I have seen before so yeah probably what happens. I don't have the same device so I can't tell if its just the device. I have this keyboard that I tested with:...
125 replies | 3298 view(s)
-
Today, 10:59 PM
Interesting. Sounds like there really isn't an end all be all Serial protocol. I will keep moving forward with my own findings and implementation then.
I am using half-duplex RS485. Thanks for the tip on the...
5 replies | 46 view(s)
-
Today, 10:54 PM
Realized I made some mistakes and here is an updated version. Hoping for feedback.
18 replies | 188 view(s)
-
Today, 10:46 PM
With the JoystickBt sketch running and BT dongle on I picked up my Logitech K480 'three device' keyboard { has a rotary switch to associate with three devices }
{ I got one - would not connect to phone one phone but...
125 replies | 3298 view(s)
-
Today, 10:22 PM
Gotcha. Well, should you decide you'd like someone to take a look, I'd be happy to.
I will check out Chris's library. I remember looking at it awhile back and I think I remember that he had an RDM querrier. I can't...
22 replies | 5606 view(s)
-
Today, 09:33 PM
The poor audio library is starving for more memory!
// CS42448 Sound Board initialization
AudioMemory(16);
You're trying to bring in 16 channels from TDM plus 2 more from WAV player, and then...
1 replies | 11 view(s)
-
Today, 09:26 PM
Thanks. Yes, I’ve dabbled in a few RDM responder implementations. One of them passes most of the OLA tests and another is a minimal implementation suitable as a .ino example. Haven’t decided if, or in which form I’ll...
22 replies | 5606 view(s)
-
Today, 09:15 PM
Thanks again Michael.
Yes, thanks, I've used it many times, along with various breakout boards that support it with pogo pins.
I have successfully helped others "get started" by passing along almost all my...
6 replies | 103 view(s)
-
Today, 09:11 PM
So did anyone successfully made Field Force enabled device? I'm building something similar. I have built a game wheel with 2 paddles it is working perfectly fine except vibration feature which I'm unable to implement it...
17 replies | 8447 view(s)
-
Today, 08:38 PM
I managed to solder two CS42448 Boards from OSH Park https://oshpark.com/shared_projects/2Yj6rFaW
in this thread: https://forum.pjrc.com/threads/54666-Sound-clips-to-be-sent-to-one-of-three-devices
Playing WAV files...
1 replies | 11 view(s)
-
Today, 08:29 PM
I suspect it may be helpful to realize that the pin left of pin 12 is a 3.3v pin and the pin left on pin 13 is a ground pin. If you use appropriate pull-up or pull-down resistors and MOSFETs, you might be able to...
6 replies | 103 view(s)
-
Today, 08:25 PM
If you look at the bottom side of the 3.2, you can see a solder pad labeled 'RST'. If you solder a wire to that pad, and then connect that wire to ground, it will reset the Teensy.
...
6 replies | 103 view(s)
-
Today, 08:25 PM
Hey Shawn,
Congratulations on another major release!
I'm curious if you have any examples of a project that implements an RDM responder and uses the data to say, change the DMX receive address.
I am looking at...
22 replies | 5606 view(s)
-
Today, 08:02 PM
The following code seems to work roughly as expected (not exhaustively tested). Note the addition of the preprocessor directive "#define TEENSY_3_6_PRO" at the top of pins_teensy.c, enabling the extended IO definitions....
49 replies | 2244 view(s)
-
Today, 08:00 PM
This is not the real problem... I think the tdm input and the tdm output did not like each other, the way I connected everything. Starting a new thread.
14 replies | 389 view(s)
-
Today, 07:48 PM
Thank you Michael.
Duh, I guess I should have been more specific and said that for this application I've only focused on the edge pins, and none of the underside or end pins. That's what I was thinking, but just...
6 replies | 103 view(s)
-
Today, 07:41 PM
Thanks for the recall in context Mike.
Odd that the plugged usage is unusable - just streaeaeaeams messages! I suppose it is not recognized? But yes, notes on Amazon suggest plugging for first use. I put a HUB on...
125 replies | 3298 view(s)
-
Today, 07:29 PM
May not help, but in testing the NXP EVKB eval board, there was a low power SDK example in
boards/evkmimxrt1050/demo_apps/power_mode_switch/
The example changes CPU speeds and exercises various sleep modes, but...
1825 replies | 47030 view(s)
-
Today, 07:26 PM
Check this out regarding PS3 Bluetooth: https://forum.pjrc.com/threads/49358-T3-6-USB-Host-Bluetooth?p=198174&viewfull=1#post198174. Doesn't work yet.
Wired my PS3 works fine.
USB Host Testing
960
*** Device HID1...
125 replies | 3298 view(s)
-
Today, 07:18 PM
JOYSTICK UPDATE - JAMSWALL PS3 Controller Wireless,Bluetooth Dualshock3 Gamepad plugged direct into USB!!!
I don't know if this will help Bt detection?
From USB Serial:
*** Device HID1 54c:268 - connected ***
...
125 replies | 3298 view(s)
-
Today, 07:16 PM
Thanks! I kind of like this approach - seems like it could be lower noise than my original idea.
3 replies | 41 view(s)
-
Today, 07:13 PM
Okay FULL_DEBUG running :: T:\arduino-1.8.8T4_146\hardware\teensy\avr\libraries\USBHost_t36\examples\JoystickBT\JoystickBT.ino
with >> BluetoothController bluet(myusb, true, "0000"); // Version does pairing to device...
125 replies | 3298 view(s)
-
Today, 07:02 PM
Tim
Sorted that out its pretty much a non-issue if you stick with just using USBHDBGSerial for debugging. As for your PS4 BT Joystick - it should except for the things I am trying to figure out - expanded report to...
125 replies | 3298 view(s)
-
Today, 06:59 PM
Well there is the obvious form factor issues:
The back row pins on the 3.2 are in a different location than the middle row pins of the 3.5/3.6. Each of the LC, 3.2 and 3.5/3.6 have different pins in those 5 pin...
6 replies | 103 view(s)
-
Today, 06:51 PM
MIDI is probably the most popular serial protocol for unidirectional data flow. Having 1 bit dedicated to indicating the start of message is simple, but "wastes" 1/8th of the bandwidth. The same can be said of the...
5 replies | 46 view(s)
-
Today, 06:50 PM
This 'plugable' logo is on the 0xff dongles I have: https://www.amazon.com/Plugable-Bluetooth-Adapter-Raspberry-Compatible/dp/B009ZIILLI
Not sure about the first but, Amazon says I bought the last one not so long ago :...
125 replies | 3298 view(s)
-
Today, 06:49 PM
Of course it refers to the array index! I can't believe I missed that.
For now, I'm inclined to pad the array and maintain the established numbering.
I will finish populating the rest of the new pin numbers and...
49 replies | 2244 view(s)
-
Today, 06:32 PM
@KurtE
I did some checking and trying to figure it out. The only I see is that joysticktype is 0 when it hits rumble. Just to test rumble I copied transmitPS4 to default :) yes I know its a hack.
Now for the...
125 replies | 3298 view(s)
-
Today, 06:22 PM
Hi Paul,
Just as an update, it looks like the issue is in my handling of serial data.
I have not located the specific issue in the original code i uploaded, but I wrote a new program that is similar, and working...
5 replies | 46 view(s)
-
Today, 05:51 PM
@mjs513, Yep - I had the whole section commented out instead of just the part that was not complete to allocate memory...
Trying to decide on how to do the string memory here as the string buffer stuff was put into...
125 replies | 3298 view(s)
-
Today, 05:46 PM
When you call pinMode, portConfigRegister is called, which is defined in pins_arduino.h. This is simply calling digital_pin_bitband_and_config_table_struct digital_pin_to_info_PGM from pins_teensy.c with the index of...
49 replies | 2244 view(s)
-
Today, 05:02 PM
More info: I have tested pins 72-74, and 95-99. All pins still freeze the processor.
Current info below:
core_pins.h (do NOT use my old posts, I found an error and cannot edit those posts)
/* Extended pin...
49 replies | 2244 view(s)
-
Today, 04:50 PM
Pete, that is fantastic.
Thanks so much.
So, as soon as i copy just x Bytes it throws the bytes in little endians, and i could not do it as easy as i want.
Your solution is perfect, easy, small and working :)
It...
4 replies | 40 view(s)
-
Today, 04:36 PM
@KurtE
I just tried the dongle that didn't work. With that change you made I can confirm that it works. Matter of fact, think it works better than the CSR dongle.
This is the dongle that now works:...
125 replies | 3298 view(s)
-
Today, 04:29 PM
Just got my T4 and expansion board yesterday, just been poking around for now. Going to work on the low power stuff soon but it looks like I will have to mess with the cpu speeds, voltages and multiple PLLS + Doze bits...
1825 replies | 47030 view(s)
-
Today, 04:10 PM
Haha, that would be correct! Thanks, Brian. I added the following after line 106 of pins_teensy.c (still just working with these three pins):
{GPIO_BITBAND_PTR(CORE_PIN72_PORTREG, CORE_PIN72_BIT),...
49 replies | 2244 view(s)
-
Today, 03:50 PM
After spending enough time to install Arduino 1.8.8 and Teensyduino 1.45 on Ubuntu 18.04.2 or Mint 19.1 without ever getting it to work properly I gave up on this.
Copied a working Arduino 1.8.5 and Teensyduino 1.41 ...
26 replies | 185 view(s)
-
Today, 03:38 PM
Re: my misbehavin' first beta unit
Paul,
Just curious. Have you had a chance to look at my first beta unit that required hitting the program button for every reload?
1825 replies | 47030 view(s)
-
Today, 03:37 PM
Let me ask this again... can anyone tell me if there are, or what would be the compatibility issues with designing a socketed PCB that allows either a Teensy 3.2 or a Teensy 3.5 / 3.6, for the additional pins, to be...
6 replies | 103 view(s)
-
Today, 03:29 PM
@mjs513 - Yep I screwed up see previous post...
125 replies | 3298 view(s)
-
Today, 03:22 PM
This should do the trick:
unsigned char byte1 = { 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0xDE, 0xFF };
unsigned long result = 0;
unsigned long realResult = 0;
unsigned long ByteToLong( byte const *pData, byte...
4 replies | 40 view(s)
-
Today, 03:21 PM
I use the headphone output, that is meant to be used with headphones in a medical teaching lab in our university. For the moment just evaluating the possible solutions. All the hardware in Teensy 3.2 and the Audio...
6 replies | 35 view(s)
-
Today, 03:05 PM
sample rate is fixed 44.1 kHz
you can change it, if really needed, by additional SW
see for example https://github.com/WMXZ-EU/BasicAudioLogger and routines within
1 replies | 25 view(s)
-
Today, 03:04 PM
I suspect there is something wrong in the shifters. Looking at your data
( damn proportional fonts )
result 412
expect 341
So it looks like you shifted up too far and lost the 3 off the top of the...
4 replies | 40 view(s)
-
Today, 03:02 PM
@KurtE
Ok here is a problem. While setRumble is called it doesn't identify the PS4 correctly so it never gets updated - think I will pull down the latest changes from GitHub.
125 replies | 3298 view(s)
-
Today, 02:59 PM
Maybe need to investigate: I am not crashing, but not seeing the rumble message either now...
:o - I commented out the call that let the Joystick set the type of PS4... Oops, pushed up change to only comment out...
125 replies | 3298 view(s)
-
Today, 02:46 PM
UPdate:
I just pushed an update to github for e)
At claim time, I now have a list of VID:PID (currently only one) that if it is this device, it goes ahead and claims it, even though the device type is not...
125 replies | 3298 view(s)
-
Today, 02:40 PM
Really good of you to come back, Frank, and so quickly.
Yes, I came across this thread and the github stuff - quite by accident when I was searching for anything new on binaural. It's a big puzzle to me why you hadn't...
138 replies | 40719 view(s)
-
Today, 02:35 PM
Morning Kurt
Think I have it sorted out why I didn't see some of my prints - but interesting that it crashes when I did something like uncommenting the debug define in usbhost_t36.
Reason I was curious was because...
125 replies | 3298 view(s)
-
Today, 02:32 PM
What you have done is equivalent to this:
union {
uint8_t byte1 = { 0xff, 0xde, 0xbc, 0x9a, 0x78, 0x56, 0x34, 0x12 };
uint64_t val;
} x;
(x.val >> 3) & 0xfff) = 412
4 replies | 40 view(s)
-
Today, 02:30 PM
@mjs513 - Wonder if the sketch you had running? I assume it did a start on Serial1.begin with some baud rate...
Here is the startup on mine this morning, with some additional stuff in trying to allow that dongle...
125 replies | 3298 view(s)
-
Today, 02:27 PM
The FastLED library is good. There are many demos that generate patterns and the library is very well supported. Whether you decide to replay predefined patterns, reuse existing demo coffee, or write new code.
2 replies | 47 view(s)
-
Today, 02:02 PM
I think this is a fairly open question, so consider a mux. One input to the mux is scaled for 10v signals, another for 5 volt signals, another for 3 volt signals, and a 4th with a gain stage ahead of the mux. The...
3 replies | 41 view(s)
-
Today, 01:57 PM
@KurtE
I wanted to do some debug printing from usbhost_t36 this morning so I uncommented "//#define USBHOST_PRINT_DEBUG" and the it just died on me - not sure its a Serial1 problem or not. This is what I get at the...
125 replies | 3298 view(s)
-
Today, 01:51 PM
That's very helpful, thanks Paul!
16 replies | 652 view(s)
-
Today, 01:41 PM
// GUItool: begin automatically generated code
AudioSynthWaveformSine sine1; //xy=257,110
AudioOutputAnalog dac1; //xy=440,110
AudioConnection patchCord1(sine1, dac1);
//...
1 replies | 25 view(s)
-
Today, 01:38 PM
Hello,
i have a problem and i do not understand why this happen.
I want to write a function where i can extract X-Bits from a Byte Array of 8 Bytes.
What i need are i.e. 12 Bit, started from Byte 0 Bit 4 to...
4 replies | 40 view(s)
-
Today, 12:57 PM
Yes, you'll get the same output signal. The frequency depends on the synthesis in software, which ultimately is tied to Teensy's clock, which is derived from the 16 MHz crystal.
However, if using the headphone...
6 replies | 35 view(s)
-
Today, 12:49 PM
Great! Thanks. I had used a scope on the audio shield audio connector but was not sure.
This goes to the DAC of the Teency (I use 3.5), I assume the audio shield (SGTL5000) would also output correctly the the 16.35Hz...
6 replies | 35 view(s)
-
Today, 12:40 PM
The answer is yes, the waveform object supports sub-audible tones.
Checked just now, with this code.
#include <Audio.h>
// GUItool: begin automatically generated code
AudioSynthWaveform waveform1; ...
6 replies | 35 view(s)
-
Today, 12:39 PM
Thanks a lot for the information.
Basically my task is simpler as I get 12 tones with their frequency as an input and I need only to generate them and mix to output a single note. My worry was that all the discussions...
6 replies | 35 view(s)
-
Today, 12:16 PM
yep, post #730 shows how to retrieve the T4 ether MAC address. Of course, T4 doesn't break out the Ethernet pins like the T3.5/T3.6 do. I did test Ethernet on NXP EVKB eval board.
1825 replies | 47030 view(s)
-
Today, 12:09 PM
I can confirm WM8731 is working in slave mode.
I found my last MicroE-506 board and wired it up to a Teensy 3.2. The connections are exactly the same as master mode, except I removed the crystal and 2 capacitors,...
16 replies | 652 view(s)
-
Today, 11:49 AM
AFAIK, float frequencies are supported. As a simple start, you could use the conversion formula for midi notes (0 - 127, 1 per halftone, 60 is middle C) as follows:
float f = 440 * exp2f((n-69.0f)/12.0f)
Since n,...
6 replies | 35 view(s)
-
Today, 11:29 AM
Hello,
For a small project I am trying to generate a musical note composed of several tones. I use the standard sin generation objects and a mixer. For the moment I just want to have them all the same amplitude.
...
6 replies | 35 view(s)
-
Today, 11:22 AM
Yes, I moved it towards technical support and questions.
Just a little question in this context: Although I do see EventResponder related code in the core files, is there already an API and documentation about that?
5 replies | 46 view(s)
-
Today, 11:08 AM
I see it as "Technical Support & Questions" - well moved! - but I never pay attention to that.
eventResponder is checked - AFAIK - in the same places as serialEvent() - unless it is set to interrupts, if that is...
5 replies | 46 view(s)
-
Today, 10:56 AM
Finally debug_tt is usable on T_3.6 - seems bad on T4:: https://github.com/Defragster/T4_demo/tree/master/debug_tt
The FAULT code is where it is failing - so don't cause any faults and the behavior and output is...
125 replies | 3298 view(s)
-
Today, 10:43 AM
In ever case, this isn't a "Suggestion or bug report", so I will move that thread into the appropriate category.
5 replies | 46 view(s)
-
Today, 10:42 AM
@Defragster: Isn't that the Job of EventResponder?
Otherwise I'd say just chain the Serial-Interrupt, but that's not very Arduino-like.
5 replies | 46 view(s)
-
Today, 10:19 AM
Not clear on your question? There is no IC specific or i2c code shown in the code shown.
Are you looking to monitor incoming USB Serial characters?
If you were looking to watch arrival of UART Serial1 I have done...
5 replies | 46 view(s)
-
Today, 09:05 AM
Thanks @blackaddr I had another look at this last night. It turns out my schematic *is* slightly wrong. CSB and MODE pins were connect to GND net, NOT AGND or DGND, so were basically connected to each other and nothing...
16 replies | 652 view(s)
-
Today, 08:52 AM
The basic steps are:
Install with instructions here
https://www.pjrc.com/teensy/td_download.html
Have a look at
https://www.pjrc.com/teensy/td_keyboard.html
and
https://www.pjrc.com/teensy/td_joystick.html...
2 replies | 65 view(s)
-
Today, 08:41 AM
Several ways to do it, none of them trivial.
By personal preference I prefer to generate pattern on the fly using Perlin noise and similar effects but this requires a fair bit of knowledge about the generating...
2 replies | 47 view(s)
-
Today, 07:29 AM
It turns out that the cause of my teensy not being programmable was due to the bootloader chip going into low power mode after entering deep sleep and not coming back even when the processor woke up from an interrupt....
4 replies | 110 view(s)
-
Today, 07:17 AM
I know, you moved on with another solution.
One observation I made is that (Windows) PC's can behave very strange when USB disappears. I cannot tell which side is not implementing all possible error handling, but I...
4 replies | 110 view(s)
-
Today, 07:11 AM
Hello Everyone.
I am using Teensy3.2
I want to communicate with one IC using I2c protocol i will get value from IC and will do some alterations on it in the place of "hello world" that is mentioned in my code below....
5 replies | 46 view(s)
-
Today, 06:54 AM
Huh, I haven't been able to duplicate the freezing yet, but I think you would need to configure the pins in pins_teensy.c around line 106.
49 replies | 2244 view(s)
-
Today, 06:30 AM
Using MouseBt with that edit I got a connect :cool:
Will trust this to work and get on with my task . . .
USB Host Testing
960
*** Device Bluet a12:1 - connected ***
product: CSR8510 A10
key '0' 48 MOD:...
125 replies | 3298 view(s)
-
Today, 06:07 AM
Mouse - stuff, I need to go through and/or make logic traces of how the drivers talk to the mice to set them up. I would assume pretty close to what the keyboard code does.
Will look more in the morning.
With...
125 replies | 3298 view(s)
-
Today, 05:26 AM
Good to hear MichaelM - I knew I saw something about MAC from Paul - post #731 above and #730 before that from manitou
And this is the current from \hardware\teensy\avr\cores\teensy4\usb_desc.c:
void...
1825 replies | 47030 view(s)
-
Today, 04:37 AM
I currently have a wearable LED project that I want to mix up the patterns I have. I would like to make or generate new patterns. I have looked at different programs (Jinx, Glediator, LEDEdit 2014). These programs are...
2 replies | 47 view(s)
-
Today, 04:04 AM
If you care about precision, an old-fashioned resistive divider can be made quite accurate if you use precision resistors, they don't notice ESD and are probably OK with brief overvoltage. I don't know the specifics of...
3 replies | 41 view(s)
-
Today, 03:52 AM
I just got my beta board, I tend to print various information at the start of my Serial USB output, including the serial # and ethernet address that FrankB's teensyMac returned. Unfortunately, it looks like the...
1825 replies | 47030 view(s)
-
Today, 03:01 AM
DOH - though MouseBt might be the ticket :)
Had to pull the ZIP from KurtE to get changes - somehow my web FORK won't pull them over? And desk top is cloned from that?
So running JoystickBt.ino with Bt adapter it...
125 replies | 3298 view(s)
-
Today, 02:24 AM
Figured as much :) that's why I said do that in between …. May have a couple of questions for your tomorrow as I sort through this.
125 replies | 3298 view(s)
-
Today, 02:23 AM
I was sort of implying that maybe someone (i.e. you) will figure it out before I do ;)
Forgot to mention, that I have now tried e) to have table of VID:PID to try to go ahead and claim. It claims, but I am not...
125 replies | 3298 view(s)