RoboRemo+mega328; LED doesn' work
2 posters
Page 1 of 1
RoboRemo+mega328; LED doesn' work
I’ve the payed version of the RoboRemo.
now I built a expermintal App with it. The last funktion to implement is the LED-funktion.
It is a major add-on.
But it doesnt work,
The Settings: set ID „ledA“
on command: „ledA 1\n“
on timeout: „1000“
off timeout: „5000“
in the the log-field:
„ledA 1\n“
I tryed some ohter settings. There is no reaction.
The LED is blinking in a 5sec period.
I trayed it with Android SMPhone and tablet
Please help
now I built a expermintal App with it. The last funktion to implement is the LED-funktion.
It is a major add-on.
But it doesnt work,
The Settings: set ID „ledA“
on command: „ledA 1\n“
on timeout: „1000“
off timeout: „5000“
in the the log-field:
„ledA 1\n“
I tryed some ohter settings. There is no reaction.
The LED is blinking in a 5sec period.
I trayed it with Android SMPhone and tablet
Please help
blonitec- Posts : 1
Join date : 2017-01-05
Re: RoboRemo+mega328; LED doesn' work
Hi,
For simple led behaviour you don't need the on timeout and off timeout, just leave them empty (disabled)
Also, if you set the on command to "ledA 1\n" (and the id is "ledA"), to turn on the led, the app must receive the string "ledA ledA 1\n\n", but it will stop after first "\n" because (if) that is the command ending, so the led will receive the command "ledA 1" which is not equal to "ledA 1\n", so it will not turn on.
Just set the on command back to "1", then the string "ledA 1\n" should turn on the led.
Here is how you can test it without a microcontroller:
- assuming you already have the led
- add a button
- set press action to "ledA 1"
- set release action to "ledA 0"
- exit editor
- select menu -> connect -> Internet(UDP) -> localhost:9999
Now when you hold the button, the led must turn on, and when you release the button, the led must turn off.
Hope this helps,
Victor
For simple led behaviour you don't need the on timeout and off timeout, just leave them empty (disabled)
Also, if you set the on command to "ledA 1\n" (and the id is "ledA"), to turn on the led, the app must receive the string "ledA ledA 1\n\n", but it will stop after first "\n" because (if) that is the command ending, so the led will receive the command "ledA 1" which is not equal to "ledA 1\n", so it will not turn on.
Just set the on command back to "1", then the string "ledA 1\n" should turn on the led.
Here is how you can test it without a microcontroller:
- assuming you already have the led
- add a button
- set press action to "ledA 1"
- set release action to "ledA 0"
- exit editor
- select menu -> connect -> Internet(UDP) -> localhost:9999
Now when you hold the button, the led must turn on, and when you release the button, the led must turn off.
Hope this helps,
Victor
Similar topics
» roboremo + esp8266 + arduino ?
» Using Roboremo with Raspberry Pi
» Roboremo with MPU 6050
» How to integrate RoboRemo in my code?
» DS18 sensors & RoboRemo
» Using Roboremo with Raspberry Pi
» Roboremo with MPU 6050
» How to integrate RoboRemo in my code?
» DS18 sensors & RoboRemo
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|