🆕DIY Arduino Project- Roomba Virtual Wall 👍

  Рет қаралды 33,876

MKme Lab

MKme Lab

Күн бұрын

Пікірлер: 100
@Usuaurio-kj1ym
@Usuaurio-kj1ym 8 ай бұрын
Hello, I have a roomba e5, I made the virtual wall but it does not recognize it, i tried the infrared LED with the cell phone camera and it works ok
@superviro
@superviro 4 жыл бұрын
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.
@RichEddings
@RichEddings 3 жыл бұрын
Thanks for putting this together! If you are having issues, try switching your library version of IRremote to a 2.x.x version. I could not make a Nano or an Uno work until I downgraded to 2.8.1 due to some of the design changes in IRremote 3.x.
@pkarza
@pkarza 3 жыл бұрын
Thank you for the help with the IR remote library! I thought I had done something wrong...
@RichEddings
@RichEddings 3 жыл бұрын
@@pkarza You’re welcome! I was pulling my hair out until I read the 3.x release notes and realized that was probably the issue. I thought I’d save others the same headache.
@stevesplace7230
@stevesplace7230 2 жыл бұрын
I too was pulling my hair out! Problem solved. Thank You! Thank You! Thank You!
@ogblaz1
@ogblaz1 2 жыл бұрын
I wasted so much time, Thank you Rich!
@JensenVlogChannel
@JensenVlogChannel 2 жыл бұрын
Thank you somuch for the support
@luizantoniosantos4208
@luizantoniosantos4208 3 жыл бұрын
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.
@MkmeOrg
@MkmeOrg 3 жыл бұрын
Welcome. They work pretty great for a few bucks in parts :)
@nccyr1
@nccyr1 5 жыл бұрын
I don't have a Roomba but I think it's a great project and it's even better that you open source the software and hardware for others to benefit from this device. Great work!
@ryanp0617
@ryanp0617 4 жыл бұрын
I tested this out with an Arduino Uno, but in order for it to work, I had to wire it from pin 3 to ground, not from pin 3 to 5v. Is there something different about the nano? Great project, and thanks for all your videos!
@ramiroc6553
@ramiroc6553 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.
@ecto1a2003
@ecto1a2003 3 жыл бұрын
thank you soo much
@superspit
@superspit Жыл бұрын
Bit old now, but did you get better battery life from changing those 2 parmtrs? (mark and space). Cheers.
@enzomiceli1984
@enzomiceli1984 3 жыл бұрын
Anyone with the I Series, use 500 for mark and 7500 for space. Lots of testing paid off!
@mikeg5250
@mikeg5250 3 жыл бұрын
Thank you very much. It wasn't working with 1000 each for mark and space for my I3. irsend.mark(500); and irsend.space(7500); worked great!
@wakeuplearn
@wakeuplearn 3 жыл бұрын
@@mikeg5250 Excellent. I will try those settings with my i3. the 1000's didn't work that well for me either.
@alexwebber1790
@alexwebber1790 3 жыл бұрын
Excellent! Finally got this working with 500 and 7500 on the i7.
@crippl3dhobnob
@crippl3dhobnob 23 күн бұрын
Excellent work!
@velpero1861
@velpero1861 3 жыл бұрын
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.
@Danunkown
@Danunkown 3 жыл бұрын
i wonder how many Ir leds can you use on one board
@takeAparterAndPutTogetherer
@takeAparterAndPutTogetherer 2 жыл бұрын
Just built this virtual wall for a Roomba 655. Works great! I'm using IRremote 3.9.0. To get it to work, I took the library's examples/SendDemo sketch and its PinDefinitionsAndMore.h file, copied the basics of setup(), and then in its loop() I called IrSender.mark and IrSender.space as in the original MKme code. For the Roomba 655, that meant using the 1000 timings for each call.
@ethereal_emily
@ethereal_emily 5 жыл бұрын
Omg this is awesome, just got a robotic vacuum recently and was considering buying baby gates to stop them from going into certain hallways etc. It is an off brand roomba though, I wonder if this trick will still work... Worth a shot!
@MkmeOrg
@MkmeOrg 5 жыл бұрын
Yep they might use the same protocol.
@tontzah1383
@tontzah1383 2 жыл бұрын
Just what i needed thaks so much 😍
@Badg0r
@Badg0r Жыл бұрын
I've bought a virtual wall and it's too high for the location that I've bought it for. I've a few esp8266's laying around. Can you adjust the range of the LED like adjust the brightness so the Roomba only avoids a small place? It got stuck below our oven several times and got scratched really badly (a learning proces). But there's a small path going into our kitchen. So I'll have to adjust the settings.
@MCsCreations
@MCsCreations 5 жыл бұрын
Really neat job, dude. Really nice! 😃
@Hugatry
@Hugatry 5 жыл бұрын
Bright (IR) light scares Roomba? One should avoid getting Roomba wet? As a precaution, I suggest you to NOT feed it after midnight.
@MkmeOrg
@MkmeOrg 5 жыл бұрын
Arduino time! Buy a kit here! store.mkme.org/?product=diy-roomba-virtual-wall-kit Parts: Arduino NANO amzn.to/2EaMzZI IR LED amzn.to/2QOqUgE Resistor amzn.to/2EhIbsf Enjoy!
@o_srg
@o_srg 4 жыл бұрын
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?
@NGinuity
@NGinuity 5 жыл бұрын
I looked at your code and from the look of it you're blinking the IR LED in 1 second intervals with mark(1000) and space(1000). I thought that Virtual Walls were 1ms on and 1ms off? At first I was wondering why you were leveraging a IR library to do that and then I read the supporting site and figured out the pulses have to be on a 38kHz carrier....so including the Arduino makes total sense to me now. Are you planning to implement a IR receiver to control these at some point? I think it would be cool to have one of these, or a set, IoT enabled but that would be a challenge to drive that carrier off of a ESP8266 device. Not a deal breaker though...I'd just have to turn on/off the pulse segments on the ESP8266 and generate the carrier with something like a 555 Timer or PNP push-pull driver. They implement that on the dev board but I'm not entirely sure if this is the method it uses. I'm hoping this was a proof of concept for something more....if so I look forward to you building on it!
@hugovangalen
@hugovangalen 4 жыл бұрын
Look better :-) The units for the `mark()` and `space()` routines in `irSend.cpp` are in fact usec (microseconds) -- not milliseconds. As 1000 microseconds is 1 millisecond, there is nothing wrong with the timing.
@gravelbar
@gravelbar 4 жыл бұрын
I was surprised to see NOTHING in the video about how the IR beam actually worked, thanks!
@benfosque6820
@benfosque6820 3 ай бұрын
​​​@@gravelbarRight? I was watching the video on 2x speed just trying to find where he said the pulse pattern. I wonder if the timing has to be hyper-accurate? If not, seems simpler to do this with two 555s, an AND gate and a transistor. Costs about $2 instead of $25 for the Arduino. If the number of pulses per cycle needs to be exact, you can replace the second 555 with an 8-bit counter and a 2 more ANDs from the same quad chip.
@rm62rocket
@rm62rocket 3 жыл бұрын
Does the roomba only work with 940nm infrared LEDs? Thinking of trying an infrared laser diode but can only find them in the 780-808nm range. Hoping it's more sensitive to the frequency of the light.
@NicholasHorvath
@NicholasHorvath 2 жыл бұрын
I have a roomba 960. These work great. When using USB to power the virtual walls I find that the beam is quite effective, even past the 10' that MKme estimates the range. My only gripe is using the unregulated voltage pins and 9v batteries seemed to drain the battery rather quickly and never lasted more than a couple days. Interestingly when using USB battery packs and the nanos mini-usb port I found that my USB battery packs shut off after a couple of minutes automatically because the current draw is so low. Anyone else having these issues?
@FabioLimaC
@FabioLimaC 4 жыл бұрын
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?
@NicholasHorvath
@NicholasHorvath 2 жыл бұрын
I tried using a 9v battery to power mine using pins 29 & 30. Went dead within a couple of days. I'm using " ELEGOO Nano Board CH340/ATmega+328P" from the Amazon link. This has happened with all 3 that I built (also using the above listed IR LED) using 220 ohm 1W resistor and 1/8W 220s. I'm thinking the onboard voltage regulator is junk. Unfortunately I have restored to USB and wall-wort power supplies. Oddly enough none of my USB battery packs work with the devices, they shut off after a few minutes. I'm guessing the power draw is so little that the battery packs (an anker and a couple other no-names I got at various conventions and trade shows) builtin protection shuts them off. I realize your comment is a year old and I'm curious if anyones had better luck with batteries than I did
@pkarza
@pkarza 3 жыл бұрын
You should post which correct IR remote library is needed.
@MkmeOrg
@MkmeOrg 3 жыл бұрын
Dunno how much easier I can make it when the entire library is also included in the repo.
@gersonfer
@gersonfer 5 жыл бұрын
Awesome ! . I'll try the same using a D1 mini. Thanks .
@marcofrancescato9021
@marcofrancescato9021 3 жыл бұрын
Hello, I'm also trying with D1 mini and control it with Blynk..did you succeed?
@patrickstel2279
@patrickstel2279 3 жыл бұрын
@@marcofrancescato9021 I also tried it with the D1 but I never seemed to get it to work, I tried it with this library. github.com/crankyoldgit/IRremoteESP8266 maybe it will help you
@luisdantevazquezsantoyo8830
@luisdantevazquezsantoyo8830 7 ай бұрын
Hello, this doesn't work on the roomba e5 model any help?
@hugovangalen
@hugovangalen 4 жыл бұрын
The originals, although in a nice case, are way overpriced. Thanks for sharing and saving me an exorbitant amount of cash on virtual walls!
@DaveCampbellKY
@DaveCampbellKY 2 жыл бұрын
i have a roomba e6, and a CircuitPlaygroundExpress device. the CPx device has an IR transmitter on it, but i was unable to understand how to use the pulseio object from the board python module to get the basic mark and space to work. any advice? is there a basic C programming environment i can use for the CircuitPlayground Express, and just use your code? does the roomba e6 model respond to your code? i don't see it mentioned anywhere. thanks.
@magiccitymakerspace
@magiccitymakerspace 3 жыл бұрын
Quick question - are you able to see an IR pulse (even weakly?) in the LED when powering it on? Was troubleshooting based on if I can see anything in a camera, but not sure if this is valid.
@magiccitymakerspace
@magiccitymakerspace 3 жыл бұрын
Nevermind. This is answered in the affirmative in another question.
@michaelflaherty69
@michaelflaherty69 2 жыл бұрын
Does anyone have info on how it differentiates a home dock from a wall? I have a dock that the Roombas cant seem to see. It still charges though. I wanted to just piggyback an arduino in there and just bypass it. When cleaning, they are treated as a curved barrier. when its seeking "home" it locates it with IR and lines up the charging pads. The original board has 2 LEDs reflected up.
@shaun900
@shaun900 3 жыл бұрын
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
@enzomiceli1984
@enzomiceli1984 3 жыл бұрын
were you able to get this working?
@slli9052
@slli9052 4 жыл бұрын
can this circuit be use on other robot vacuum cleaner, please advise thanks
@alexwebber1790
@alexwebber1790 3 жыл бұрын
Hi, I created a pull request to update the code for "i" roomba models. The mark and space values are different.
@JensenVlogChannel
@JensenVlogChannel 2 жыл бұрын
I connect and upload code, but can see the light of IR LED (Via camera on phone), can you tell me know why?
@michaelflaherty69
@michaelflaherty69 2 жыл бұрын
I couldn't see it with mine either. it worked though. its probably to the with wavelength. it may be beyond the spectrum the camera can detect.
@RicardoSuarez-xu7bu
@RicardoSuarez-xu7bu Жыл бұрын
Hello, I bought a kit, I put it together according to the instructions and it doesn't work for me,
@MkmeOrg
@MkmeOrg Жыл бұрын
Triple check your connections and reverse the LED if nothing found. Most common issue is the LED is backwards.
@RMPPOD1
@RMPPOD1 4 жыл бұрын
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
@MkmeOrg
@MkmeOrg 4 жыл бұрын
It is a 671 shown in this video. I have 2 of them- they are confirmed just fine. Roomba uses the same IR protocol for all models with IR. It is right in the docs I supplied with the code- they made all their protocols available for makers.
@skibinskimariusz
@skibinskimariusz Жыл бұрын
Hi, where I can find stl file for cover ?
@bryantsanchez7880
@bryantsanchez7880 5 жыл бұрын
Would love to see how to make a roomba wifi and turn it on with your phone. Also set times for when to come on.
@MkmeOrg
@MkmeOrg 5 жыл бұрын
Most have that built in
@bryantsanchez7880
@bryantsanchez7880 5 жыл бұрын
@@MkmeOrg I have one that doesnt have it so I wanted to see if you could make one.
@patrickstel2279
@patrickstel2279 3 жыл бұрын
@@bryantsanchez7880 github.com/thehookup/MQTT-Roomba-ESP01
@robd12000
@robd12000 3 жыл бұрын
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?
@enzomiceli1984
@enzomiceli1984 3 жыл бұрын
I am having the same issue with my i3. I was able to see the IR light up through my computer web cam, but it won't stop the i3 from going where it wants to. Any one have luck getting this to work?
@alexwebber1790
@alexwebber1790 3 жыл бұрын
As someone said above you need to use different values for mark and space. Use mark(500) and space(7500). This works on my i7 perfectly.
@jf-rr3gz
@jf-rr3gz 3 жыл бұрын
@@enzomiceli1984 See Rich and Ramiro above. This is the kind of information that should be presented in the video. For the i3 I've downgraded to library 2.8.1, adjusted the resistor to 100ohm based on my IR LED (1.2v forward, and 50ma). I've also changed the timing to mark 500, space 7500. Seems to be working now. Before downgrade to 2.8.1 I could not detect any IR with phone camera. I've also used alternative wiring... D3 -> resistor -> positive on LED -> back to GND (not 5v!). (On an old NANO)
@aguila913
@aguila913 4 жыл бұрын
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 ?
@aguila913
@aguila913 4 жыл бұрын
Hi Mr MKme, I could made the code uploaded to my arduino Nano, the problem is the missing IRremote library in my IDE software, I have to found the Zip file using google and added to mine IDE and its work OK!.
@MkmeOrg
@MkmeOrg 4 жыл бұрын
Good stuff
@robloughrey
@robloughrey 4 жыл бұрын
@@aguila913 I had a similar problem. I know the scope of this video isn't using an arduino so I think he gets a pass , but if you're a noob like me I recommend watching a video on flashing a nano with a library
@ivanitzel1901
@ivanitzel1901 3 жыл бұрын
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.
@MkmeOrg
@MkmeOrg 3 жыл бұрын
Likely wrong terminal, diode inverse or some connection issue. The Arduino is pre-programmed for you. Stop by the Discord and post in the Roomba channel and we can get it figured out no probs. mkme.org/discord Post some clear pics or your soldering and connections to save some time.
@jirisulovsky4725
@jirisulovsky4725 3 жыл бұрын
@@MkmeOrg Btw, for me it was inverse diode. Thanks for hints!
@andrewhannay
@andrewhannay 3 жыл бұрын
Looking at the code it looks like it repeatably turns the led on for 1 second then off for 1 second. Is that it?
@MkmeOrg
@MkmeOrg 3 жыл бұрын
No. 1 second on 38Khz one second off
@andrewhannay
@andrewhannay 3 жыл бұрын
Ah ha, I see. Modulated. Thanks.
@Danunkown
@Danunkown 3 жыл бұрын
can i use a arduino micro in place of nano
@Danunkown
@Danunkown 3 жыл бұрын
its working!
@Usuaurio-kj1ym
@Usuaurio-kj1ym 3 жыл бұрын
I use attiny 85 , works great!
@genxweb
@genxweb 5 жыл бұрын
Been building projects with arduinos for years. So I tried this based on your purchase links below yet it does not work.
@MkmeOrg
@MkmeOrg 5 жыл бұрын
Not sure what you want me to say here- Try harder?
@genxweb
@genxweb 5 жыл бұрын
MKme Lab a good reply would be. It works on xyz roomba and not xyz model. If you did this in September and it worked it should work on all models. Is there anything missing in the video or github? My wiring lines up with yours and the code was copy and paste. I sit it on the floor and she goes right pass it or runs it over. Any more details or elaboration in the video on the github would be appreciated. Has anyone else tried?
@MkmeOrg
@MkmeOrg 5 жыл бұрын
@@genxweb The IR protocol is universal. The Roomba docs are in my GitHub. They made their protocol open for the world. So I would say- recheck your build. Check to see if your IR LED is lighting up (use any digital camera close enough it will show a glow if working). Check your polarity. Check your code is running. From there....recheck.
@ChrisHolst
@ChrisHolst 5 жыл бұрын
@@MkmeOrg In Roombaland there are two standards for these things. You can buy the "lighthouse" model directly from iRobot, and it won't work for the models that are set to work with the "dual mode" models. It looks like you've expertly replicated the "dual mode" type here... which won't work for people who need "lighthouse". Thanks for covering those of us who have Roombas that talk dual... I'm ordering parts...
@AaronDeLanty
@AaronDeLanty 4 жыл бұрын
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?
@MkmeOrg
@MkmeOrg 4 жыл бұрын
Verify the LED is working, reverse the polarity of the LED if you have it reversed.
@AaronDeLanty
@AaronDeLanty 4 жыл бұрын
@@MkmeOrg Thanks for the reply :). I have the polarity correct. Viewed it through my camera. I actually got it to work with the UNO (i didn't change anything). Could the ATtiny85 16mhz clock not be fast enough for the 38mhz IR pulse it sends at?
@ronm6585
@ronm6585 5 жыл бұрын
Thanks
@abboberg987
@abboberg987 5 жыл бұрын
I like the idea. But the way you solder, glue everything together and - like you are saying yourself - putting lose wires in the box and spilling tin it is definitly not a good example how to make small elektronica boxes. Try to do it nice and good.
@MkmeOrg
@MkmeOrg 5 жыл бұрын
LOL why dont you do it and post a video then versus complaining someone doing FREE videos and FREE code is not up to YOUR standards.... I'll never understand people like you but feel free to carry on.
@ahostn
@ahostn 5 жыл бұрын
Now it’s time to make a diy roomba. For the 10% of the cost I guess.
@MkmeOrg
@MkmeOrg 5 жыл бұрын
Vacuum all the thingz!
@ArnaudMEURET
@ArnaudMEURET 4 жыл бұрын
Good luck with that! Have you ever opened up a genuine Roomba? These things are full of great pieces of engineering giving them an outstanding robustness. Nothing us DIYers can come close to or when you eventually get to the same level of reliability, your « Roombyself » will be the size of golf cart.
@erik8362
@erik8362 3 жыл бұрын
Great project, but the video is way too long. Could have been cut down to 2,5 min with a new voice over.
@MkmeOrg
@MkmeOrg 3 жыл бұрын
wow...
Building the World's Fastest Roomba
11:48
electrosync
Рет қаралды 1,7 МЛН
How I Built My Own Self-Navigating Vacuum Cleaner
13:16
SciNix
Рет қаралды 45 М.
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
This dad wins Halloween! 🎃💀
01:00
Justin Flom
Рет қаралды 60 МЛН
Não sabe esconder Comida
00:20
DUDU e CAROL
Рет қаралды 65 МЛН
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН
How Does the 3S Pump Controller Handle Humid Environments?
1:04
3Sglobal.waterpumpcontroller
Рет қаралды 1
Hacking my Robot Vacuum to add ONE MISSING Feature!
11:16
GreatScott!
Рет қаралды 252 М.
I tried the 3 Cheapest Arduino Alternatives! (That you Suggested)
13:21
Make Dumb Electronics Smart for $3
13:13
I Like To Make Stuff
Рет қаралды 725 М.
Put the spark plug in the battery and enjoy! This man is a genius!!
6:34
Creative Inventor
Рет қаралды 11 М.
What is worth salvaging from an old smartphone?
8:35
GreatScott!
Рет қаралды 1,2 МЛН
My Kickstarter failed, so I open sourced it
12:20
StuckAtPrototype
Рет қаралды 596 М.
Top 10 Arduino projects
21:41
Mr Innovative
Рет қаралды 1,2 МЛН
I Made A Roomba that ACTUALLY WORKS. | Arduino Project | #grindreel
6:18
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24