ESP8266 Control NeoPixels Using URL Queries In Arduino IDE (Mac OSX and Windows)

  Рет қаралды 35,597

datasith

datasith

Күн бұрын

Пікірлер: 73
@7Trident3
@7Trident3 2 жыл бұрын
As a self taught programmer, your data entry, and commentary fill in a lot of blanks! You are an excellent teacher, excellent control, and use of the english language!
@brantbeck8487
@brantbeck8487 8 жыл бұрын
You guys are doing an amazing job, have no worries your following will continue to grow quickly. Well structured, easily understood videos with solid links and your responses to questions are exceptional and timely. Thank you so much and please keep the videos coming!
@datasith
@datasith 8 жыл бұрын
Thanks so much for the kind words, Brant. We're so glad you guys and gals are finding our vids useful! Certainly, more are on the way, we've just posted one on using POST requests and JSON (kzbin.info/www/bejne/e5XFqayiZ6ebr7c). Upwards and onwards!
@mrwonk
@mrwonk 3 жыл бұрын
Excellent videos. You have simplified and explained what the code does, so it is simple for me to take what you show and write my own code to do what I am looking to do. So much easier than the clunky documentation I find online!
@TheM4rten
@TheM4rten 7 жыл бұрын
String msg = "LED #"+n+" has been set to: " .....
@datasith
@datasith 7 жыл бұрын
Yeah, there are a few tricks here and there that can make coding life a little easier. We're glad you found one, thanks for watching and for the kind words!
@im_user98711
@im_user98711 7 жыл бұрын
This week, I'm new for ESP8266 but after watching your great tutorial, I think next week I will jump to start my project.
@datasith
@datasith 7 жыл бұрын
Thanks, good luck with your project!
@TheM4rten
@TheM4rten 7 жыл бұрын
exactly what i was missing on YT ! thx for all the great videos !
@datasith
@datasith 7 жыл бұрын
Thanks for the kind words, we're glad you liked them :)
@LASERLine.Brasil
@LASERLine.Brasil 8 жыл бұрын
Thank you very MUCH for the info. Great job!!
@datasith
@datasith 8 жыл бұрын
Glad you liked it, more vids on the way!
@just4electronics101
@just4electronics101 4 жыл бұрын
Guys You are amazing Love your videos and the best thing each And every single Video is worth to watch and every single video is unique no one else is providing such amazing content on ESP8266 .....I Must say you are best .........Love YOu GuYs for providing such an amazing content
@datasith
@datasith 4 жыл бұрын
Thanks so much, I'm glad you liked them :)
@DerekWelchElectric
@DerekWelchElectric 5 жыл бұрын
Great tuts, only question is, why is udummy advertising on your videos. I'm getting exactly the course I need watching you?
@datasith
@datasith 5 жыл бұрын
Hey, Derek. Thanks for the compliment! Haha, no clue (I have no control over which ads are shown), I'm happy that you find the content useful enough to disregard the tempting offers from other platforms :)
@minaligupta9872
@minaligupta9872 7 жыл бұрын
Great job.. I am a beginner so it has helped me a lot in understanding everything clearly :)
@datasith
@datasith 7 жыл бұрын
Thanks for watching! Glad we could help :)
@danielizzudin3839
@danielizzudin3839 5 жыл бұрын
Very well presented ! Love it
@datasith
@datasith 5 жыл бұрын
Thanks so much for the kind comment, I'm glad you found the content useful!
@pascallacsap6276
@pascallacsap6276 7 жыл бұрын
Great Great job. May be the "setPixelColor" name for the function could lead to misunderstandings with the strip method. I am really eager to see your next tutos. Thank so much. I was using the metadata field of thingspeak objects "to send parameters" to my ESP8266...
@datasith
@datasith 7 жыл бұрын
Thanks for the kind words, Pascal! Ha, that's an interesting approach using the metadata. More videos are on the way, stay tuned!
@boomer9900
@boomer9900 4 жыл бұрын
These are good videos, I'm learning so much. So I have a bunch of functions written to display various patterns. The order of the functions is coded in the ino file. I would like to change the order of the functions with curl or web browser using OTA, which I do have working. I programmed my board Wemos D1 mini to wait 30 seconds from power on to receive a new program OTA. The problem I faced is the CPU seems to be too busy running the patterns to let the web server receive any handles. I tried the yield function with no luck and don't have any major delay commands. Any thoughts? Thanks.
@datasith
@datasith 4 жыл бұрын
You can try a Task Scheduler as I did in my last video (kzbin.info/www/bejne/aZ20aJKXpNmqZ9U), or you can move to the ESP32 and take advantage of having a couple of cores, that is, have the animations running on one core, and the web server on the other. HTH!
@tarunbirgambhir3627
@tarunbirgambhir3627 7 жыл бұрын
is it possible to create buttons and text fields on a web page and use those to interact rather than the url of the web page ?
@datasith
@datasith 7 жыл бұрын
Yes it is, see our other video for creating a client using JavaScript. It'll give you a good idea on how to do it! We plan on making a video soon on how to do it exactly, thanks for watching!
@juliooliveira7991
@juliooliveira7991 7 жыл бұрын
THAT'S AMAZING!
@datasith
@datasith 7 жыл бұрын
THANK YOU!
@moeddimangadap2493
@moeddimangadap2493 4 жыл бұрын
How can I store the data monitored in the case of ECG sensor to the web server and see the graph analysis? Need of response. Thanks.
@datasith
@datasith 4 жыл бұрын
You can search my videos for "sensor" (e.g., kzbin.info/www/bejne/bF61iaR8iMSIqrc) and "graphs" (e.g., kzbin.info/www/bejne/pXqYhKqnm851a6c)
@cyberworld6469
@cyberworld6469 5 жыл бұрын
Great info!! What is necessary to control a range of pixels (ie - 0-12) to a given color? TIA!
@datasith
@datasith 5 жыл бұрын
You could send the data as an array instead, using websockets might be easier: kzbin.info/www/bejne/iIDIhWCdrr6NnNk HTH!
@AlainPilon
@AlainPilon 7 жыл бұрын
Please, if you are going to use Vim editor, use the motion keys. It was driving me nuts to see you use the arrow keys to move around! :-) I love these videos but I just want to grab your keyboard and type for you!
@datasith
@datasith 7 жыл бұрын
Yes.
@microstro6402
@microstro6402 3 жыл бұрын
Nice 👍
@sto_karfi842
@sto_karfi842 5 жыл бұрын
Do you have any video on how to set a gui for these tasks on the IP or something like that(I'm kinda new on the stuff)?
@datasith
@datasith 5 жыл бұрын
I try to aim all my videos for people getting started. Unfortunately, the GUI options aren't great, so in general you're better off writing the code yourself, but including existing libraries with the functionality you need!
@quaternion-pi
@quaternion-pi 8 жыл бұрын
Excellent tutorial! Is it possible to have a python script running on a laptop replace the manual creation of the arguments passed in the browser to the Neopixel string?
@datasith
@datasith 8 жыл бұрын
Thanks! You're one step ahead of the game :) It sure is possible to have a script in Python or any other language (e.g., JavaScript) constructing the URLs and sending the requests. We'll have videos on this coming up soon. Thanks for watching!
@quaternion-pi
@quaternion-pi 8 жыл бұрын
Outstanding! New subscriber. I look forward to more tutorials. Your documentation of additional resources with the video is also great. Is the Neopixel string you use bright enough for under kitchen cabinet lighting - or would RGB+White addressable Leds be better? My ultimate goal is to control them with an Amazon Echo Dot or Google Home via voice command,
@datasith
@datasith 8 жыл бұрын
alphakittycat We're happy you like the content :) The RGB+W will give you a slightly "cleaner" white because there's a separate white LED instead of using R+G+B at full intensity. Calculate 40~60mA@5VDC per pixel and you'll get plenty of brightness with either one. In case you buy the ones linked in the description and they don't work for you, let us know and we'll happily refund your order! P. S. We'd love to see pics of your Echo Dot/Google Home project when you finish it!
@codingmaster6321
@codingmaster6321 6 жыл бұрын
Thnx my man : )
@datasith
@datasith 6 жыл бұрын
You're welcome, my viewer : )
@neilausten9404
@neilausten9404 5 жыл бұрын
Hi I can open the server when I put in the IP address but when I put in the setcolorpixel_num=1 , As you do, I get a response that site does not exist.
@datasith
@datasith 5 жыл бұрын
Do you use the question mark "?" between setcolor and pixel_num?
@neilausten9404
@neilausten9404 5 жыл бұрын
@@datasith Yes indeed, as shown :192.168.1.8/setcolor?pixel_num=1 Also , I'm sure I copied your code exactly as you wrote it. Thanks for your reply.
@datasith
@datasith 5 жыл бұрын
​@@neilausten9404 cool. So, something is 'choking' inside the setPixelColor() function definition, and the code can't get to the line server.send(...). If you comment out everything except for that line, and substitute the variable "rsp" for a string like "debugging this!", then you should be able to reach the page. Then, you can little-by-little find what's failing. Let me know how it goes!
@capiberra4118
@capiberra4118 8 жыл бұрын
Thanks.
@datasith
@datasith 8 жыл бұрын
No problem!
@karsdivs
@karsdivs 6 жыл бұрын
How can i convert String to char*?? Any suggestions guys..
@datasith
@datasith 6 жыл бұрын
Google and Stack Overflow are your friends. String str = "test"; char *pstr = str.c_str();
@professorm4171
@professorm4171 7 жыл бұрын
Why don't you type code in the Arduino IDE? It's easier.
@datasith
@datasith 7 жыл бұрын
Because it's easier (for us) to do it this way :)
@Brandon-youtube
@Brandon-youtube 7 жыл бұрын
Is it okay to just do all of this in the Arduino IDE?
@datasith
@datasith 7 жыл бұрын
Yup, it's okay to do it in the built-in editor. Our use of the external editor is just a matter of preference. Maybe if your code gets complex the tools that external editors like Sublime Text offer will make your life easier.
@Brandon-youtube
@Brandon-youtube 7 жыл бұрын
Thank you
@EmmaMaryTaylor
@EmmaMaryTaylor 4 жыл бұрын
@@datasith I was just wondering this myself! Thank you!
@ltdr99
@ltdr99 8 жыл бұрын
Why do not you use more micropython?
@datasith
@datasith 8 жыл бұрын
Hey Teo, we're trying to be systematic about our posted videos. We're now covering a few basic topics using the Arduino IDE, but soon we'll do a set on MicroPython. Hang on tight! :)
@datasith
@datasith 8 жыл бұрын
Hmm, *s bright*, we respectfully disagree. As with most things there are _pros_ and _cons_ and they highly depend on the application. Our favorite feature of firmware interpreters such as MicroPython is the ability to run code immediately without waiting for an upload. Of course there are ways to do this even w C/C++ but that's the beauty of choice, everyone can have their own without one being "smarter" than any other.
@datasith
@datasith 8 жыл бұрын
s bright: > I don't see any reason... What we're saying is that other people (including ourselves) may see a reason. > a more powerful embedded device... You're absolutely right, however, we make due with what we've got. In this case, the compromise is using a stripped-down, limited version of Python to run it on a $5~$10, widely available board. For us it's worth it, but we certainly respect differing opinions.
@JadeclonOfficial
@JadeclonOfficial 4 жыл бұрын
Does this work in realtime?
@datasith
@datasith 4 жыл бұрын
no, the closest you can get to real-time is using websockets: kzbin.info/www/bejne/iIDIhWCdrr6NnNk
@marcelobenitezabc
@marcelobenitezabc 7 жыл бұрын
***A*W*E*S*O*M*E*** tks for sharing!
@datasith
@datasith 7 жыл бұрын
Thanks for watching!!!
@ezio8000
@ezio8000 7 жыл бұрын
Love your youtube on the ESP8266-12E. Instead of using pin D2, I used D9, which is labeled Rx. See www.c-sharpcorner.com/article/blinking-led-by-esp-12e-nodemcu-v3-module-using-arduinoide/ for the pin mapping, for others who may want to use a different pin.
@datasith
@datasith 5 жыл бұрын
Awesome, thanks for sharing. I'm glad you found it useful!
@johnscott7377
@johnscott7377 7 жыл бұрын
His password is "13meetup37".
@datasith
@datasith 7 жыл бұрын
😱 😱 😱 313373 H4XR!!!
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,7 МЛН
How to whistle ?? 😱😱
00:31
Tibo InShape
Рет қаралды 19 МЛН
didn't manage to catch the ball #tiktok
00:19
Анастасия Тарасова
Рет қаралды 35 МЛН
Building a Tiny Office Pod Under My Stairs
51:47
Man Made
Рет қаралды 6 МЛН
I Built a Robot that Plays FPS Games
21:23
Basically Homeless
Рет қаралды 703 М.
Arduino MASTERCLASS | Full Programming Workshop in 90 Minutes!
1:25:31
Programming Electronics Academy
Рет қаралды 2,6 МЛН
Full video - Data recovery from a dead MicroSD card
16:01
DevelopAKR
Рет қаралды 382 М.
I tried finding Hidden Gems on AliExpress AGAIN! (Part 11)
15:01
GreatScott!
Рет қаралды 564 М.
ESP8266 + Arduino + database - Control Anything from Anywhere
13:51
Electronoobs
Рет қаралды 638 М.