Good morning, I recently purchased a teensy 3.6 for use in a project of mine. I'm not sure the 3.6 is the best board for my project, but I needed a tiny, fast board and teensy seems to be regarded very highly. (I also wasn't sure which teensy to get, but the shipping cutoff time only gave me a few minutes to decide, so I figured I'd be better with too much power than not enough.)
I won't actually have the teensy in hand until this weekend, so some of my questions might be kind of abstract.
My intention is to use the teensy to communicate certain status information with a PC via the USB port. The teensy would actually be inside the PC case and powered directly from the PC's ATX power supply (5v line) with the VUSB trace on the teensy cut (so if the 5v line turns off, the teensy also turns off even if the USB line is still powered.)
(BTW, please pardon me while I specifically thank PJRC for the extremely simple way to cut the USB->Vin trace. On a arduino pro micro, it's not possible. On a Due, I had to attempt to desolder a mosfet the size of a grain of sand. (which I failed at, but I did manage to saw it off with an exacto knife.))
As mentioned, the USB will used for communication (message passing), and I've seen suggestions that I can actually use raw HID to communicate with the PC instead of a serial emulator. (Thank you!) Are there any examples floating around of using raw HID on the teensy 3.6 talking to Windows? I'm fairly fluent with Windoze programming, but never attempted raw USB HID before...
With the above, there might come a time when I want to reprogram the teensy (without physical access) through the same USB connection I'd normally use for passing messages. I assume that my program will need some way to kick the teensy back into a bootloader to get into whatever mode the teensy uses for loading programs. I found code for teensy 2.x modules to jump directly into the bootloader (https://www.pjrc.com/teensy/jump_to_bootloader.html), but I can't seem to find anything similar for teensy 3.6. Is it possible for the teensy 3.6? If so, where is the bootloader address I'd jump to? Is there a better way to handle this situation (of wanting to reprogram the teensy?)
Would it be safe to encase the teensy in hot glue (after making all my needed connections, of course) while leaving the reset button, SD slot opening, and USB connector exposed? My hope is that I can drop the board into a small metal box after encasing it in a hot glue insulator. If there are any parts on the teensy that might require a cooling, what are they and can I just use thermal tape to attach a heatsink to them before encasing in glue? (The hot glue would serve an additional purpose of securing solder points - my soldering skills suck.)
Thanks in advance (and thank you for the new toy.. er.. platform..)
Gary
I won't actually have the teensy in hand until this weekend, so some of my questions might be kind of abstract.
My intention is to use the teensy to communicate certain status information with a PC via the USB port. The teensy would actually be inside the PC case and powered directly from the PC's ATX power supply (5v line) with the VUSB trace on the teensy cut (so if the 5v line turns off, the teensy also turns off even if the USB line is still powered.)
(BTW, please pardon me while I specifically thank PJRC for the extremely simple way to cut the USB->Vin trace. On a arduino pro micro, it's not possible. On a Due, I had to attempt to desolder a mosfet the size of a grain of sand. (which I failed at, but I did manage to saw it off with an exacto knife.))
As mentioned, the USB will used for communication (message passing), and I've seen suggestions that I can actually use raw HID to communicate with the PC instead of a serial emulator. (Thank you!) Are there any examples floating around of using raw HID on the teensy 3.6 talking to Windows? I'm fairly fluent with Windoze programming, but never attempted raw USB HID before...
With the above, there might come a time when I want to reprogram the teensy (without physical access) through the same USB connection I'd normally use for passing messages. I assume that my program will need some way to kick the teensy back into a bootloader to get into whatever mode the teensy uses for loading programs. I found code for teensy 2.x modules to jump directly into the bootloader (https://www.pjrc.com/teensy/jump_to_bootloader.html), but I can't seem to find anything similar for teensy 3.6. Is it possible for the teensy 3.6? If so, where is the bootloader address I'd jump to? Is there a better way to handle this situation (of wanting to reprogram the teensy?)
Would it be safe to encase the teensy in hot glue (after making all my needed connections, of course) while leaving the reset button, SD slot opening, and USB connector exposed? My hope is that I can drop the board into a small metal box after encasing it in a hot glue insulator. If there are any parts on the teensy that might require a cooling, what are they and can I just use thermal tape to attach a heatsink to them before encasing in glue? (The hot glue would serve an additional purpose of securing solder points - my soldering skills suck.)
Thanks in advance (and thank you for the new toy.. er.. platform..)
Gary