I don't think that touch lib works with a 4.0. I could never get it working. Is you display's touch SPI based (had for me to guess with the pins stated above)? If it is SPI based, this lib is very...
Type: Posts; User: KrisKasprzak
I don't think that touch lib works with a 4.0. I could never get it working. Is you display's touch SPI based (had for me to guess with the pins stated above)? If it is SPI based, this lib is very...
Not sure what buzzer you are referring to but these are what I've used.
https://www.amazon.com/gp/product/B01GJLE5BS/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
Just send a pwm to them of...
Yep, I found a typo in the lib where I had SetItemValue and SetAllColors but it should have been setxxxx. I have fixed the examples, but as mentioned just change the ino and change Setxxxx to setxxxx...
excellent work. when i get a chance i'm going to buy one of these displays and give it a go.
Thanks for all your hard work.
Can you post a link the the displays, and maybe a few screenshots? I've used maybe 30 ILI9341 (2.4 and 2.8) displays and never had an issue. All my projects involve drawing graphics and fonts.
you will probably fined info on #define and char in some C programming guide.
#define is similar to a search and replace. any keyword potPin1 will be replaced with A10 at compile time.
I...
Yep, you are writing to the serial monitor on every pass inside the loop. Meaning you are dumping tons of stuff to frequently. I'm guessing the buffer is getting overloaded and crashing the IDE.
...
I just wired this up and I think this issue is the way your code is written, you will only be looking at the state of the last button (23) after the for loop
the line
for (thisBtn = 0; thisBtn <...
If your problem is that you may "miss" detecting a button press because the user un-pressed before the other things were done, you may need to incorporate an interrupt. Currently you are using a...
Thanks for the writeup, I'd love to see this in action with a short vid.
In the mean time, can you perform an operation like analogRead and see if it will display anything? Finger pressing the analog pin, connecting the analog pin to GND or 3v3, type test. Also test...
Well done and very inspirational. I'll have to admit, while I was watching I was thinking of how you could commercialize this. I think you are on to something.
@spook gets all the credit for this excellent tool. I merely posted a vid on usage.
Dang dude, this is very cool. When I get some time, i'll take a closer look.
I think I get what you are asking.
I always use buck converters to drop some DC source (anywhere from 9v to 24v) to 3V3 and feed that regulated supply in to the 3V3 pin on the Teensy. That same...
@BriComp very promising. I found the relay part no. and amazon has the for a few bucks each. I'm making a PC board so they will plug right in.
Thanks!
All,
I'm building a light bulb controller and need a Teensy to turn it on an off, the bulb is a good old fashioned 120 VAC 100W incandescent bulb. No fancy switching needed, just on for like 5...
Interesting, I'm reordering some more buffers and will give this a second try.
Thanks, interesting wiring of MISO on the display. I see you have the displays MISO on the buffer output. I would expect the output of the display (miso) to be the input to the buffer or am I missing...
Maybe I'm missing something, but sounds like you are simply try to reduce fan RPM by means of lowering the voltage? Can you not use and adjustable buck converter, or an LM317?
Nice project. I looked at your website. Since you are submitting this for a blog, maybe rethink your "sources" in the Overview section?
is "blank" a white screen or black? What is RESET on the display connected to?
@macardoso, welcome home. You will find this forum extremely professional with some of the best minds in this field. People are willing to help and with a smile.
I move the array to the .cpp file and all works. I was sure I did it the original way in other libraries.
Thanks to all
maybe this will help?
https://www.pjrc.com/teensy/external_power.html
I'm writing a small library for Thermistors. You pass in the measured resistance and it spits out a temp. The arduino compiler claims my definition of an array to hold constants is defined multiple...
Will you be driving the MOSFET with just an on / off signal, or will you be using PWM to control motor speed?
I'm not sure I'm there with such an option. I see how it can provide quicker access to selecting a board / port, but I'm not sure how often I'm picking a different board for an INO. Most of my code...
Teensy rule. Period. I see vids like this and I wonder how we as a community help get the word out that this platform is way better that the the status quo.
The code should compile and work w/o changes on a Teensy 3.2
Pin 5 is the output, hence what you connect to an analog pin. You could just dial the 10K pot down such that it's output does not...
maybe this will help. idk.
https://forum.pjrc.com/threads/61149-WebSockets_Generic-Library
What is your main goal? Is it to have the Teensy serve a web page or simply communicate wireless with other MCU's?
If wireless communication is the goal check this out......
I just got a watch dog timer working using the above code. You will need to call Reset_Watchdog_timer() before your time out. Meaning if you have a while statement that gets input, measures etc. you...
Paul,
You are my hero!
I added the code below to trigger after a certain measurement. I totally locked up my Teensy, and it automatically restarted using the watchdog timer code.
...
All,
My elaborate telemetry system is working like a million bucks--most of the time. Most times is works w/o any issues but on occasion it will lock up, but I have not way to test, debug or...
I saw the suggestion to put:
asm volatile("dsb");
at the bottom of the ISR, is dsb case sensitive?
I've been using the following w/o volatile:
asm("DSB");
Wow, this is has to be one of the most creative exhibits I've ever seen.
Love it, nice job!
@frankB. You are my hero! Thanks for converting these fonts. I'm sure to make use of them.
Thanks for the reply.
If anyone must use the Adafruit_ILI9431 display driver (and say an ESP32), I have created a specific library for that driver.
...
You will have to re-enter the distance from the new blade to the fence. This data entry can be done during power up or in the tools menu.
This is with the assumption that the configuration of your...
If you have ever used a TFT display and don't / can't enable touch capability, you may have needed a menu system to let users set calibration settings, parameters, colors or other "Tools | Options"...
I had similar challenges with sending data between 2 different MCU's via serial (wirelessly but still on a serial bus). I have an application where a teensy 3.2 sends data to an Arduino NANO and...
silly question, but when the display is connected to the headers, are they any pin to pin shorts? Reason I ask is that one of my projects had a RJ45 connector for the display port and during...
Get the latest library and look at the SliderD object. There is an example for it's usage. You can slide the handle around the ring either by your finger or code. the init lets you set center...
Something like this?
26956
I love this project. Full marks.
All,
If you are dividing your time between building cool Teensy-based projects and woodworking, I'm guessing you have a table saw. Ever wanted to build a motorized fence controller? I just did. A...
not sure why the strange behavior, but a few things jump out at me
1) is gelenData an array or data struct? if so you sure about the .read? I use serial devices and send structs and it's...
Very impressive. I love all the images showing off your work.