{"id":445,"date":"2019-03-31T13:53:06","date_gmt":"2019-03-31T13:53:06","guid":{"rendered":"https:\/\/commons.princeton.edu\/epics\/?page_id=445"},"modified":"2019-05-09T21:38:23","modified_gmt":"2019-05-09T21:38:23","slug":"nintds","status":"publish","type":"page","link":"https:\/\/commons.princeton.edu\/epics\/about-2\/2019-2\/nintds\/","title":{"rendered":"Big Nintendo Color"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_zigzag el_border_width=&#8221;8&#8243; css=&#8221;.vc_custom_1553988634650{margin-bottom: 20px !important;}&#8221;][vc_column_text]<\/p>\n<h3>Students<\/h3>\n<p>[\/vc_column_text][vc_row_inner][vc_column_inner width=&#8221;1\/6&#8243;][vc_single_image image=&#8221;1065&#8243; img_size=&#8221;medium&#8221; css=&#8221;.vc_custom_1557182653811{margin-bottom: 0px !important;border-bottom-width: 0px !important;}&#8221;][vc_column_text]Michael Swart<br \/>\nCOS, 2019[\/vc_column_text][\/vc_column_inner][vc_column_inner width=&#8221;1\/6&#8243;][vc_single_image image=&#8221;1066&#8243; img_size=&#8221;medium&#8221; css=&#8221;.vc_custom_1557182658877{margin-bottom: 0px !important;border-bottom-width: 0px !important;}&#8221;][vc_column_text]Matthew Payne<br \/>\nPsychology, 2019[\/vc_column_text][\/vc_column_inner][vc_column_inner width=&#8221;1\/6&#8243;][\/vc_column_inner][vc_column_inner width=&#8221;1\/6&#8243;][\/vc_column_inner][vc_column_inner width=&#8221;1\/3&#8243;][\/vc_column_inner][\/vc_row_inner][vc_zigzag el_border_width=&#8221;8&#8243; css=&#8221;.vc_custom_1553988638130{margin-bottom: 20px !important;}&#8221;][vc_column_text]<\/p>\n<h3>Project Description<\/h3>\n<p>Inspired by our days of playing with the first Nintendo gameboy, we wanted to use the EPICs lab to create a bigger version of a Nintendo color both to help create a fun experience for users and to challenge ourselves in the fields of woodworking and inlaying, computer science, and electrical engineering. This project also helps commemorate the 30th anniversary of the first Gameboy. In the EPICs lab, we created buttons made from wood and inlayed aluminum for lettering and symbols. We created a wooden frame for the gameboy using plywood and scrap wood and painted it orange. Using a computer monitor hooked up to a Raspberry Pi and some special inputs, we built connected the physical buttons to a game that we programmed ourselves. Our gameboy is completely playable, which was our main goal. In order to fabricate this project, we used the Carvey, the X-Carve, the belt sander, the table saw, and a dremel, in addition to the raspberry pi with pushdown buttons connected with jumper cables.[\/vc_column_text][vc_zigzag el_border_width=&#8221;8&#8243; css=&#8221;.vc_custom_1553988641874{margin-bottom: 20px !important;}&#8221;][vc_column_text]<\/p>\n<h3>Technical Background<\/h3>\n<p>[\/vc_column_text][vc_row_inner][vc_column_inner][vc_column_text]Our large gameboy was built using a Raspberry Pi 3 B+, which is basically just a regular computer\u2019s circuit board. A Raspberry Pi comes with no keyboard, mouse, or display and does not need any of these things to run, though actually doing anything without these devices would be difficult, at least while programming it. Everything about this computer is configurable. For example, when setting up our Raspberry Pi we had to download an operating system for it to use. Most commercial, off-the-shelf computers do not provide this level of configurability for a multitude of reasons. A MacBook, for instance, uniformly runs a linux operating system, which makes it easy for Apple to release software updates to all of its computers and to be able to service and fix each computer in a similar fashion. The fact that a Raspberry Pi allows a user to download any operating system shows the emphasis on configurability that the creators of this computer envisioned. Configurability is not something which other computer manufacturers design for. A Raspberry Pi comes with a lot of functionality because of it\u2019s configurability and its inexpensiveness relative to other computers. We aimed to use the special configuration of the Raspberry Pi to our advantage during this project. Most notably, the Raspberry Pi 3 B+ comes with 40 General Purpose Input\/Output (GPIO) pins that can be configured with a breadboard and some wires to do any task. Buttons, switches, lights, small electric motors, liquid flow meter and many other accessories can be attached to GPIO pins to either send signals to the computer or receive signals from the computer. For example, a button could send a signal to the computer to run some code, whereas a light could be turned on or off using some different code. Each pin of the 40 has a specific function, such as providing power to an input\/output device, grounding a current, or receiving input and sending output signals. It is also possible to download programming libraries onto a Raspberry Pi, which we did with the pygame library. This library creates a Graphical User Interface (GUI) that the user can actually see and that the code can manipulate to draw shapes and write text. Using the GPIO buttons and the pygame library, we created a simple miniature golf game, complete with a hit counter, power meter, start\/stop functionality, and even a color changing feature. Each function in the game shows off the usability of one of the buttons on our gameboy.[\/vc_column_text][vc_column_text]https:\/\/www.raspberrypi.org\/products\/raspberry-pi-3-model-b-plus\/<\/p>\n<p>https:\/\/www.macworld.co.uk\/feature\/apple\/why-programmers-think-mac-os-x-is-best-os-use-3638706\/[\/vc_column_text][\/vc_column_inner][\/vc_row_inner][vc_zigzag color=&#8221;black&#8221; el_border_width=&#8221;8&#8243; css=&#8221;.vc_custom_1553988646466{margin-bottom: 20px !important;}&#8221;][vc_column_text]<\/p>\n<h3>Design Drawings<\/h3>\n<p>[\/vc_column_text][vc_media_grid grid_id=&#8221;vc_gid:1557437895747-8fd7a067-e36f-3&#8243; include=&#8221;476,477&#8243;][vc_zigzag css=&#8221;.vc_custom_1553988654467{margin-bottom: 20px !important;}&#8221;][vc_column_text]<\/p>\n<h3>Fabrication Process<\/h3>\n<p>[\/vc_column_text][vc_row_inner][vc_column_inner][vc_column_text]<\/p>\n<div id=\"bannerR\">\n<div id=\"div-gpt-ad-1474537762122-3\" data-google-query-id=\"CJ3tvPmBq-ECFQJ6wQodrYYMtQ\">\n<div id=\"google_ads_iframe_\/15188745\/Lipsum-Unit4_0__container__\">We used the Carvey, table saw, and belt sander to create all of the buttons. A wooden base was created for each of the buttons, and then the inlay generator functionality was used to create aluminum inlays. Then, we used the X-carve and table saw to design the plywood boards that provided the base of the Gameboy itself. These were reinforced with wooden boards to provide a more durable design and to make room for the internal computer and monitor. All of the GPIO pins were wired to smaller pushdown buttons that are placed below the surface of the larger base. Each one is surrounded by springs, which the buttons are hot glued to in order to keep them in place. The monitor is hooked up to the raspberry pi using an HDMI cable and is held in place with reinforcement wood. The base was spray painted orange. The base is held together with velcro to allow for the changing of the internal technology without having to break anything.<\/div>\n<\/div>\n<\/div>\n<p>[\/vc_column_text][\/vc_column_inner][\/vc_row_inner][vc_media_grid grid_id=&#8221;vc_gid:1557437895751-8b51cc30-46ba-9&#8243; include=&#8221;1068,1069,1070,1071,1072,1073,1074,1075,1076&#8243;][vc_zigzag css=&#8221;.vc_custom_1553988664868{margin-bottom: 20px !important;}&#8221;][vc_column_text]<\/p>\n<h3>Final Result<\/h3>\n<p>[\/vc_column_text][vc_media_grid grid_id=&#8221;vc_gid:1557437895754-401d8d15-1ef8-7&#8243; include=&#8221;1077,1078,1079,1080&#8243;][vc_row_inner][vc_column_inner width=&#8221;1\/2&#8243;][vc_video link=&#8221;https:\/\/youtu.be\/At6rQv8dlGM&#8221;][\/vc_column_inner][vc_column_inner width=&#8221;1\/2&#8243;][\/vc_column_inner][\/vc_row_inner][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_zigzag el_border_width=&#8221;8&#8243; css=&#8221;.vc_custom_1553988634650{margin-bottom: 20px !important;}&#8221;][vc_column_text] Students [\/vc_column_text][vc_row_inner][vc_column_inner width=&#8221;1\/6&#8243;][vc_single_image image=&#8221;1065&#8243; img_size=&#8221;medium&#8221; css=&#8221;.vc_custom_1557182653811{margin-bottom: 0px !important;border-bottom-width: 0px !important;}&#8221;][vc_column_text]Michael Swart COS, 2019[\/vc_column_text][\/vc_column_inner][vc_column_inner width=&#8221;1\/6&#8243;][vc_single_image image=&#8221;1066&#8243; img_size=&#8221;medium&#8221; css=&#8221;.vc_custom_1557182658877{margin-bottom: 0px !important;border-bottom-width: 0px !important;}&#8221;][vc_column_text]Matthew Payne Psychology, 2019[\/vc_column_text][\/vc_column_inner][vc_column_inner width=&#8221;1\/6&#8243;][\/vc_column_inner][vc_column_inner&hellip; <a class=\"read-more\" href=\"https:\/\/commons.princeton.edu\/epics\/about-2\/2019-2\/nintds\/\" title=\"Big Nintendo Color\"><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1379,"featured_media":1080,"parent":212,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-445","page","type-page","status-publish","has-post-thumbnail","hentry","category-12"],"_links":{"self":[{"href":"https:\/\/commons.princeton.edu\/epics\/wp-json\/wp\/v2\/pages\/445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/commons.princeton.edu\/epics\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/commons.princeton.edu\/epics\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/commons.princeton.edu\/epics\/wp-json\/wp\/v2\/users\/1379"}],"replies":[{"embeddable":true,"href":"https:\/\/commons.princeton.edu\/epics\/wp-json\/wp\/v2\/comments?post=445"}],"version-history":[{"count":4,"href":"https:\/\/commons.princeton.edu\/epics\/wp-json\/wp\/v2\/pages\/445\/revisions"}],"predecessor-version":[{"id":1431,"href":"https:\/\/commons.princeton.edu\/epics\/wp-json\/wp\/v2\/pages\/445\/revisions\/1431"}],"up":[{"embeddable":true,"href":"https:\/\/commons.princeton.edu\/epics\/wp-json\/wp\/v2\/pages\/212"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/commons.princeton.edu\/epics\/wp-json\/wp\/v2\/media\/1080"}],"wp:attachment":[{"href":"https:\/\/commons.princeton.edu\/epics\/wp-json\/wp\/v2\/media?parent=445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/commons.princeton.edu\/epics\/wp-json\/wp\/v2\/categories?post=445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/commons.princeton.edu\/epics\/wp-json\/wp\/v2\/tags?post=445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}