I've been using a 12V supply and a 5V linear regulator to power a RGBW+W strip and a pro-mini for over a year now. And I use the 3.3v regulator on the mini to drive the radio. No problems and while a buck converter might be more efficient, there's no significant (or even noticeable) heat on the linear regulator and it's a pretty small amount of power in general.
Posts made by soward
RE: How to best power nrf+arduino (from 12V)
RE: Why continue to use NRF24L01?
Mostly power. Check how much power the ESP & wifi use vs NRF & atmel. For non-battery things it's probably not much of an issue though.
Also the mesh network and repeaters, again less of an issue if you have solid wifi coverage everywhere you would want a sensor.
There's also a more robust set of libraries and tools for working with various physical sensors on the arduino / atmel side than there is ported to the esp side.
But if you are just embarking on this now, and none of this items are an issue, there might be some logic in going all ESP/WiFi...
RE: Dimmable LED With Rotary Encoder example for RGB?
How do you envision the system working?
Were you just thinking that turning the knob would rotate through a pre-built palette of colors, which would be shown on the knob's RGB first then transferred to the final device or something where you could control the mix of RGB by pushing the encoder's button to switch from controlling R, G, and B until you get the desired color on the indicator LED then maybe a double push to transfer it to the final device?
I don't think either would be too difficult, but given the differing methods for specifying a color to the various RGB devices, I'm not sure how accurate the preview color will be on the knob's LED.
RE: 5v on input to act like a button
The speaker is probably being sent an AC waveform, and the meter is just averaging it out so you see 4.7v. Likewise there may be some DC power from one side of it to gnd all the time since it's able to energize the Arduino.
Best would be to trace the circuit further back and see if there is something else you can tap into ahead of the speaker and it's driver.
If not you might be able to tie the speaker outputs together through a diode and a small resistor ( say 16Ohm ) and hook that to pin 3 -- or not depending on how it's driven. Or you could build a voltage dividing circuit to keep the AC voltage down to ~2v and use an ADC pin to read the waveform being sent to the speaker.
RE: [Solved] Slow response, binary senor and Vera
Probably the Vera, could try power cycling it to see if it speeds things up a bit?
Could also ssh in to your vera and run:
tail -f /var/log/cmh/LuaUPnP.log |grep Arduino
Then push the bell and see how long it takes for it to show up in the log. If it show up there quickly, but you don't see the change on the web or other i/f the slowdown is either the vera itself or the system/device doing the display.
I have a doorbell sensor and a trigger which sends a growl notification using the push plugin. The sensor also flashes a bright LED directly.
I just tried 5 doorbell pushes while holding the laptop and phone. One took 4 seconds to hit the log and another couple to hit the phone. All the rest took only around 1 second to hit the log and another 1-2 for the growl notification to hit the phone.
I am using the ESP8266 gateway, and was using an ethernet gateway before that. I originally used the serial gateway, but that was before I had the doorbell sensor.
Dunno if any of that helps though.
RE: Step-by-step procedure to connect the NRF24L01+ to the GPIO pins and use the Raspberry as a Serial Gateway (MySensors 1.x)
Perhaps re-word the last note from:
A user experienced data transfer compare to USB-to-Serial(ttl)<-->MySensors Gateway connection. especially on OTA firmware update. If you think this will cause a problem for you, an ethernet gateway might be a better alternative.
A user notes that data transfer speeds are comparable to that of a USB-to-Serial(ttl)<-->MySensors Gateway connections. If you think this may be an issue for your application (e.g. OTA firmware updates), an ethernet gateway might be a better alternative.
RE: ESP8266 WiFi gateway port for MySensors
I'd been using the ESP gateway for several weeks, but recently was having trouble adding a new sensor I am developing.
Since the copy of dev I built it with was now out of date, I went ahead and updated... still wasn't working right so while I had the serial link to it I checked and noticed it was crashing and cycling. It would work for hours, until I fired up my new node, then crash about immediately. A few dozen debug(PSTR())'s later, I found a cause.
In core/MySensorsCore.cpp the result of _msg.getConfig() is dereferenced in a comparison, and it's possible it could return NULL ( like when it's a new node ). I put a check around that and it's not crashing anymore. Which is more than what I can say for my new sensor node....
I have not tested this change with an AVR.
I submitted PR 264.
RE: Flash Arduino pro mini and change fuses
I haven't actually yet tried to run one at lower voltages, but I recall from looking into it a bit that you can't run at 8Mhz below 2.4v. I think 4Mhz was the max at 1.8 (but that's from memory so might check) -- but to do that would require a new crystal. Hence why most often people will jump down to 1Mhz using the internal osc. But at that speed you probably can't do 57600, and will probably want to go lower, 19200 or 9600 or something.
Google should find you some more detailed info, or even just a search on this forum for low power and 1Mhz or similar.