Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Stavros Korokithakis
@skorokithakis
right
yeah, that'd be nice
i'm writing a small Go server to do the http serving
what do you use, @baruch?
Baruch Even
@baruch
I want a smart home and I want to upgrade the units remotely without going to them one by one manually, I will have a registry of them all and either use a single upgrade topic on mqtt or one per node and the server will loop through them one by one
Python
Stavros Korokithakis
@skorokithakis
ah right
Baruch Even
@baruch
This is in collaboration with a friend, he knows hardware and I know software
Stavros Korokithakis
@skorokithakis
i wrote something that you can run and point to a directory so things can request http://server.com/sensors and the server will check the version of sensors.2.4.1.fw and send it if it's newer than what's on the ESP
Baruch Even
@baruch
both know a bit of the other side as well
Stavros Korokithakis
@skorokithakis
hardware is nice
Martin Ayotte
@martinayotte
@skorokithakis , so, another 6 weeks before receiving your L298N ... :-(
Stavros Korokithakis
@skorokithakis
yes :(
the slow boat is so slow
it's too bad, i wrote a program to capture events so i could control the rc car from the pc's keyboard arrows and it was working fine when the car was in the air
wheels turning and everything
Martin Ayotte
@martinayotte
Light up some candles, maybe it will arrive in 4 weeks :-)
Stavros Korokithakis
@skorokithakis
set it down, bam, smoke
haha
i have a shrine :P
@martinayotte another issue is that the esp was getting disconnected from the wifi a lot
could it be interference from the motor?
Martin Ayotte
@martinayotte
I don't know ... maybe glitch on power. try adding more caps.
tzapu
@tzapu
i don t think i ve ever seen a discussion related to building something aroudn the ESP where more caps was not mentioned… moooore caps :P
Stavros Korokithakis
@skorokithakis
hahaha yes
hmm it might have been a power glitch, good call
thanks
the good thing about that is that it has a power supply by itself
so you give it 9v and it gives you 5 back, which his well in range of the ldo
Martin Ayotte
@martinayotte
Yes, If you remember, that was the one I've suggested 2 months ago, but at that time, you felt it was a bit too big.
Stavros Korokithakis
@skorokithakis
did i? well, sucks to be me :(
Ivan Kravets
@ivankravets
@tzapu of course, you should add #include <Arduino.h> on the top of file if use Arduino framework
Stavros Korokithakis
@skorokithakis
@martinayotte oh, it was because the one i got could drive two motors, i didn't notice the amperage
but now that i see how this one works, it's clear that the one you suggested can drive two motors as well
Ivan Kravets
@ivankravets
@tzapu also don't forget that if you add library manually or install via Arduino IDE Library Manager you need perform Menu: PlatformIO > Rebuild C/C++ Project Index. If you use PlatformIO IDE and PlatformIO Library Manager within it - PlatformIO monitors places where new libs could be added and update the project automatically for you
Stavros Korokithakis
@skorokithakis
hmm, i'm not even sure what the voltage on these motors is
the battery pack looks like four pairs of AA batteries in series
hm
Baruch Even
@baruch
Add a start callback for HTTP updater #1817
Stavros Korokithakis
@skorokithakis
oh it does say 9.6v
Baruch Even
@baruch
BTW, who is doing the merges of the pull requests?
tzapu
@tzapu
thanks @ivankravets did all that, i was just wondering on the arduino h , as i never included it before. cheers, compiled and uploaded a project, tis nice
Stavros Korokithakis
@skorokithakis
hmm, i'm getting an error on the min and maxfunctions, what's the right name to use?
ah, std::min and std::max
Martin Ayotte
@martinayotte
There is a conflict if I remember with <std>. In Arduino.h, to workaround the issue, there are macros _min/_max .
Stavros Korokithakis
@skorokithakis
ah, thanks
Michael Miller
@Makuna
@skorokithakis You are better off using a RC speed controller and just use the Servo library to talk to that.
Stavros Korokithakis
@skorokithakis
@Makuna what's an RC speed controller?