Final Report. Remote Fencing Scoreboard Gator FenceBox

Similar documents
Software Design of the Stiquito Micro Robot

HumiSys HF High Flow RH Generator

The HumiSys. RH Generator. Operation. Applications. Designed, built, and supported by InstruQuest Inc.

Instructions. Table of Contents

IDeA Competition Report. Electronic Swimming Coach (ESC) for. Athletes who are Visually Impaired

Using the Lego NXT with Labview.

PropaGator Autonomous Surface Vehicle

Connect with Confidence NO POWER NO PROBLEM

THE CANDU 9 DISTRffiUTED CONTROL SYSTEM DESIGN PROCESS

Water Level Indicator Project

Design and development of microcontroller based human airway pressure measurement system with real time graphical display for anaesthesia ventilator

Project Title: Pneumatic Exercise Machine

A4 Operation Manual. Fig.1-1 Controller Socket Diagram

Product Overview. Product Description CHAPTER

Precision level sensing with low-pressure module MS

TAKING IT TO THE EXTREME The WAGO-I/O-SYSTEM for extreme Applications

A4s Operation Manual

Automated Unified Trolley System for LPG Leakage Detection with Safety Measures and Refill Booking

Operating instructions Electrical switching facility pco

Crystal Breath. High Level Design. Nicholas Castro, Suong Do, Joe Duffy, Joe Lervi, John Mullaney

Digital electro-pneumatic regulators Series ER100

Pulmonary Capacity Analyzer

HPSD 3000 Pressure Transducer

SCIENTIFIC DATA SYSTEMS, INC. Depth Tension Line Speed Panel. DTLS Manual

Pressure Sensor Bridge Configurations

DIY - PC - Interface for Suunto Cobra/Vyper/Mosquito

To provide loyalty, quality, and innovation to our. customers. We are Amp Audio

COMPRESSOR PACK SUCTION CONTROLLER TYPE: LP41x

Stand-Alone Bubble Detection System

Gadget Freak Case #161 Golf Game Final

Rescue Rover. Robotics Unit Lesson 1. Overview

AC : MEASUREMENT OF HYDROGEN IN HELIUM FLOW

Net$ync II. Net$ync II. System Controllers

Global Information System of Fencing Competitions (Standard SEMI 1.0) Introduction

WiiMaze Design Document March 13, 2008

Electronic Automatic Transmission for Bicycle

xtreme DB Innovation Every Day Murrelektronik is your system partner: PIN ASSIGNMENTS INPUT OUTPUT AT A GLANCE

GOLFER. The Golf Putting Robot

Air Compressor Control System for Energy Saving in Manufacturing Plant

Roller AC Servo System

Technical Data Sheet MF010-O-LC

Lawani Aigbiniode Sunday, Imadu Olurotimi Ernest, Amuda Omokhagbo, Chimezie-Fidelis. Uzoamaka Benedette, Aminu Isa

AMS 6915 Board mount pressure sensor with digital output (I²C)

HyperSecureLink V6.0x User Guide

RM-80 respiration monitor

Connections The C20B can be connected either using the Molex locking socket, or by connection to four plated through holes. The plated through

Australian Standards. Constraints

The NXT Generation. A complete learning solution

Touch Screen Guide. OG-1500 and OG Part # T011

The Design of a Wireless Scoring System for Epee Fencing

Second Generation Charging Station

SENSAPHONE APPLICATION NOTE. Functions: C Programming, Pump Control, Data Logging

Operating Instructions

The Best Use of Lockout/Tagout and Control Reliable Circuits

2/ Port G1/4

The Caddiellac. In the pursuit of perfection on the course, your clubs should follow your lead EE High Level Design

Wickets Administrator

e2c 20 - easy to connect

Technology. In the My Files [My Files] submenu you can store all the programs that you have made on the NXT or downloaded from your computer.

Documentation. By Henry Arnold

siot-shoe: A Smart IoT-shoe for Gait Assistance (Miami University)

Frequently asked Questions (FAQ) Unwillingness to Fight (U2F)

Courseware Sample F0

SECTION 2 SMART PAYOUT MANUAL SET FIELD SERVICE MANUAL

Operation and Maintenance Manual for the Dive Control Helium Speech Unscrambler

Owner's Handbook CX-Series MP Control Console for Line-Score with Pitch Speed Software Version 4.0.2

IBU3 Manual Addendum 1

User manual. PCA EXCEL one4all with corridorfunction PCA T5 ECO lp with corridorfunction TE one4all with corridorfunction

CONSOLE-320 ENGLISH. 230A: CONSOLE-320 with cable data output Item 230B: CONSOLE-320 with cable + wireless radio data output

Laboratory 2(a): Interfacing WiiMote. Authors: Jeff C. Jensen (National Instruments) Trung N. Tran (National Instruments)

Oxygen Meter User Manual

WF STEUERUNGSTECHNIK GMBH. INFORMATION and TECNICAL DESCRIPTION

INSTALLER S CHOICE. simple to fit. simple to use. simply smarter. ride the wave to smarter heating and hot water control THE

LENNOX SLP98UHV DIAGNOSTIC CODES

Written Report of Robot Design

5) Match timer: Hanged on the court, display the match time synchronous with scoring system.

Quadruple mass spectrometers (transducer type)

1. Hardware Bookkeeping & Adjustment...7. Access Flow Chart... 7 System Adjustment... 8 Chance Adjustment... 9 Touch Screen Calibration...

Tank Level Sensors. AVTECH offers normally closed (NC) and normally open (NO) versions of the Water Tank and Fuel Tank Level Sensors.

Robot Soccer Challenge

Datasheet: K-30 ASCII Sensor

AMS 6916 Board mount pressure sensor with ratiometric analog output

Fencing Fox SmartApp Documentation. 25 avril 2018

VLSI Design 14. Memories

Design of AMBA APB Protocol

OMNISPORT 2000 SWIMMING QUICK REFERENCE

T i m i n g S y s t e m s. RACEAMERICA, Inc. P.O. Box 3469 Santa Clara, CA (408)

AHE58/59 AC Servo System

Sewable LED kits Teaching Notes Issue 1.1

LED Proposal for Basketball Stadium

EasySas. The most advanced airlock electronics on the market. Recyclable product. Eco-design. Energy savings

AMS 2710 PCB pressure sensor module with V output

1.0. ISE70/71 Series CAT.ES A. MPa/1.6 MPa. 3-Screen Display High-Precision Digital Pressure Switch. Angled display.

Bernhard Thomas September EnCal 3000 prochain Energy in Gas with ROI

BAROMETER PRESSURE STANDARD PRESSURE CONTROLLER

J12 TICKET DISPENSER HOPPER ALL STOP STOP 1 STOP 2 STOP 3 BIG DOUBLE SMALL TAKE PLAY START CURRENT PRODUCTION BOARD TYPE

TH-1800-T TRX-700-CNG Converter

LifeBeat should be worn during daytime as well as night time as it can record activity levels as well as sleep patterns.

An Architecture for Combined Test Data Compression and Abort-on-Fail Test

PL estimation acc. to EN ISO

Transcription:

EEL 4924 Electrical Engineering Design (Senior Design) Final Report 26 April 2012 Remote Fencing Scoreboard Team Members: Adrian Montero and Alexander Quintero

Page 2 of 14 Project Abstract: The scope of this project is to build a sophisticated fencing scoring machine that can be remotely controlled using a Smartphone. In the sport of fencing, there are three main weapons: Epee, Foil, and Saber. Each weapon works differently and has unique timing rules that must be programmed into a microcontroller. Four sets of LED blocks will be designed to notify in realtime the sensing of electric contact between fencers. Additionally, the scoring machine will have seven 7-segment LEDs to implement a remotely controlled programmable clock and scoring board. A Bluetooth IC will be interfaced with the microcontroller to receive commands from a remote Smartphone application. Some of the commands will include the selection of weapons, clock programming, score updating control, and a soft reset. Figure 1 - Basic overview of the

Page 3 of 14 Table of Contents: Project Abstract 2 Introduction..4 Hardware......5 I. Developmental Tools...5 II. Hardware Components......6 III. PCB Designs 7-8 Software...8-12 Conclusion..13 Future Work...13 References..14

Page 4 of 14 Introduction: Scoreboards are a major part of any type of sport, regardless of whether they are digital or not. Their function is generally very basic, but also very useful: to keep score of a present event, game, or match. However, in the sport of fencing, the scoreboard is actually an integral part of any match. Here, the scoreboard, or scoring box, is interwoven into every match as each fencer is physically connected to the scoring box through reels of wire which will be used throughout a match for contact detection between two fencers. Upon contact, the scoring box will either turn on the corresponding light block of the player that made valid contact, or remain idle if the contact was not valid. It is then up to the referee to update the score which is also displayed on the scoring box. This is the basic operation of a fencing scoring box. The complex, yet intricate electrical functionality of a fencing scoring box was very appealing to us and was a factor in our selecting to do this project. We were also motivated to build this project because of the lack of scoring equipment in the University of Florida Fencing Team. A scoring system of this complexity ranges commercially from the price of $500 to $1000; however we believed that we could build such a system for roughly less than that price range. The novelty of our design is the use of a Smartphone to interface with the scoring box and control the scoring system, instead of building a remote control, which is the current standard. The increased use of the Smartphone in today s society makes this system very appealing and easy to use.

Page 5 of 14 Hardware: Figure 2 - Basic block diagram I. Developmental Tools One of the first steps in starting our project was agreeing on the necessary developmental tools to use for a prototype. Since our project revolves around the use of Bluetooth for information transfer, finding a microcontroller that could interface with a Bluetooth IC was key. We decided to use the MSP430F5438 Experimenter Board. It is a Development board with sufficient I/O ports and the necessary peripherals to implement, test, and debug our design. We also decided to use the PAN1323ETU, a Bluetooth development module that is compatible with the MSP430F5438 experimenter board and was used for the purpose of interfacing a Smartphone with the microcontroller for scoreboard operation. Figure 3 - MSP430F5438 Experimenter Board and PAN1323ETU Bluetooth development module

Page 6 of 14 II. Hardware Components The overall scoring box will contain 4 LED blocks for indicating contact and proper weapon connection; a 7-segment LED block that will contain 2-7segments for each fencer and 4 7-segments for the clock; an audio block that contains a D/A converter, an audio amplifier, and a speaker for event notification; and finally, the Bluetooth block that will contain the Bluetooth development module that will interface the Smartphone to the scoring box. The following block diagram illustrates the connectivity and interaction of these components: Figure 4 - Detailed block diagram of project sections and their interaction

Page 7 of 14 In the LED blocks section, there are 4 blocks: A green and an orange block for player 1 and a red and an orange block for player 2. Each block consists of 4 columns of 4 LEDs connected in parallel and being supplied by 12V. Each block is grounded through an NPN transistor which acts as a switch that is controlled by the microcontroller. When valid contact is made between the fencers, the microcontroller will send out a control signal to the NPN transistor of the corresponding LED block which will cause the block to light up. The board is powered by 12V/2A source which is further regulated by a TI UA78M33 3.3V voltage regulator. The 7-segment LED section of the scoreboard contains a total of 8 7-segment LEDs: 2 for each player and 4 for the clock. The 7-segment LEDs we are using are common anode, so they will only light up when the anode is connected to 12V. To handle this functionality, we used PNP transistors between the power source and each 7-segment LED so that the 7-segments would remain on at all times as long as power is being supplied to the box. The 7-segments will turn off when the microcontroller sends out a control signal to the PNP for a software Power Off event. Each individual LED on each 7-segment is controlled in a similar fashion using NPN transistors and code on the microcontroller in order to display the desired number. The audio section consists of a TI DAC8534 D/A converter, an LM386 audio power amplifier, and an 8Ω speaker. The microcontroller sends out a sine wave of different frequencies, depending on the event. The DAC8534 is a 16-bit, serial input D/A converter that interfaces with the microcontroller through SPI; it takes in the data stream and outputs voltages to the LM386 power amplifier. The LM386 is supplied by 3.3V and amplifies the signal from the D/A converter before passing the signal out to the speaker. The speaker currently outputs two different sounds: a sound for when the score is updated on the scoreboard and a higher frequency sound for when valid contact is made between two fencers. The code for audio is therefore set to work in conjunction with the code that controls the valid point LED blocks and the updating of the 7-segments that display the score. Finally, the Bluetooth section consists of the PAN1323ETU Bluetooth module, which interfaces directly with the TI MSP430BT5190 microcontroller for communication with a Smartphone. This module is run using the FreeRTOS multitasking real time operating system. III. PCB Designs The is composed of 5 different PCBs that are all connected together. The first 2 PCBs each contain the 2 LED blocks and the 2 7-segment LEDs to display the score for each player. The 2 LED blocks will be either green and orange or red and orange, depending on the player. The orange LED blocks are used for determining if the fencing weapons are properly connected to the fencing box and will stay on if there is a faulty connection. The third PCB contains the 7-segment clock display, which can be updated, set to count down, stopped, and reset. The fourth PCB contains the MSP430BT5190 microcontroller, a circuit for the JTAG programmer, the circuit for interfacing the PAN1323ETU Bluetooth module, and all audio

Page 8 of 14 circuitry. The final PCB contains the socket connectors for the weapons. Each weapon has three wires that need to be connected to their corresponding socket on the scoring box. Left Block Weapon Connectors Speaker Timer Block Main Board Right Block Figure 5 Modular PCB design Software: In this project we are using a real-time operating system (FreeRTOS) to manage four separate tasks: 1. Idle Task 2. Write Task 3. Read Task 4. User Task The idle task is automatically created by the real-time operating system scheduler. Inside this task we have added the initialization code for the Bluetooth stack. Idle task has the lowest priority on the task queue. The write task handles the receiving of Bluetooth data while the read task handles the sending of Bluetooth data. These two tasks have the highest priority on the queue. The user task, on the other hand, handles the logic of all three weapons. This task is suspended initially or whenever the system is turned off.

Page 9 of 14 Idle Task sdk_start_scheduler(); Idle task is created and sdkplatforminit() is called. Idle task is hooked by vapplicationidlehook() which calls idle_app_routine() demo_app_state APP_NO_INIT: APP_INIT_COMPLETE: demo_app_state = APP_SWITCH_BT_ON APP_SWITCH_BT_ON: sdk_bluetooth_on() demo_app_state = APP_BT_ON_COMPLETE APP_BT_ON_COMPLETE: appl_spp_start() END Figure 6 Bluetooth initialization

Page 10 of 14 User Task Weapon Selection? Saber L Foil Epee Left C Line = out Others = in Left C Line = 1 AResR = 0 AR = 1 AND not debounced AR = 1 AND Debounced? AR = 0 SaberR AR = 1 and Debounced Lockout Timer AL = 0 Yes Lockout? LeftT AL = 1 AND not debounce Right C Line = out Others = in Right C Line = 1 AResL = 0 AL = 1 AND Debounced? STouch Figure 7 User task and Saber left logic

Page 11 of 14 SaberR AL = 1 AND not Debounce Right C Line = out Others = in Right C Line = 1 AResL = 0 AL = 1 AND Debounced? AL = 0 Start AL = 1 AND debounced Lockout Timer AR = 0 Yes Lockout? RightT AR = 1 AND not debounce Left C Line = out Others = in Left C Line = 1 AResR = 0 AR = 1 AND Debounced? STouch Figure 8 Saber right logic

Page 12 of 14 STouch LTouch RTouch RedBlock = on GreenBlock = on No GreenBlock = on No RedBlock = on No Wait 2 seconds Wait 2 seconds Wait 2 seconds Yes Yes Reset Wait 3 seconds Start Figure 7 Weapon wait and reset times

Page 13 of 14 Conclusion: For completion of this project, we were able to achieve a number of tasks and overcome quite a few obstacles. Ultimately, we were able to establish a successful interface between the Smartphone and scoreboard by learning how to operate and connect with Bluetooth; we learned to use a real-time operating system for multitasking; we created an Android Smartphone application specifically for the purpose of scoreboard control; accommodate all scoreboard components with a 12V/2A power supply; successfully integrate audio with LED blocks and 7- segment score displays for indication of an event; and we managed to implement full functionality for all three fencing weapons: epee, foil, and saber. In short, a fully functional fencing box has been created that can be used in an actual fencing match for a fully immersive fencing experience Future Work: With a project of this scope, a number of things can be added to make the fencing scoring box much more user friendly. Possible future enhancements may include the addition of an LCD screen for real-time status updates regarding current weapon choice, winner of the current match, victory count, etc. Bi-directional communication between the scoring box and the Smartphone would also be a great functionality to add for a more interactive Smartphone application. We would also like to eliminate wires between the scoring box and fencers for an all-wireless communication. One strange issue we had during communication with the board through Bluetooth as the introduction of noise on the speaker upon Bluetooth start-up; we would like to aim for removing this problem in the future. Finally, we would like to add an implementation of complete logic functionality for the epee and foil weapons so that the piste (copper floor fencing strip) is incorporated in the fencing experience.

Page 14 of 14 References: MSP-EXP430F5438 Experimenter Board User s Guide - http://www.ti.com/lit/ug/slau263g/slau263g.pdf MSP430F5438A - http://www.ti.com/lit/ds/symlink/msp430f5438a.pdf MSP430F5438A User s Guide - http://www.ti.com/lit/ug/slau208j/slau208j.pdf MSP430+CC256x Bluetooth Platform Overview - http://processors.wiki.ti.com/index.php/pan1315emk_user_guide DAC8534 - Quad Channel, Low Power, 16-Bit, Serial Input DIGITAL-TO- ANALOG CONVERTER - http://www.ti.com/lit/ds/sbas254d/sbas254d.pdf LM386 Low Voltage Audio Power Amplifier - http://www.ti.com/lit/ds/symlink/lm386.pdf