EAchine E012

  • goebish
  • goebish's Avatar Topic Author
  • Away
  • I Void Warranties
More
28 May 2017 12:38 - 28 May 2017 12:44 #62635 by goebish
EAchine E012 was created by goebish
Hi there !

SeByDocKy has found that the new EAchine E012 Tx is using an HS6200 transceiver, I might be able to emulate it with the nrf24l01, only if the protocol is not using 500kbps bitrate.

Can someone make a dump of the SPI bus in the stock Tx so I can check that ?

Here's the pinout:


I need CE, CSN, SCK, MISO, MOSI and IRQ (GND = VSS)

If it's using 1Mbps or 2Mbps bitrate I should be able to add it to Deviation once I get one (I'll need one because captures over the air are necessary to reverse the scrambling).
Last edit: 28 May 2017 12:44 by goebish.

Please Log in or Create an account to join the conversation.

More
28 May 2017 13:27 #62637 by SeByDocKy
Replied by SeByDocKy on topic EAchine E012
Ok I will try to solder ..... I can't promise .... yet ... :(

Please Log in or Create an account to join the conversation.

  • goebish
  • goebish's Avatar Topic Author
  • Away
  • I Void Warranties
More
28 May 2017 13:28 #62638 by goebish
Replied by goebish on topic EAchine E012
As I said, don't ruin your Tx if you're not confident enough with the soldering job, nobody is in a hurry, right ? ;)

Please Log in or Create an account to join the conversation.

  • goebish
  • goebish's Avatar Topic Author
  • Away
  • I Void Warranties
More
28 May 2017 13:32 #62639 by goebish
Replied by goebish on topic EAchine E012
Note that if it's using 500kbps I might still be able to emulate it with the A7105, it will just take more time as I've less expertise with this transceiver than the nrf24l01.

Please Log in or Create an account to join the conversation.

More
28 May 2017 15:20 #62640 by SeByDocKy
Replied by SeByDocKy on topic EAchine E012
It''s Under process ... I think I done the hardest part ... but I don't want to cry victory now

Please Log in or Create an account to join the conversation.

More
28 May 2017 16:01 #62641 by SeByDocKy
Replied by SeByDocKy on topic EAchine E012
Ok I start to have signal but the decoding is not correct ....

File Attachment:


Anyone can recognize which one is the clock, mosi, miso and enable ?

Please Log in or Create an account to join the conversation.

  • goebish
  • goebish's Avatar Topic Author
  • Away
  • I Void Warranties
More
28 May 2017 16:05 - 28 May 2017 16:11 #62642 by goebish
Replied by goebish on topic EAchine E012
Seems clock & enable are wrong, maybe their wires are shorted with other pins somehow ?
Also, enable in Logic should be connected to CSN (Chip Select when Negative), not CE.
Last edit: 28 May 2017 16:11 by goebish.

Please Log in or Create an account to join the conversation.

  • goebish
  • goebish's Avatar Topic Author
  • Away
  • I Void Warranties
More
28 May 2017 16:08 - 28 May 2017 16:09 #62643 by goebish
Replied by goebish on topic EAchine E012
if there are too many wires, capture only CSN, MOSI & CLK (+GND connected, of course, you can connect it to battery -), that should be enough for what I want to check.
Last edit: 28 May 2017 16:09 by goebish.

Please Log in or Create an account to join the conversation.

More
28 May 2017 16:24 #62644 by SeByDocKy
Replied by SeByDocKy on topic EAchine E012

goebish wrote: Seems clock & enable are wrong, maybe their wires are shorted with other pins somehow ?
Also, enable in Logic should be connected to CSN (Chip Select when Negative), not CE.



I checked I have no short on any wires ....

Now I am on CSN but not better :(

File Attachment:


Are CSN & SCK inverted ?

Please Log in or Create an account to join the conversation.

  • goebish
  • goebish's Avatar Topic Author
  • Away
  • I Void Warranties
More
28 May 2017 16:29 #62645 by goebish
Replied by goebish on topic EAchine E012
Clock seems almost Ok (but it's not), but csn is definitively wrong, you should see 1 negative pulse on CSN for 16 pulses on CLK.

Can you post a picture of your wiring ?

Please Log in or Create an account to join the conversation.

  • goebish
  • goebish's Avatar Topic Author
  • Away
  • I Void Warranties
More
28 May 2017 16:51 #62646 by goebish
Replied by goebish on topic EAchine E012
Also, capture at 20 or 24 MHz as the max SPI clock rate for HS6200 is 10MHz.

Please Log in or Create an account to join the conversation.

More
28 May 2017 16:53 #62647 by SeByDocKy
Replied by SeByDocKy on topic EAchine E012
File Attachment:



I sollved the short with SCK with the adjacent pin of the MCU ... but still not working ;(

Please Log in or Create an account to join the conversation.

  • goebish
  • goebish's Avatar Topic Author
  • Away
  • I Void Warranties
More
28 May 2017 17:00 - 28 May 2017 17:17 #62649 by goebish
Replied by goebish on topic EAchine E012
Well, don't spend too much time on that (and don't kill your Tx!) directly connect ground to battery - and try to keep the wires as short as possible as it seems it's using a rather high clock rate.... and the kind of wires you're using, wrapping wire, is far from being ideal for this job (you should get some stranded 30awg silicone wires such as www.ebay.com/itm/1M-3-3ft-30AWG-Flexible...6color-/252562300800 ).
I'll just order one ;)
Last edit: 28 May 2017 17:17 by goebish.

Please Log in or Create an account to join the conversation.

More
28 May 2017 17:04 #62650 by SeByDocKy
Replied by SeByDocKy on topic EAchine E012

goebish wrote: Well, don't spend too much time on that (and don't kill your Tx!) directly connect ground to battery - and try to keep the wires as short as possible as it seems it's using a rather high clock rate.
I'll just order one ;)



Maybe my wires are too long ... coz I had to make a kind of double extension to solder these flucking duponts wires.... :( ....

Please Log in or Create an account to join the conversation.

More
28 May 2017 17:18 #62651 by SeByDocKy
Replied by SeByDocKy on topic EAchine E012
Solved :) the GND was guilty :)

Please Log in or Create an account to join the conversation.

  • goebish
  • goebish's Avatar Topic Author
  • Away
  • I Void Warranties
More
28 May 2017 17:27 - 28 May 2017 17:29 #62652 by goebish
Replied by goebish on topic EAchine E012
Yeah, wrapping wire sucks for this kind of job ;)
It's meant to be wrapped around some pins with a special tool, not soldered:
Last edit: 28 May 2017 17:29 by goebish.

Please Log in or Create an account to join the conversation.

More
28 May 2017 17:45 #62654 by SeByDocKy
Replied by SeByDocKy on topic EAchine E012
Ok first captures :)

mon-partage.fr/f/yRXyiYvF/

Please Log in or Create an account to join the conversation.

  • goebish
  • goebish's Avatar Topic Author
  • Away
  • I Void Warranties
More
28 May 2017 17:50 - 28 May 2017 18:08 #62655 by goebish
Replied by goebish on topic EAchine E012
Ok thanks,
0x26 0x40 = 1 Mbps bitrate, so it can be emulated with a nrf24l01.

I'll order one because dump over the air is required to capture and implement the whitening ...
Meanwhile I'll write a HS6200 decoding script ...
Last edit: 28 May 2017 18:08 by goebish.

Please Log in or Create an account to join the conversation.

  • goebish
  • goebish's Avatar Topic Author
  • Away
  • I Void Warranties
More
28 May 2017 18:23 #62656 by goebish
Replied by goebish on topic EAchine E012
Ordered ... should take 2-3 weeks to arrive.

Please Log in or Create an account to join the conversation.

  • goebish
  • goebish's Avatar Topic Author
  • Away
  • I Void Warranties
More
28 May 2017 18:38 - 28 May 2017 18:39 #62657 by goebish
Replied by goebish on topic EAchine E012
The protocol seems simple... data address & hopping frequencies are sent in clear text during bind, shouldn't be hard to implement, also I've already written some code to emulate the HS6200 some time ago , I'm only missing a few scrambling bytes which I've to capture over the air.
Last edit: 28 May 2017 18:39 by goebish.

Please Log in or Create an account to join the conversation.

Time to create page: 0.438 seconds
Powered by Kunena Forum