Forum >4WD MiniQ
RoboticsGeneral

4WD MiniQ

userHead HannesBK 2012-03-10 10:21:22 15456 Views19 Replies
Hello,

I received my 4WD MiniQ from a local dealer today.
I love it at first sight.
But the first steps are not as easy as I thought.

Is is right that it comes with absolutely no documentation?

Well, I found the Wiki and I downloaded the examples.

Unfortunately the Wiki is very briefly.
Most of the examples come in two versions:
The first one has funny characters in the comments and is not very intructively.
The second one is rejected by the Arduino parser, because of numerous space characters at wrong places.

Correcting all the "# Define" to "#define", "> =" to ">=" and the "& &" to "&&" was annoying, but then it worked.

But even more I dfrobot a detailed layout description.

There are two pots.
Are they used for distance sensors sensivity?
What is the procedure to adjust?

There are some headers and jumpers.
One is for ISP. But the others?

The sensors confuse me.
Wiki says: Analog pin 0 is a line tracking sensor.
Is this the leftmost one or the rightmost?
Is pin 1 connected to the next one?

The infrared receiver seems to be the forefront part in the middle.
Is it used as distance sensor and remote receiver at the same time?
That would explain why the remote example works so poor.

What are the ambient light sensors for? Example?

How to use the wheel encoders? I did not found an example.

What are the IR codes of the remote control?
Only left, right, forward, back and stop are used in the remote example.

Sorry, if it sounds a litte disappointed.
I still think that this litte toy is great engineers work.
But the poor documentation belittings the practical value.

I would appreciate your help.
Thank you.

Hannes

2012-03-15 03:36:46 Hector,

yes, I had a look at the schematics.
In combination with the silk screen layout it would answer all questions concerning the hardware.

No hurry, I too have only enough time over the weekends.

Hannes
userHeadPic HannesBK
2012-03-15 03:36:46 Hector,

yes, I had a look at the schematics.
In combination with the silk screen layout it would answer all questions concerning the hardware.

No hurry, I too have only enough time over the weekends.

Hannes
userHeadPic HannesBK
2012-03-14 18:10:33 Hannes,


I will try to get you answers to your questions by the end of the week. I am very busy this month. Please have some patients ;)


Have you tried looking at the schematic? That might help you understand what some of the other things are.


[url=https://www.dfrobot.com/image/data/ROB0050/sc.pdf] 4WD MiniQ Schematic[/url]
userHeadPic Hector
2012-03-14 18:10:33 Hannes,


I will try to get you answers to your questions by the end of the week. I am very busy this month. Please have some patients ;)


Have you tried looking at the schematic? That might help you understand what some of the other things are.


[url=https://www.dfrobot.com/image/data/ROB0050/sc.pdf] 4WD MiniQ Schematic[/url]
userHeadPic Hector
2012-03-13 11:56:51 Hi all,

@Hector: Thank you for the modified code and especially for the additional "encoder test" program.

Well, now I realize what the real problem was.
You guys are using a Chinese environment, and my nose was too long to read the output well!

Ok, I took your new ROB0050EN and reworked every file with an european/(us) Arduino.
There were still errors in "Avoidance", "Key", "Light", "Remote" and "Song".
All files compile under 0023 (I don't have 0022 anymore) without errors now.
Please note: I only corrected the errors, I've done no download to the MiniQ yet.

Please see attached file ROB0050EN_hannes.rar

Regards
Hannes

P.S.: Can I hope for a response to my questions remaining?
userHeadPic HannesBK
2012-03-13 11:56:51 Hi all,

@Hector: Thank you for the modified code and especially for the additional "encoder test" program.

Well, now I realize what the real problem was.
You guys are using a Chinese environment, and my nose was too long to read the output well!

Ok, I took your new ROB0050EN and reworked every file with an european/(us) Arduino.
There were still errors in "Avoidance", "Key", "Light", "Remote" and "Song".
All files compile under 0023 (I don't have 0022 anymore) without errors now.
Please note: I only corrected the errors, I've done no download to the MiniQ yet.

Please see attached file ROB0050EN_hannes.rar

Regards
Hannes

P.S.: Can I hope for a response to my questions remaining?
userHeadPic HannesBK
2012-03-12 21:26:29 Hi,


Have you guys read through the product page and the Wiki page? These are the first stop for any DFRobot product. Usually you can find what you need to know about the product from these 2 pages.


I have modified the line following sample code. It should be working now. If you find other mistakes or need clarification on something, please post back.

[url=https://www.dfrobot.com/wiki/index.php?title=4WD_MiniQ_Complete_Kit_(SKU:ROB0050)] 4WD MiniQ Wiki[/url]

The RAR file at the end of the wiki contains plenty of examples. If some files are not compiling it might be due to not having been updated to be compatible with the new V1. Of the Arduino IDE. Please use Arduino IDE 0022.

userHeadPic Hector
2012-03-12 21:26:29 Hi,


Have you guys read through the product page and the Wiki page? These are the first stop for any DFRobot product. Usually you can find what you need to know about the product from these 2 pages.


I have modified the line following sample code. It should be working now. If you find other mistakes or need clarification on something, please post back.

[url=https://www.dfrobot.com/wiki/index.php?title=4WD_MiniQ_Complete_Kit_(SKU:ROB0050)] 4WD MiniQ Wiki[/url]

The RAR file at the end of the wiki contains plenty of examples. If some files are not compiling it might be due to not having been updated to be compatible with the new V1. Of the Arduino IDE. Please use Arduino IDE 0022.

userHeadPic Hector
2012-03-12 04:19:43 I would like to have the exact code of the line tracking and the good manner to execute this project ?
Thanks you !
userHeadPic LeSanglier
2012-03-12 04:19:43 I would like to have the exact code of the line tracking and the good manner to execute this project ?
Thanks you !
userHeadPic LeSanglier
2012-03-12 03:09:56 Another code : to avoid obstacles userHeadPic LeSanglier
2012-03-12 03:09:56 Another code : to avoid obstacles userHeadPic LeSanglier
2012-03-12 02:04:06 For the song, see my attachment too.

Dont' forget to rename the file from .txt to .ino
userHeadPic LeSanglier
2012-03-12 02:04:06 For the song, see my attachment too.

Dont' forget to rename the file from .txt to .ino
userHeadPic LeSanglier
2012-03-12 01:55:49 Hello,

For the remote control code, see my attachment.
userHeadPic LeSanglier
2012-03-12 01:55:49 Hello,

For the remote control code, see my attachment.
userHeadPic LeSanglier
2012-03-11 20:47:24 HannesBK,

I just bought the 4WD MiniQ as well. Son's birthday present.

I too was dismayed to find no instructions included and nothing online that helped.

I have tried to get the samples to work but the only one I could get to work was the led flash. I understand that this is not a simple robot and requires research and learning. To have the sample code not even run is very frustrating, especially since it was given as a birthday present.

Would you send me the corrected code for the IR Remote? I have tried to debug the code and used your suggestions but I do not have much C experience.

I would really appreciate it if you could send me your corrected code. I do know someone who has programmed these robots before and will contact him. Unfortunately, I won't be able to contact him until Wednesday. If he knows of where I can get more information, I will share it with you.

Thanks,

Scott
userHeadPic smitsco
2012-03-11 20:47:24 HannesBK,

I just bought the 4WD MiniQ as well. Son's birthday present.

I too was dismayed to find no instructions included and nothing online that helped.

I have tried to get the samples to work but the only one I could get to work was the led flash. I understand that this is not a simple robot and requires research and learning. To have the sample code not even run is very frustrating, especially since it was given as a birthday present.

Would you send me the corrected code for the IR Remote? I have tried to debug the code and used your suggestions but I do not have much C experience.

I would really appreciate it if you could send me your corrected code. I do know someone who has programmed these robots before and will contact him. Unfortunately, I won't be able to contact him until Wednesday. If he knows of where I can get more information, I will share it with you.

Thanks,

Scott
userHeadPic smitsco
2012-03-10 10:21:22 Hello,

I received my 4WD MiniQ from a local dealer today.
I love it at first sight.
But the first steps are not as easy as I thought.

Is is right that it comes with absolutely no documentation?

Well, I found the Wiki and I downloaded the examples.

Unfortunately the Wiki is very briefly.
Most of the examples come in two versions:
The first one has funny characters in the comments and is not very intructively.
The second one is rejected by the Arduino parser, because of numerous space characters at wrong places.

Correcting all the "# Define" to "#define", "> =" to ">=" and the "& &" to "&&" was annoying, but then it worked.

But even more I dfrobot a detailed layout description.

There are two pots.
Are they used for distance sensors sensivity?
What is the procedure to adjust?

There are some headers and jumpers.
One is for ISP. But the others?

The sensors confuse me.
Wiki says: Analog pin 0 is a line tracking sensor.
Is this the leftmost one or the rightmost?
Is pin 1 connected to the next one?

The infrared receiver seems to be the forefront part in the middle.
Is it used as distance sensor and remote receiver at the same time?
That would explain why the remote example works so poor.

What are the ambient light sensors for? Example?

How to use the wheel encoders? I did not found an example.

What are the IR codes of the remote control?
Only left, right, forward, back and stop are used in the remote example.

Sorry, if it sounds a litte disappointed.
I still think that this litte toy is great engineers work.
But the poor documentation belittings the practical value.
 
I would appreciate your help.
Thank you.

Hannes

userHeadPic HannesBK