reallynotburner / MyRoomba

Expedient and incomplete way to connect your Arduino to a Roomba
0 stars 0 forks source link

add dirt detect readout #3

Open reallynotburner opened 5 years ago

reallynotburner commented 5 years ago

Description The Roomba has dirt detection sensors inside that read out 0 to 255 depending on how dirty the incoming air is. Since I'm familiar with the dirt detect LED, which has a binary state, I had assumed that this would be a boolean value. Happy surprise!

Warning I have not tested this in a real Roomba yet. My Roomba is on loan right now.

To Test If you have a github account:

  1. checkout dirtyDeeds branch of MyRoomba
  2. open Arduino IDE
  3. open Examples -> MyRoomba -> read_dirt_sensor
  4. program your Roomba with it
  5. hit the Clean Button
  6. Observe that the Roomba starts cleaning the floor
  7. Observe that the clean light gets brighter when Roomba runs over dirt
  8. Observe that all the Roomba LED's come on if it's really dirty

If you don't have a github account:

  1. go to https://github.com/reallynotburner/MyRoomba/tree/dirtyDeeds
  2. download ZIP
  3. change downloaded folder from MyRoomba-dirtyDeeds to MyRoomba
  4. put MyRoomba folder in the Documents/Arduino/libraries folder
  5. open Arduino IDE
  6. open Examples -> MyRoomba -> read_dirt_sensor
  7. program your Roomba with it
  8. hit the Clean Button
  9. Observe that the Roomba starts cleaning the floor
  10. Observe that the clean light gets brighter when Roomba runs over dirt
  11. Observe that all the Roomba LED's come on if it's really dirty