Skip to content

Hardware

Talk about fun sensor hardware, MCUs, PCBs and how to power your sensors here.
1.8k Topics 18.3k Posts
  • Fried sensor board with external AC/DC adapter

    11
    0 Votes
    11 Posts
    3k Views
    M
    I soldered just the two caps and an MCP1703 on a new board and have not manage to fry it. So maybe there is another cause. I'm suspecting the WS2812, it's new on my latest batch of sensor boards. But I don't understand how it could destroy the voltage regulator or ATMega. Maybe something is wrong with the PCB layout causing some unwanted currents?
  • SenseBender, check wires

    14
    0 Votes
    14 Posts
    3k Views
    SweebeeS
    @tbowmo Got it! thanks. Stupid me. There was some lost soldering in the header.
  • Temperature Sensor, 0.1 degree precison

    temperature sensor
    7
    0 Votes
    7 Posts
    5k Views
    scalzS
    Hi! if it can help.. https://github.com/hallard/MAX31865-Breakout https://github.com/hallard/arduino-max31865
  • ATSHA204A from aliexpress or digikey ?

    3
    0 Votes
    3 Posts
    1k Views
    ahmedadelhosniA
    @Yveaux Yeah I checked this before :) so fake :)
  • Power from flowing water

    4
    1 Votes
    4 Posts
    1k Views
    Pierre PP
    This is not the same. The very first video can power out a big power. Then there is a box transforming it into 230Vac (or 110Vac) 50Hz. The same box as for photovoltaïque or wind turbine. Then you have you product, who is only for low power device (like ours). But cannot feed an house. Still, it can be cool for many mysensors device outdoor.
  • New ATMega328PB

    4
    2 Votes
    4 Posts
    1k Views
    S
    @mfalkvidd - Thank you for forking the post to a more relevant area. @scalz - Awesome! Looking forward to see what you can do with the extra functionality on the existing pins :)
  • Infrared Temp Sensor

    28
    0 Votes
    28 Posts
    9k Views
    GertSandersG
    I think I need one to differentiate Terminators from actual humans ... in case my dog fails in it's duties.
  • MCU for optical fibers

    2
    0 Votes
    2 Posts
    871 Views
    YveauxY
    @victus I'd suggest you start with their patented technology. I couldn't find it, but I found similar applications like http://www.google.com/patents/US20130109931 Apparently bending of the fiber attenuates a ray of light going through it. A photo sensor measures the attenuation and some microcontroller draws the conclusions. Not very hard to do, I think.
  • Eagle PCB software tips and tricks

    4
    4 Votes
    4 Posts
    3k Views
    scalzS
    for grid, I would add grid pitch depends on the board density. If dense, a big pitch is not very doable ;) An important ulp : zoom_unrouted.ulp to check if you have airwire. so much things to say... Nice post :)
  • Can an ATMEGA have a footprint smaller than the Arduino Nano board?

    10
    1 Votes
    10 Posts
    3k Views
    Pierre PP
    It's because at the very beginning, it was for the 110v-230v-ac-to-mysensors-pcb-board. And the space taken by the arduino-nano in this particular project. And i keep thinking this way. But there is no way that I put free cable without protection in hight voltage area ! And you people, don't do it too ! :boom:
  • Wind speed sensor node

    21
    0 Votes
    21 Posts
    11k Views
    JohanRCJ
    Yesterday I found some example code on the Domoticz forum. With some modifications I get numbers in wind :smiley: As below my current sketch that sends values, I will modify it untill it is what I like and will post it here. #include <SPI.h> #include <MySensor.h> #define CHILD_ID_WIND 20 #define LED_PIN 8 #define ID_WIND 170 #define WIND_SENSOR_ANALOG_PIN 1 MySensor gw; unsigned int val_wspeed; unsigned int val_wgust; unsigned int val_wdirection; unsigned int last_wspeed; unsigned int last_wgust; unsigned int last_wdirection; boolean metric = true; unsigned long currentTime; unsigned long SEND_FREQUENCY = 10000; unsigned long lastSend; MyMessage msgWSpeed(CHILD_ID_WIND, V_WIND); MyMessage msgWGust(CHILD_ID_WIND, V_GUST); MyMessage msgWDirection(CHILD_ID_WIND, V_DIRECTION); //Setup routine void setup() { // Initialize library and add callback for incoming messages gw.begin(); // Send the Sketch Version Information to the Gateway gw.sendSketchInfo("Windsensor", "0.1"); // Register all sensors to gw (they will be created as child devices) gw.present(CHILD_ID_WIND, S_WIND); metric = gw.getConfig().isMetric; lastSend = 0; pinMode(LED_PIN, OUTPUT); digitalWrite(LED_PIN,1); } //Main loop void loop() { gw.process(); currentTime = millis(); unsigned int val_wspeed = (analogRead(WIND_SENSOR_ANALOG_PIN))/31.605; if(last_wspeed != val_wspeed) { last_wspeed = val_wspeed; gw.send(msgWSpeed.set(val_wspeed, 1)); Serial.print("WS: "); Serial.println(val_wspeed); } unsigned int val_wgust = (analogRead(WIND_SENSOR_ANALOG_PIN))/31.605; if(last_wgust != val_wgust) { last_wgust = val_wgust; gw.send(msgWGust.set(val_wgust, 1)); Serial.print("WG: "); Serial.println(val_wgust); } unsigned int val_wdirection = (analogRead(WIND_SENSOR_ANALOG_PIN))/2.842; if(last_wdirection != val_wdirection) { last_wdirection = val_wdirection; gw.send(msgWDirection.set(val_wdirection, 1)); Serial.print("WD: "); Serial.println(val_wdirection); } }
  • ATMega328p/Arduino Interupt enabled pins?

    19
    0 Votes
    19 Posts
    7k Views
    S
    @scalz - Right okay, i think i understand this pretty clearly now on the method to go about enabling interrupt to wake the uC. I have just realized that there is a example sketch that uses sleep function for 2 switches, i can use this and modify it to work for 3 when needed. I shall be studying this sketch along with your links later on tonight hopefully. Once i have sent off my deigns to get my Rev2 remade i will focus my attention to making sure i completely understand the method of this sleep with interrupt function. Thank you for your help guys!
  • Low power battery operated actuators (such as radiator valves)

    3
    0 Votes
    3 Posts
    2k Views
    sundberg84S
    Hi! If the radio doesnt sleep you will consume pretty much power and have to change batteries often. Option 2 is better if you dont need instant changes on the radiator.
  • Recommendation: power supply

    13
    0 Votes
    13 Posts
    6k Views
    T
    What I'm after is a (physically) small device acting as an actuator ('always on'), to send IR codes. So, I need to be able to send IR using 38 kHz PWM frequency, and I need to have it externally powered as it's an actuator. And 5V is easily available. The mini rboard would be perfect for a relay, thanks for the tip :) So, would the SenseBender + radio run fine, if I power it from a cell phone USB charger using a 'LE33ACZ 5V-3.3V Step Down Regulator' (I already have these, SenseBender is on its way). Do I need to use some capacitors?
  • Smallest sized Arduino for Mysensors

    4
    0 Votes
    4 Posts
    2k Views
    GertSandersG
    @bertus45 I tried to compile for this module, but it does not have enough memory to contain the MySensors code (only 6K available if used with the bootloader). But apart from that it is a nice compact board for small projects (without access to MySensor networks). As @hek mentioned, the Sensebender micro is probably the smallest cheap board for the moment. There is a more costly alternative: https://www.microduino.cc/ but then you need to make your own interface for the NRF24 radio. The Micro is my favourite for the moment, especially for battery based sensors.
  • attiny85 mini programmeren

    3
    0 Votes
    3 Posts
    1k Views
    ?
    @bertus45 op win 7 werkt het nu. maar niet op de MAC
  • Where do you buy your Hardware?

    8
    0 Votes
    8 Posts
    3k Views
    DwaltD
    Chinese New Year is coming up (February 8?) and most vendors take 1-2 week vacations around this time and shipments can be delayed. Keep this in mind if you wish to order from Ali or eBay, do it soon or your order may wait until after the holiday.
  • Current Monitoring - How?

    arduino current sketch sensor
    8
    0 Votes
    8 Posts
    5k Views
    P
    Any updates on how this turned out?
  • Optimize ardiuno pro mini 3.3V to battery power

    9
    0 Votes
    9 Posts
    2k Views
    carlierdC
    I will probably also return to DIP version. My big fingers are not happy with SMD components. I am happy with the consumption of the pro mini it's very close to the SMD.
  • SSD1289 touch TFT screen?

    6
    0 Votes
    6 Posts
    4k Views
    mfalkviddM
    New update: It turns out that the screen that was called SSD1289 really isn't a SSD1289. It is a 16-bit ILI9341. I modified the UFTF library according to the instructions in https://forum.arduino.cc/index.php?topic=325106.0 and it works! I am able to run the screen using an Arduino Pro mini, utilizing all controllable pins (including the pins otherwise used for the serial port, so no debugging). My breadboard now has 70 wires:exclamation: Demo: https://www.youtube.com/watch?v=XRL6oWHUSMg&feature=youtu.be

6

Online

11.7k

Users

11.2k

Topics

113.1k

Posts