Possibly the difference is due to the difference in VIH, VIL of the Arduino vs the Teensy, one being a 5 volt input and the other 3.3 volt . They will detect high and low at different levels of signal. A slow slew...
I suggest just start with a delayMicroseconds(500) in your updateMux1() function. See if that helps with your unstable readings. My other idea is sort of like the blink without delay example where you can distribute...
https://www.ti.com/lit/ds/symlink/cd4051b.pdf?ts=1655186591995&ref_url=https%253A%252F%252Fwww.google.com%252F
To find the amount of delay needed, look at the switching characteristics and the parameter called...
This would seem to indicate that you have 5 volts on the pots instead of 3.3 volts. If fed with 5 volts the Teensy LC may be destroyed.
void updateMux1 () {
for (int i = 0; i < 8; i++){
...
To convert your code to Teensy could be as simple as changing one line:
#define srxl2port Serial
Change this line to
#define srxl2port Serial1
You would then add the diode circuit to enable the half duplex...
If you look at the one-wire protocol, you will see it is completely different from half duplex serial ( rs232 type ) communication. You will not be able to use the OneWire Library.
In one of my programs I used one bi-quad of high pass and 3 bi-quads of low pass. For the narrow band mode of CW, the bandwidth is split plus and minus from the center frequency of 700 hz. You can ignore the wv...
Q is a value without units. I have used this online calculator for cascading highpass, lowpass filters. I did not have good results with the bandpass filter type and cascaded highpass and lowpass filters in order to...
The waveform looks like amplitude modulation, so I would try rectifying, low pass filtering, and then peak detection. I do not know if that would work or not.
int throttle2_input = map(throttle_input, 1497 ,519 , 0, 180);
throttel1.write(throttle2_input); You wanted throttel2.write here
Do your ESC motors combination produce the appropriate beep codes on...
Some thoughts:
What gets printed out on serial? Do you read the channel information correctly?
Many/Most ESC's need to be armed, need to see zero speed for a certain time. Add that to setup.
Your map looks...
From the linked threads, this one is something you can try in software: https://forum.pjrc.com/threads/69717-High-gain-audio-amp-picks-up-noise-from-analogRead?p=303208&viewfull=1#post303208
You could read 1 of 5...
I don't see how it can not be connected unless that etch run has burnt open. You could check that by checking for 5 volts over on pin 1 of Encoder1. (But it would be much better if you check for etch continuity using...
The library returns negative numbers for any error, so I don't think one should be surprised about the values printed being negative - it just points to some kind of error, like Kurt says maybe SPI errors.
Some...
Water is not conductive unless it has impurities. My well water is very hard, and some water in the sink has about 100k ohms resistance between probes about 6 inches apart. You could measure your setup to see what...
So the switch blocks the traffic for some reason, I would check logs/settings in the switch.
Firewall settings.
Improper network class chosen.
Spanning tree decided the IP was on a different port.
It...
The example code in the library shows some significant differences when using the T4, pin used and time in microseconds.
/* FreqCount - Example with serial output
* http://www.pjrc.com/teensy/td_libs_FreqCount.html...
The data sheet has the information to answer your question:
IIH High-level input current VI = VCC 1 μA
IIL Low-level input current VI = 0 −1 μA
1 micro ampere is a very small current, you will not need current...