A possible solution could be to enlarge Serial.begin() to Serial.begin(baudRate, timeOut or delay) where Serial.begin(baudRate) /Serial.begin() defaults to a timeout/delay of 2.5 seconds, or whatever...
Type: Posts; User: BriComp
A possible solution could be to enlarge Serial.begin() to Serial.begin(baudRate, timeOut or delay) where Serial.begin(baudRate) /Serial.begin() defaults to a timeout/delay of 2.5 seconds, or whatever...
Could it be a timing issue, Teensy 4.x going much faster?
In order to rule out, compile for a much lower speed similar to Teensy 3.x.
You could consider one of these. It provides 5v (and 3.3v) for the Teensy. It is powered from a usb psu. You could solder a wire to the battery connection and shut down and save data to sd card, or...
Hi Frank,
If you would wish to share the cost of the board I would welcome to join in.
Here is another display. Has HDMI and VGA inputs complete with i/o board.
This display might be useful when used with the above suggestion.
since you are looking for battery power this might be of interest. Provides battery charging facilities as well. Very cheap - about $3 if I remember correctly.
EDIT:
You can get them here.
Hi Duff, hope you and your family are well.
I have posted a sample prog which demonstrates the problem under "suggestions and .....".
Both sleep and deepSleep fail. Have not tried hibernate as it does a reset each time which is not useful.
I have confirmed that the Snooze Library Kills the EEProm library.
Have raised the issue in "Suggestions and Bug Reports"
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>...
Hi,
I don't claim to re any sort of expert but I see a number of possible problems.
You have setup snooze to use digital and alarm - you have not used any digital input to wake up, so take the...
He is trying to experiment with NOISE CANCELLING. Broadcasting an inverted signal in an attempt to cancel out ambient noise.
Due to the inevitable processing delay, will not work by playing output...
Just thought I would add a different graph of your (JotaEfe13) data.
23188
Are you going to be selling them? I would be interested.
It could be to bring it in line with Serial ports where Serial (aka Serial0) is USB Serial and Serial1,2,2...etc are real serial ports.
Not making a definitive answer, just surmising.
Happy...
That's the way Teensy 4.0 works in DeepSleep at the moment. I don't know if it will change in the future.
You could use MyUs.com to ship to the UK. They will set up a US address for you. Have stuff sent there and they will forward it to the UK.
I have just set up a MyUS.com account for myself. The basic...
OK thanks.
I had not seen any post announcing that change.
What's happened to the list of Distributors, I thought it had a sticky entry, but cannot find it any more.
£18 from Pimoroni, admittedly with £2.99 p&p.
You can use the code below
#if defined(__IMXRT1062__)
//Teensy 4.0 Code Here
#elif defined(__MK66FX1M0__)
//Teensy 3.6 Code Here
#elif defined(__MK64FX512__)
//Teensy 3.5 Code Here
#elif...
Searching the web I found the following entry from 2014. Images provided at the arduino forum for this post look like your board.
Perhaps this will give you a starting point.
One of these might solve your battery problem. Battery powered by 18650 cell, outputs 5v and 3.3v. Use the 5v and power the teensy as well, or 3.3v to teensy and 5v to ADC.
22664
Yes, I have just ordered a 4.1 with pins, Ethernet Kit and PSRAM for £34.19 inc. 1st class postage.
Pi Hut have just reduced the 4.1 to £26 from £26.50 (inc. headers for soldering).
I expect to...
I am surprised you say that DigiKey is cheaper. I just took a look and including header strips The PiHut are selling the 4.1 for £26.50. Digikey are charging £29.36 inc. headers and £27.06 without.
No I don't have a link but you could look at Paul's posts. Just click on his name and select posts or whatever it is listed as.
That information came from Paul on this Forum. The power needs to come up in a controlled manner. This is accomplished when powered by 5v but not 3.3v. Paul suggested having vbat supplied with...
I'll bear that in mind.
Here is the code, below. I will put a snapshot of the results for T4.
The resolution of my capture device is only 41.66666ns. So when you see pin to pin times doubling from 42ns to 83ns it is down...
Hi Duff, have you any comment upon the Snooze wake up times I have found.
See here.
No problem. I was hoping they would supply UK/EU at a decent postage rate like OSH.
If you power teensy 4.0 from 3.3v only, then it is quite likely that it will NOT power up.
Supplying VBAT with a backup battery may allow the Teensy to wake up when 3.3v used to power it.
They are currently set up for US customers only. Bottom of his first post.
Does that mean there will be affordable postage to the UK as well? OSH only charge a $1 and put them in an envelope/jiffy bag.
Having looked through the code for the ElectronicsHub tutorial there in no reason why you could not change the ESP8255 for a HardWired Teensy ethernet system. Sending the email from Teensy would be...
I think using two computer boards is a bit over the top.
Since the ESP8266 has the WiFi capability and the ability to read a temperature sensor, there is, unfortunately, no need for the Teensy.
...
I have been looking at the time it takes for Snooze to wake-up on various Teensy. (What's the plural of Teensy?).
All this started when I found that I could NOT use a Teensy4 in a project because...
If you are worried about power failure why not use one of these with an 18650 battery to power your teensy. Keep it (the battery) powered all the time and should the power fail, with a 3000mAH...
Did you also check them outputting low? They could be stuck high.
If you have used the AS5047 with 5v with the teensy 4 , then because the o/p pins of the AS5047 to the teensy would have a logic 1 level of 4.5v (see AS5047 datasheet) it is highly likely that those...
I can recommend this. Stupidly low price for what it does. It can be found under various other names in the web.
22493
You might find this page useful especially with respect to AD reference.
Post your code and someone might be able to help.
Hi,
I get the error shown below when closing windows without first explicitly closing Teensy window.
22439
Adding something about the Snooze Library would be good
Is this going to be documented somewhere. If not it is likely to go unknown by anybody who have not seen this thread or maybe has forgotten about it.
Thanks PaulS pin 6 works fine waking it up. It's unfortunate Duffs documentation still incudes pin 7.
Thanks analog&RFmodels: Setting pin 17 as you suggested reduced the current draw to 88ua with...
It's not the same issue. It IS the same general subject.
If I knew what each snooze state did to the teensy I would be better able to determine which would be best to use for my projects.
For...
0.33ma in Hibernate from a 5v supply, 0.46ma when supplied with 3.1v.
I don't understand it either!