Pages: [1]   Go Down
Author Topic: Radar Detector data loging  (Read 683 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 19
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Basically I am building this big data logger for my car. One of the devices I will be logging is my radar detector (and also displaying warning and so on).

I have a Valentine 1 Radar Detector. Lucky for me they released a entire technical book
http://www.valentine1.com/v1info/ESP/

At first I was happy that someone had this working on an arduino
https://github.com/tz1/bluev/tree/master/bluev_sketch
http://harleyhacking.blogspot.com/2012/05/arduino-mega-adk-to-v1-howto.html
and it works just like it was made. Basically it was a AVRTool to Arduino IDE conversion.

The problem is that I don't know how to reverse engineer his C files and make them compatible with the Arduino IDE they way other libraries work.

So now I am trying to start this project from scratch. I took my logic analyzer and after reading the technical book I try to develop a clone signal to better understand the way it communicated.


I try to use Serial.write but I guess the communication pin just stays high before and after. There is also ONLY ONE DATA LINE so all the sending and receiving communication is done on the same wire.

So my question is,
What kind of communication is this?There is also ONLY ONE DATA LINE so all the sending and receiving communication is done on the same wire.
Is there a library for this communication Protocal?
Should I just use softserial?

I know that the other guy hook the TXPin and the MOSI pin (it a Mega) to the data line.
I am only trying to replicated the radar dector signal just to know how the display commands work exactly. I didn't understand page 23 on the manual.
Logged

Topsham, Vermont USA
Offline Offline
Edison Member
*
Karma: 24
Posts: 1764
... in The Woods In Vermont
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hmm...
The data you show is not inverted.. The starting Valentine transition from low to high may signal that it is about to output data.  A sender to Valentine may have to do a similar thing to assert control of the data line.   I'm not sure of a good way to implement this.

Wouldn't want to attempt this Without a Logic Analyzer!
Logged

Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

0
Offline Offline
Newbie
*
Karma: 0
Posts: 19
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Lucky me I have been using a logic analyzer to tackle the problem.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I'm also interested to port bluev sketch to Arduino Uno/nano etc.
Any news on your side?

PS see similar project http://www.radardetectorforum.org/showthread.php?t=17866&p=273733&viewfull=1#post273733
« Last Edit: October 28, 2013, 07:04:01 am by 2leon76 » Logged

Pages: [1]   Go Up
Jump to: