Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: astroyam

Search: Search took 0.00 seconds.

  1. Replies
    20
    Views
    6,443

    Ach, I poked around for something like that but...

    Ach, I poked around for something like that but couldn't find it!
    Thanks, works great, much easier than wires.
  2. Replies
    20
    Views
    6,443

    Yes, I did look at it with a scope, and sure...

    Yes, I did look at it with a scope, and sure enough the pulse is very short. But, code wise, I don't send a pulse, I just set the digital output from pin 2 to low (and don't pull it back up high),...
  3. Replies
    20
    Views
    6,443

    Hi Paul, do you have any insight into the...

    Hi Paul, do you have any insight into the original post above? The re-programming works with a teensy 3.1, but not with 2 of my teensy 3.2s. Here's the code.
  4. Replies
    20
    Views
    6,443

    Thanks Defragster, When you tested it, did the...

    Thanks Defragster,
    When you tested it, did the LED start blinking again after you enter a char in the serial monitor, and did you see the TeensyLoader say 'Reboot OK'? If no to either of these,...
  5. Replies
    20
    Views
    6,443

    Thanks Xenoamor In my code, I am setting the...

    Thanks Xenoamor

    In my code, I am setting the Pin 2 to Low when I try to Program the 3.2. So that is inline with your second statement.
    Looking at the schematic for 3.0/3.1, though, it looks like...
  6. Replies
    20
    Views
    6,443

    Does program pin work on teensy 3.2?

    Hi,
    I'm trying to get the Teensy 3.2 to re-program by setting the Program pin to high from a digital output of Pin 2. I have the TeensyLoader program running in Windows 7 PC.
    I've tested the...
  7. Command line Teensy 3.2 Loader, for Windows?

    Hi,

    Referencing the page at http://www.pjrc.com/teensy/loader_cli.html it seems there isn't support yet for a command line teensy 3.2 loader for Windows (I'm guessing the 3.2 would be the same as...
  8. Replies
    374
    Views
    90,310

    OK, thanks! For 3.0 and 3.1, the internal...

    OK, thanks!
    For 3.0 and 3.1, the internal pullups have been working fine.
  9. Replies
    374
    Views
    90,310

    Teensy LC stalling on I2C code that works on Teensy 3.0/3.1

    Hi,
    The attached code stalls at the line 'writeByte(AMBIENT_PARAMETER, 0x0F);'
    This code runs A-OK on Teensy 3.0 and 3.1. Something about the i2c_t3 library most likely.
    Thanks for any...
  10. Replies
    673
    Views
    371,970

    I have been compiling codes with i2c_t3 with no...

    I have been compiling codes with i2c_t3 with no problem for Teensy 3.0 board type, but if I switch to Teensy 3.1 board type I get errors of the type:...
  11. Hi, I made the i2c_t3.cpp changes listed as...

    Hi,
    I made the i2c_t3.cpp changes listed as well as the Wire.h and Wire.cpp changes Paul posted, but the attached code still gives error: undefined reference to `i2c_t3::begin(i2c_mode, unsigned...
  12. Thanks. I have been using this library for a...

    Thanks. I have been using this library for a while, and had tried a while back to get the timeout feature to fix my issue, and hadn't got it to work. But now with that code plus the WRITE_RESTART,...
  13. Thanks. For some reason the void loop() doesn't...

    Thanks. For some reason the void loop() doesn't show on my screen, and the code stopped at '...get here.' I added the void loop(){} and it works. Thanks for that, I can definitely use it...
  14. Thanks, and yes I believe you could be right...

    Thanks, and yes I believe you could be right about the lines.
    What is the name of that I2C library with the timeout? That would be a great start.
  15. HI there, Thanks for posting the code on how to...

    HI there,
    Thanks for posting the code on how to reset the Teensy 3. I could sure use it.
    It doesn't seem like the whole code posted to the thread? I only see the setup() call but not the loop or...
  16. Replies
    673
    Views
    371,970

    Nox, thanks mucho for the very cool library. ...

    Nox, thanks mucho for the very cool library.

    Using the Teensy 3 as a master device, should the timeout feature in endTransmission and requestFrom allow code to not hang if the slave device SDA or...
  17. We looked at removing the USB connector and...

    We looked at removing the USB connector and soldering... But it seemed tricky to remove the USB connector: it seems it was hard to heat the solder pads evenly enough to remove the connector without...
  18. Hi Paul, Yep, tested it just now and it worked...

    Hi Paul,

    Yep, tested it just now and it worked A-ok. Sweet!
    So as i understand this: this is a change that alters the code that goes onto the Teensy right? (as opposed to a change on the PC...
  19. Teensy 3 is not recognized by Windows after bootup until unplugged/plugged in again?

    Hi,

    I have a Teensy 3 running a simple serial write code and LED blink code. See attached.
    When I first turn on the PC with the T3 plugged in, I see the light blinking but no serial data makes it...
  20. I have them waterproofed, but so far have not had...

    I have them waterproofed, but so far have not had them faced with water. So they have been dry. Also, to confirm, they usually work many days before fail.
  21. Teensy 3 stops communicating or is not recognized by Windows after a few weeks

    Hi,

    I have been using Teensy 3s to pass along sensor data to a Windows PC. I have the T3 in a tube filled with epoxy so it is water proof and the electrical connections are unmovable. I have code...
  22. When using interrupts with Encoder library, occasional huge spikes in CPU time

    Hi,

    I have a Teensy 3 in a code to control a robotic type device, on a pseudo real time loop of 2 msec.
    I am using Encoder.h to read movement of an encoder, with both pins attached to interrupts,...
  23. Is connecting a capacitor across Vin to ground on Teensy 3 a good idea for stability?

    I have been getting intermittent resetting of my Teensy 3 in my lab. There's a lot of electrical noise, and I have had to connect the Teensy to the PC using a USB-isolator for various reasons. As a...
  24. Actually, yes, that would be very useful. Even...

    Actually, yes, that would be very useful. Even just one code for all error states would still be a major improvement. It's a bit frustrating as is because the error source can be several things.
  25. OK thanks. Both the _reboot_Teensyduino_() and...

    OK thanks.
    Both the _reboot_Teensyduino_() and the teensy_reboot.exe in hardware/tools seem to do just what I want, ie load new code without touching the button.
    I understand that if I put in...
  26. Replies
    1
    Views
    1,254

    How to compile rawhid_test ?

    Hi,

    I downloaded make 3.81 from GNU, and added the make.exe to my path. I'm running WIndows 7. I changed the Makefile to choose Windows:
    #OS = LINUX
    #OS = MACOSX
    OS = WINDOWS

    When I run...
  27. Hi Paul, right now the software buttons for...

    Hi Paul, right now the software buttons for uploading and rebooting get greyed out unless I turn off auto mode and press the physical button. Is there a way around that at all?
  28. What am I missing?

    For me here, the 'Program and Reboot software buttons are greyed out, unless I turn off automatic mode and press the hardware button. Is there a way to get them green without pressing the hardware...
  29. Can the Teensy 3.0 be programmed without pressing the button?

    I would like to encase a Teensy for a submersible application, but would like to be able to reprogram it. Since it will be encased, I can't press a button.
    However I am wondering if that's what the...
  30. I2c

    OK, this issue has resurrected in the following way: The attached code fails when line 57 is not commented. We are connecting to the Teensy using rawhid_test.exe. So by fail, I mean that the...
  31. Hi Paul, You were right I had other code here...

    Hi Paul,

    You were right I had other code here causing the main code to not start, in this case HID comms.

    Thanks!
  32. Can the Teensy 3 run fully standalone with no USB, only a 5 V power supply attached?

    I'm a bit unclear on whether the Teensy 3 can run standalone, no USB, only power.
    I have a 5 V supply attached to the GND/VIN pins. I program the Teensy, and have a test PWM coming out of it. I...
  33. OK, never mind. The problem was that the VCNL...

    OK, never mind. The problem was that the VCNL 4010 was disconnected, so the code calls must have been hanging. Not sure how to remove the post...
  34. PWM stops working when I insert I2C code on Teensy 3

    I have working I2C code for the VCNL4010 light sensor and working code for PWM (that I test with an RC filter and look at the voltage output).
    While both of these codes worked fine independently,...
  35. Teensyduino analogReference (INTERNAL) same as default?

    Hi,

    It seems from some posts that to get stabler analogRead voltages, it is best to use analogReference(INTERNAL) for Teensy 3.0 using TeensyDuino. Using a voltmeter, the ARef seems to be 3.3V. Is...
  36. Under 'Details' tab, there are Hardware IDs as...

    Under 'Details' tab, there are Hardware IDs as follows:

    USB\VID_16C0&PID_0483&REV_0100
    USB\VID_16C0&PID_0483

    Thx.
  37. Hi Paul, thanks for chiming in. OK here's what...

    Hi Paul, thanks for chiming in.
    OK here's what I've done:
    - Yes, I am running code, and it does get uploaded because I change the blink rate each time I re-upload, to check.
    - I had installed the...
  38. Thanks. The main thing is that I can't see the...

    Thanks.
    The main thing is that I can't see the serial data: If I try to open the serial monitor either using tools--> serial monitor or ctrl-shift-M I get an error on the bottom screen "Serial...
  39. Using Teensyduino, Tools --> Serial Port is greyed out

    I am using Windows 7, Teensy 3.0, TeensyDuino on arduino 1.0.3.
    I am trying to run a basic serial communication test, the AnalogInput.pde', but the Tools--> serial port menu option is greyed out.
    ...
  40. Ok, looks good, thanks.

    Ok, looks good, thanks.
  41. How does Teensy 3.0 talk to PC in Raw HID mode when using TeensyDuino?

    Is there any documentation for the Teensy 3.0 on how to communicate to a Windows 7 PC when coding the Teensy using TeensyDuino?
    The documentation on http://www.pjrc.com/teensy/rawhid.html seems to...
  42. Replies
    2
    Views
    3,359

    OK, thanks, that worked.. I thought I had them...

    OK, thanks, that worked.. I thought I had them all off, but there was Microsoft Security Essentials, which was the culprit.
  43. Replies
    2
    Views
    3,359

    Trouble installing TeensyDuino -

    I thought I'd followed all the directions for installing the TeensyDuino 1.13 to get Teensy 3.0 working. I am on Windows 7.
    - Downloaded and extracted a fresh Arduino 1.0.3 (also tried the whole...
Results 1 to 43 of 43