ESP32 Using ESP NOW...
 
Notifications
Clear all

ESP32 Using ESP NOW and Bluetooth

212 Posts
5 Users
23 Reactions
9,467 Views
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 8047
 

@huckohio Access denied

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 8047
 

@huckohio Access denied.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
TFMcCarthy
(@tfmccarthy)
Member
Joined: 9 months ago
Posts: 331
 

@zander

Posted by: @zander

Remember I am ill.

Oh no! If I say it, I'll go to hell.

The one who has the most fun, wins!


   
huckOhio reacted
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 8047
 

@huckohio Sorry, I fell asleep. I have some files I downloaded from the forum, the google link is access denied. I don't know how to drive the Universal Radio Hacker, so I am not seeing anything useful. When ever I had to do something like this before, a simple HEX viewer is all I needed but when I tried that with one of these files it is 99% unknown.

When I say HEX viewer, I mean a very specific way of formatting the data that makes it easy to see any pattern. 

I thought I found one but it doesn't want to work for me.

What I mean is something like this only 8 or 16 wide don't remember

0011 0000   0011 0001   0011 0010   0100 0001     012A

OR

30 31 32 41     012A

and I think it had the ability to either show all 3 encodings or toggle back and forth between binary and hex.

 

Of course the first hurdle which I think you have accomplished is to determine what is an ON bit and an OFF bit.

Are these filenames correct?

 

Screenshot 2024 12 12 at 19.57.42

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
huckOhio
(@huckohio)
Member
Joined: 6 years ago
Posts: 317
Topic starter  

@zander

Posted by: @zander

Are these filenames correct?

Yes.  can you download from the forum?  Also, did you send me an email requesting access?  It's not from a "Ron".


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 8047
 

@huckohio I use a pseudonym, add to that several email forwards and multiple accounts. Did I mention I did some security work in my long career?

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
huckOhio
(@huckohio)
Member
Joined: 6 years ago
Posts: 317
Topic starter  

@zander I gave you access


   
ReplyQuote
TFMcCarthy
(@tfmccarthy)
Member
Joined: 9 months ago
Posts: 331
 

@huckohio, @zander,

We're a bit hung up on the process here so this is an attempt to get past that. We'll go one step at a time, first recording and extracting the signal. After that we deal with playing the signal back.

Cave: I installed the Universal Radio Hacker software but I do not have the hardware for the receiver or transmitter, so I haven't performed these steps myself. But I think if you do have the hardware then this should be very straight forward.

I looked at 2 videos that cover the process, Andreas Speiss video that Ron gave (#209 How to Hack your 433 MHz Devices with a Raspberry and a RTL-SDR Dongle) and another from RTL-SDR site (Using Universal Radio Hacker, an RTL-SDR and a Microcontroller to Clone 433 MHz Remotes). Both of them deal with recording and playback but I found the one from the RTL-SDR site to be a bit easier to follow.

By request, I'm showing screenshots from the Universal Radio Hacker (URH) of getting to the signal recording screens

Startuup screen

URH 002

Select Record Signal

URH 003

Record Signal Screen

URH 004

Select Dongle

URH 006

The selection of the RTL-SDR dongle should populate the other paramters for you.
If this goes well, then you should be ready to record the signal from the remote using the Start and Stop buttons.

Here's a screenshot from the RTL-SDR video after capturing the signal.

URH 007

This shows the capture of 7 signal packets for one button press. We're interested in just one of those packets. Save the recording to a file and close the window. This should return to the main screen and the recording should automatically appear there.

URH 008

At this point we can start the extraction process but let's make sure we can get here first.

The one who has the most fun, wins!


   
ReplyQuote
huckOhio
(@huckohio)
Member
Joined: 6 years ago
Posts: 317
Topic starter  

@huckohio@zander,

Already done.  

IMG 0985 (1)

I am starting with the assumption that the larger 6ms high and 4ms low is the beginning of the command.  The rest of the command consists of 520us and 1.5ms High/Lows.  I am coding a test now that will basically send Highs and Low out the Arduino to the 433 transmitter.  Working on verifying I have the right sequence.

Ron - I hope your procedure went well!


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 8047
 

@huckohio What do you mean by this? It sounds like signal level which will not be reliable, it's the width that is the signal I am 99.99999% sure.

 larger 6ms high and 4ms low

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
TFMcCarthy
(@tfmccarthy)
Member
Joined: 9 months ago
Posts: 331
 

@huckohio 

You're on your way out the door so we'll get to this later but...

Posted by: @huckohio

I am starting with the assumption that the larger 6ms high and 4ms low is the beginning of the command. 

Arrrgh!

We shouldn't have to "guess" here. This should be a measurement that's reasonably precise.

If you've done the recording, then you should have a file that can post here so we can look at the same data in URH.

The one who has the most fun, wins!


   
Ron reacted
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 8047
 

@huckohio The Procedure was fine, but before it, he told me my anemia was cleared. This likely means the small leak that nobody can find is being controlled by taking 28 to 56mg of elemental iron daily. When I see my family doctor for a follow-up, I will try to convince him to get me monthly tests for hemoglobin and ferritin at least so I can adjust my dosage.

Now I just need to get my heart rhythm under control and I will be in fairly good shape for a while.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 8047
 

@tfmccarthy @huckohio I have purchased the following dongle DONGLE  I studied radio in high school and used to have a 80/40/20 M antenna farm connected to my Hallicrafters HAM receiver so this is a return to the roots exercise for me.

I don't know if the files posted are the raw captures, but if they are, how were they captured?

I also have the following book BOOK which will probably get me up to speed quickly but my quickly is your very slow.

I would change the display to HEX from bits, much more data dense and easy to see repeating patterns.

What does the Analysis screen say? I have seen nothing of that.

What did 'Sniff Protocol' say?

What does the Demodulation screen show?

What Modulation did you select, Phase Shift, Amplitude, Frequency?

How many bits per symbol?

I am going out shortly as the local model RR train group is having an open house, but when I get back I will start to dig into the book a bit.

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 8047
 

@tfmccarthy Isn't Mike already a step beyond that? The posted files are the raw captures I believe. AFAIK, Mike is the only one with the specific dongle, so there is no point in telling the rest of us how to do the rw capture.

Am I misunderstanding your intent?

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
huckOhio
(@huckohio)
Member
Joined: 6 years ago
Posts: 317
Topic starter  

@tfmccarthy @zander

Posted by: @tfmccarthy

Arrrgh!

We shouldn't have to "guess" here. This should be a measurement that's reasonably precise.

If you've done the recording, then you should have a file that can post here so we can look at the same data in URH.

I did and I did.  See post from 12/12 at 1750.  I've posted the pattern several times. I wrote the test code to start with a 6ms High followed by a 4ms low (guessing this is the start of the signal).  I measured the signal duration using URH.


   
ReplyQuote
Page 13 / 15