@Tim said in iRobot Roomba WiFi Modules:
Thinking Cleaner 3D
Yes I modified it to hold an Nodemcu, I have a buck step down converter for power regulating
Input voltage: DC 4.75V-23V
Output voltage: DC 1.0V-17V (Adjustable, Output < Input)
iRobot Roomba WiFi Modules
@Tim said in iRobot Roomba WiFi Modules:
Thinking Cleaner 3D
Yes I modified it to hold an Nodemcu, I have a buck step down converter for power regulating
Input voltage: DC 4.75V-23V
Output voltage: DC 1.0V-17V (Adjustable, Output < Input)
Follow my domotica project on http://maredana.nl
i use an LM2596S Step-Down Module and adjust them to about 3,6V
and glued a simple plasticbox on my roomba
@xCite86
I cannot stop smiling when thinking about your roomba swirling through your flat demonstrating the pimatic logo
This is awesome ^^
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
hahahaā¦ since yesterday āheā was very proud and happy when he was cleaning my roomsā¦ I think he was cleaning better then before
Hi
please provide more info about your modules ā¦
if you have more info please provide
I am looking for Robot invention
Hello,
i also control the Roomba with a NodeMCU (ESP8266) using Pimatic and mqtt. In particular i am displaying the odometry position.
If someone is interested:
https://github.com/maltejoos/Ovisu
Hi,
I know this topic is quite old but perhaps there are some of you using the code (https://github.com/incmve/roomba-eps8266/) of @incmve.
Iām doing so and everything is working fine. Beside sending comands I also want to read the sensor data. But this is not working for my set-up. Are you reading sensor data already? Do you had problems to get it working? Can someone help me to get it working?
My Hardware consists:
For testing I use this code down below. But I only get zeros printed out in the serial monitor even if wait some time and lift the roomba up from time to time.
#include <SoftwareSerial.h>
//* RX is digital pin 10 (connect to TX of other device - iRobot DB25
// pin 2)
//* TX is digital pin 11 (connect to RX of other device - iRobot DB25
// pin 1)
#define rxPin D5
#define txPin D6
#define bumpRight (sensorbytes[0] & 0x01)
#define bumpLeft (sensorbytes[0] & 0x02)
// set up a new software serial port:
SoftwareSerial softSerial = SoftwareSerial(rxPin, txPin);
int inByte = 0; // incoming serial byte
/*************************************************************
SETUP
*************************************************************/
void setup()
{
delay(2000); // Needed to let the robot initialize
// define pin modes for software tx, rx pins:
pinMode(rxPin, INPUT);
pinMode(txPin, OUTPUT);
pinMode(BUILTIN_LED, OUTPUT); // set onboard LED as output
// start the the SoftwareSerial port 57600 bps (robotās default)
softSerial.begin(115200); //115200
// start hardware serial port
Serial.begin(115200);
Serial.println("Starting to communicate");
softSerial.write(128); // This command starts the OI.
softSerial.write(131); // set mode to safe (see p.7 of OI manual)
Serial.println("Writing Values to SoftSerial");
delay(2000);
//softSerial.write(135); // This command starts the OI.
//Serial.println("Start Cleaning");
}
/*************************************************************
LOOP
*************************************************************/
void loop()
{
softSerial.write(142); // requests the OI to send a packet of
// sensor data bytes
softSerial.write(9); // request cliff sensor value specifically
delay(500); // poll sensor 4 times a second
if (softSerial.available() > 0) {
inByte = softSerial.read();
}
Serial.println(inByte);
// checkBumpSensors();
// delay(100);
}
I have not done anything for a while now, summertime so other hobbies
Now that itās getting colder I started picking up on things again, I converted the old code to MQTT.
I have not tested it yet cause I had to use my ESP elsewhere
https://github.com/incmve/Roomba-esp8266-MQTT
I also want to get some data out of it like charging state etc.
If I have something useful I will post it.
Follow my domotica project on http://maredana.nl
No luck on reading the sensor data yet, havenāt figured out what Iām doing wrong yet.
I did make it play a piece of The Imperial March
Follow my domotica project on http://maredana.nl
Okay, nice to hear if your at home then. š
But the sensor reading is strange. There are so many successful reports on google. What kind of hardware do you use? Iām trying with an esp8266, wemos d1 mini pro. Perhaps this is the problem?