Respected projects 0

 Danny van den Brande hasn't respected any projects yet.
  • Arduino/Android - BLUETOOTH Home Control + APP - HC-06 over 2 years ago

    Correct, there are 2 kinds of 8 channel relays, active HIGH and active LOW. Just need to change code for this to the opposite values.

  • Arduino Carbon Monoxide detector Alarm with relay over 2 years ago

    Thats a lighter, i am releasing gas into the sensor.

  • Arduino Arisoft Time Bomb Game almost 3 years ago

    //#include <LiquidCrystal.h> //uncomment when not using I2C
    #include <LiquidCrystal_I2C.h>//uncomment when using a I2C

    Just remove the original liquid crystal code parts. and add this before void loop.

    //LiquidCrystal lcd(12, 11, 5, 4, 3, 2); //Uncomment when not using a I2C
    LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);// Uncomment when using a I2C
    //make sure you set the right adress. here are the most common ones.
    //PCF8574 = 0x20, PCF8574A = 0x38, PCF8574AT = 0x3F.

    Wire it up like this schematic on my blog:
    So basically just add SCL on i2c to SCL on arduino, and SDA on i2c to SDA arduino, 5v to 5v and GND to GND. That should be it, and of course add this cd.begin(16,2); to the code in void loop, but it is already there so no need to do that,
    just remove the line #include <LiquidCrystal.h>
    and replace with #include <LiquidCrystal_I2C.h>

    then remove the line //LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
    and add LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
    Make sure to set right address for the i2c, in my case 0x27. Good luck.

Add projectSign up / Login