zacharyweiss / magspoof_flipper

Port of Samy Kamkar's MagSpoof project (http://samy.pl/magspoof/) to the Flipper Zero. Enables wireless emulation of magstripe data, primarily over GPIO, with additional experimental internal TX.
https://lab.flipper.net/apps/magspoof
MIT License
515 stars 27 forks source link

Test the RF coil for me please #4

Closed arha closed 4 months ago

arha commented 1 year ago

Can you please run a test against your MSR with the new MagTxLFCarrier TX method? Perhaps do a few sanity checks yourself if the messages are fine. There's a new branch with a rather crude implementation which pulses the LF coil at 125k for LF_PULSE_US microseconds:tx-lf-carrier. Still waiting on Amazon for my stuff, sadly, otherwise I would have done this myself.

Current RF emulation on a 125khz tuned coil + track 1 gives me about 4Vpp image

Charging the LF coil for 60us (with a 200us bit clock) boosts my reading to about 9V, that's 33% duty cycle, that should be about ~5 times of a stronger field. Note this is track 2 of Samy's test card. image

Counting past the 25 zeroes, splitting the count at every zero bit, we should be getting the original track again (5, 3, 1, 1, 3, 1, 1, 3, 1...). This is posted as a sanity check for myself. image

On a 50% duty cycle I get about 12Vpp on average, that should be about 9x more power. image

I'm not holding my fingers crossed yet.

zacharyweiss commented 1 year ago

For the sake of posterity; to share comments given elsewhere:

Amazing work — initial tests look very promising. Much stronger response from an analog mag read-head I have, when compared to existing RFID Tx. Will see about dialing in duty cycle / pulse duration / other params this weekend.

zacharyweiss commented 4 months ago

At present, I'm freezing internal TX work in favor of polishing GPIO tx, UI/UX, & UART read; in the event I begin digging into internal TX again, will reopen this.