Skip to content

My Project

968 Topics 13.5k Posts

Show off and share your great projects here! We love pictures!

  • LSM9DS1 Caliberation test

    1
    0 Votes
    1 Posts
    832 Views
    No one has replied
  • STM32f303k8t6 Nucleo board with DS18S20 Temp sensor.

    2
    0 Votes
    2 Posts
    794 Views
    YveauxY
    @litunbls This forum is Arduino only really... Search the web or convert an Arduino library so it can be compiled in Keil.
  • GUVA-S12SD UV sensor sketch

    2
    0 Votes
    2 Posts
    1k Views
    T
    /** DESCRIPTION Sensor: CJMCU-GUVA-S12SD/CJMCU-S12D Sensor Arduino SIG -> A0 GND -> GND VCC -> 5V or 3.3v part created by Henrik Ekblad henrik.ekblad@mysensors.org Copyright (C) 2013-2015 Sensnology AB Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors part Original link : CSDN 博客链接. part by Tonbor august 2018 */ // Enable debug prints to serial monitor #define MY_DEBUG // Enable and select radio type attached #define MY_RADIO_NRF24 //#define MY_RADIO_NRF5_ESB //#define MY_RADIO_RFM69 //#define MY_RADIO_RFM95 #include <MySensors.h> #define UV_SENSOR_ANALOG_PIN 0 #define CHILD_ID_UV 0 uint32_t SLEEP_TIME = 30*1000; // Sleep time between reads (in milliseconds) MyMessage uvMsg(CHILD_ID_UV, V_UV); int lastSend =0; int sensorValue; long sum = 0; int vout = 0; int uv = 0; int lastUV = -1; void presentation() { // Send the sketch version information to the gateway and Controller sendSketchInfo("UV Sensor", "1.3"); // Register all sensors to gateway (they will be created as child devices) present(CHILD_ID_UV, S_UV); } void setup() { Serial.begin(115000); } void loop() { uint32_t currentTime = millis(); sensorValue = 0; sum = 0; for (int i = 0 ; i < 1024 ; i++ ) { sensorValue = analogRead(UV_SENSOR_ANALOG_PIN); sum = sensorValue + sum; delay(2); } vout = sum >> 10; vout = vout * 4980.0 / 1024; Serial.print("The Photocurrent value:"); Serial.print(vout); Serial.println("mV"); if (vout < 50) { uv = 0; } else if (vout < 227) { uv = 1; } else if (vout < 318) { uv = 2; } else if (vout < 408) { uv = 3; } else if (vout < 503) { uv = 4; } else if (vout < 606) { uv = 5; } else if (vout < 696) { uv = 6; } else if (vout < 795) { uv = 7; } else if (vout < 881) { uv = 8; } else if (vout < 976) { uv = 9; } else if (vout < 1079) { uv = 10; } else { uv = 11; } //Send value to gateway if changed, or at least every 5 minutes if ((uv != lastUV)||(currentTime-lastSend >= 5UL*60UL*1000UL)) { lastSend=currentTime; send(uvMsg.set(uv)); lastUV = uv; } sleep(SLEEP_TIME); }
  • Getting out of the box

    8
    1
    0 Votes
    8 Posts
    2k Views
    zboblamontZ
    @mfalkvidd Gland plugs are almost bulletproof, perfect for the selected diameter. The beauty of the free grommets usually accompanying cases is that they may be cut to size, whether that is an antenna or a cable conduit...
  • Serial and openHAB - Warnings in Log

    1
    0 Votes
    1 Posts
    681 Views
    No one has replied
  • My Wind Station

    2
    4
    3 Votes
    2 Posts
    2k Views
    S
    you could also provide the links on eBay of the pieces
  • ac power noise?

    3
    0 Votes
    3 Posts
    1k Views
    CrankyCoderC
    checking it out now :)
  • Masterless communication between multiple arduinos.

    2
    0 Votes
    2 Posts
    945 Views
    mfalkviddM
    Welcome to the MySensors community @shaukat59 MySensors does not support mesh networking. Building something using http://www.airspayce.com/mikem/arduino/RadioHead/classRHMesh.html is probably one of the leeast hard ways to do what you want.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • Compact battery-powered motion + temperature + humidity project

    1
    2
    4 Votes
    1 Posts
    2k Views
    No one has replied
  • Solar Powered Mini-Weather Station

    111
    10 Votes
    111 Posts
    149k Views
    ร
    My experience with using a "Micro USB 5V 1A 18650 Lithium Battery Charger Board With Protection Module" together with the "16 LED Solar Power Motion Sensor Security Lamp Outdoor Waterproof Light"s solar panel is that it's not charging the battery as well as the original built in PCB. Due to the varying voltage (up to 6V) of the solar panel it's not so well suited as a power source for "Micro USB 5V 1A 18650 Lithium Battery Charger Board With Protection Module". I experimented with diodes in serial (2 diodes gave best result) to lower the voltage. However using the original board allowed the battery to charge with a much higher current. I just cut of the motion sensor, and the power switch. It seems to work well. It's even charging a few mA now here when it's raining. My conclusion is that the "Micro USB 5V 1A 18650 Lithium Battery Charger Board With Protection Module" might be used but the original PCB makes a better job charging the battery. Cheers!
  • A6C Camera issues

    2
    0 Votes
    2 Posts
    2k Views
    J
    @keshav345 said in A6C Camera issues: I have captured an image using A6C GSM module using the suitable AT commands through Ai thinker tool but when i try opening it will display as invalid image. Hi, idk how to do with python unfortunatly not even in C++ (arduino) because i don’t have the level for do that but i know the steps: send the AT command for take the picture, and “read” it in HEX and store them, cut the extra code (all Jpgs start and finish with the same HEX) and save it in a file with the jpg extension, it’s done.After it my IP camera start working properly! (It’s what i show in my video here: https://www.youtube.com/watch?v=poNPcxNvCww) The most defficult is for me to save in Hex and cut the image because i can’t find an another projet with the same kind of problem :/
  • MySensors Hydroponics Greenhouse project

    23
    3 Votes
    23 Posts
    9k Views
    ThucarT
    A quick video update: https://youtu.be/vnUFV_amSPQ The tomatos and peas are trying to go through the roof. Cucumbers are close to follow. They are all aiming for the ventilation hatches - I think they are planning a grand escape... The NFT system pump stopped working coupe weeks after setting it up. Have not gotten around to ordering a new pump. That will be a project for next year.
  • RFID Card reader - Wiegand

    10
    6 Votes
    10 Posts
    10k Views
    H
    @ross-shirer Thanks for bring this topic alive as I had not seen this before and it was just what i was looking for the basis of another project. I have thrown together a quick test node and it is working all fine with openHAB. The instructions for use are included within the program Summary block. 1. A local database with Card id's is kept in the node. Card id 0 is the "master master" card. With the master card you can: - Open the door lock (just present it) - Include other cards (present it twice and present the new card) - Delete cards (present it three times, present the card to be deleted and confirm with master card) - Browse the cards (present it four times), the display shows the card indexes with their status. So the MasterCard is needed to enable the other cards. Swipe the master card twice and then swipe the new card. Remember to comment the eprom clear command after first run otherwise the non MasterCard data will be lost on reboot. As i did not do that at first, so caused a few minutes delay. //cardDB.initDB(); // ONLY in the first run to clear the EEPROM store (comment later) Working fine for me with nine cards, tenth card unlocks ok but report status is incorrect. More than ten are not accepted by the program due to EPROM size limits. (time to add serial memory)
  • UV Sensor ML8511

    13
    0 Votes
    13 Posts
    8k Views
    alexsh1A
    @benik change delay(100); to delay(300000); //5 mins reporting
  • Rinnai Gas Heater (FTR557) node

    1
    2
    1 Votes
    1 Posts
    848 Views
    No one has replied
  • Low power temperature/humidity node with sonoff si7021

    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • Water pressure sensor

    8
    0 Votes
    8 Posts
    5k Views
    D
    @lekeb How is your pressure sensor working out? are you getting accurate reading? I'm looking to hook up something similar to vera
  • Nemaxx smoke alarm WL2

    4
    2
    1 Votes
    4 Posts
    2k Views
    sundberg84S
    @freynder it is different. I don't know if they try to connect to each other and if some having issues with that it drains the battery.
  • Battery powered fingerprint reader

    10
    4 Votes
    10 Posts
    9k Views
    scalzS
    @user2684 well, here i prefer to use a faster processing gateway. no issue with slower nodes.. but i'm not using official mys branches (could be that, not sure..). nice to hear it's working as you wish, the most important ;)

23

Online

12.4k

Users

11.2k

Topics

113.4k

Posts