Could you just divide the input signal by two with an appropriate flip-flop or counter IC? You would lose some resolution, but you would not have to worry about messing with the software innards of the frequency...
Hello Jean Marc :)
I just have a question about pin-out when i want to use a SPI TFT LCD.
As i see , the 2 user keys are in conflict with TFT_RST and TFT_CD , the I2S audio data pin is in conflict with TFT_DC.
Some...
Yup, when I first wrote my code I just had everything in the INO directory but when it came to adding 128 GM instruments (128 .cpp and 128 .h) things got a bit busy so I looked for a way to divide and modularize things....
Does it fail with deepSleep or hibernate too? Low power in the Teensy 4.0 is much more complicated than T3.x's, so getting Snooze to be solid for the 4.0 is going to take some more work on my end. As far as why the...
The code snippet I posted is an example. You can run it. It just loads 1.0 to 9.0 and prints the last three values only the wrong values get printed. After that it prints what is left in the queue using the list...
The Snooze Library seems to kill writing to EEPROM.
Is there any code for recovering Writing To EEProm after waking from sleep?
The code below demonstrates the problem.
#include <EEPROM.h>
#include <Snooze.h>
...
If you ever come to Germany you should definitely spend a day in the Minatur Wunderland in Hamburg. Here an official advertisement video
And here more info about controlling the thing (German, but you can...
Hi PJRC Forum,
I would like to read a value from an analog pin A0 on Teensy 4 while also having another pot wired to A1, both 50K pots.
For my purpose, the middle pot pins are wired to A0 and A1, the left pins to...
Easy as that, eh? Hats off to you, sir. :)
I’ll go with a decent 9V PSU for now and iron out the finer audio details then see how much more energy I have for power supply design.
Thanks everyone for the help! I’ve...
Cutting vin-vusb connection stops your board being powered up through the usb plug. Vin still works as normal. That is you put 3.6-6v on it and your teensy gets supplies with 3.3vdc through its onboard regulator.
I...
Most guitar pedals don't need to have resilient power supplies because most have no digital circuits inside them. When powered by batteries, you get lowest PSU noise because batteries have no noise really. When you...
Morning @KurtE
You are right not all trains are DCC capable. Some will say DCC ready so its easy to drop in a decoder ($32), which is what I did for one of loco's, digitrak seems to be pretty good. Then of course you...
Great you are making progress and having some fun! For your granddaughter ;)
As a kid back in similar time frame had my brother and I had a train set, not sure whatever happened to it. My wife did give me a set 3...
Just get a better PSU. Compensating for crappy PSU is not worthwile the effort as a proper PSU costs next to nothing more than a bad one. When your Circuit is silent with a normal, not superfancy PSU its up to the user...
Swapping the power supply for a better one (a Korg 9V PSU instead of a random cheapo) eliminates almost all of the noise. Gah.
If I wanted to make the circuit more resilient to cheapo power supplies by adding some...
Tell me about playing with trains. Used to have (actually still have) a whole lot of Lionel O-gauge trains from the 50's and 60's but takes way too much room to set up. So went to N-gauge for my granddaughter a bunch...
Did you solder *ALL* the Teensy pins on the back of the Octoboard?
If you power the Octoboard with the red and white wire, you should see that +5V also on the Teensy pin Vin. If not check you soldering.
Paul
Ground loops tend to pick up 60Hz hum from the mains, lighting, nearby refrigerators, etc. They are less likely to pick up digital interference. Digital interference is picked up by analog wires running too close...
@fdaniels good question! I had tried that a while back, but not recently. Running the circuit from a 9V does indeed eliminate the noise.
So... I need to filter the power supply?
It seems that buffers smaller than 16 will not work properly when pop_back is used. So 8 or 4 won't work. However pop_front seems to work as it should. Or at least if I'm using them correctly.
He, he, working on model trains at 5:30 reminds me of those mornings after Christmas some 50 years ago :-)
For completeness I uploaded an example showing how to use the TimerTool TCK (software) timers. You can switch...
Hey everyone!
So, I'm working on a project where I use 4 muxs, one for voltage, one for temperature, one for amps and another for PWM. I have 30 Servos turning and a sensor in each one to record their PWM, the AMS...
Hi Paul,
Thanks for your reply. I checked the power on the 3.3v pin according to Gibbedy's request. Why is the teensy not powered by the Octoboard? I get 0V when I check the GND and Vin pins on the Teensy, but 5V...
Gibbedy is right, when you power the Octoboard, the Teensy board should be powered over the Vin pin.
Something is definitely wrong; you should read ~3V3 on the 3V3 pin. Don't power the Teensy on pin A14/DAC please.
...
See attachment for my set up.
I get 4v from the 3.3v pin (the pin in between GND and VBat)
Without this my Teensy board dus not power up and does not receive power from the Octoboard. I cut the line between VIN...
PIC32 have DMA which can manipulate the gpio registers directly which means it can have similar behavior, there is a good book that you can read
https://energy4all.ru/pic32/books/p32inc.pdf
Page 353 uses DMA to create...
Everyone seems to be a slightly different time zones. Its about 5:30am here in NY so got up when I saw your message. Yes you there are commands you can send via serial monitor but I see you found the exWebThrottlle.
...
Morning @KurtE - @defragster
The problem I was having with @luni's modifications prior to his latest changes (see post #11). The version I posted was working for me with The T3.x and T4.x. Thanks for checking - at...
Are you left-handed? Because you put the Encoder to the left of the Display. Since most people (86/87) are Right handed placing it to the right would be much better, since you are hiding the Display when operating the...
I've read those data and they are not really telling much, apart from the very high sleep power consumption (1400 uA @ 5V).
Well I guess someone will post real world figures in a few weeks.
I did find that WebThrottle application to control it. Sending/receiving of commands is nicely logged so it communicates. If I toggle the power off button pin3 gets high. So, looks like everything works as advertised. I...
I got two Picos yesterday.
It took 1 script to set up the developmnet environment on a RPI4 in about 10 minutes, including VSCode which I found impressive.
I have been using Teensy for few years but never develed...
Two questions.
Who is responsible for the
teensy "platform io" implementation?
As the compiler for the "platform io" is much faster,
and the output(compiler log) is much cleaner and includes a nice tree...
I came across this post that sounds like a very similar problem to mine, and it made me wonder whether my skimpy breadboard cables were not giving me a clear enough ground connection. I swapped all the ground wires out...
Sorry, I was busy yesterday and didn't find time to answer. The reason why it hang was one change you did in Timer.cpp which I forgot to undo. Specifically, you assigned TeensyTimer Tool timers to TimerA, TimerB.... ...
Does anybody has clear figures of actual power consumption, for the Pico?
I know, I seem to be the only one around here who cares a lot about power consumption ;) , but for me that's very important indeed.
For my...
@wrightflyer
I had no idea that you could have a src sub folder in the sketch,
I have tried with using a "instruments" sub folder but without sucess, that's why I invented the DontRemoveCodeFiles node type.
This...