Forum Rule: Always post complete source code & details to reproduce any issue!
Page 20 of 22 FirstFirst ... 10 18 19 20 21 22 LastLast
Results 476 to 500 of 550

Thread: Coming Soon: Teensy-LC (low cost Teensy)

  1. #476
    Quote Originally Posted by mcsarge View Post
    OK, I will try with the large resistor on SDA as you suggest, but I probably can not do it until Sunday night. Going to see my daughter get her graduate degree from Clemson on Friday! Thanks very much for all the help, I really appreciate it!

    Matt
    I have it working!

    I tried the larger 10K resistor and that did not seem to change anything. I figured I would try the i2c_t3 library and after I converted my code to use that, it started working!

    Thanks again for all the help across the board, I do not think I would have stuck with it if it wasn't for nox771 and Paul, many thanks!

    Matt

    Here is the trace of it receiving the data.
    Click image for larger version. 

Name:	Spectra_to_TeensyLC_Slave_i2c_t3.jpg 
Views:	304 
Size:	143.7 KB 
ID:	4232

  2. #477
    Junior Member
    Join Date
    May 2015
    Posts
    2
    Hey all,
    I've done a quick search over the thread, but was unable to find any info:
    Can the Teensy-LC do the HID Joy/Mouse/KB emulation like it's older siblings?

    And now for a suggestion: When you do these things, you might want to do an update to let all your kickstarters from previous projects know you are doing something new and cool! I managed to miss both the 3.1 AND this for ages simply because I didn't think to check :-)

    (I use my Teensy 3.0 as a 15 Pin Joystick emulator for an old pair of CH Flight foot pedals. Currently expanding it to do whole buch of custom keystrokes to aid in playing OOLITE)

    John "Cheshire" Parker

  3. #478
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,557
    Quote Originally Posted by cheshire View Post
    Can the Teensy-LC do the HID Joy/Mouse/KB emulation like it's older siblings?
    Yes, it can do all the same USB features as Teensy 3.0 & 3.1.

    And now for a suggestion: When you do these things, you might want to do an update to let all your kickstarters from previous projects know you are doing something new and cool!
    Yeah, that's a good point. I really haven't looked at Kickstarter over the last year or two.

  4. #479
    Junior Member
    Join Date
    May 2015
    Posts
    2
    Quote Originally Posted by PaulStoffregen View Post
    Yes, it can do all the same USB features as Teensy 3.0 & 3.1.



    Yeah, that's a good point. I really haven't looked at Kickstarter over the last year or two.

    W00t! That's excellent! (I figured they would)

    Bwahaha! Those are cheap enough I can use them as "disposable" for some of my projects.

    Next payday I'll have to place an order.

  5. #480
    Member neilh20's Avatar
    Join Date
    Jan 2014
    Location
    N California
    Posts
    54
    Hi
    I need to be able to define an accurate Reference voltage for an LC, I'm still working out if its 2.5V or it could be 1.0V - whats the recommended way of doing it.
    I've done a search on this thread for using the AREF pin, and I couldn't find anything/
    https://forum.pjrc.com/threads/28380...-using-the-DAC

    Looking at a 3.1 posting it suggested connecting a LM336 to Aref with enough current to over-ride the internal 480ohm R connecting to VDD - does that still hold?
    thanks

  6. #481
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,557
    Teensy-LC doesn't have the 470 ohm resistor, so you'd need both a LM336 and a resistor.

  7. #482
    Member neilh20's Avatar
    Join Date
    Jan 2014
    Location
    N California
    Posts
    54
    Hello Paul
    Thanks for the quick response. Can you explain or give a diagram of how the KL26Z VREFH is connected to the AREF pin. Its likely to be about 2.4V. Thanks.
    I'm promoting the TeensyLC in specific-conductance probe, which for the analog front-end measurements requires good analog stability and traceability to a temperature stabilized voltage reference.
    https://makerspace.com/u/neilh20/pro...ductance-probe

  8. #483
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,557
    Quote Originally Posted by neilh20 View Post
    Thanks for the quick response. Can you explain or give a diagram of how the KL26Z VREFH is connected to the AREF pin.
    The schematic?


  9. #484
    Member neilh20's Avatar
    Join Date
    Jan 2014
    Location
    N California
    Posts
    54
    Ok many thanks. That makes it simple to connect to VREFH.

  10. #485
    Junior Member
    Join Date
    Oct 2015
    Posts
    2
    Hello Paul-
    Brand new here, and still trying to grasp all the capabilities of the different versions. You have an excellent table for the Teensy LC in this thread, but nothing comparable for 3.1 and 3.2. I can extract most of it from the "3.2 & 3.1 New Features" technical specs, but nothing about INTs and Output sourcing current for the different pins. It took me a while to infer that any pins on the 3.1 and 3.2 can be interrupt enabled by reading posts, but nothing documented. If there are tables out there that I haven't found, please hold my hand and guide me. Thanks.

  11. #486
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,253

    Cool

    Ghjmaui: I put together this table for my own uses that tries to list the various differences between the 4 ARM Teensys (I also have the pinouts of various other processors as separate sheets in the document): https://docs.google.com/spreadsheets...it?usp=sharing
    Last edited by MichaelMeissner; 10-13-2015 at 09:11 PM.

  12. #487
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,557
    Yes, there's a tremendous number of details which add up to a ton of information to communicate.

    When we add a high-end Teensy++ 3.x, I'll probably make a big table comparing all the options. But it's difficult to make a huge table that shows everything and is still easy to read and understand at a quick glance.

  13. #488
    Is there any way to add an external reset button to an LC? Pressing the program button hangs the sketch, is that normal? I'm resorting to power cycling the board which seems crude.

  14. #489
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,557
    The button on Teensy LC (and all Teensy boards) is for entering programming mode. It's *not* a reset button for restarting your program!

  15. #490
    Senior Member xxxajk's Avatar
    Join Date
    Nov 2013
    Location
    Buffalo, NY USA
    Posts
    528
    *YOU* can add a reset button. There should be a pad on the bottom. Just have your switch connected to it and GND. GND resets it.

  16. #491
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,253
    Quote Originally Posted by xxxajk View Post
    *YOU* can add a reset button. There should be a pad on the bottom. Just have your switch connected to it and GND. GND resets it.
    The LC does not have a pad on the bottom for reset. Only the 3.1 and 3.2 have such a pad (and it is in a different location between the two). The only pads underneath the LC are the D-/D+ for USB, and the VUSB/VIN connection pad.

  17. #492
    Senior Member xxxajk's Avatar
    Join Date
    Nov 2013
    Location
    Buffalo, NY USA
    Posts
    528
    Unless you hack it, yes, this is true.

  18. #493
    Maybe this was covered, but I can not seem to find the correct information.

    I would like to use the Adafruit Trinket LiPo Back pack on my LC. It has a 3 connections - GND, Bat and Vin. It automatically switches from battery power to USB power when the USB on the trinket is plugged in. Would it be possible to do the same with the LC? I see that we have the 5V from the USB available, would connecting the other two pins to ground and Vin work?

    I guess the real question is can I power the LC from a 3.7V batter using the Vin pin? It reads 3.7-5.5V, while the Vbat pin on the Teensy allows 3.3-16V.

  19. #494
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,253
    The Adafruit Trinket Pro LiPo backpack won't fit directly on the LC, you would have to wire the 3 pins and place the backpack elsewhere. You would have to cut the trace between VIN and VUSB like you would have to for the 3.0/3.1/3.2 (https://forum.pjrc.com/threads/19228...4024#post44024).

    If you haven't bought the backpack, you might want to look into onehorse's custom board for the 3.0/3.1/3.2/LC. He has two boards, the original one would change smaller batteries, and his newer board charges larger batteries:
    Last edited by MichaelMeissner; 01-04-2016 at 04:30 PM.

  20. #495
    Beautiful,

    Thanks, I have not yet ordered the backpack, but onehorse's boards may be the answer.

    One followup - if I power the LC from a 3.7V battery connected to Vin and do not pug a USB in, should it startup and run correctly? I know if I want to have the USB and the batter in at the same time, I need to cut the trace. Then if I need to reprogram the LC, I need to keep the battery plugged in while I connect the USB.

    Matt
    Last edited by mcsarge; 01-04-2016 at 06:20 PM.

  21. #496
    Senior Member onehorse's Avatar
    Join Date
    Apr 2014
    Location
    Danville, California
    Posts
    921
    You can power the Teensy from a 3.7 LiPo battery. With the LiPo battery charger soldered to the Teensy, even without the battery, the Teensy can be programmed from just the USB cable since the USB provides power to the charger chip, which supplies 4.2 V to Vin even in the absence of a battery. You'll get at most 100 mA this way but enough to program the Teensy.

  22. #497
    Beauty - I am thinking of just using a battery connected to my board directly for now, which a user would have to unplug and charge separately, but adding the option of getting one of your boards to have a simple charge system all included.

  23. #498
    Junior Member
    Join Date
    Jan 2016
    Posts
    19
    Is the Teensy LC compatible with the Teensy "Audio Adaptor Board" (http://www.pjrc.com/store/teensy3_audio.html) ?

  24. #499
    Senior Member Pensive's Avatar
    Join Date
    Aug 2014
    Location
    Basingstoke, UK
    Posts
    562
    No it isn't - sorry. That may change but right now - no.

  25. #500
    Junior Member
    Join Date
    Jan 2016
    Posts
    19
    wow, thanks for the fast answer. Can I make it compatible, or is this an absolutely no

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •