1 / 13

Wireless Fencing

This document outlines a wireless fencing system powered by a microcontroller operating at 16 MHz. It utilizes on-chip resources including 60KB of Flash and 4KB of RAM, with functional requirements of 15KB Flash and 2KB RAM. The system employs a non-preemptive multitasking kernel, executing various tasks such as Power Up, Transmitter, Base, Send, and Alert tasks, each with specified periods and execution times. The CPU load for both the transmitter and base modules is calculated, ensuring efficient operation while updating scores on the LCD and triggering LED alerts.

orea
Télécharger la présentation

Wireless Fencing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Wireless Fencing

  2. Microcontroller • 16 MHz Bus Frequency • On Chip Resources • 60K of Flash • 4K of RAM • Require Resources • 15K of Flash • 2K of RAM

  3. Popnet • Non-preemptive multitasking kernel • Tasks are not prioritized • Little endian • Power up • 20 ms

  4. Tasks • Transmitter • Start task • Wait task • Send task • Base • Start task • Wait task • Alert task

  5. Start task • Description: • Initiates the program • Period: once • Execution time: 10ms

  6. Wait task • Transmitter Description: • Waits for a signal from the other transmitter • Period: 10ms • Execution time: 3ms • Base description: • Waits for a signal from the transmitters • Period : 6ms • Execution time : 3ms

  7. Send task • Description: • The transmitters send a signal to the base module if a touch has occurred. • Period: 3 ms • Execution time: 1ms

  8. Alert task • When a signal has come from the transmitters to the base, the base will update the score on the LCD and light up an LED. • Period: 3ms • Execution time: 1 ms

  9. Dataflow for transmitters

  10. Dataflow for base

  11. CPU Load • Maximum CPU load for the transmitter • L = 3/10 + 1/3 = 66% • Maximum CPU load for the base • L = 3/6 + 1/3 = 83%

  12. Module list

More Related