RegisterSearchFAQMemberlistUsergroupsLog in
Reply to topic Page 2 of 2
Goto page Previous  1, 2
Serial telemetry streaming via LUA or BT spoof. Fast enough?
Author Message
Reply with quote
Post  
Hi,

For connecting things to the RJ11, make sure you're using RS232 signaling. regular UART signaling won't work (and may damage components that expect just UART / TTL signaling ).

A good test would be to USB to serial adapter to the serial port and test it with a terminal program.

Let us know what you find out!


_________________
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post BT connection trigger 
Could you point me to the trigger that starts the BT connection?

I have managed to sometimes get my esp module to get the AT command and spoof the BT telemetry.

However, the NodeMCU code of the module prints out a bunch of stuff on boot, which the RCP is interpretting as non "OK" messages since the NodeMCU boots with UART interactive mode. My first few lines of code (after a small wait to prevent infinite lock out) is to disable interactive UART and to disable print statements.

By the time my code is reached RCP is already done looking for bluetooth and won't search again until I disconnect and reconnect my module.

Is there a way to retrigger BT search? Anything my module can send over the UART line to get the RCP to try again?

Thanks


_________________
vroom
View user's profile Send private message Send e-mail
Reply with quote
Post  
Just found this

https://github.com/autosportlabs/RaceCapture-Pro_firmware/commit/29826dad776075e750463240b1836d798c79ea55
Quote:

* Add re-try logic to the baud probing. Because the unit can't move
as fast as we do. Thus we need to be a bit flexible.



Any idea what version this might come out in?


_________________
vroom
View user's profile Send private message Send e-mail
Reply with quote
Post  
Hi,

What I would recommend doing is plugging your device into the Aux serial port (the outermost RJ11 port). That is reserved exclusively for use by Lua - no built in firmware code talks to it. Then, you'll be able to send the appropriate commands to control your device, or whatever else you need.

Hope this helps!


_________________
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
Ok I can give that a try. Maybe thats the best for my immediate needs. Smile


_________________
vroom
View user's profile Send private message Send e-mail
Display posts from previous:
Reply to topic Page 2 of 2
Goto page Previous  1, 2
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum