Getting Started with Teensy in the Arduino IDE

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2018
  • It's very easy to get Teensy boards integrated with the Arduino IDE. After installing Teensyduino, the Teensy boards can be selected as targets and sketches can be used easily.
    I wanted to see how fast I could port over a previous Arduino Uno OLED display project and control some LEDs with a Pot, and it was all very easy.
    Sketch: github.com/GadgetReboot/Ardui...
    Arduino Uno OLED Project, used as a Teensy reference:
    • How to use a 128x64 OL...
    Teensy USB Mouse:
    • How To Use an Analog J...
    Getting Teensy Setup:
    www.pjrc.com/teensy/tutorial....
    Fritzing Teensy Component:
    github.com/newdigate/teensy-3...
    Patreon: / gadgetreboot
    Pinterest: www.pinterest.ca/GadgetReboot
    Twitter: @GadgetReboot / gadgetreboot
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 14

  • @beatrute2677
    @beatrute2677 ปีที่แล้ว

    Great vid. I love teensies. been using them for all my projects lately.

  • @electronic7979
    @electronic7979 5 ปีที่แล้ว +3

    Excellent project 👍

  • @georgethornburg9259
    @georgethornburg9259 ปีที่แล้ว

    Thought this was Ben Eater at first, and I thought "well this is going to be over my head"

  • @WouterStudioHD
    @WouterStudioHD 5 ปีที่แล้ว +2

    Hey man! I love your video, it’s very informative!
    I’m a little new to this embedded device thing, but I really want to get into it. I have one question: do you know if I could use a display like this in addition to the teensy audio board?
    I’m on an audio art school, so this looks like a cool next project.
    Thank you in advance!

    • @GadgetReboot
      @GadgetReboot  5 ปีที่แล้ว

      Thanks and welcome to the embedded world!
      If you are using a bigger Teensy board like the 3.6 that I am using, the audio board only plugs into about half of the pins and there’s another I2C port still un connected further down so it should be possible to use that although I’ve never tried.
      Here’s all the Teensy pinouts so the 3.6 has I2C scl1 and sda1 on pins 37/38. The default is scl0/sda0 which the audio board would be connected to so it’s best to use a fresh set of pins.
      www.pjrc.com/teensy/pinout.html
      Since the default used is port 0 and the idea would be to use port 1, the commands Wire.setSDA and Wire.setSCL should work to change the port number when using another device but I’ve never tried.
      www.pjrc.com/teensy/td_libs_Wire.html
      So I’m not sure what happens in the libraries when we manually change the pins, if the code for the audio board automatically still addresses the correct port for itself after we switch it.
      Maybe that would make a good future thing for me to look into because it may require a little extra babysitting to make sure the correct port is always being used for two simultaneous devices.

  • @itscrawford
    @itscrawford 3 ปีที่แล้ว +1

    SWEEEET THANKS!

  • @develhoper
    @develhoper 4 ปีที่แล้ว +1

    hi! how can I find teensy simulation application. please can you help me?

  • @nigelpendred3129
    @nigelpendred3129 3 ปีที่แล้ว +1

    Hi , can I use all pins for digital or are some analogue only (newbie!) Thanks

    • @GadgetReboot
      @GadgetReboot  3 ปีที่แล้ว +1

      On the various Teensy hardware version pin maps here www.pjrc.com/teensy/pinout.html The grey pins are digital, so on the Teensy 3.6 the A21 and A22 pins can't be digital IO, they seem dedicated to analog in and DAC out.

  • @therealb888
    @therealb888 3 ปีที่แล้ว

    What did you use to make the thumbnail?

  • @battou2501
    @battou2501 3 ปีที่แล้ว

    Ehm.... Wont you short input voltage to ground with your potentiometer setup like this?? When you have 10k to pin you have short to ground. Why do you even connect pot to ground if you just need variable resistor to pin?

    • @GadgetReboot
      @GadgetReboot  3 ปีที่แล้ว

      I want to be able to bring the analog input between ground and positive supply, yes, so that gives me digital readings from 0 to max by turning the pot. The pot is used as a voltage divider.

  • @jstro-hobbytech
    @jstro-hobbytech ปีที่แล้ว +1

    I'm gonna mess with one of my 4.1 boards