TPMS... DIY and Design Anatomy
Results 1 to 10 of 38

Thread: TPMS... DIY and Design Anatomy

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Senior Member
    Join Date
    Jun 2014
    Location
    Largo, FL
    Posts
    2,662
    Quote Originally Posted by stroguy View Post
    The alarm could be a simple AND gate tied to a PC relay then on to a piezoelectric buzzer. With the AND you don't complicate it with a separate circuit for each tire. It alarms and you look at your display. Great work Largo!
    Thanks Stro, I like the way you think; the differentiation is handled in software though. Since I decided to not implement LF communication modules to keep things simple, the receiver won't know if temp\pressure data is from the front or rear. So... to get around this I added a tire location byte to the data packet sent by the transmitters.

    The sensors transmit using essentially the same technique as FM radio, using an additional encoding scheme called FSK (frequency shift keying). In FSK, a base frequency is chosen and an excursion above or below base are recognized as zero or one. For example, my base frequency is 325 Mhz and my excursion is 38 kHz. Signals received at a frequency of 325 MHz - 38 kHz is decoded as zero and signals received at a frequency of 325 MHz + 38 kHz is a one.

    If the videos above were zoomed in you'd see this... the pulses on the left are below baseband (zero's) and the pulses on the right are above baseband (one's).



    These pulses are picked up at the receiver and decoded into a binary stream of one's and zero's which then makes it possible to process the information with digital circuitry. I've gone through a few iterations of exactly what information needs to be transmitted and I think I've firmed up on the below. The less information to be transmitted, the better, because it takes valuable battery power to send every one and zero. Data transmission is by far the largest power draw used by TPMS sensors.

    The first 3 data bytes are a preamble; when the receiver detects a preamble being sent, it initializes its' receive circuitry for possible reception of data. The next 3 bytes are sync words which act like an encryption key; if this sequence matches the same sequence programmed in memory, it accepts the remaining bytes of the data packet... otherwise the packet is discarded as invalid. This is what will keep the TPMS system from picking up pressure data from the car in the next lane over.

    The length byte tells the receiver how many more data bytes to accept.

    And, finally, we get to the tire location byte. This is a unique sequence used to inform the receiver of where the data is coming from, front or rear. If front tire data is detected, for example, it will display that data on the top line of the LCD. If rear tire data is detected, it'll display that data on the bottom line of the LCD. The system is currently setup with just one alert LED, and an alert status sent from either tire will light it up. However, this doesn't tell the rider which tire is having problems. So... I wrote some code to inform the rider on the LCD. After seeing the alert LED and pulling over, the rider will see a message on the LCD telling which tire is the problem.

    I'm thinking the alarm buzzer should work the same way; either tire can set it off and then the LCD will tell you which one is the problem.


  2. #2
    Senior Member
    Join Date
    Apr 2015
    Location
    Corona ,CA
    Posts
    483

    Amazing

    Way to go, reread the entire post twice, awesome, I hope you fully succeed.

    You got me as a customer

    Good luck on the prototype.

    Max

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •