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...
Type: Posts; User: Epyon
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...
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...
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...
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).
...
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...
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...
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...
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...
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...
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...
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...
Of course, the EchoBoth example is included in every Teensyduino install.
And now you have an CAN bus between your desk and all your remote devices? :)
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...
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.
A BAT54S contains two Schottky series diodes with a center tap, but it is only available in SMD.
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,...
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...
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...
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...
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...
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?...
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...
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...
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...
Is the SD card connected directly to the ILI9341, or can you use any SPI connected SD?
The Adafruit version has a micro SD on the back?
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...
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...
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...
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)...
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.
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.
...
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...
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...
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...
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...
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...
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...
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,...
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.
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...
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...
Do you want to read flash memory, ram or eeprom?
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...
#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...
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.
There is a report button on the lower left of each post :) .
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...
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...