Upgrade URM37 3.2 to 4.0 - servo doesn't work

hello!
I've used version 3.2 and all worked nice - i used to send {&H22, angle 0-to-46, &H0, #sum}
servo were moved to the mentioned angle and measurement were begun.
after changing to v4.0 servo doesn't turns also i can't see pulses out on pin 5 MOTO, but i am able to receive distance right!
only servo doesn't work
have i to do something?
also from wiki:
-Modify a servo controlled angle of 0-180, compatible with the most of the servos on the market.
do I have to modify angle?
ps seems like i need to change mode to "serial passive"
also what does it mean: table with eeprom addresses and values, and just right after : the EEPROM address are unavailable: 0x00~0x04, please do not try to modify the data.
do i need to change them or i am unable to modify them?
I've used version 3.2 and all worked nice - i used to send {&H22, angle 0-to-46, &H0, #sum}
servo were moved to the mentioned angle and measurement were begun.
after changing to v4.0 servo doesn't turns also i can't see pulses out on pin 5 MOTO, but i am able to receive distance right!
only servo doesn't work
have i to do something?
also from wiki:
-Modify a servo controlled angle of 0-180, compatible with the most of the servos on the market.
do I have to modify angle?
ps seems like i need to change mode to "serial passive"
also what does it mean: table with eeprom addresses and values, and just right after : the EEPROM address are unavailable: 0x00~0x04, please do not try to modify the data.
do i need to change them or i am unable to modify them?
2015-12-15 01:03:01 It could not be changed since the firmware which was already programed before do not support to change the automeasure mode~
Btw, I will forward your question/ demand to R&D to see if it can be improved in the next version.
Leff
Btw, I will forward your question/ demand to R&D to see if it can be improved in the next version.


2015-12-15 01:03:01 It could not be changed since the firmware which was already programed before do not support to change the automeasure mode~
Btw, I will forward your question/ demand to R&D to see if it can be improved in the next version.
Leff
Btw, I will forward your question/ demand to R&D to see if it can be improved in the next version.


2015-12-14 10:17:31 bottom line: i am connecting power wires only. just two wires.
and immediately i hear pulses coming from right SP2 speaker.
looks like it measures distance every few tens milliseconds.
like in wiki: Auto Measure Mode
This module measures distance automatically every 25 ms (Settable) , then compare the data with the set value, if equal to or less....
so everything is points to this mode. sensor acts exactly like automode.
but how do i change this??
i1811853
and immediately i hear pulses coming from right SP2 speaker.
looks like it measures distance every few tens milliseconds.
like in wiki: Auto Measure Mode
This module measures distance automatically every 25 ms (Settable) , then compare the data with the set value, if equal to or less....
so everything is points to this mode. sensor acts exactly like automode.
but how do i change this??

2015-12-14 10:17:31 bottom line: i am connecting power wires only. just two wires.
and immediately i hear pulses coming from right SP2 speaker.
looks like it measures distance every few tens milliseconds.
like in wiki: Auto Measure Mode
This module measures distance automatically every 25 ms (Settable) , then compare the data with the set value, if equal to or less....
so everything is points to this mode. sensor acts exactly like automode.
but how do i change this??
i1811853
and immediately i hear pulses coming from right SP2 speaker.
looks like it measures distance every few tens milliseconds.
like in wiki: Auto Measure Mode
This module measures distance automatically every 25 ms (Settable) , then compare the data with the set value, if equal to or less....
so everything is points to this mode. sensor acts exactly like automode.
but how do i change this??

2015-12-11 19:29:14 Hello,
I don't think there would be anyother Mode to control servo except Serial passive mode as we have to send command trough serial port using TX RX.
I will go on working on it and keep this post updated once I figure out something.
Leff
I don't think there would be anyother Mode to control servo except Serial passive mode as we have to send command trough serial port using TX RX.
I will go on working on it and keep this post updated once I figure out something.


2015-12-11 19:29:14 Hello,
I don't think there would be anyother Mode to control servo except Serial passive mode as we have to send command trough serial port using TX RX.
I will go on working on it and keep this post updated once I figure out something.
Leff
I don't think there would be anyother Mode to control servo except Serial passive mode as we have to send command trough serial port using TX RX.
I will go on working on it and keep this post updated once I figure out something.


2015-12-11 19:17:47 Hi i1811853, we're investigating this and come back as soon as we have answers!
Maht

2015-12-11 19:17:47 Hi i1811853, we're investigating this and come back as soon as we have answers!
Maht

2015-12-10 14:20:32 same thing.
everything is communicating good! i am able to read temperature, and distance. but servo doesn't turns
also when im powering old 3.2 board i can see on scope (and also hear, with earphone) pwm signal to servo. you know such a sound to control servo with 20ms period.
but after powering v4.0 it doesn't sounds. if i place servo in 0 degree, and send command to turn to 46 i hear 46 TICs only
not a servo control signal.
moreover, looks like module in automatic mode, as it sends echoes from TX speaker repeatedly just after powering on.
with helpmate3.2 software and continuous readings module v4.0 shows 60ms refresh, v3.2 - 16ms only.
looks like v4.0 module are occupied by doing something without my commands
is ti possible to change mode?
i1811853
everything is communicating good! i am able to read temperature, and distance. but servo doesn't turns

also when im powering old 3.2 board i can see on scope (and also hear, with earphone) pwm signal to servo. you know such a sound to control servo with 20ms period.
but after powering v4.0 it doesn't sounds. if i place servo in 0 degree, and send command to turn to 46 i hear 46 TICs only

moreover, looks like module in automatic mode, as it sends echoes from TX speaker repeatedly just after powering on.
with helpmate3.2 software and continuous readings module v4.0 shows 60ms refresh, v3.2 - 16ms only.
looks like v4.0 module are occupied by doing something without my commands

is ti possible to change mode?

2015-12-10 14:20:32 same thing.
everything is communicating good! i am able to read temperature, and distance. but servo doesn't turns
also when im powering old 3.2 board i can see on scope (and also hear, with earphone) pwm signal to servo. you know such a sound to control servo with 20ms period.
but after powering v4.0 it doesn't sounds. if i place servo in 0 degree, and send command to turn to 46 i hear 46 TICs only
not a servo control signal.
moreover, looks like module in automatic mode, as it sends echoes from TX speaker repeatedly just after powering on.
with helpmate3.2 software and continuous readings module v4.0 shows 60ms refresh, v3.2 - 16ms only.
looks like v4.0 module are occupied by doing something without my commands
is ti possible to change mode?
i1811853
everything is communicating good! i am able to read temperature, and distance. but servo doesn't turns

also when im powering old 3.2 board i can see on scope (and also hear, with earphone) pwm signal to servo. you know such a sound to control servo with 20ms period.
but after powering v4.0 it doesn't sounds. if i place servo in 0 degree, and send command to turn to 46 i hear 46 TICs only

moreover, looks like module in automatic mode, as it sends echoes from TX speaker repeatedly just after powering on.
with helpmate3.2 software and continuous readings module v4.0 shows 60ms refresh, v3.2 - 16ms only.
looks like v4.0 module are occupied by doing something without my commands

is ti possible to change mode?

2015-12-09 20:40:48 Hello again,
Still not working?
Sorry I know few about VB.NET, but I think whatever you use, it's all the same thing, because the command is sent by the serial adapter in the end.
Is it possible that the format you sent is not right?
Leff
Still not working?
Sorry I know few about VB.NET, but I think whatever you use, it's all the same thing, because the command is sent by the serial adapter in the end.
Is it possible that the format you sent is not right?

2015-12-09 20:40:48 Hello again,
Still not working?
Sorry I know few about VB.NET, but I think whatever you use, it's all the same thing, because the command is sent by the serial adapter in the end.
Is it possible that the format you sent is not right?
Leff
Still not working?
Sorry I know few about VB.NET, but I think whatever you use, it's all the same thing, because the command is sent by the serial adapter in the end.
Is it possible that the format you sent is not right?

2015-12-09 02:20:30 Hi i1811853,
Our tech support team is investigating and we will reply with any solutions as soon as we can
Maht
Our tech support team is investigating and we will reply with any solutions as soon as we can

2015-12-06 05:20:27 thanks for your reply!
i don't use arduino. i'm sending commands from VB.NET via usb-to-serial adapter.
everything is communicating good! i am able to read temperature, and distance. but servo doesn't turns
also when im powering old 3.2 board i can see on scope (and also hear, with earphone) pwm signal to servo. you know such a sound to control servo with 20ms period.
but after powering v4.0 it doesn't sounds. if i place servo in 0 degree, and send command to turn to 46 i hear 46 TICs only
not a servo control signal.
moreover, looks like module in automatic mode, as it sends echoes from TX speaker repeatedly just after powering on.
with helpmate3.2 software and continuous readings module v4.0 shows 60ms refresh, v3.2 - 16ms only.
looks like v4.0 module are occupied by doing something without my commands
i1811853
i don't use arduino. i'm sending commands from VB.NET via usb-to-serial adapter.
everything is communicating good! i am able to read temperature, and distance. but servo doesn't turns

also when im powering old 3.2 board i can see on scope (and also hear, with earphone) pwm signal to servo. you know such a sound to control servo with 20ms period.
but after powering v4.0 it doesn't sounds. if i place servo in 0 degree, and send command to turn to 46 i hear 46 TICs only

moreover, looks like module in automatic mode, as it sends echoes from TX speaker repeatedly just after powering on.
with helpmate3.2 software and continuous readings module v4.0 shows 60ms refresh, v3.2 - 16ms only.
looks like v4.0 module are occupied by doing something without my commands


2015-12-05 22:12:42 Hello there,
Welcome and so sorry for the late reply! I tested this module and the servo could run according to my command!
Note for the format of the command, that is the last byte: SUM, should be all the other bytes' sum.
Here is my operation and test,
1). Connection/ Wiring:
1. Connect Ultrasonic sensor with Arduino card, here I use a Uno in Auto mesure mode
2.Connect pin 5,i.e MOTO , to a servo signal pin.
3. Do not forget to supply power for the servo
Here is my wiring, a little mess:
Welcome and so sorry for the late reply! I tested this module and the servo could run according to my command!
Note for the format of the command, that is the last byte: SUM, should be all the other bytes' sum.
Here is my operation and test,
1). Connection/ Wiring:
1. Connect Ultrasonic sensor with Arduino card, here I use a Uno in Auto mesure mode
2.Connect pin 5,i.e MOTO , to a servo signal pin.
3. Do not forget to supply power for the servo
Here is my wiring, a little mess:
2). Upload the sketch:
Here I send 0x22, 0x25, 0x00, 0x47, 47(HEX) = 22(HEX)+25(HEX)+00(HEX), to rotate the servo to "25", you could know it present 148°(position) by the table on its wiki.
Code: Select all
uint8_t EnTempCmd[4] = {0x22, 0x25, 0x00, 0x47}; // temperature measure command
uint8_t TempData[4];
unsigned int TempValue = 0;
void setup() {
Serial.begin(9600);
delay(100);
Serial.println("Init the sensor");
}
void loop() {
SerialCmd();
delay(200);
}
void SerialCmd() {
int i;
for (i = 0; i < 4; i++) {
Serial.write(EnTempCmd[i]);
}
while (Serial.available() > 0) {
for (i = 0; i < 4; i++) {
TempData[i] = Serial.read();
}
TempValue = TempData[1] << 8;
TempValue = TempValue + TempData[2];
Serial.print("temperature : ");
Serial.print(TempValue, DEC);
Serial.println(" oC");
}
}
3).Result:
Then the servo moved, if I send 0x22, 0x00, 0x00, 0x22, it will go to 0°.

The tset is very coarse, I mean I didn't pay much attention on the code, but the servo runs, I think it can help a little bit!
Tell me if it works for you please!
Leff

2015-12-03 07:29:46 hello!
I've used version 3.2 and all worked nice - i used to send {&H22, angle 0-to-46, &H0, #sum}
servo were moved to the mentioned angle and measurement were begun.
after changing to v4.0 servo doesn't turns also i can't see pulses out on pin 5 MOTO, but i am able to receive distance right!
only servo doesn't work
have i to do something?
also from wiki:
-Modify a servo controlled angle of 0-180, compatible with the most of the servos on the market.
do I have to modify angle?
ps seems like i need to change mode to "serial passive"
also what does it mean: table with eeprom addresses and values, and just right after : the EEPROM address are unavailable: 0x00~0x04, please do not try to modify the data.
do i need to change them or i am unable to modify them?
i1811853
I've used version 3.2 and all worked nice - i used to send {&H22, angle 0-to-46, &H0, #sum}
servo were moved to the mentioned angle and measurement were begun.
after changing to v4.0 servo doesn't turns also i can't see pulses out on pin 5 MOTO, but i am able to receive distance right!
only servo doesn't work
have i to do something?
also from wiki:
-Modify a servo controlled angle of 0-180, compatible with the most of the servos on the market.
do I have to modify angle?
ps seems like i need to change mode to "serial passive"
also what does it mean: table with eeprom addresses and values, and just right after : the EEPROM address are unavailable: 0x00~0x04, please do not try to modify the data.
do i need to change them or i am unable to modify them?
