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

Search:

Type: Posts; User: Epyon

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    419
    Views
    258,000

    I also have a question regarding the interrupts....

    I also have a question regarding the interrupts. I need to sample both ADCs simultaneously at fixed intervals. I looked into the analogReadIntervalTimer example. This however uses only one ADC to...
  2. Replies
    1
    Views
    517

    Synchronised position measurement

    I need to measure the load angle of a generator set, which is the angle between the mechanical rotor position and the electric waveform applied to the windings of the stator. To achieve this I need...
  3. Replies
    1
    Views
    677

    sizeof() bricks compiler somehow

    I was writing a quick sketch to read an absolute encoder, and then encountered some strange behaviour of both the Arduino IDE, Teensyduino and my T3.2. Commenting out some code, I pinned it down to...
  4. It would certainly be the most straightforward in...

    It would certainly be the most straightforward in both coding and electrical design. There are some catches to using higher baud rates though, see this page (scroll down to usable baud rates).
    ...
  5. Thread: Modbus RTU

    by Epyon
    Replies
    48
    Views
    16,153

    The problem is that it's still integrated with...

    The problem is that it's still integrated with proprietary code which I need to clean up first. I'm abroad for work till next week, I'll look into it afterwards.

    My ultimate goal was a merged...
  6. Thread: Modbus RTU

    by Epyon
    Replies
    48
    Views
    16,153

    I actually developed a more hardware agnostic...

    I actually developed a more hardware agnostic version of the library for internal use at my workplace. I was thinking about putting it on Github, but never got around cleaning up the code. So I'm...
  7. Replies
    6
    Views
    1,757

    Almost all shields, sensors etc. for the Arduino...

    Almost all shields, sensors etc. for the Arduino are internally 3.3V or have a 3.3V alternative. Save maybe for some power electronics like servos. In almost all cases a simple resistor divider will...
  8. Replies
    6
    Views
    1,681

    It is possible for the 3.2...

    It is possible for the 3.2, but requires a significantly larger PCB size and careful routing to achieve optimum impedance.

    There are no layout files available for any of the official boards. If...
  9. Replies
    16
    Views
    2,563

    Most motherboards still have a speaker header to...

    Most motherboards still have a speaker header to connect a tweeter that beeps if POST has succeeded. Maybe that can be of use?

    Also, BIOS initialises the USB. If you could detect this, it would...
  10. Replies
    9
    Views
    1,288

    I spread my analog channels over the two ADCs....

    I spread my analog channels over the two ADCs. E.g. if I use two channels, I make sure each one is on a different ADC. I do use analogRead, but if I ever find some time to upgrade my software with...
  11. Replies
    2
    Views
    619

    Yes, of course. Your 'ones inner loop' just...

    Yes, of course. Your 'ones inner loop' just evaluates if currentMillis - previousMillis >= interval, and if not increments the loop counter 'ones'. What you did is not a replacement of delay(). You...
  12. Of course, the EchoBoth example is included in...

    Of course, the EchoBoth example is included in every Teensyduino install.
  13. Replies
    11
    Views
    1,714

    And now you have an CAN bus between your desk and...

    And now you have an CAN bus between your desk and all your remote devices? :)
  14. Replies
    11
    Views
    1,714

    I don't think any of the popular MCU's support...

    I don't think any of the popular MCU's support uploading code through CAN out of the box. You will need to write you own bootloader for this, just like Paul has done to support uploading code through...
  15. Replies
    11
    Views
    3,346

    Paul answered this question brilliantly here...

    Paul answered this question brilliantly here :) .

    Anyway, Paul doesn't use Eagle, so don't expect any brd files other than the ones you make yourself.
  16. Replies
    5
    Views
    1,888

    A BAT54S contains two Schottky series diodes with...

    A BAT54S contains two Schottky series diodes with a center tap, but it is only available in SMD.
  17. Replies
    5
    Views
    1,888

    It of course depends on what exactly you want to...

    It of course depends on what exactly you want to protect your analog inputs from, but I can confirm that this circuit successfully protects T3.2 analog inputs from regular accidental overvoltages,...
  18. Replies
    6
    Views
    1,936

    I recommend against an opamp circuit. Most opamps...

    I recommend against an opamp circuit. Most opamps are unstable at gains less than 1 and it reduces bandwidth and slew rate. In general opamps make for bad attenuators. Your gain will also depend on...
  19. Replies
    8
    Views
    2,019

    For this I can advice the MOCD208. I use it in...

    For this I can advice the MOCD208. I use it in all my designs that interface with 24V logic.

    12083

    The main advantage of the MOCD208 is its high CTR. With the resistor value in the schematic...
  20. Search the forum for 'Teensy OTA'. There are some...

    Search the forum for 'Teensy OTA'. There are some makeshift solutions available, but non really recommended for production.

    My solution is to combine them with a Linux SBC, e.g. the very compact...
  21. You never 'need' to use Arduino libraries. You...

    You never 'need' to use Arduino libraries. You can write everything from scratch if you really want to. Wouldn't recommend it, because you would be doing loads of redundant work with next to no...
  22. Replies
    12
    Views
    3,918

    So Freescale was acquired by NXP. Then NXP was...

    So Freescale was acquired by NXP. Then NXP was acquired by Qualcomm. Now Qualcomm is to be acquired by Broadcom. If acquirements lead to acquirements, where will the chain of acquirements end?...
  23. Thread: Arduino or C

    by Epyon
    Replies
    8
    Views
    1,896

    I think it depends on what you want to...

    I think it depends on what you want to accomplish. If you want to become a C(++) programmer, start with that. If you want to start developing applications on the Teensy or Arduino platform, start...
  24. Replies
    183
    Views
    51,974

    There are probably a dozen boards combining...

    There are probably a dozen boards combining processor power such as found in the RPi3 (or even ten times more) with embedded Arduino with all the library support. UDOO being the most common I think...
  25. For what it's worth, I once faced a similar...

    For what it's worth, I once faced a similar problem with a datalogging application. I investigated the possibility of putting SD write access in another thread, but abandoned the idea because of...
  26. Replies
    9
    Views
    3,542

    Is the SD card connected directly to the ILI9341,...

    Is the SD card connected directly to the ILI9341, or can you use any SPI connected SD?
  27. Replies
    9
    Views
    3,542

    The Adafruit version has a micro SD on the back?

    The Adafruit version has a micro SD on the back?
  28. Replies
    101
    Views
    19,822

    There's a disclaimer about that in their...

    There's a disclaimer about that in their announcement.

    Initial support for autocompletion (activate it using CTRL+space)

    Attention: Launching for the first time is quite slow and will...
  29. Replies
    5
    Views
    1,176

    The 3.3V pin below AGND is closest to the LDO....

    The 3.3V pin below AGND is closest to the LDO. It's best to connect and place components drawing large currents closer to that pin, especially if only using one 3.3V pin. Connecting all GND pins to...
  30. Replies
    183
    Views
    51,974

    But does the Pi Zero has deterministic low-level...

    But does the Pi Zero has deterministic low-level I/O usable without an OS and additional peripherals like external RAM? As far as I can see the i.MX RT is still a microcontroller while the RasPi is a...
  31. Replies
    12
    Views
    2,722

    The TXB level shifters don't work well with...

    The TXB level shifters don't work well with pull-ups and open drain, and are generally a bad idea in almost any use case (and I expect pretty much the same from the TXS). The forum (and that of TI)...
  32. Replies
    8
    Views
    6,134

    Please try first with the Ethernet library that...

    Please try first with the Ethernet library that ships with Teensyduino. It is also more optimised. The NBEthernet library doesn't play so well with the W5500 and some routers.
  33. Replies
    7
    Views
    1,642

    Okay thanks. I was under the impression that the...

    Okay thanks. I was under the impression that the CAN standard only described the physical media access, like the serial RS standards I'm used to, but apparently it also describes the data link.
    ...
  34. Replies
    7
    Views
    1,642

    I understand, but how does the hardware (or the...

    I understand, but how does the hardware (or the library) know the format and size of the message? Afaik there isn't any global standard for this. E.g. my HA system probably uses its own proprietary...
  35. Replies
    7
    Views
    1,642

    Thanks a lot for the information! The concept of...

    Thanks a lot for the information! The concept of 'mailboxes' seems a bit strange to me. This would suggest the library already interprets the messages on the bus in some way, in stead of just...
  36. Replies
    7
    Views
    1,642

    CAN project sanity check

    For my next project, I'm trying to build I/O modules that are compatible with my home automation system which uses CAN bus. All modules have an 8 bit address. Input modules put messages on the bus...
  37. Replies
    8
    Views
    6,134

    Because the 3.2 boards don't have the Ethernet...

    Because the 3.2 boards don't have the Ethernet MAC integrated. They rely on an external chip implementing it. The 3.5/6 only need the analog stuff like the magnetics and the PHY, which you will...
  38. Replies
    8
    Views
    6,134

    The thread links to other threads, threads that...

    The thread links to other threads, threads that you would also have found with the search function ;) .

    The specs page is correct. The Ethernet portion clearly states: "A special shield is...
  39. Replies
    8
    Views
    6,134

    Please use the search, which results in threads...

    Please use the search, which results in threads like these almost instantly. The native Ethernet support is still very experimental and besides some basic UDP stuff can't do much right now. If you...
  40. Replies
    101
    Views
    19,822

    Arduino has released a sketch preprocessor...

    Arduino has released a sketch preprocessor that parses any Arduino style sketch into valid C++. By then using Arduino builder this should allow anyone to use almost any IDE to program an Arduino,...
  41. Thread: Modbus RTU

    by Epyon
    Replies
    48
    Views
    16,153

    No, I also don't have any 2.0 hardware. But...

    No, I also don't have any 2.0 hardware. But because it is based on AVR, you can probably use the standard version of the library with minimal editting.
  42. Replies
    30
    Views
    6,270

    It's not just NXP, it's a thing across the...

    It's not just NXP, it's a thing across the semiconductor industry. Microchip, STM, Fairchild/ONsemi etc. We're seeing the wake of the big mergers from the last few years and the corresponding product...
  43. If you are going to produce in quantities you...

    If you are going to produce in quantities you will be designing and fabbing your own boards anyway, so you can expose all the signals you want to. You can add the bootloader chip to the first batch...
  44. Replies
    15
    Views
    1,757

    Do you want to read flash memory, ram or eeprom?

    Do you want to read flash memory, ram or eeprom?
  45. Replies
    7
    Views
    1,769

    10" or 25cm is about the 'recommended max' length...

    10" or 25cm is about the 'recommended max' length for SPI wiring. If you want to go longer you better reduce the SPI clock and add impedance matching. You can do this by adding 68Ohm of 100Ohm series...
  46. Replies
    10
    Views
    1,979

    #How to proper power a Teensy: USB / 5V Vin...

    #How to proper power a Teensy: USB / 5V Vin (trace cutting?) / 3.3V externally / using multiple power supplies (connect only grounds)

    #My custom Teensy won't boot (Vout33 connected?)


    I would...
  47. Replies
    7
    Views
    1,426

    If low power consumption is your goal, I'll buy...

    If low power consumption is your goal, I'll buy you a beer if you ever get even three micro-amps lower than what is possible with Duffs' Snooze library :p . 6ľA on a Teensy LC, 15ľA on a 3.x.
  48. Thread: Olga

    by Epyon
    Replies
    3
    Views
    942

    There is a report button on the lower left of...

    There is a report button on the lower left of each post :) .
  49. The W5xxx can receive at link speed (+/-80Mbps)...

    The W5xxx can receive at link speed (+/-80Mbps) if you send short UDP bursts to it that fit within the internal 32kB RAM buffer. The SPI bus on T3.x only runs at 24-72MHz though. It will probably...
  50. Replies
    7
    Views
    1,426

    Before going down this path, better to read this...

    Before going down this path, better to read this and this post.

    In short, unless you are an experienced developer with a lot of ARM notches on your belt, ditching Arduino/Teensyduino will probably...
Results 1 to 50 of 443
Page 1 of 9 1 2 3 4