These are chat archives for esp8266/Arduino

26th
Mar 2016
Harrison Mclean
@h4rm0n1c
Mar 26 2016 05:35

I’ve just been fiddling wtih tzapu’s wifimanager, I’ve just managed to get it to run in an “always available” mode where the web interface is available even if you’re connected in STA mode, it just spins up or destructs the DNS server depending on AP or STA mode.

I’m not sure if I’ll release, as it’s just an experiment in laziness and code reuse (a lot of the existing procedures worked fine, with a refactor beforehand, wifimanager could actually include this as an option.)

Might fork, might PR, who knows, this mainly happened because I needed a crutch to learn the APIs and wifimanger covers most of what I want already.

tzapu
@tzapu
Mar 26 2016 07:56
@h4rm0n1c nice
:)
i think for people wanting in always on mode, it would have a different set of functions, starting it, without dns server in sta mode
now, there s some issues with that, and compatibility for a lot of people( that might have a webserver already for instance)
also with Ip allocation
i ve worked very hard to make it solid, mostly because of some quirks of how the esp handles switching between AP / STA mode, and the auto connect feature
and only in the latest release (github, not releaset yet actually) it’s something that seems reliable for most people/sketches
i can see the benefit of having it always on, but i can also see some added complciation that new users might find very very confusing
so, i m sure it s a balance of features and simplicity that could be struck
tzapu
@tzapu
Mar 26 2016 08:03
quick thoughts for including this into wifi manager would be for people to have a static instance of wifimanager, and to have a begin function to which they could pass a webserver instance as well, so they can have their own api as well as wifi manager’s , but how would that work with the part that s supposed to aid in setting up the connection in the first place ...
there s also some problems to how the webserver lib destroyes, once you have an instance, you can t start another after destroying the first, and so on...
damn, i ll stop now i could rant for ever and ever
and ever and ever
Harrison Mclean
@h4rm0n1c
Mar 26 2016 08:59

General question:
I ended up switching to platformio with the Atom GUI, and it’s great, but is it possible to use the latest git version with it?

Also, things are not as peachy with the modifications I have made as I’d thought, adding in DMD2 to drive my display makes it very unstable...

d-anders
@d-anders
Mar 26 2016 09:47
i would guess you can download it mnanually to the right folders
but i also guess it is asking for a bit of trouble
didnt see an option to install it from inside the ide
marksev1
@marksev1
Mar 26 2016 11:24
Can i hotglue the esp to some plastic casing? :D
by its pcb antenna lol
or double side tape it
Markus
@Links2004
Mar 26 2016 11:25
the ESP gets warm, so tape is a better
superglue work well too
marksev1
@marksev1
Mar 26 2016 11:27
cool got superglue too
Harrison Mclean
@h4rm0n1c
Mar 26 2016 12:07

I’ve been fiddling with wifimanager some more:
I’ve got timer0 running an interrupt to push data out over SPI to a display, I’m using a dot matrix led display and the DMD2 library.
it crashes when Wifimanager runs WiFi.scanNetworks(), which happens when you attempt to load the wifi config page.
When I wrap scanNetworks with ETS_CCOMPARE0_DISABLE and ETS_CCOMPARE0_ENABLE, it stops crashing.

Now, this isn’t a big deal, but it’s not the only crash that occurs when using SPI alongside wifi like this, I’d prefer to get to the root of the problem, whether it be some sort of safety check I have to add to DMD2 for my ISR (I’ve added a check that ivan suggested already to make sure we aren’t doing a flash access), or or what, I don’t know.

The question is, what the hell is making it conflict? (I’m on 2.1.0, PlatformIO)

tzapu
@tzapu
Mar 26 2016 12:10
it may be that scannetworks is blocking for the rest of the sketch ...
hence another reason not to have wifimanager active all the time
:P
anyway. it s very cool that you experimenting with all this, and looking forward to all your results
Harrison Mclean
@h4rm0n1c
Mar 26 2016 12:29
sigh There’s an async mode for scan, I’m a dingus.
Time to learn about that.
d-anders
@d-anders
Mar 26 2016 12:36
does code completion work for you for imported projects in platformio?
for me it works only when i create new projects
Harrison Mclean
@h4rm0n1c
Mar 26 2016 12:51

I actually just made a new project when I started using platformio, it works, mostly, but I’ve found that feature can be a little buggy.

GCC also seems to have a bad habit of generating a lot of bogus error and warning messages on WiFiManager when I put it in the src directory rather than using the platformio version.

I’ve even had it tell me that WiFiManager.h does not exist, only for it to compile and run without any issue at all…

So yeah, PlatformIO has a lot of ground they need to cover before it’s really ready for super serious use...

*lib not src
“that feature” being code completion
d-anders
@d-anders
Mar 26 2016 13:50
still it is better than arduino ide already
(my opinion)
Stavros Korokithakis
@skorokithakis
Mar 26 2016 13:54
@Makuna I'm looking to buy a battery, charger and two speed controllers from hobbyking, but none of them mention reversing, do you know what I should look for? Also, are you sure all these communicate with the ESP through the servo library?
i also don't understand how these controllers are that small and can support 10 amps
Aditya Tannu
@AdySan
Mar 26 2016 14:20
Just found this level shifter SparkFun Voltage-Level Translator Breakout - TXB0104 Anything better/smaller/cheaper someone can recommend?
Stavros Korokithakis
@skorokithakis
Mar 26 2016 14:22
what does it do?
Aditya Tannu
@AdySan
Mar 26 2016 14:22
3.3V to 5V and vice versa too
Stavros Korokithakis
@skorokithakis
Mar 26 2016 14:22
oh hm
Aditya Tannu
@AdySan
Mar 26 2016 14:23
useful for driving 5V stuff with an ESP, also vice versa
Stavros Korokithakis
@skorokithakis
Mar 26 2016 14:23
so you put one voltage in one pin and the other voltage comes out the other side?
i use mosfets for driving 5V stuff, but this looks very handy
Aditya Tannu
@AdySan
Mar 26 2016 14:23
theres a VCCA and VCCB
both have certain ranges
Stavros Korokithakis
@skorokithakis
Mar 26 2016 14:24
let me give you something else @martinayotte showed me
Aditya Tannu
@AdySan
Mar 26 2016 14:24
but they decide the logic level on each side
Aditya Tannu
@AdySan
Mar 26 2016 14:24
haha, that was quick
Martin Ayotte
@martinayotte
Mar 26 2016 14:24
2 pieces for cheaper ;-)
aren't those just mosfets, martin?
Martin Ayotte
@martinayotte
Mar 26 2016 14:25
@skorokithakis , the ULN2803 is not a level-shifter, but darlington array driver
Stavros Korokithakis
@skorokithakis
Mar 26 2016 14:25
hmm yes, but can't you use it for shifting?
Martin Ayotte
@martinayotte
Mar 26 2016 14:26
I wished that new ULN would be made with MOSFET, but they don't. Simply Darlington ... :-(
Aditya Tannu
@AdySan
Mar 26 2016 14:26
yeah two transistors hugging each other
Stavros Korokithakis
@skorokithakis
Mar 26 2016 14:26
ah :/
Martin Ayotte
@martinayotte
Mar 26 2016 14:27
No, they can not really be used as level-shifter since they are inverted : HIGH at the input provide strong LOW at the output and you need to add PullUps
Oh ! I've finally found a MOSFET array : uPA1601, but not octal, only seven channel, a bit like ULN2003 (not 2803)
d-anders
@d-anders
Mar 26 2016 14:32
you should buy a couple of the really really cheap stepper motor boards
they have uln2003 with easy connections
Martin Ayotte
@martinayotte
Mar 26 2016 15:01
Oh ! I found something interesting, although not as high current, I2C latchs+mosfet into single package : TPIC2810
Martin Ayotte
@martinayotte
Mar 26 2016 15:51
Yes, it is similar to the TPIC2810 I've mentioned, except it is plain serial, while the other is I2C which is more useful
d-anders
@d-anders
Mar 26 2016 15:52
ah yes
d-anders
@d-anders
Mar 26 2016 16:04
depending on what you want you also have the tlc5940
Martin Ayotte
@martinayotte
Mar 26 2016 16:29
Yes, I've saved the specs of this one a while ago, it is a PWM controller.
marksev1
@marksev1
Mar 26 2016 16:37
This sux no one is gonna pay their Blynk-i subrscription, they should've introduced a paid app or something a one time payment
it looks good but isnt worth that much money
Michael Miller
@Makuna
Mar 26 2016 16:56
@skorokithakis I am sure they will work. The included servo library was meant for hobby servos, these ESCs are meant to replace a servo. I had an offroad racing RC that actually used a variable resistor, large thing with an open wiper arm that was driven by a hobby servo.
I just wish I could a single or dual channel rather than four channel. The ones listed from ebay and aliexpress above both could be made into one. Something in me hates having unused circuit ;-)
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:08
oh, so this ESC is half a servo? i see
the other thing is that i have a brushed motor
so i need a brushed esc
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:15
@Makuna do you think this may support reversing and just not mention it? http://www.hobbyking.com/hobbyking/store/__9090__Turnigy_20A_BRUSHED_ESC.html
oh, no, it won't, it labels its terminals
Michael Miller
@Makuna
Mar 26 2016 17:28
@skorokithakis You sometimes have to look at the comments to find out if it has reverse, its a common question when they omit that detail in the description. But, reverse is uncommon in the smaller ones, as they are used for light/cheap aircraft or RC car racing (where reverse is against the rules). Reverse is common in the ones meant for 4x4 Trucks or offroad non-racing; so they tend to be bigger in the ranges of 40amp and above.
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:28
oh i see, hm :/
Michael Miller
@Makuna
Mar 26 2016 17:31
@skorokithakis http://www.hobbyking.com/hobbyking/store/uh_viewItem.asp?idproduct=68472, but I suspect its not 50/50, this means that idle is not centered servo, but skewed to one side so that you have more resolution in the forward speed.
For cars this is fine, for skid steer (tanks/robots) this is bad.
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:35
hmm, i'm not sure what you mean there
do you mean that 50% forward is faster than 50% backward?
also how the hell can this little thing withstand 15A!
@Makuna the components look tiny!
Michael Miller
@Makuna
Mar 26 2016 17:39
The servo input is a pulse width from 1.5ms to 2.5ms with center at 2ms. A 50/50 ESC will consider the center as idle, below 2ms as reverse and above 2ms as forward. This one uses another spot.
And the effects are that there is less resolution in reverse than forward, "less fine control". Sometimes they ever limit the reverse so it only goes at 25% throttle at max reverse.
@skorokithakis There are components on the otherside ;-)
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:41
oh, i see, i didn't know they did PWM that way
@Makuna still though, the 3A h-bridge i bought has huge heatsinks
the biggest thing this has is a ldo
Michael Miller
@Makuna
Mar 26 2016 17:45
The other fun thing is braking feature, when it goes into its idle position, it brakes (might be configurable), what this means is that it shorts the motor + and - together, which causes the motor to lock up.
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:45
oh aha
this looks interesting, i'll get two and hope they work
my original battery was 9.6 V but this needs 8.4V
so i guess a 7.4 battery will do
Michael Miller
@Makuna
Mar 26 2016 17:46
you might find another that is similar but handles a larger battery, this is what I found quickly. And yes, their search feature sucks.
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:48
ah :/ i've been looking for a while but couldn't find even the one you mentioned, but i'll try some more, thanks
Michael Miller
@Makuna
Mar 26 2016 17:49
Try browsing instead of searching
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:51
the motor should still work with a lower voltage, right?
@Makuna also, most ESCs specify voltage in S, which i'm not familiar with
Markus
@Links2004
Mar 26 2016 17:53
1S = 1LiPo = 3,6 - 4,2V
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:54
ah, so 2S is two in series?
Markus
@Links2004
Mar 26 2016 17:54
yes
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:54
thanks
Markus
@Links2004
Mar 26 2016 17:54
its simple the count of LiPo cells
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:55
makes sense, thank you
Me No Dev
@me-no-dev
Mar 26 2016 17:56
@skorokithakis what motors do you have
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:56
i have an old RC car, it has some cheap brushed ones
Michael Miller
@Makuna
Mar 26 2016 17:56
I have no idea why they use S in this case. Batteries will have a value C on them, 2C charge, 10C discharge, this also refers to cells, what every rating a cell has, the charge is 2x that, and max discharge is 10x that.
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:56
hm, that's confusing
Me No Dev
@me-no-dev
Mar 26 2016 17:56
RC car does not give much info :)
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:56
@me-no-dev it's all i know :/
it has a 9.6V battery
Me No Dev
@me-no-dev
Mar 26 2016 17:57
here is mine
IMG_1711.JPG
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:57
two motors and treads
Me No Dev
@me-no-dev
Mar 26 2016 17:57
this is all brushed
4 motors and 2S battery
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:57
what are those little boards?
Markus
@Links2004
Mar 26 2016 17:57
C is for current load max
S is voltage
Me No Dev
@me-no-dev
Mar 26 2016 17:57
those aree the drivers
cheapo ones 3 bucks each
runs for over 40 minutes with single charge
brushless and RC is really nice and fast but expensive as well
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:58
@me-no-dev but no reverse?
Me No Dev
@me-no-dev
Mar 26 2016 17:58
yes
one pin controls direction
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:58
ah, i need reverse, that's the problem :/
Me No Dev
@me-no-dev
Mar 26 2016 17:58
the other the speed of themotor
i control it as tank
so it HAS reverse
Stavros Korokithakis
@skorokithakis
Mar 26 2016 17:59
hmm, mine is like a tank too, with treads
but how do your drivers do reverse?
@me-no-dev i basically need the exact schematic as you
Me No Dev
@me-no-dev
Mar 26 2016 17:59
again: one pin on the driver controls direction and the other is PWM for the speed
I have them two in paralel on each side
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:00
yes, but how does one driver switch direction? do you have a circuit diagram?
Me No Dev
@me-no-dev
Mar 26 2016 18:00
it's a feature in the driver itself
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:00
ah
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:01
ah, that looks great
but it says 1.8 A peak
mine draws at least 3 peak
Me No Dev
@me-no-dev
Mar 26 2016 18:01
I have it just fine on my 4 brushed motors
that is why I asked what kind is yours
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:02
ah
Me No Dev
@me-no-dev
Mar 26 2016 18:02
how you know it's over 3A?
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:02
did you measure peak draw on your motors?
i measured it
with the multimeter
Me No Dev
@me-no-dev
Mar 26 2016 18:02
i did not bother to measure them at all :)
hooked it up and let it spin
but hever felt them warm or anything
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:03
ah, i see
mine worked fine when spinning in the air, but then it ran against a wall and the h-bridge burned up
Me No Dev
@me-no-dev
Mar 26 2016 18:04
you were using what bridge?
@me-no-dev then I bought this one (http://www.ebay.com/itm/181888372542) which is great because one bridge controls both motors forward and reverse, and it has a 5V output so you can run the ESP off it
Me No Dev
@me-no-dev
Mar 26 2016 18:05
quite weak
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:06
but i'm not sure if 3A will be enough
Me No Dev
@me-no-dev
Mar 26 2016 18:07
hooking up the new one you bought can show you if it is enough :)
maybe you can run both channels in parallel and yield twice the current
need one board for each motor though
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:09
hm yeah, that's an idea
Michael Miller
@Makuna
Mar 26 2016 18:17
How you suppling the PWM signal to four speed controllers?
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:18
me or me-no-dev ?
Michael Miller
@Makuna
Mar 26 2016 18:18
me-no-dev
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:18
i guess he just analogWrites it
Michael Miller
@Makuna
Mar 26 2016 18:18
The servo PWM is different than a direct motor controller PWM signal.
Me No Dev
@me-no-dev
Mar 26 2016 18:19
@Makuna sure it is
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:19
yeah, looks like me-no-dev's is a direct motor controller PWM signal
Me No Dev
@me-no-dev
Mar 26 2016 18:19
but seems overkill for two brushed motors
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:19
i.e. untimed
Me No Dev
@me-no-dev
Mar 26 2016 18:20
yes, takes dorect analogWrite (PWM or SigmaDelta)
Michael Miller
@Makuna
Mar 26 2016 18:21
I thought there was only one PWM channgel on ESP, oh, does it use software to drive the channels?
Me No Dev
@me-no-dev
Mar 26 2016 18:21
it's software PWM
using the other timer (timer1)
there are one or two sigma delta hardware channels
Michael Miller
@Makuna
Mar 26 2016 18:22
How much CPU does that burn up?
Me No Dev
@me-no-dev
Mar 26 2016 18:22
almost none
it has the timeouts precalculated
Michael Miller
@Makuna
Mar 26 2016 18:22
low frequency then?
Me No Dev
@me-no-dev
Mar 26 2016 18:23
define low :)
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:23
i do software pwm at 100 khz for my IR remote IIRC
1 usec up/1 usec down works fine
eh, maybe 2
so it's more than 100 khz
Michael Miller
@Makuna
Mar 26 2016 18:24
In software? That uses a lot of cpu just to enter and exit the ISR.
Me No Dev
@me-no-dev
Mar 26 2016 18:24
depends on the resolution and on the frew selected
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:24
what's the ISR?
Michael Miller
@Makuna
Mar 26 2016 18:24
Interupt Service Routine
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:24
i'm not using interrupts, i'm just using a for loop
Me No Dev
@me-no-dev
Mar 26 2016 18:24
@Makuna runs just fine for 8 bit @ 2+KHz
have gone up to 10 with success
above that the 8 bit resolution becomes a problem
Michael Miller
@Makuna
Mar 26 2016 18:25
@me-no-dev I am sure it runs fine, but it chewing CPU cycles so it limits how much other things you do. You might not need them so its a mute issue.
Me No Dev
@me-no-dev
Mar 26 2016 18:26
@Makuna no other way to run on the ESP without extra hardware
the esp32 has lots of sigmadelta channels
but not this one :)
I've done my best to do as little as possible in the ISR
you can check analogWrite's source in the core
Michael Miller
@Makuna
Mar 26 2016 18:28
This is why I pointed @skorokithakis at these hobby ESC, they have the extra hardware (most are Atmel AVR, some are programable) that are cheap, and the servo PWM is at a much lower rate.
Me No Dev
@me-no-dev
Mar 26 2016 18:28
@Makuna costs lots more than a driver
Michael Miller
@Makuna
Mar 26 2016 18:29
There are a few BUT EXPENSIVE robot motor controllers that use I2c, rs232, es485, or even canbus.
Me No Dev
@me-no-dev
Mar 26 2016 18:29
and you can use a tiny85 for the pwm
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:29
my main issue is the amperage, a driver works fine for my purposes as well
i can use a mosfet to modulate voltage
Michael Miller
@Makuna
Mar 26 2016 18:30
I guesss it depends on what you trying to spend time on the project, $5 dollars for those hobby controllers or $3 dollars in parts and 5 hours of your time, its a trade off we each have to make.
Me No Dev
@me-no-dev
Mar 26 2016 18:31
@Makuna point me please to such ESC. I would like to get some
if it really is $5, and it will handle the amperage required
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:32
@Makuna yeah, i got the controllers
Me No Dev
@me-no-dev
Mar 26 2016 18:32
then it's no brainer
Michael Miller
@Makuna
Mar 26 2016 18:33
Thanks to Quadcopters, the price of brushless stuff is also getting very cheap.
Me No Dev
@me-no-dev
Mar 26 2016 18:34
those will do though it seems that you have to manu8ally reverse them?
Michael Miller
@Makuna
Mar 26 2016 18:34
they use Servo PWM, we were discussing that earlier above.
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:34
what's the switch for? i meant to ask
Me No Dev
@me-no-dev
Mar 26 2016 18:35
i think it's for the direction
I dout they have them centered at 1500us
Michael Miller
@Makuna
Mar 26 2016 18:35
Its just a simple POWER OFF/ON.
@me-no-dev we brought that up above, they are not 50/50
Me No Dev
@me-no-dev
Mar 26 2016 18:36
regardless of the ratio is that how they work?
you hold at Xus to keep them still?
Michael Miller
@Makuna
Mar 26 2016 18:36
yes
this is like all hobby Servo PWM.
Me No Dev
@me-no-dev
Mar 26 2016 18:37
@Makuna I have quite a few quads, planes and such things :) all brushless though
Michael Miller
@Makuna
Mar 26 2016 18:37
they work the same on the PWM side.
Me No Dev
@me-no-dev
Mar 26 2016 18:37
so I am familiar verry well with it all
only ground thing I have is pictured above
Michael Miller
@Makuna
Mar 26 2016 18:38
I think we talked about quads before, I have a large tri also, if you stand up and hold your arms out at 60 degrees apart, the motors are at the your palms and your feet.
Me No Dev
@me-no-dev
Mar 26 2016 18:39
holly crap! what do you need that large thing for?
I'm currently trying to lose 50-60 grams off of my 250 :D
which fits in your palm almost
Michael Miller
@Makuna
Mar 26 2016 18:40
Its a camera crane. Still getting the camera gimbles (yes, a pilot small gimble and a large camera gimble) on it.
Me No Dev
@me-no-dev
Mar 26 2016 18:40
so DSLR type of thing?
Michael Miller
@Makuna
Mar 26 2016 18:40
It should be able to lifet a "Red One" camera,
Me No Dev
@me-no-dev
Mar 26 2016 18:40
are three motors enough?
I would think well before getting any expensive equipment on a tricpter
you lose a prop, you lose it all
Michael Miller
@Makuna
Mar 26 2016 18:41
For movie production. The motors are HUGE! The blades are near 28" span.
Me No Dev
@me-no-dev
Mar 26 2016 18:41
28" what? where do you buy those man?
and I thought my 14" were in the large sector....
Michael Miller
@Makuna
Mar 26 2016 18:43
They are carbon fiber, there are companies that make this stuff out there. I think the whole eight motors makes it safe is overrated. What makes it safe is prechecks, maintaince, and skilled pilots. You don't seem helicopters dropping out the sky but its only one motor ;-)
Me No Dev
@me-no-dev
Mar 26 2016 18:45
now on helis... they work different way all together
Michael Miller
@Makuna
Mar 26 2016 18:45
They already use helicopters (RC not real ones) for a camera crane, but their lift weight is limited, so mostly high end DSLRs.
Me No Dev
@me-no-dev
Mar 26 2016 18:45
you have free spinning blades
and auto gyro effect when dead stick landing
multirotors and copters have little in common really
Michael Miller
@Makuna
Mar 26 2016 18:46
again, why are you worried about the blades? Hitting wires or branches? You don't fly these big beasts near those.
Me No Dev
@me-no-dev
Mar 26 2016 18:46
and here is 4 channel analogWrite performance + the whole multiwii logic https://www.youtube.com/watch?v=erzBKHKT_KE
@Makuna I have has ESCs burn on me in mid flight
1 mile away
150 meters fall from the sky
Michael Miller
@Makuna
Mar 26 2016 18:49
That's cool. I don't fly mine near people, it would kill them if it hit them ;-)
Yes, but again, what quality of ESC are you using? How over rated is it? Do you test it between flights? When you talk about lifting a Red One camera, you need more procedure, AND INSUREANCE ;_)
Me No Dev
@me-no-dev
Mar 26 2016 18:50
ESCs were not all that expensive, but yes I went throuh each one, flashed new firmware and flew quite a few before the said flight
35A motors and 55A ESCs
extra cooling and all
a gpio on the atmega died
and I also do not fly around people (except the hobby buddies at the field)
the crash was above open field during gps mission
Michael Miller
@Makuna
Mar 26 2016 18:54
Ahh. You might need the industrial versions of the Atmel chip (more temp range, more resilient IO); but this is my point about all the talk of octcopters being safe, its about picking the right parts also, not just about tacking on more.
The movie people I talked to state they hate the octocopters as they make too much noise. This was a primary goal of mine was to reduce noise so that you could record audio from 100 ft away and not hear it at all.
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:56
i don't know if i'd trust my 5D to a quadcopter, let alone a Red :P
Me No Dev
@me-no-dev
Mar 26 2016 18:56
yes true all the way :) but with 3 or 4 you have no chance of recovery, and those things do happen in reality. Loss of big machines is expensive you know. I imagine the batteries required to lift it all are prolly close to $1000, not to mention the rest
Michael Miller
@Makuna
Mar 26 2016 18:56
(see note about Insurance)
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:58
by the way, what sort of battery should i get? i just want the cheapest 7V they have
unfortunately browsing hobbyking doesn't go by voltage
it goes by brand :/
Michael Miller
@Makuna
Mar 26 2016 18:58
I am looking at a ballistic parachute, as the Insurance people really liked it, but I am dubious as to whether it could be triggered smartly enough.
Me No Dev
@me-no-dev
Mar 26 2016 18:58
1000-1500 2S LiPO
Stavros Korokithakis
@skorokithakis
Mar 26 2016 18:58
thanks
what kind of charger does lipo need?
Me No Dev
@me-no-dev
Mar 26 2016 18:59
RC :)
there are some cheapo ones on hobby king that will do
Michael Miller
@Makuna
Mar 26 2016 18:59
one of those smart ones I was telling you about ;-)
Me No Dev
@me-no-dev
Mar 26 2016 18:59
let me look
international warehouse?
@Makuna that is really interesting
not that is proper insurance
Stavros Korokithakis
@skorokithakis
Mar 26 2016 19:00
international or EU
but i don't want to get an expensive charger for it :/
Me No Dev
@me-no-dev
Mar 26 2016 19:00
I'm sore manual triggering is not a problem, as for the auto one I can say that the FC monitor vertical speed, so it can be detected\
Stavros Korokithakis
@skorokithakis
Mar 26 2016 19:00
don't they have ones that charge with usb or something?
Me No Dev
@me-no-dev
Mar 26 2016 19:01
usb is not enough for 2S battery
Stavros Korokithakis
@skorokithakis
Mar 26 2016 19:01
hmm true
wall PSU?
I have a couple of those
Michael Miller
@Makuna
Mar 26 2016 19:02
Movie making is far more flexible than I expected. Stuff breaks down, rained out, they tend to have a backup plan if the primary thing they wanted to do doesn't work as the schedule is often more important. So if it fails, they may just cut the far off chase scene and bring it in closer. They know about risk.
Me No Dev
@me-no-dev
Mar 26 2016 19:02
for my small packs
marksev1
@marksev1
Mar 26 2016 19:02
hey Makuna
Stavros Korokithakis
@skorokithakis
Mar 26 2016 19:02
that looks good, thank you
Michael Miller
@Makuna
Mar 26 2016 19:03
WOW, those smart charges are getting smaller and cheaper!
Me No Dev
@me-no-dev
Mar 26 2016 19:03
this one can't handle above 2000mAh 3S really
or 1300 4S
Stavros Korokithakis
@skorokithakis
Mar 26 2016 19:04
are there other types of batteries that can use some other charger? i'm at 30 euros, which is more than i had in mind for a simple rc project :smile:
Me No Dev
@me-no-dev
Mar 26 2016 19:04
but yes
marksev1
@marksev1
Mar 26 2016 19:04
Makuna if you have time please look at the Neopixelbus chat :D
guys what about duck taping esp8266 would that work?
this charges all
Stavros Korokithakis
@skorokithakis
Mar 26 2016 19:05
damn, that looks heavy duty
Me No Dev
@me-no-dev
Mar 26 2016 19:05
from 1 6 cell, lipo, life, nimh, pb so on
actually not that heavy duty
if you have large machines, they have large batteries and this does not have the power
you charge at 1C so a 10000mah 4S should be charged at 10A 16V (160W)
and this one can do 50W at most
Michael Miller
@Makuna
Mar 26 2016 19:11
Also note that you can charge at 0.5c, so if your charger just doesn't have the juice, it will still charge, just slower.
Duck TAPE! In my day we used a paperclip and some bubble gum.
3M makes some very strong double sided tape that is common in the RC hobby space, I have used that in a pinch, keeps the top of the board open for cooling, and provides a little vibration damping.
marksev1
@marksev1
Mar 26 2016 19:23
hehe bubble gum :D
makes sense
Me No Dev
@me-no-dev
Mar 26 2016 19:24
@Makuna velcro user here :D
marksev1
@marksev1
Mar 26 2016 19:31
also cool idea
d-anders
@d-anders
Mar 26 2016 19:39
hot glue it
easy
Michael Miller
@Makuna
Mar 26 2016 20:09
Hot glue will soften if the device has any heat at all, I did this with some 3w LEDs, a ping pong ball diffuser was hot glued to the board, worked great for about 30 min until the glue heated up enough.
d-anders
@d-anders
Mar 26 2016 20:12
a lot of heat may cause problems i guess, i never had a problem with "normal" electronics though
i have used it to literally drown everything
Michael Miller
@Makuna
Mar 26 2016 20:17
I think it also depends on the glue, there is low temp, high temp, and multi temp (can tolerate high temp).
d-anders
@d-anders
Mar 26 2016 20:18
yeah maybe
filling with hot glue is a classic diy trick
i use just the cheapest glue i can find
Michael Miller
@Makuna
Mar 26 2016 20:19
How do you service it if something fails?
Hot air gun?
Throw it away ;-)
d-anders
@d-anders
Mar 26 2016 20:22
yeah
dont do it until youre sonde
done