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

Search:

Type: Posts; User: EyeofHorus

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    50

    I2C questions Teensy 4.0

    I want to use an external DAC chip, most likely a MCP4725 together with the Teensy 4.0. In regards to that, I had a few questions about I2C communication.

    On the PJRC Wire library page it says...
  2. Thank you, using 1.49 fixed it.

    Thank you, using 1.49 fixed it.
  3. Oh yes, sorry. I'm using a Teensy 4.0, I...

    Oh yes, sorry. I'm using a Teensy 4.0, I downloaded the ADC library from GitHub a few hours ago, so that should be the most recent one. Teensyduino is Version 1.48.
  4. I just tried to compile some of the...

    I just tried to compile some of the examples(adc_test, analogRead) in the updated library and get quite a few "not declared in this scope" and "has no member" errors. The same happens with my own...
  5. I tried it again with a new Teensy and 470 ohms...

    I tried it again with a new Teensy and 470 ohms instead of 100 ohms. It worked fine, even running 20 minutes straight, so I assume everything is fine now.
    But I was also more careful with...
  6. Ah, thank you, that makes sense. Yes, the...

    Ah, thank you, that makes sense.


    Yes, the power seems stable at 3.3V.
  7. I think that something burned up inside, since...

    I think that something burned up inside, since the Teensy shows the same shut off even if I disconnect everything from it and just give it power via USB.
    The resistor was not intended to limit the...
  8. Teensy 4.0 seems broken after triggering MOSFET

    I was testing if I can control a fan by sending different PWM signals from the Teensy 4.0 to a logic level MOSFET when the Teensy seems to have broken down in some way.
    If I connect the Teensy to...
  9. Replies
    201
    Views
    4,793

    Great, thank you both very much. For the pins...

    Great, thank you both very much.

    For the pins that can connect to both ADCs, the decision would be made by choosing an appropriate setting in the code while initializing the pin, correct?
  10. Replies
    201
    Views
    4,793

    Teensy 4.0 which pins for which ADC

    I have been unable to find a chart that maps out which of the analog read pins is connected to which of the two ADCs on the chip for the Teensy 4.0.
    Could anyone help me find this information?
    ...
  11. No, there was no need for that. My code is...

    No, there was no need for that.

    My code is rather small and I don't need to save any data I read for very long. I start overwriting the oldest data after about half a second and the Teensys own...
  12. I ended up not optimizing the adc input speed too...

    I ended up not optimizing the adc input speed too much. After setting everything up I noticed that reading the data just with Pedvides adc library and using the fastest settings was quick enough for...
  13. Replies
    2
    Views
    215

    Awesome, thank you. Adding the resistor solved...

    Awesome, thank you. Adding the resistor solved it. I'll still look into the startup_early_hook you mentioned, that sounds very useful for other things.
  14. Replies
    2
    Views
    215

    Teensy 3.6 unwanted DAC output

    I am amplifying the output signal from DAC pin A21 with an op amp to get to the 0-5V range instead of 0-3.3V. During startup of the Teensy I can measure a voltage after the op amp that increases up...
  15. Thank you again, I will look into that.

    Thank you again, I will look into that.
  16. Thank you for your response. I had already found...

    Thank you for your response. I had already found Pedvide's library you mentioned, but it seems I haven't read it properly. I'll look through the documentation more thoroughly.
    So in continuous mode...
  17. Teensy 3.6 ADC Speed and multiple analog signals

    Hello,

    I am rather new to microcontroller programming and electronics in general and would be very grateful for some help with a project I am working on.

    I'm sorry if all if that has already...
Results 1 to 17 of 17