4. MCU reads ID card (hardware debugging and code reading)

Publisher:caoda143Latest update time:2022-06-29 Source: eefocusKeywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. Power amplifier circuit and 125Khz carrier measurement

Point A is the measurement point of the oscilloscope, and the signal carrier is the 125KHz waveform generated by the microcontroller.

insert image description here

Actual waveform

insert image description here

2. LC resonant circuit and sine wave measurement

Point B is the oscilloscope measurement point

insert image description here
insert image description here

3. Envelope detection circuit and detection waveform

Point C is the oscilloscope measurement point

insert image description here
insert image description here

4. Amplification and shaping circuit and output waveform measurement

The measurement point is OutSignal.

insert image description here
insert image description here

5. Waveform analysis and code reading

Through the final output waveform above, the microcontroller can already recognize the output Manchester code.

First, we use a commercially available card reader to read the ID card number used in this test.

1 E 0 0 6 8 B 0 9 8

We disassemble the data format of EM4100 according to the format in the article, as shown in the following figure

insert image description here

Below is a randomly selected output waveform. Let's analyze it.

insert image description here

11111111111100110111001000, comparing the data in the list above, I found that they don’t match at all.

Now let's take a look at the format of Manchester code.


A transition from low to high indicates "1", and a transition from high to low indicates "0". (Baidu Encyclopedia)


At this time, we invert the code obtained above.

0000000000011001000110111 (Now it can be matched~~~~~)


Now let's take a look at the relevant pictures on Wikipedia, and I believe it will become clear at a glance.

Keywords:MCU Reference address:4. MCU reads ID card (hardware debugging and code reading)

Previous article:N76E003 Sharp GP2Y1010 PM2.5
Next article:N76E003 PWM interrupt and setting new duty cycle

Recommended ReadingLatest update time:2024-11-16 15:24

Countdown Algorithm and Implementation Based on Microcontroller
1 Introduction The countdown here is to calculate how long it takes to reach the target time point from the current time point. From another perspective, it is to calculate the time difference between two time points. At present, countdown systems are being used more and more widely. There are many countdo
[Industrial Control]
Countdown Algorithm and Implementation Based on Microcontroller
What is the microcontroller for? Is the embedded microcontroller?
I have seen many beginners who can't figure out what embedded development is and what to learn, nor can they understand the relationship between embedded and microcontrollers. I searched a lot of information on the Internet and found that it was confusing. Many friends who wanted to join the industry were full of conf
[Microcontroller]
Use external crystal fuse settings when Proteus simulates AVR microcontroller
    According to the above two tables, for high-frequency crystals (greater than 3M), it is more reasonable to set CKSEL to 1111. When CKOPT is not programmed, the maximum frequency supported is 8M. If it is greater than 8M, CKOPT should be 0. The SUT refers to the following table   BOD is t
[Microcontroller]
Design of using 8-bit single-chip microcomputer to drive PCI bus network card
At present, Ethernet protocol has been widely used in various computer networks, such as office LAN, industrial control network, Internet and other occasions, and is still developing. Single chip microcomputer or microcontroller (MCU) (also known as embedded system) has been widely used in various fields. At present,
[Power Management]
51 single chip microcomputer uses an independent button to control the buzzer
After the key is pressed for the first time, the buzzer sounds; After pressing the key for the second time, the buzzer stops. #include reg52.h sbit beep=P1^5; sbit key=P3^1; unsigned int mode; //define a mode   void delay(unsigned int i) { while(i--); }   void voice() { if(mode) {   beep=~beep; delay(10
[Microcontroller]
PIC12F508 MCU Learning Part 1 - Timer
The PIC12F508 microcontroller has no interrupts, and the timer can only be queried.   The compiler used is XC8, and the compilation environment IDE used is MPLAB X IDE.    //************************************************ *** //__________________ // VDD-| 1 8 |-VSS // GP5-| 2 27 |-GP0/DAT // GP4-| 3 2
[Microcontroller]
51 MCU Development Series II_1602 Character LCD Display
After getting started with the 51 single-chip microcomputer and having a certain understanding of the running lights, you can start learning the display peripheral drivers, because learning often requires direct verification and tracking of results, and display peripherals can provide feedback on the code running stat
[Microcontroller]
51 MCU Development Series II_1602 Character LCD Display
Implementation of command batch processing in serial communication between PC and microcontroller
    Abstract: This article introduces the implementation ideas, methods, communication protocols and C51 program platform of batch processing commands for communication between PC and MCS-51 microcontroller. It provides a new method for the design of serial communication program between PC and microcontroller.   
[Industrial Control]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号