Skip to content

Hardware

Talk about fun sensor hardware, MCUs, PCBs and how to power your sensors here.
1.8k Topics 18.4k Posts
  • Sensors to add to buy page

    17
    0 Votes
    17 Posts
    6k Views
    epierreE
    @Yveaux haem no... this is my quest of the gas meter reading... this is the cheap, there is the cheapest, and the expensive (raspi+cam+tesseract)...
  • good and safe AC/DC adapter?

    4
    0 Votes
    4 Posts
    2k Views
    greglG
    @Damme I posted about this before, but ive had fantastic luck getting quality ( Apple/Plantronics/Jabra/LG/Samsung/Nokia/Motorolla) etc powersupplies from the IT department at work. Most of them are rated 5/6/9 or 12volt at 500-2000mA Worth an ask...or if you dont work in a workplace, ask your wife/family/friends to ask at their workplace!
  • ITEAD RBoard (4 relay)

    4
    0 Votes
    4 Posts
    3k Views
    greglG
    Hi Timg - There is a copy of my heater sketch using the 4relay Rboard. Here: http://forum.mysensors.org/topic/282/heater-device/3 It contains a note about the CE/CS pins ( plugin 1.3) //Sensor gw; Sensor gw(8,9); //Rboard PCB uses different pins for CE/CS - also interupt, but this isnt used at this time. This is a fantastic board which has been working for the past few months with zero issues! I still havent properly boxed it up. I'll await the warmer months to do this.
  • 200pc female-female jumper cables from store - never delivered?

    10
    0 Votes
    10 Posts
    3k Views
    N
    So it seems paypal also has a 45 day policy to open disputes. I'm pretty sure the seller was just trying to delay until this time.
  • AC Power/Current Monitor

    4
    0 Votes
    4 Posts
    3k Views
    AtomicGrogA
    Sort of does. I'll checkout the library and dig a bit further into the thread.
  • sensors, voltage and pull up/down resistors

    6
    0 Votes
    6 Posts
    3k Views
    Z
    There are 5V and 3.3v digital sensors as well as analog, so making it selectable would add flexibility. Either with jumpers or by using 4 pin connectors with both voltages.
  • Motion sensor withput the interrupt

    8
    0 Votes
    8 Posts
    3k Views
    Z
    I think you are on the right track. There' s no need for the interrupt in your case. So you don't have to worry about what process is being interrupted. @ferpando said: It was just a quick proof of concept.. I guess I should set tripped to false once the message is sent John had the right logic. You don't want to set tripped false until the input (ie: motion dectector output) goes false, not when a message is sent. His suggested logic sends one message whenever the motion detector goes active, and not again until it goes inactive and active again. (Which happens after no motion for some time period adjustable via a pot on the motion detector).
  • Powering sensors through the digital pins?

    3
    0 Votes
    3 Posts
    3k Views
    D
    I'm usually doing this test for each and every sensor i bought and I can confirm that many of them can work without problems. Sensors like DHT seems to need a delay(500), before call the sensor read function, in order to let him "boot-up" otherwise you will experience communication errors. Sensors connected to analog input, like soil humidity, will not give correct measurement, if the precision is not your must is possible to use pin powering, Pay attention on the max current required for the sensor, if you exceed that the Arduino will be damaged. Measure it before to connect! Radio cannot be powered by digital pin (too much current during transmission). Arduino has also a maximum total current that normally can never be exceeded, special attention to be given if you use radio with PA antenna!
  • Battery powering options

    7
    0 Votes
    7 Posts
    5k Views
    Z
    The title is about batteries, but the subject of using cheap phone chargers has come up. Small note: Whenever I refer to "the regulator" below, I'm talking about the onboard regulator of the arduino variant you are using, not to any regulator chips inside the phone charger. Just to be very clear. Safety: If you ARE going to use cheap phone chargers, at least buy several and crack one open to look at the isolation on the PCB. (look at the pics on some web sites that have done this to get an idea what you are looking for) Then always unplug it before working on the sensor node - use an alternate high quality supply while programming and testing, Just In Case. And don't have any exposed conductors on your finished node, that could be touched. I would avoid the most compact ones with little room inside the case. And you might want to test the temperature of the charger under load before deciding to use a given model. Power quality. At least measure the output with a voltmeter, under the loads you use. If you try to run a 5V arduino (eg: APM = Arduino Pro Micro) from a 5V charger you could have problems (you must test). If you use Vin, you will likely have problems because there isn't enough voltage differential for regulation, a condition known as dropping out of regulation or drop-out. There are regulators with low drop out (LDO) specs that require less difference between input and output voltage, but those specs vary depending on the regulator and load. The ATMega chips have a lot of slack, so a 16 Mhz chip will probably still run fine if the output of the regulator is, say, 4.5v or maybe 4.0 volts so the voltage drop may not be critical. But the regulator may not be keeping the supply as stable when in drop-out - varying the voltage as load changes or passing through variations in the supply voltage (coming from a cheap charger). So you may be tempted to just feed the charger 5v into the arduino's VCC=5V pin. That may work, but (1) some regulators don't like having power applied to their output pin only, so check that it doesn't overheat or remove it, and (2) the regulation on cheap chargers can sometimes be very bad - either off-voltage or with a lot of ripple and noise. Some are better than others. Expect the cheap ones to usually get flakey in these regards well under their nominal supply (eg: a charger which says 1A might work well only up to half that). And they may be poor even at low current. If you have a scope you can look at it (being careful about isolation and safety). If you have a 3.3v arduino, you can probably feed the charger's 5v signal into its Vin and get a reasonably well regulated VCC=3.3v. WIth the above qualifiers, some cheap chargers work fine in the right situation. Of course, you should instead get a high quality power supply for each node. One problem is knowing that it is indeed a high quality supply - just paying more isn't a perfect predictor of that. Using a name brand may help, but there are plenty of reports of problems with name brand suppies too (tho we hope they are statistically less common). And a good supply may sometimes cost more than the node (3.3v APM = $3.50, nRF24L01+ = $1, dht-11 = $1, power supply = $10?)
  • Water Flow Sensor

    14
    0 Votes
    14 Posts
    9k Views
    RJ_MakeR
    @tbully Nice find... Seems like there are more and more power related issues popping up lately..
  • AIRduino

    3
    0 Votes
    3 Posts
    2k Views
    hekH
    @hek said: AIRduino Oouch.. OTA serial communication. Didn't read the spec enough :blush:
  • IKEA PATRULL Nightlight

    diy ikea hack
    5
    0 Votes
    5 Posts
    7k Views
    S
    It would be nice to control the Patrull similarly to http://thingm.com/products/blink-1/.
  • Inverse gateway leds behavior

    gateway
    4
    0 Votes
    4 Posts
    2k Views
    JohnJ
    @hek [original_post_deleted] @Damme Yeah, i think i will go for an HW solution... Maybe with a switch to choose between modes...
  • Multiple DH-11 Sensors on the same Arduino Pin?

    17
    0 Votes
    17 Posts
    6k Views
    clippermiamiC
    @Zeph OK by me. But I would observe that like any conversation in "the real world" it tends to branch out, and this is no exception. And things are only controversial or divisive if we choose to make them so.
  • Just to be sure about connecting a W25X40CLSNIG

    5
    0 Votes
    5 Posts
    2k Views
    YveauxY
    This is work in progress: http://www.dorkbotpdx.org/blog/paul/spi_transactions_in_arduino
  • Transformers

    transformer
    9
    0 Votes
    9 Posts
    3k Views
    Z
    @jendrush said: Maybe small usb wall charger for 1,4$, and regulator from 5V to 3.3V for 0,1$ would be good solution? For some projects, using cheap chargers can be a good option. However, I'd open any such cheap charger and have a look before using it. Some appear to be acceptably designed, and some appear to be dangerous designs, from the teardowns. For example: http://www.righto.com/2012/10/a-dozen-usb-chargers-in-lab-apple-is.html He rated 2 out of the batch as downright dangerous. Even with one which appears to have a reasonable design with enough separation, I would not be poking around in the sensors or PCB while they are currently powered from 230V with a cheap charger. Unplug first. And if you need power for programming or testing, use your normal USB supply (eg: a laptop or a high quality power supply) or batteries. Maybe that's just me, but this seems like a reasonably easy additional precaution. Even if the PCB has good separation, the insulation between windings of a transformer could be marginal, for example. Most readers here probably already know this, just thought it was worth noting for anybody coming to this hobby more recently.
  • Antenna 101

    27
    0 Votes
    27 Posts
    21k Views
    DammeD
    @daulagari I had the chance of borrowing a hand held RF spectrum analyzer for a very short while (2h) I would love to do some more scientific measurements on all my transmitting apparatus.. :)
  • Resistor Supplier

    2
    0 Votes
    2 Posts
    1k Views
    hekH
    @naveen Buy them where you can find them cheap.. There are a lot of kits on ebay where you find resistors with assorted resistance. Local suppliers should keep these kinds of kits also.
  • Motion Sensor, flaky behavior

    22
    0 Votes
    22 Posts
    8k Views
    jendrushJ
    @BulldogLowell I fried my breadbord power supply by connecting broken power adaptor(it have me about 13-14V instead of up to 12V), this fried AMS1117 5V. I replaced it, and it's working proper again.
  • Sleep/Wake/TXRx Cycle

    27
    1 Votes
    27 Posts
    12k Views
    YveauxY
    @therik What about the first part of the scope chart, starting from 0 sec? What is the sketch doing there for more than half a second? It was reading temperatures, but for how many sensors?

13

Online

11.7k

Users

11.2k

Topics

113.2k

Posts