Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Michael Miller
@Makuna
@skorokithakis what sort of motors? If its a standard brushed motor, why yes, they put out a lot of noise. You can put caps right at the motor that helps this (look up RC Motor Filtering Caps).
Ivan Kravets
@ivankravets
@d-anders try Menu: PlatformIO > Rebuild C/C++ Project Index
tzapu
@tzapu
@ivankravets , i cought you again :P
(1h later, oops)
the platform ide, can t coexist with another atom configured for web development i guess, is that correct?
it s one atom loaded with all plugins for everything...
tzapu
@tzapu
also, when using arduino ide compatibility, and library manager i get this error about not finding a lib, https://www.dropbox.com/s/c49j7naos0eqlrf/Screenshot%202016-03-25%2010.41.00.png?dl=0
although it compiles fine it seems...
ehich goes away if i add #include <Arduino.h>
but is that the right thing to do for an esp8266 project?
Stavros Korokithakis
@skorokithakis
@Makuna hmm, but then I won't be able to PWM them, right?
Stavros Korokithakis
@skorokithakis
alright something in this build is smoking a lot
is it the H-bridge? how much current does a motor draw?
Stavros Korokithakis
@skorokithakis
aw, three amps :(
Martin Ayotte
@martinayotte
@skorokithakis , you means that your motor is taking 3A ?
Stavros Korokithakis
@skorokithakis
Yes :-(
Martin Ayotte
@martinayotte
Ouch ! even a L298N module will be too border line. Is this motor so big ?
Baruch Even
@baruch
I'm using the http upgrade mechanism and it works nicely but there is no info on progress or hooks to add them, would it be ok if I created a patch to add some hooks in there? I want serial prints but I would also be interested in my mqtt server updated with the status too for an over-the-network monitoring of sorts
Stavros Korokithakis
@skorokithakis
@martinayotte yes, it's an RC car so it has a lot of torque
i ordered an L298N, it says 3A peak, so hopefully it will work
it does 800 mA with no resistance, so it was working fine when the motor was free-spinning, but if it runs against a wall it surges to 3A
Ivan Grokhotkov
@igrr
@baruch it's not recommended to run other TCP connections while OTA is in progress
this may affect the OTA
Baruch Even
@baruch
I'm not looking for continuous updates, just a "upgrade checking", "upgrade not needed", "upgrade in progress" status
Stavros Korokithakis
@skorokithakis
can't you do that already?
Ivan Grokhotkov
@igrr
Okay, that makes sense
Baruch Even
@baruch
I saw the code already disables all TCP connections other than its own
Stavros Korokithakis
@skorokithakis
oh you're talking about the HTTP one?
Ivan Grokhotkov
@igrr
pull request is welcome then :)
Stavros Korokithakis
@skorokithakis
the direct one does have hooks
Baruch Even
@baruch
@skorokithakis, the http one has no hooks
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