How to make a virtual wall with a simple Arduino and an IR LED to keep your Roomba robot where you want it!
Buy a DIY parts kit on my store here: http://store.mkme.org/?product=diy-roomba-virtual-wall-kit
Check out PCBWay: https://www.pcbway.com/
Join the Patreon Squad! http://mkme.org/Patreon

Code and instructions on my GitHub repo here: https://github.com/MKme/Roomba
Parts:
Arduino NANO https://amzn.to/2EaMzZI
IR LED https://amzn.to/2QOqUgE
Resistor https://amzn.to/2EhIbsf

—————————————————–
Change your Amazon Bookmark to these to really help the channel!

Shop Amazon US ➢http://www.amazon.com/?rw_useCurrentProtocol=1&tag=mkmeorgstore-20
Shop Amazon CAN ➢http://www.amazon.ca/?rw_useCurrentProtocol=1&tag=mkmeorg0d-20
Shop Amazon UK ➢https://www.amazon.co.uk/?ie=UTF8&link_code=hom&placement=home_multi.gif&tag=mkmeorg03-21
Shop eBay ➢https://rover.ebay.com/rover/1/711-53200-19255-0/1?mpre=https%3A%2F%2Fwww.ebay.com%2F&campid=5338581870&toolid=20008
Gear I use in these videos➢ http://amzn.to/2oRZoQn
Shop my MKME.org Store ➢http://store.mkme.org
Shop Bangood➢https://www.banggood.com/custlink/mKvKI0Qlnn
Shop Gearbest➢ http://mkme.org/gearbest
——————————————————

Get Social with Me!
Join the MKME Discord live chat here: https://discord.gg/j9S4Fgv
Twitter ➢ http://twitter.com/MKmeOrg
Instagram ➢ https://instagram.com/mkmeorg/
Facebook ➢http://www.facebook.com/EricWilliam13
—————————————————–

My Websites and Related:
Main Site ➢ http://mkme.org
Blog ➢ http://blog.mkme.org
G+ Community ➢ http://goo.gl/6rMPsi
MKme Facebook Page ➢ http://goo.gl/aXg29
—————————————————–
Sweet Tunes often from NCS: https://www.youtube.com/user/NoCopyrightSounds
And Audio Library Plus: https://www.youtube.com/channel/UCgOuNHmnIVxiPJYBZwhbeeA
Thanks for Subscribing!

, https://i.ytimg.com/vi/aEn5C83Qoro/hqdefault.jpg

source

21 Comments

  1. Great project, but the video is way too long. Could have been cut down to 2,5 min with a new voice over.

  2. Do I need to download anything to the arduino? I bought your kit and solder everything as describe but doesn't seem to be working.

  3. SOLUTION FOR ROOMBA 675. Thanks the information in this chat I was able to figure out why my Roomba 675 didn't work with the original Instructions from MKme Lab. I am using Arduino One, which is not different than Nano for this application.
    1) Resistor must be properly sized: The IR led has an operational voltage and amperage range that it is necessary to meet to ensure proper performance. Based on my IR led data sheet, the operational forward voltage range is 1.2v – 1.3v @ 100 ma. If the voltage source (arduino board) is 5v, you would need to add a resistance = (5v – 1.2v)/0.1A) = 38 ohm. However, I used 50 ohm. resistor to protect the IR led. If the resistor is too high (80 ohm) , the IR led won't glow. If the resistor is lower than 38 ohm. the IR led will burn out.
    2) Arduino code: I used the same code suggested by Mkme Lab with the following changes: irsend.mark(500) instead of irsend.mark(1000) and irsend.space(7500) instead of irsend.space(1000)

    The virtual wall for my Roomba 675 is working great! Thanks MKme Lab for posting this youtube video.

  4. Anyone with the I Series, use 500 for mark and 7500 for space. Lots of testing paid off!

  5. Looking at the code it looks like it repeatably turns the led on for 1 second then off for 1 second. Is that it?

  6. You solved a big problem that I was having, for not being able to acquire the virtual wall. In addition, the cost was ten times lower (U$ 400 to U$ 40) for five virtual walls. Thank you very much for publishing this video and making the libraries available. Luiz Antonio, from Brazil.

  7. I recently got a Roomba i3 and made one of these virt walls but the roomba ignores it. I even tried changing the resistor to make the IR led brighter and also dimmer. Loaded the IRremote library again and messed with the ms on/off but no luck. Any suggestions?

  8. Excellent thanks! I'm moving to a bigger apartment and wanted to do just this to prevent it from going to a certain room. I'm thinking of adding a switch to the box so if I have a messy (things on the floor) room I can click this thing on and when I have cleared the room then I turn this off. And 2.0 would adding them to home automation system so it could be done remotely.

  9. I know this isn't really a support section however is anyone aware if this will work with the a new Roomba i3? I made this circuit, checked with my cell phone & it's outputting IR light but the roomba just ignores it..

    Update: Broke out the scope – verified 38khz carrier & 1ms on/1ms off

  10. I'd add a blinder on the front to direct the light straight out across the door threshold so that the Roomba can get closer, but still not cross the line.

  11. can this circuit be use on other robot vacuum cleaner, please advise thanks

  12. I built this but no luck, my Roomba just plows through it 🙁

    I was going to convert it to an ATtiny85 then I tried with a UNO and no luck.

    Any ideas?

  13. Hi Mr MKme, I tried the code you posted in the Arduino IDE software and do the verify function and it didn’t work ! . This make me go to Arduino programming to learn more about this, my question is, this code really is the one or there is another that you keep in secret ?

  14. I tried the “DIY Arduino Project- Roomba Virtual Wall” project with a model 671 Roomba dual mode without success. The suggested parts were ordered from Amazon and wired on a project board. After powering up the circuit, the Arduino NANO was loaded with the suggested software without any problems. The circuit seemed to be working as verified by looking at the IR LED through my cell phone camera and observing the violet color being emitted by the LED. I positioned the project board with the LED pointing at the same level as the roomba at the entrance of an adjacent room. The roomba passed the led without even slowing down. With what Roomba models does this project work? Is there any difference between models as to frequency of operation or pulse width? Is there anything else I can try while I’m at the bread board stage? Any information would be greatly appreciated.

    Thanks ……;. RMPPOD

  15. Thanks a lot for the video! I have a question: Can I use normal 3x AAA batteries? How long it will survive with this code running?

  16. The originals, although in a nice case, are way overpriced. Thanks for sharing and saving me an exorbitant amount of cash on virtual walls!

  17. This is great. Thanks a lot. How are you powering the Arduíno? If I use batteries, any ideia of how long they would last?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.