Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronic Content > Electronic Projects

Notices


Electronic Projects A collection of small electronic circuits and projects you can build.

Reply
 
Thread Tools Display Modes
Old 4th February 2008, 07:22 AM   (permalink)
Default BSP (BlackjackStation Portable)

Hi all,
This is the group project that we've been spending 3 months to work out (Oct '07 to Dec '07). I don't know why this title is chosen, in this subject, everyteam is doing the same project. So in order to get score higher, we have to make something different
This is basically a blackjack game with LCD text module and these are the spec required by the lecturer:
Quote:
Battery operated 1%
Cost target: RM150 1%
Player’s start-up money specification 1%
Player’s bet increment and decrement specifications 2%
52 cards for each game (4 suites of 0-10, J Q and K) 2%
4 cards are drawn randomly when “Deal” is pressed 5%
One card is randomly drawn when “Hit” is pressed 2%
Dealer’s games begin when “Stay” is pressed 1%
Player’s bet increment and decrement functions 1%
A maximum of 5 cards can be drawn for each player 1%
In each game, drawn cards can not be re-used 5%
Dealer continues to draw if his total point is less then 16 2%
LCD display: cards, money and winner 5%
Determine win, loss or stand-off 1%
Design skills (hardware/software) 5%
Additional features 5%
  • Backup Mechanism
    • Remember player money when power is turned off.
    • Reset to RM100 only when reset button is pressed
  • Sleep mode
    • Sleep after 30 second
    • Wake up when the deal button is pressed
  • Game Statistics
    • Display game statistics such as total number of game win/loss/draw, total number of bust and total number of BJ/21
PCB design 5%
Total 45%
Either one addtional features can be chosen, but my group has successfully done all

To save the power consumed, before going into sleep, the LCD is turned of by the PIC, since it is powered directly from the PIC. The most challenging part is, when the PIC wake up, the LCD has to be reinitialized. Besides, the LCD must redisplay the page where before going into sleep. So in anywhere of the game (while adjusting the bet, while playing, while viewing the stastistic) the PIC will go to sleep if no button is pressed within 30 second. In anywhere of the game, the player will be able to view the statistic, total game, win, lose, draw, blackjack.

To score higher, we have to do something different. My group is using a 3 V button cell with a boost regulator LTC3401. The rest of them are using 9 V battery

For the randomness, since PIC16F88 is used

These are the spec of it:
Size
Weight: approximately (100g)
Dimension: 95mm x 55 mm x 30mm
Color: Black
Shape: Rectangular

Standby mode (sleep) : 1275 hours (1.4mW)
Operating mode : 85 hours (21mW)

Battery: CR2450 3 V button cell
Attached Images
File Type: gif BSP2.GIF (11.9 KB, 13 views)
File Type: jpg DSC00113.jpg (41.9 KB, 33 views)
File Type: jpg DSC00119.JPG (332.6 KB, 41 views)
File Type: gif ICSP.GIF (14.5 KB, 36 views)
Attached Files
File Type: txt bet.HEX.txt (10.9 KB, 16 views)
__________________
Superman returns..

Last edited by bananasiong; 4th February 2008 at 11:52 AM.
bananasiong is offline  
Reply With Quote
Old 4th February 2008, 11:33 AM   (permalink)
Default

This forum is only for complete working projects for people to build, so please add the source sode to your post.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Old 4th February 2008, 11:35 AM   (permalink)
Default

Quote:
Originally Posted by Nigel Goodwin
This forum is only for complete working projects for people to build, so please add the source sode to your post.
Can I just post up the hex file?
__________________
Superman returns..
bananasiong is offline  
Reply With Quote
Old 4th February 2008, 11:38 AM   (permalink)
Default

Quote:
Originally Posted by bananasiong
Can I just post up the hex file?
That's a far worse idea, because it stops people altering it (or at least makes it harder), but a HEX file is better than nothing.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Converting an lcd from a portable DVD player endtime Electronic Projects Design/Ideas/Reviews 2 29th May 2007 04:14 AM
Portable MP3 player schematics Electric Rain Electronic Projects Design/Ideas/Reviews 2 20th October 2004 06:02 AM
Portable Nintendo 64 helpmeplz Electronic Projects Design/Ideas/Reviews 6 17th August 2004 07:45 AM
Portable telephone repair jimmyjames General Electronics Chat 2 31st December 2003 03:47 PM
Portable MP3 Player Sherif Welsen Electronic Projects Design/Ideas/Reviews 1 13th September 2003 01:17 PM



All times are GMT. The time now is 02:04 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.