Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ROVERBOT
08-19-2016, 07:28 PM
Post: #21
RE: ROVERBOT
xuyenthanhngo,

Can you share your firmware. I'm trying to use the same hardware.

Can you show me how you attached the Accelerometer to the Wemos.


Thanks...

Luis
Find all posts by this user
Quote this message in a reply
08-22-2016, 08:41 AM
Post: #22
RE: ROVERBOT
Hello xuyenthanhngo,

would it be easier for you to make your APK adapts automatically to all devices screen resolutions ?

My Galaxy Tab S 8.4 is about 2580x1600 and my Galaxy Express is about 600x480 and in any the APK is displayed correctly (workable) ...

Cheers

Gilles
Find all posts by this user
Quote this message in a reply
08-31-2016, 03:15 PM
Post: #23
RE: ROVERBOT
xuyenthanhngo,

Thanks for the great contribution.
Can you show us the connections and how you wired the CNC shield to the motors and Wi-Fi mod.
I have all of the parts you used, and could use the help.

Thanks
WPLAW
Find all posts by this user
Quote this message in a reply
09-04-2016, 09:18 PM (This post was last modified: 09-04-2016 09:21 PM by citronium.)
Post: #24
RE: ROVERBOT
(08-31-2016 03:15 PM)WPLAW Wrote:  xuyenthanhngo,

Thanks for the great contribution.
Can you show us the connections and how you wired the CNC shield to the motors and Wi-Fi mod.
I have all of the parts you used, and could use the help.

Thanks
WPLAW


WPLAW,

Here is how I wired mine after tracking each wemos pin trace to the CNC shield. This is for a Wemos D1 R2. Note that R1 has different pinout.

WEMOS D1 R2 PIN --> CNC SHIELD FUNCTION --> BROBOT PIN
---------------------------------------------------
D0 --> X-STP --> MOTOR1-STEP
D1 --> Goes to SCL and Y-STP --> SCL
D2 --> Goes to SDA and Z-STP --> SDA
D3 --> X-DIR (Jumper with A-DIR to make common DIR pin) --> MOTORS-DIR
D4 --> Y-DIR (use wire to connect with A-STP) --> MOTOR2-STEP
D5 --> Goes to Z-Dir and also spindle direction --> NOT USED
D6 --> Goes to MOTOR ENABLE and spindle enable --> MOTOR ENABLE
D7 --> Goes to X-Lim and Z-Lim --> SERVO1
D8 --> Goes to Y-Lim --> SERVO2

Here is a picture of the wire connections (basically a jumper and a short wire). You also need to solder a wire to Vin pin so you can send power from the CNC Shield down to the Wemos.

https://www.dropbox.com/s/nb7b2sxjij6kxe...-Front.jpg

https://www.dropbox.com/s/tx22ezu4azwtiz5/IMG_7038.JPG

https://www.dropbox.com/s/1fwenhyl55j0n57/IMG_7039.JPG


I am using KomX's firmware from this thread.

http://jjrobots.com/forum/thread-826.html

The only modification (besides the ones suggested on the thread) are the eX_ESP_pins.h file as follows:

#define MOTORS_ENABLE_PIN D6
#define MOTORS_DIR_PIN D3
#define MOTOR1_STEP_PIN D0
#define MOTOR2_STEP_PIN D4

#define SONAR_TRIG_PIN -1
#define SONAR_ECHO_PIN -1
#define SDA_PIN D2
#define SCL_PIN D1

#define SERVO1_PIN D7
#define SERVO2_PIN D8
#define BATTERY_PIN A0

My robot has some issues where one wheel will rotate very slowly and the other will rotate very fast. The robot is balancing itself but goes in sharp circles. I checked hardware and is fine. Appears to be related to a firmware problem? I just submitted a question on that thread to see if I can get some help.

The MPU6050 was connected to the wemos card by soldering a 90 deg pin connector on the 3.3V/SDA/SCL/GND pin holes and doing a small tray out of plastic and using hot glue silicon to attach the sensor and a short wire connector. It basically sits on top of the ESP chip.

https://www.dropbox.com/s/0r3k4nv9eqqawpf/r2_1.jpg


Good luck and let me know if you also experiment the same issue of the robot running in circles. I'm wondering if my MPU6050 sensor being a bit tilted may be causing the problem.
Find all posts by this user
Quote this message in a reply
09-08-2016, 11:58 AM
Post: #25
RE: ROVERBOT
Hi, I'm from Brazil. Sorry by wrong english.
I'm trying to assembly this Project with material do already have here:
- Arduino Uno r3
- CNC shield
- HC 05 Bluetooth or ESP8266
- 2x nema 17
- MPU6050

But, I didn't find the arduino code.

Someone could help me with schematic wires and arduino code?
Find all posts by this user
Quote this message in a reply
09-09-2016, 02:07 AM
Post: #26
RE: ROVERBOT
(09-04-2016 09:18 PM)citronium Wrote:  
(08-31-2016 03:15 PM)WPLAW Wrote:  xuyenthanhngo,

Thanks for the great contribution.
Can you show us the connections and how you wired the CNC shield to the motors and Wi-Fi mod.
I have all of the parts you used, and could use the help.

Thanks
WPLAW


WPLAW,

Here is how I wired mine after tracking each wemos pin trace to the CNC shield. This is for a Wemos D1 R2. Note that R1 has different pinout.

WEMOS D1 R2 PIN --> CNC SHIELD FUNCTION --> BROBOT PIN
---------------------------------------------------
D0 --> X-STP --> MOTOR1-STEP
D1 --> Goes to SCL and Y-STP --> SCL
D2 --> Goes to SDA and Z-STP --> SDA
D3 --> X-DIR (Jumper with A-DIR to make common DIR pin) --> MOTORS-DIR
D4 --> Y-DIR (use wire to connect with A-STP) --> MOTOR2-STEP
D5 --> Goes to Z-Dir and also spindle direction --> NOT USED
D6 --> Goes to MOTOR ENABLE and spindle enable --> MOTOR ENABLE
D7 --> Goes to X-Lim and Z-Lim --> SERVO1
D8 --> Goes to Y-Lim --> SERVO2

Here is a picture of the wire connections (basically a jumper and a short wire). You also need to solder a wire to Vin pin so you can send power from the CNC Shield down to the Wemos.

https://www.dropbox.com/s/nb7b2sxjij6kxe...-Front.jpg

https://www.dropbox.com/s/tx22ezu4azwtiz5/IMG_7038.JPG

https://www.dropbox.com/s/1fwenhyl55j0n57/IMG_7039.JPG


I am using KomX's firmware from this thread.

http://jjrobots.com/forum/thread-826.html

The only modification (besides the ones suggested on the thread) are the eX_ESP_pins.h file as follows:

#define MOTORS_ENABLE_PIN D6
#define MOTORS_DIR_PIN D3
#define MOTOR1_STEP_PIN D0
#define MOTOR2_STEP_PIN D4

#define SONAR_TRIG_PIN -1
#define SONAR_ECHO_PIN -1
#define SDA_PIN D2
#define SCL_PIN D1

#define SERVO1_PIN D7
#define SERVO2_PIN D8
#define BATTERY_PIN A0

My robot has some issues where one wheel will rotate very slowly and the other will rotate very fast. The robot is balancing itself but goes in sharp circles. I checked hardware and is fine. Appears to be related to a firmware problem? I just submitted a question on that thread to see if I can get some help.

The MPU6050 was connected to the wemos card by soldering a 90 deg pin connector on the 3.3V/SDA/SCL/GND pin holes and doing a small tray out of plastic and using hot glue silicon to attach the sensor and a short wire connector. It basically sits on top of the ESP chip.

https://www.dropbox.com/s/0r3k4nv9eqqawpf/r2_1.jpg


Good luck and let me know if you also experiment the same issue of the robot running in circles. I'm wondering if my MPU6050 sensor being a bit tilted may be causing the problem.

Thanks for the Information. I know that tilting the MPU6050 can cause problems, I installed one sideways trying to make the card fit better, and nothing worked. Learned that quickly. When complete, I will let you know how mine works.

Again, Thanks for the information.
Find all posts by this user
Quote this message in a reply
09-10-2016, 04:04 PM
Post: #27
RE: ROVERBOT
(09-08-2016 11:58 AM)Jefferson Wrote:  Hi, I'm from Brazil. Sorry by wrong english.
I'm trying to assembly this Project with material do already have here:
- Arduino Uno r3
- CNC shield
- HC 05 Bluetooth or ESP8266
- 2x nema 17
- MPU6050

But, I didn't find the arduino code.

Someone could help me with schematic wires and arduino code?

Arduino uno has different pinout and functionality to Leonardo (which is what the orignal B-Robot code is for). The following thread talks about using an arduino uno instead of Leonardo and what changes are needed on the code.

http://jjrobots.com/forum/thread-752.html

Good luck !! If you are able to make it work with Arduino uno, please report back on that thread with your findings.

You would want to mount the MPU6050 on the SDA SCL GND 5V pins the are close to one of the corners of the CNC shield. Or in between arduino uno and CNC shield if you have a way to access those pins.

As for the ESP8266, believe you only need access to TX RX GND and 3.3V but my understanding is that you need a separate DC-DC converter to power 3.3V (the 3.3V from the Arduino board doesn't provide enough juice). That is one of the main reasons I went the wemos D1 route. The wemos D1 is only a few dollars on banggood.com.
Find all posts by this user
Quote this message in a reply
09-10-2016, 11:57 PM (This post was last modified: 09-16-2016 10:03 PM by Jefferson.)
Post: #28
RE: ROVERBOT
Please, where I'll find these new STL and arduino codes? Thank you
Find all posts by this user
Quote this message in a reply
11-02-2016, 01:14 AM
Post: #29
RE: ROVERBOT
Please...Can you share your firmware?
Find all posts by this user
Quote this message in a reply
11-05-2016, 04:46 PM
Post: #30
RE: ROVERBOT
(07-01-2016 12:07 AM)xuyenthanhngo Wrote:  I use ESP-12 as CPU(like KomX) and I put MPU6050 on it(under cnc shield).
Don't need arduino leonardo.

(06-30-2016 09:05 AM)rosbot Wrote:  And other stuff? Gyroscope and wifi for example? where are they?

It's same as BRobot. I just modify for Raiseup. Don't need servo arm.
Hope i have time to put more feature on it. As add raspberry board and camera

My app control ready on Google Play.
https://play.google.com/store/apps/detai...om.surobot
ROVERBOT CONTROL

[Image: Screenshot_20160701-070548_zpskvfvm7gb.png]

(06-30-2016 07:35 AM)rosbot Wrote:  Hi,
Really Good.

You use a different Shield. There are new features? Whats different from BRobot?

Is your app available on Play Store?

Hi
I want to create my iOS application same as your layout. From where to start , can you help me ?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)