I found the esp32 nat code a few days ago and have given it a try, it's amazing the things you can do with something the size of 2 sticks of gum. I used it to stream 2 audio streams from 2 different computers and watch youtube on a third. \0/ the code says it can handle up to 8 users at least that's what it's currently set it to.
just to throw idea to you to consider. We are gardners with an aviary for birds in Michigan with 2acre yard. we would like esp32 devices, thinking about 16 in the yard hanging from tree branches with an infrared sensor to detect deer, people, raccoons and opossums. thinking, it should be powered with a battery (one powerful enough -so, I will not need to walk out in the cold snow to change the battery) Also, with a bright led to flash and solid state sound, to scare trespassers away. Please note: the detecting sensor unit should not be the unit flashing or sounding - that would indicate to a person where the sensor is located. Yep, crazy idea. But, there are a lot of crazy gardners who would buy such a system. We are having a Hosta convention next spring - if, available Presently we have 6Ring cameras in the yard, that sends messages to the Amazon dots and iPhone that wakes me up at night to scare the varmints away comments would be appreciated
check out my motion detection project - I actually tested this outside and it detected animals walking by: trigboard-docs.readthedocs.io/en/latest/motionSensor.html This setup only pulls 12uA, so you get really long battery life. Then if you tied those into the cellular based setup, could even have it fire a master flood light or something. Send me an email to discuss further... or maybe I'll make an example of this
Hi, Kevin I am working on 8x8x8 led cube project and I am facing a problem related to power supply. Before I explain the exact problem to you let me tell you a little bit about my led cube design. I have 64 anode columns and 8 cathode layers. Before making the controller I just want to check it with power supply so what I did is I connected all the layers to ground and 1 column to the +VCC with a current limiting resistor of 220ohm and it was supposed to turn on the 8 LEDs of a column but when I turned the power on none of the led was glowing. Then I figure out that one 220 ohm resistor is capable of driving 1 or 2 leds maximum. Because if I connect more led in parallel more current will be drawn from power source and more voltage drops across the resistor and that's why led's are not turning on. What should I do? And I have also read that at one time we can turn on only one layer(64LEDs). Is it true? If yes then how can we turn on all the LEDs at one time? Because if I turn on more than one layer at a time same problem will ocuur. Because current limiting resistor is only one per column. Please give any suggestion
Yes, you can turn on only one layer at the time. The point is to turn it on really fast. Then you turn off that layer and turn on next layer. Minimum time per layer is around 4.16mS (miliseconds). That's 30 frames per second (1 frame = 8 layers ). If time is larger than that , you'll see flickering... I don't think you can do that manually, you'll need microcontroller.
I got my TrigBoards a few weeks ago, thanks. I was wondering do you use Arduino for all your development or have you used the Espressif SDK using C or C++?
@@SolarWebsite I know Adafruit has started porting their Circuit Python to the ESP32, if they haven't already. I did find this reference, perhaps a place to start? docs.micropython.org/en/latest/esp32/tutorial/intro.html
@@Kevindarrah Thanks, I was just curious if you have done any development in plain C (or C++). Thanks. I wanted to look into. Another question, do you use any JTAG debugger for debugging? If so, what debugger do you use. Thanks
Off topic - Which LED constant current circuit is better for pwm to current transient response , dual NPN transistor or the one with TLV431 with a single NPN, both of these circuits you showed in your videos. Which one is good for fast transient response of current waveform like lower current rise and fall times?
@@Kevindarrah basically you add #include esp_wifi.h. at the top then use int a= esp_wifi_set_protocol( WIFI_IF_AP, WIFI_PROTOCOL_LR ); Serial.println(a); WiFi.softAP(ssid, password); To connect the serial print of 'a' calls the var and sets the unit to LR mode Its pretty cool I have heard up to 1km ranges
Using a single UDP packet for security seems flawed to me, as if for some reason, an interference, etc causes that packet to get either corrupted or dropped, there is no validation mechanism that the trigger notification was delivered. I would consider changing to TCP.
yea, actually it's a "blast" of UDP packets, sends about 20 in a row. So far with like 10 trigBoards here, have not had any issues and the UDP is so fast
Great work Kevin. I’ve learned so much from your videos. Looking forward to your next upload!
That's trick as! Cheers for your contributions mate, we're going to IoT the world!!
Impressive range, nice work Kevin 👍
I found the esp32 nat code a few days ago and have given it a try, it's amazing the things you can do with something the size of 2 sticks of gum. I used it to stream 2 audio streams from 2 different computers and watch youtube on a third. \0/ the code says it can handle up to 8 users at least that's what it's currently set it to.
just to throw idea to you to consider. We are gardners with an aviary for birds in Michigan with 2acre yard.
we would like esp32 devices, thinking about 16 in the yard hanging from tree branches with an infrared sensor to detect deer, people, raccoons and opossums. thinking, it should be powered with a battery (one powerful enough -so, I will not need to walk out in the cold snow to change the battery)
Also, with a bright led to flash and solid state sound, to scare trespassers away. Please note: the detecting sensor unit should not be the unit flashing or sounding - that would indicate to a person where the sensor is located.
Yep, crazy idea. But, there are a lot of crazy gardners who would buy such a system. We are having a Hosta convention next spring - if, available
Presently we have 6Ring cameras in the yard, that sends messages to the Amazon dots and iPhone that wakes me up at night to scare the varmints away
comments would be appreciated
check out my motion detection project - I actually tested this outside and it detected animals walking by: trigboard-docs.readthedocs.io/en/latest/motionSensor.html This setup only pulls 12uA, so you get really long battery life. Then if you tied those into the cellular based setup, could even have it fire a master flood light or something. Send me an email to discuss further... or maybe I'll make an example of this
Hi, Kevin
I am working on 8x8x8 led cube project and I am facing a problem related to power supply.
Before I explain the exact problem to you let me tell you a little bit about my led cube design. I have 64 anode columns and 8 cathode layers. Before making the controller I just want to check it with power supply so what I did is I connected all the layers to ground and 1 column to the +VCC with a current limiting resistor of 220ohm and it was supposed to turn on the 8 LEDs of a column but when I turned the power on none of the led was glowing. Then I figure out that one 220 ohm resistor is capable of driving 1 or 2 leds maximum. Because if I connect more led in parallel more current will be drawn from power source and more voltage drops across the resistor and that's why led's are not turning on. What should I do?
And I have also read that at one time we can turn on only one layer(64LEDs). Is it true? If yes then how can we turn on all the LEDs at one time?
Because if I turn on more than one layer at a time same problem will ocuur. Because current limiting resistor is only one per column.
Please give any suggestion
Yes, you can turn on only one layer at the time. The point is to turn it on really fast. Then you turn off that layer and turn on next layer. Minimum time per layer is around 4.16mS (miliseconds). That's 30 frames per second (1 frame = 8 layers ). If time is larger than that , you'll see flickering... I don't think you can do that manually, you'll need microcontroller.
3:32 Random car drives over the repeater 😂
Excellent 👍
I got my TrigBoards a few weeks ago, thanks. I was wondering do you use Arduino for all your development or have you used the Espressif SDK using C or C++?
Or is micropython possible?
I keep it all in Arduino, but nothing to stop from moving into the SDK.
it definitely possible!
@@SolarWebsite I know Adafruit has started porting their Circuit Python to the ESP32, if they haven't already. I did find this reference, perhaps a place to start? docs.micropython.org/en/latest/esp32/tutorial/intro.html
@@Kevindarrah Thanks, I was just curious if you have done any development in plain C (or C++). Thanks. I wanted to look into. Another question, do you use any JTAG debugger for debugging? If so, what debugger do you use. Thanks
Why not use the WROOM-32U with a 6 dbm antenna? That should double the range of each esp. You could get even further with directional antennas.
yea, I do actually have a couple of those lying around... might try that out
Off topic - Which LED constant current circuit is better for pwm to current transient response , dual NPN transistor or the one with TLV431 with a single NPN, both of these circuits you showed in your videos. Which one is good for fast transient response of current waveform like lower current rise and fall times?
I like the TLV431, but nowadays you could probably find a nice little driver
Have you tried placing the ESP32's in LR mode it should drastically improve range.
thanks - will check this. Didn't know this was possible
@@Kevindarrah basically you add #include esp_wifi.h. at the top then use
int a= esp_wifi_set_protocol( WIFI_IF_AP, WIFI_PROTOCOL_LR ); Serial.println(a);
WiFi.softAP(ssid, password);
To connect the serial print of 'a' calls the var and sets the unit to LR mode
Its pretty cool I have heard up to 1km ranges
Do you think it is possible to get the notification/trigger in a mobile via wifi isnstead of in the esp32?
Using a single UDP packet for security seems flawed to me, as if for some reason, an interference, etc causes that packet to get either corrupted or dropped, there is no validation mechanism that the trigger notification was delivered. I would consider changing to TCP.
yea, actually it's a "blast" of UDP packets, sends about 20 in a row. So far with like 10 trigBoards here, have not had any issues and the UDP is so fast
What cellular gateway did u use
Used a particle boron - check out links in desc
couldn't you use esp-now for extending?
on 8266, I really liked ESPnow, but not so much on the 32, especially when enabling encryption