Difference between revisions of "S15: Wizard's Chess System"
(→Acknowledgement) |
(→My Issue #1) |
||
Line 178: | Line 178: | ||
Include sub-sections that list out a problem and solution, such as: | Include sub-sections that list out a problem and solution, such as: | ||
+ | |||
+ | === Test #1 === | ||
+ | Electromagnet | ||
+ | |||
+ | The electromagnet needs to be strong enough to grip a piece directly above it, without gripping any neighboring pieces. Initially, we attempted to make the chess pieces magnetic. First we tried neodymium magnets, however these magnets were far too powerful. We tried increasingly smaller magnets, but even our weakest magnets caused pieces to grip each other. We concluded that the pieces should NOT include permanent magnets. | ||
+ | |||
=== My Issue #1 === | === My Issue #1 === | ||
Line 184: | Line 190: | ||
As current flows into a stepper motor, it stores this energy in magnetic fields. The reverse is true. That is, when current is no longer supplied to the motor, the magnetic field collapses creating current, known as back EMF. The stepper motor drivers contain circuitry to protect itself from this back EMF. However, adjusting the current setting or unplugging the stepper motor driver while engaged WILL damage the driver. | As current flows into a stepper motor, it stores this energy in magnetic fields. The reverse is true. That is, when current is no longer supplied to the motor, the magnetic field collapses creating current, known as back EMF. The stepper motor drivers contain circuitry to protect itself from this back EMF. However, adjusting the current setting or unplugging the stepper motor driver while engaged WILL damage the driver. | ||
− | We fried two sets of stepper motor drivers. | + | We fried two sets of stepper motor drivers. |
=== My Issue #2 === | === My Issue #2 === |
Revision as of 06:35, 25 May 2015
Contents
Grading Criteria
- How well is Software & Hardware Design described?
- How well can this report be used to reproduce this project?
- Code Quality
- Overall Report Quality:
- Software Block Diagrams
- Hardware Block Diagrams
- Schematic Quality
- Quality of technical challenges and solutions adopted.
Project Title
Abstract
The purpose of this project is to create an automated chessboard, displaying moves made by users playing chess. The web application server will be hosted on a Beaglebone Black. Users log in and play a chess game hosted using Node.js. As moves are made on the web app,the pieces will be physically moved on the chessboard.
Objectives & Introduction
Show list of your objectives. This section includes the high level details of your project. You can write about the various sensors or peripherals you used to get your project completed.
Team Members & Responsibilities
- Yaron Alexandrovich
- Case Design, XY Plotter driver on SJOne Board, FreeRTOS Environment
- Emil Kurian
- Case Design, XY Plotter driver on SJOne Board, FreeRTOS Environment
- Gerard Ramos
- Web Server, Case Design, Electromagnet, Chess Pieces
- Fred Sun
- Web Server, Case Design, Electromagnet, Chess Pieces
Schedule
Week | Start Date | End Date | Task | Status |
---|---|---|---|---|
1 | 3/27/2015 | 4/10/2015 | Finish building XY Plotter | Completed |
2 | 4/12/2015 | 4/26/2015 | Build casing and chessboard | In Progress |
3 | 4/12/2015 | 4/19/2015 | Build/Control Electromagnet | In Progress |
4 | 4/12/2015 | 4/15/2015 | Find/Buy appropriate magnets | Completed |
5 | 4/12/2015 | 4/19/2015 | Write drivers for XY-Plotter | Completed |
6 | 4/12/2015 | 4/19/2015 | Design web application GUI (Front-end) | Completed |
7 | 4/12/2015 | 4/26/2015 | Host Web Server on Campus | Completed |
8 | 4/19/2015 | 4/26/2015 | 3D print chess pieces + attach magnets to pieces | In Progress |
9 | 4/19/2015 | 5/3/2015 | Develop Web Server Back-end | Completed |
10 | 4/26/2015 | 5/3/2015 | Write functions for plotter to move chess pieces | In Progress |
11 | 5/3/2015 | 5/10/2015 | Setup communication protocol between SJOne and Web Server | In Progress |
12 | 5/3/2015 | 5/17/2015 | FreeRTOS Environment | In Progress |
13 | 5/15/2015 | 5/23/2015 | Debug, Debug, Debug | In Progress |
Parts List & Cost
Give a simple list of the cost of your project broken down by components. Do not write long stories here.
Design & Implementation
The design section can go over your hardware and software design. Organize this section using sub-sections that go over your design and implementation.
Hardware Design
XY Plotter Hardware
Computer Aided Design Chess Pieces
Electromagnet
Hardware Interface
The chess game is hosted on a Beaglebone Black (BBB). The BBB is a open-source hardware single-board computer that runs an embedded Linux. The server back-end is powered by Node.JS, and ran as a local host such that any computer device can connect to it and play the game. As plays are made on the chess game, the changes in piece position are processed, and a string is transmitted over UART to the SJOne board. The SJOne interprets the string, and translates these to physical moves. By commanding the stepper motors and electromagnet, it moves chess pieces to reflect the changes made in game.
Software Design
Show your software design. For example, if you are designing an MP3 Player, show the tasks that you are using, and what they are doing at a high level. Do not show the details of the code. For example, do not show exact code, but you may show psuedocode and fragments of code. Keep in mind that you are showing DESIGN of your software, not the inner workings of it.
Implementation
This section includes implementation, but again, not the details, just the high level. For example, you can list the steps it takes to communicate over a sensor, or the steps needed to write a page of memory onto SPI Flash. You can include sub-sections for each of your component implementation.
Testing & Technical Challenges
Describe the challenges of your project. What advise would you give yourself or someone else if your project can be started from scratch again? Make a smooth transition to testing section and described what it took to test your project.
Include sub-sections that list out a problem and solution, such as:
Test #1
Electromagnet
The electromagnet needs to be strong enough to grip a piece directly above it, without gripping any neighboring pieces. Initially, we attempted to make the chess pieces magnetic. First we tried neodymium magnets, however these magnets were far too powerful. We tried increasingly smaller magnets, but even our weakest magnets caused pieces to grip each other. We concluded that the pieces should NOT include permanent magnets.
My Issue #1
Stepper motor drivers are very easy to fry.
As current flows into a stepper motor, it stores this energy in magnetic fields. The reverse is true. That is, when current is no longer supplied to the motor, the magnetic field collapses creating current, known as back EMF. The stepper motor drivers contain circuitry to protect itself from this back EMF. However, adjusting the current setting or unplugging the stepper motor driver while engaged WILL damage the driver.
We fried two sets of stepper motor drivers.
My Issue #2
My Issue #3
Conclusion
Conclude your project here. You can recap your testing and problems. You should address the "so what" part here to indicate what you ultimately learnt from this project. How has this project increased your knowledge?
Project Video
Upload a video of your project and post the link here.
Project Source Code
References
Acknowledgement
Special thanks to Hugo Quiroz. He provided mechanical knowledge, access to laboratory and equipment, and dedication to our project. Thanks for the measures, cuts, materials, and laser cutter to etch our chess board.
Special thanks to Professor Peter Reischl. He went out of his way to educate us on constructing the electromagnet. Thanks for going out of your way to provide the knowledge and verification to construct our electromagnet.
References Used
List any references used in project.
Appendix
You can list the references you used.