Skip to content

Hardware

1.8k Topics 18.4k Posts

Talk about fun sensor hardware, MCUs, PCBs and how to power your sensors here.

  • SCT-013-050 measuring current and appearance power

    8
    0 Votes
    8 Posts
    5k Views
    JohnRobJ
    From the website the SCT-013-050 outputs 0 to 1 volt for a current of 0 to 50 amps. I agree the "burden" resistor is built in on this module. Please verify you are only passing one of the coffeemaker wires through the sensor. If you pass the whole cable through the sensor you will get no output voltage from the sensor. A typical coffee maker requires ~1000 watts. At 230 vac this is ~4 amps. So the output of the current sensor should be about +/- 4/50*1 = 0.08 volts. This means the arduino has to measure readings from 0 to about 0.11 volts then calculate the RMS. doable but the readings are getting somewhat small to be stable. I would suggest: measure the sensor output with a multimeter if you have one. Change the reference of A/D converter on the Arduino from the default to the 1.1V internal reference. Not sure the code but you should be able to find it easy enough. you can increase the output of the sensor by passing the coffee maker wire through multiple times. For each time the wire goes through the sensor the sensitivity is increased by that number. for example if you pass the wire through the sensor 3 times. The output becomes 0 to 1 volt for 0 to 50/3 amps . Add a 0.1µF Capacitor across the sensor (where the burden resistor is shown on your diagram. This will remove some of the noise that exists on all AC lines.
  • RPI Ethernet gateway with RFM69H(C)W - very poor range

    11
    0 Votes
    11 Posts
    2k Views
    gohanG
    Well.. 2.3 is still in alpha stage, so don't expect much in a short time since the 2.2 is working fine.
  • Node running on supercaps and a solar panel.

    59
    1
    1 Votes
    59 Posts
    11k Views
    alexsh1A
    @gohan That's correct and I am sure the result is not final
  • Eastrom SDM120 with RS485

    3
    0 Votes
    3 Posts
    4k Views
    rejoe2R
    @joaoabs If you want to go the "arduino-based" route: There seem to exist already a lot of projects reading this type of meter with a microcontroller e.g. an ESP8266. The code itself seems to be rather simple (assuming, the code provided eg here: https://github.com/reaper7/SDM_Energy_Meter/blob/master/examples/sdm_simple/sdm_simple.ino really works, but there seem to be some more working projects out there). So you may either combine this with normal mysensors-code and just use send commands instead of serial prints (at lower frequency). Could be you'll need a more powerfull mcu than the ATMega32, but most likely a STM32F103 will have enough resources to fullfill this task.
  • atmega328p small (SMD) alternative with more memory?

    37
    0 Votes
    37 Posts
    6k Views
    alexsh1A
    @tochinet I am just looking for something really small like some atmega328p boards, but more memory. Like this - http://mklec.com/project-kits/kd-circuits/328-board-ATMEGA328P-microcontroller-board or https://www.openhardware.io/view/76/Stamp-size-MySensor-node with (1) signing (2) encryption plus a few libs one can quickly run out of memory.
  • Can please someone check if my schema for RFM69 is right?

    8
    0 Votes
    8 Posts
    2k Views
    S
    @sundberg84 said in Can please someone check if my schema for RFM69 is right?: @sineverba - 1 rule of debugging, remove as much as possible. Can you try to use a 3.3v MCU directly with your breakout board? That way you can eliminate that the problem might be level shifting and work down the wiring to a minimum? sure golden rule. It works. Now it works. Directly on a 3v3 mini. Removed all level shifter. Now it works. Thank you for the support!
  • MCP1711: Ultra-Low Quiescent Current regulator

    18
    0 Votes
    18 Posts
    4k Views
    N
    @nca78 I may end up with two LDO's on a board: XC6206 LDO to provide power while sleeping, to guarantee adequate voltage for a PIR, and a XC6210 LDO, which can deliver 700ma when enabled but which consumes a max of 100na when not enabled. Then I could, in theory, do an OTA firmware upload using LoRa and not run out of juice.
  • Mysensors Sensebender GW delivery from China?

    3
    0 Votes
    3 Posts
    1k Views
    S
    @alexsh1 Wow that's great... It gives me confidence that it will eventually show up. I did contact them and they gave me no real answer. Thanks again.
  • 0 Votes
    37 Posts
    13k Views
    gohanG
    @parachutesj that sound a reasonable approach
  • Temperature sensor sketch only sending battery info to mqtt

    sketch
    4
    0 Votes
    4 Posts
    1k Views
    rejoe2R
    You seem to send the temp messages under a different ChildID than it is presented: presentation takes "1", send uses "0". You have to allign that, e.g. by using send(msg.setSensor(i+CHILD_ID_TEMP).set(temperature,1)); But as long as there's just one DS18B20 doing that dynamically doesn't really make sense. Using the defined message structure (MyMessage msgTemp...) could make things more transparent. Also there's no sending command for voltage. So why do you expect the controller to receive also voltage?
  • Arduino MKR1000

    1
    0 Votes
    1 Posts
    707 Views
    No one has replied
  • Who needs parts to build a Sensebender Micro (or can solder for me)

    7
    0 Votes
    7 Posts
    2k Views
    M
    @elcaron can you let me know how that stencil is after receiving it?
  • Hot air rework station

    15
    0 Votes
    15 Posts
    4k Views
    alexsh1A
    @dbemowsk Yes, it is hard to beat Weller, I agree. Please post your feedback.
  • Water meter: Itron Aquadis+ with pulse sensor

    46
    0 Votes
    46 Posts
    33k Views
    B
    @samuel-wieczorek Hi Samuel. I positioned the sensor over the 1 liter wheel. I did not used the TCRT5000 module, but made a custom built PCB. Howver the principle is the same (in fact the schematics is 100% the same as the TCRT module. If you go to https://www.openhardware.io/view/15/Itron-Aquadis-watermeter-sensor-V10 you can see pictures of the module. Some tips I can share with you: Shield the sensor and the rotating disk area from incoming light. This influences the sensor. Use a piece of plastic tube for example. In NL we have electrical wire tubes that can be used (the grey ones) Bring the sensor close to the disk. The reflection should do the rest. Setting up the TCRT is tricky as you have little room to manouver (considering reflection and the point where the schmit trigger swaps state) Be aware that when the disk stops with the edge near the sensor you get false readings. That is why I swapped to a software driven solution using SW hysteresis on the arduino. Hope this helps. If you can open it, I can share a DXF file with the sizes of the bottom plate I use. Let me know! Ralph
  • Please help! Arduino UNO + RFM69HW (TSM:INIT:TSP FAIL)

    23
    0 Votes
    23 Posts
    5k Views
    vladimirV
    @gohan Thanks for clarifying!
  • A power "platform" for Arduino Pro Mini's?

    3
    3
    4 Votes
    3 Posts
    1k Views
    N
    I came up with some variations on the above ideas: [image: 1522716559096-power_platforms-resized.jpg] The three on the left are very close to the size of just 2x AAA batteries. One of the two on the right uses a JST-XH connector. The next iteration of the LoRa shield PCB will have that JST connector plugging in from the side so that it doesn't interfere with the FTDI connector as much. I think that for connecting to custom made PCB's, the JST connector doesn't actually make much sense, but it would make sense if plugging into a COT power pack.
  • Apparently incomplete RFM69HW modules received

    6
    2
    0 Votes
    6 Posts
    2k Views
    E
    @gohan Can't, as I said I don't know from which of multiple shipments it came. Only noticed when I used it.
  • arduino wifi gateway/nrf24 and esp-01

    4
    0 Votes
    4 Posts
    1k Views
    rustafariiR
    Whaaaaat that is awesome!!!!! i cant wait to give it a go! Thanks!
  • atmega328-au ordered instead of atmega328p-au

    2
    0 Votes
    2 Posts
    786 Views
    alexsh1A
    Lookes like the difference is no BODs settings and a bit higher consumption. However, I did not notice much difference on the breadboard. PS I'll have to order the proper ones.
  • Double channel lora Gateway (UP/DOWN)

    6
    0 Votes
    6 Posts
    2k Views
    alexsh1A
    @xander Yes, you are right - sorry about that. This is what happens when reading from the phone. :relaxed:

17

Online

12.1k

Users

11.2k

Topics

113.4k

Posts