Wireless Relay Control with Arduino & the CC3000 WiFi chip

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ส.ค. 2024
  • 📝 Get our FREE guide to learn how to build projects with the Arduino platform: makecademy.com...
    Learn how to control a relay via WiFi using Arduino, the CC3000 WiFi chip and Node.js! This can be applied to control a lamp or other electrical appliances.
    -----------------------------
    Follow us on social media:
    Facebook: / makecademy
    Twitter: / makecademy

ความคิดเห็น • 41

  • @BillSommers0
    @BillSommers0 9 ปีที่แล้ว

    Great tutorial! Helped me a lot. I'm going to buy one of these shields for my robot project

  • @openhomeautomation
    @openhomeautomation  9 ปีที่แล้ว

    Sure! You can use the CC3000 mDNS project: github.com/adafruit/CC3000_MDNS

  • @Bateramos
    @Bateramos 9 ปีที่แล้ว

    great tutorial man!
    You know a way of using a DNS instead the IP address to communicate to the node.js? I'm using heroku, but they don't guaranty the IP address to be the same every time.

  • @weijian2331
    @weijian2331 9 ปีที่แล้ว

    Hi Marco, For the interface part, the terminal you're using is cmd for window? I tried by pressing node app.js and also following the steps in open home automation website which is sudo npm install express jade arest, it's still not working.

  • @enderkulucka
    @enderkulucka 8 ปีที่แล้ว

    Good tutorial...I have any problems. I have the Adafruit CC3000 wifi shield and Arduino Mega. It works for about 1-2 mins to an hour and than stops working. perhabs cc3000 freezing. If I reset it, it works again. I used external adaptor 5V dc and 1A but problems again. How do I make stable system. Please help me. Any ideas on what else we can try?
    Thanks

  • @indradwi.c5271
    @indradwi.c5271 7 ปีที่แล้ว +2

    if i change the lamp with a buzzer, is it still work? i want to try this one at home.

  • @timm3802
    @timm3802 7 ปีที่แล้ว

    Hi there
    Have you tried to connect CC3000 to Alexa (from Amazon) ?

  • @5t3fan001
    @5t3fan001 6 ปีที่แล้ว +1

    I know this is a bit old, but just in case anyone can help... when I go to the IP address I get the following message and I can't change the LED ( I can't turn it on / off)... {"variables": { }, "id": "1", "name": "relay_control", "hardware": "arduino", "connected": true}

  • @meghakim5982
    @meghakim5982 8 ปีที่แล้ว

    hello I would like to complete IDE program if possible thanks

  • @FrankP83
    @FrankP83 7 ปีที่แล้ว

    Hi, i've an amazon dashbutton, is possible using Arduino Micro with NRF24L01 module to turn on a relay?I want to turn on/off my projector in my room :)

  • @mecheme
    @mecheme 8 ปีที่แล้ว

    Do I need to be in the same wifi network? i.e. Will this work from different network? I'm assuming it should since you said that browser can be replaced by mobile app. Thanks!

    • @openhomeautomation
      @openhomeautomation  8 ปีที่แล้ว

      +Ashish Indeed, for this precise tutorial you need to be in the same network :)

  • @MervynSajan
    @MervynSajan 9 ปีที่แล้ว

    Hi,
    Nice Project..
    I was wondering if there is any way of using a app instead of a browser to control the relays.

    • @openhomeautomation
      @openhomeautomation  9 ปีที่แล้ว

      Mervyn Sajan Thanks! Sure, you can definitely use an app for that. You just need to send the right commands to the board, just as you from the browser.

  • @xMegaVideos
    @xMegaVideos 7 ปีที่แล้ว

    Hi, great clear tutorial! Will this work with any (chinese) wifi module? Or do I need to make modifications to the code?

  • @pasedatoluwalase3554
    @pasedatoluwalase3554 9 ปีที่แล้ว

    please can you do a tutorial on how you used your virtual breadboard for this project

    • @openhomeautomation
      @openhomeautomation  9 ปีที่แล้ว

      Paseda Toluwalase Which virtual breadboard do you mention ?

    • @pasedatoluwalase3554
      @pasedatoluwalase3554 9 ปีที่แล้ว

      Open Home Automation on your blog, there is a pictorial representation of the entire project on a virtual breadboard. it looked like you simulated it

  • @mr.samant98
    @mr.samant98 8 ปีที่แล้ว

    hi if i want to keep this cost effective only with arduino and not use wifi chip what is a good alternative.....?

    • @openhomeautomation
      @openhomeautomation  8 ปีที่แล้ว

      If you want a cheap solution for the same project check my tutorial with the ESP8266: www.openhomeautomation.net/control-a-lamp-remotely-using-the-esp8266-wifi-chip/

  • @HrishikeshJadhav22
    @HrishikeshJadhav22 9 ปีที่แล้ว

    Hi, Great Work there.
    I am planning on building a gestured controlled robot, which would send a relay commands from the pc to the Arduino using Addafruit CC3000 breakout board. Is there any way by which i can transmit text files using the CC3000 board?

    • @openhomeautomation
      @openhomeautomation  9 ปีที่แล้ว

      Hrishikesh Jadhav You can transmit text files indeed, but to control a robot for example I would really recommend sticking to JSON. Check our other website: openhardwarerobots.com/wifi-mobile-robot/

    • @HrishikeshJadhav22
      @HrishikeshJadhav22 9 ปีที่แล้ว

      Open Home Automation Hello once again, Thank you for your prompt reply. I did manage to read through the PDF, but I do not understand JSON well.Do you have any links or tutorial links that I could refer to , for a better understanding.
      Also, does API Rest work with Arduino Duemilanvo?

  • @pradipta03
    @pradipta03 9 ปีที่แล้ว

    Hello,
    Do you have any tutorial that demonstrates wifi communication between two wifi (I am using two dfrobot WiDo) boards.Which means I don't want to use the browser.Is that possible? If so can you give me any clue?
    Thanks in advance.

    • @openhomeautomation
      @openhomeautomation  9 ปีที่แล้ว

      ***** Hi! No I don't, that's something I never tried actually, but it would be a really interesting thing to do!

    • @pradipta03
      @pradipta03 9 ปีที่แล้ว

      Ya.Indeed.But I bought WiDo and it seems that it has less documentation on its wifi.So its going to be lot more work then I expected.

  • @lafikamel8311
    @lafikamel8311 8 ปีที่แล้ว

    Hello !
    Could you tell me please how can i use and code the cc3000 wifi breakout to the mode to be able to send data to an web server ,
    Help please the deadline of my submission is coming soon
    thank you in advance

    • @openhomeautomation
      @openhomeautomation  8 ปีที่แล้ว

      +LAFI KAMEL Check my other tutorials with the CC3000 on my blog, there is one about sending data to a web server :)

  • @thanhnguyentuan852
    @thanhnguyentuan852 9 ปีที่แล้ว

    HI
    Can I replace a browser to control by a Android App to control ?

    • @openhomeautomation
      @openhomeautomation  9 ปีที่แล้ว

      +thành nguyễn tuấn Sure the principle is the same!

  • @alesgorjup11
    @alesgorjup11 8 ปีที่แล้ว

    why do I get this error? (relay_wifi.ino:10:25: fatal error: CC3000_MDNS.h: No such file or directory)
    I have cc3000 wifi shield, not wifi chip*

    • @RosevirCeballosJr
      @RosevirCeballosJr 8 ปีที่แล้ว

      please answer this question. same problem

    • @enderkulucka
      @enderkulucka 8 ปีที่แล้ว

      + Rosevir Ceballos Jr. you must import CC3000_MDNS.h library

  • @mustafakenany1310
    @mustafakenany1310 9 ปีที่แล้ว

    hello how I can built interface like this ... I need your help

    • @openhomeautomation
      @openhomeautomation  9 ปีที่แล้ว

      mustafa kenany Check the corresponding article: @wireless-relay-arduino-wifi/

  • @williamfu5793
    @williamfu5793 5 ปีที่แล้ว +1

    Why I just get this? {"variables": {}, "id": "1", "name": "relay_control", "hardware": "arduino", "connected": true}

  • @theexit300
    @theexit300 6 ปีที่แล้ว

    Are you French ? You have one of these accent