{"id":3167,"date":"2018-09-08T15:16:35","date_gmt":"2018-09-08T19:16:35","guid":{"rendered":"https:\/\/umaine.edu\/jmb\/?page_id=3167"},"modified":"2018-09-12T13:12:57","modified_gmt":"2018-09-12T17:12:57","slug":"volume-39-numbers-1-and-2-winter-and-spring-2018-special-issue","status":"publish","type":"page","link":"https:\/\/umaine.edu\/jmb\/volume-39-numbers-1-and-2-winter-and-spring-2018-special-issue\/","title":{"rendered":"Volume 39, Numbers 1 and 2, Winter and Spring 2018 (Special Issue)"},"content":{"rendered":"<div style=\"color: #000000;text-align: left\" align=\"right\">\n<div style=\"text-align: left\"><strong>Volume 39, Numbers 1 and 2, Winter and Spring 2018<\/strong> (Special Issue)<\/div>\n<div class=\"indent\" style=\"text-align: left\"><em style=\"text-align: justify\">The Propeller Experiment Controller:\u00a0Automation for the Comparative\u00a0Analysis of Behavior in Research\u00a0and Teaching<\/em> by\u00a0Christopher A. Varnon, Converse College\u00a0and\u00a0Charles I. Abramson, Oklahoma State University<\/div>\n<\/div>\n<p style=\"color: #000000;text-align: left\"><span class=\"articleheading\" style=\"font-weight: bold;color: #336699\">Chapter One: Introduction<\/span><\/p>\n<p style=\"color: #000000;text-align: left\">The purpose of this document is to provide detailed descriptions of the Propeller\u00a0Experiment Controller (PEC). The PEC is free, open-source software for\u00a0the Parallax Propeller microcontroller (Parallax Inc.; Rocklin, California) that\u00a0is designed to meet the basic needs of automated behavioral research. First, the\u00a0PEC <em>detects<\/em><span class=\"Apple-converted-space\">\u00a0 <\/span>behavioral and environmental variables, such as the lever-pressing\u00a0behavior of a rat in an operant chamber, or the ambient temperature. Second, it\u00a0<em>affects<\/em><span class=\"Apple-converted-space\">\u00a0 <\/span>the environment, in turn often indirectly affecting a subject\u2019s behavior.\u00a0For example, the PEC may control a pellet dispenser, shock grid, stimulus light,\u00a0or heater. Third, the PEC <em>saves<\/em><span class=\"Apple-converted-space\">\u00a0 <\/span>detailed data about any event of interest in an\u00a0experiment (i.e., dependent and independent variables). In addition to producing\u00a0its own standard data spreadsheet, the PEC also supports MedPC formatted\u00a0data, a common standard, and user-customized data output. Finally, the PEC\u00a0implements the above needs (detect, affect, and save) at very precise intervals of\u00a0<em>time<\/em><span class=\"Apple-converted-space\">\u00a0 <\/span>while also allowing the user to execute events at specific times and record\u00a0temporal variables. The PEC also goes beyond the basic needs of behavioral\u00a0research in that it is both uniquely <em>portable<\/em>, not requiring a connection to a\u00a0computer, and is very <em>affordable<\/em><span class=\"Apple-converted-space\">\u00a0 <\/span>compared to commercial alternatives, costing\u00a0under $100.00 for the basic experiment controller.<\/p>\n<p style=\"color: #000000;text-align: left\"><span class=\"articleheading\" style=\"font-weight: bold;color: #336699\">Chapter Two: Technical Specifications of the Parallax Propeller<\/span><\/p>\n<p style=\"color: #000000;text-align: left\"><span class=\"articleabstract\">The Propeller Experiment Controller (PEC) is designed around the capabilities of the Parallax Propeller microcontroller. In this chapter, we will provide an overview the Propeller\u2019s hardware. We will not provide a comprehensive description of the Propeller\u2019s features, instead we will offer an informative framework as a necessary foundation for later discussion of the PEC. The Propeller Datasheet (Parallax Semiconductor, 2012) and Propeller Manual (Martin, 2011) should remain the primary reference on the technical specifications of the Propeller. To make the most of this chapter, the reader should have a basic understanding of electronics. Many introductory resources are available online (see Appendix B), including Parallax\u2019s website.<\/span><\/p>\n<p style=\"color: #000000;text-align: left\"><span class=\"articleheading\" style=\"font-weight: bold;color: #336699\">Chapter Three: Programming the Propeller with Spin<\/span><\/p>\n<p style=\"color: #000000;text-align: left\"><span class=\"articleabstract\">The Propeller can be programmed in several languages, including the Propeller&#8217;s native languages, Spin and Propeller Assembly (PASM), as well and as C\/C++. The Propeller Experiment Controller (PEC) software is currently available in Spin, so we will only discuss use of this language. Spin is a high-level language created specifically for the Propeller. High-level languages are designed to be easy to use, but do not directly give instructions to a microcontroller or computer. Instead, high-level languages must be transformed into a low-level language that is specific to the hardware being used. For the Propeller, the low-level language is PASM. The transformation from high-to low-level languages can be done by interpreting during operation, or by compiling before a program begins. Generally, interpreted code is slower than compiled code. Spin presents an interesting intermediate between an interpreted and a compiled language. Spin is initially compiled into bytecode, but the bytecode itself is interpreted as a program runs. PASM does not require interpretation and is thus much faster than Spin. However, as a low-level language, PASM is also generally harder to use. Fortunately, Spin programs can launch PASM programs in a new cog, allowing an easy-to-use Spin program to also implement fast, powerful PASM functions. The PEC uses this technique in several cases. The code for communication with an SD card, for example, is written in PASM and is very fast. However, it can be controlled by the user with simple and efficient Spin statements.<\/span><\/p>\n<p style=\"color: #000000;text-align: left\"><span class=\"articleheading\" style=\"font-weight: bold;color: #336699\">Chapter Four: Getting Started with the Propeller Experiment Controller<\/span><br \/>\nThis chapter describes how to get started with the Propeller Experiment Controller (PEC). It provides information on acquiring the necessary hardware and installing software. There are many hardware options when setting up a system that uses the PEC, much of this will vary based on individual needs. The Propeller Datasheet (Parallax Semiconductor, 2012), Propeller Manual (Martin, 2011), and other information on Parallax\u2019s website (Parallax.com) can be useful for determining the best setup for your application. As the specific needs vary per application, we cannot provide a tutorial on every option. Instead, we provide an overview of the commonly used hardware suitable for someone new to microcontrollers.<\/p>\n<p style=\"color: #000000;text-align: left\"><span class=\"articleheading\" style=\"font-weight: bold;color: #336699\">Chapter Five: Propeller Experiment Controller Overview<\/span><\/p>\n<p style=\"color: #000000;text-align: left\"><span class=\"articleabstract\">The Propeller Experiment Controller (PEC) software primarily consists of two interdependent Spin objects: Experimental Event and Experimental Functions. Both objects contain a variety of methods that allow the user to execute complex tasks using simple, concise instructions. These objects were designed to work together to fulfill the complex requirements of behavioral research, and often use a specific workflow to implement an experiment. In this chapter, we provide an overview of the PEC system, describing the overall roles of Experimental Event and Experimental Functions, and discuss the basic workflow of a typical experiment. More detailed descriptions of Experimental Event and Experimental Functions are provided in Chapter 6 and Chapter 7, respectively.<\/span><\/p>\n<p style=\"color: #000000;text-align: left\"><span class=\"articleheading\" style=\"font-weight: bold;color: #336699\">Chapter Six: Experimental Event<\/span><\/p>\n<p style=\"color: #000000;text-align: left\"><span class=\"articleabstract\">Experimental Event has a number of public methods that can be used in an experiment program. The public methods can be used in any program that imports the Experimental Event object. A number of private methods are also present, but these cannot be used by parent programs. The following sections describe the pubic methods in Experimental Event that users may employ in their programs. The headers for each section represent the method name, with the method parameters in parenthesis. This is the same general format as would appear in a program.<\/span><\/p>\n<p style=\"color: #000000;text-align: left\"><span class=\"articleheading\" style=\"font-weight: bold;color: #336699\">Chapter Seven: Experimental Functions<\/span><\/p>\n<p style=\"color: #000000;text-align: left\"><span class=\"articleabstract\">The Propeller Experiment Controller\u2019s (PEC) Experimental Functions object provides a variety of public methods to fill the diverse needs of behavioral experiments. To accomplish this, many of the methods in Experimental Functions have multiple variations, such as the several variations of the StartExperiment method. Other methods are related and codependent. For example, the SetFrequency method can generate audio frequencies on I\/O pins, but it first requires a StartFrequencyGenerator method to be used. Because of the relationships between the methods in Experimental Functions, the methods are grouped together into method families. In the following sections, we will discuss each method family, as well as individual public methods of Experimental Functions. Private methods cannot be used in other programs and thus will not be discussed. The headers for each method represent the method name, with the method parameters in parenthesis.<\/span><\/p>\n<p style=\"color: #000000;text-align: left\"><span class=\"articleheading\" style=\"font-weight: bold;color: #336699\">Chapter Eight: Applications of the Propeller Experiment Controller<\/span><\/p>\n<p style=\"color: #000000;text-align: left\"><span class=\"articleabstract\">This chapter describes some applications of the Propeller Experiment Controller (PEC). First, it describes how to connect the Propeller to some common types of equipment and how to interface with this equipment using the PEC\u2019s Experimental Event and Experimental Functions objects. Second, it demonstrates several different variations of the PEC\u2019s standard workflow, as well as how the workflow can be adapted to many purposes. Finally, this chapter provides an overview of several of our implementations of the PEC in order to provide a greater understanding of the capabilities of the PEC. Variations and expansions of these applications will provide the user with a number of possibilities. It is up to the user to decide what implementation of the PEC will work best for his or her purpose.<\/span><\/p>\n<p style=\"color: #000000;text-align: left\"><span class=\"articleheading\" style=\"font-weight: bold;color: #336699\">Chapter Nine: Future Directions and Conclusion<\/span><\/p>\n<p style=\"color: #000000;text-align: left\"><span class=\"articleabstract\">The Propeller Experiment Controller (PEC) was developed to meet the needs of research in our laboratory, beginning with a master\u2019s thesis on sexual conditioning in pigeons (Varnon, 2013), and the development of an inexpensive conditioning and learning laboratory (Varnon and Abramson, 2013). As we continued to use the PEC in our laboratory, additional features were added to solve unique problems that we encountered. For example, the methods to record and save raw data events were developed specifically to help a student record light emitted by bioluminescent algae. Development of raw data events allowed us to investigate, not only if the algae illuminated, but also the brightness of the light. Many such features have been added to the PEC over the course of its development, and these additions have proved to be instrumental to using the Propeller as an experiment controller. In the following sections, we describe some potential areas of future development that may also be useful in many applications of the PEC.<\/span><\/p>\n<p style=\"color: #000000;text-align: left\"><span style=\"color: #336699\"><strong><span class=\"bookrevieweraffiliation\">Appendix A: Glossary<\/span><\/strong><\/span><\/p>\n<p style=\"color: #000000;text-align: left\"><span style=\"color: #336699\"><strong><span class=\"bookrevieweraffiliation\">Appendix B: Useful Links<\/span><\/strong><\/span><\/p>\n<p style=\"color: #000000;text-align: left\"><span style=\"color: #336699\"><strong><span class=\"bookrevieweraffiliation\">Appendix C: Character Charts<\/span><\/strong><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Volume 39, Numbers 1 and 2, Winter and Spring 2018 (Special Issue) The Propeller Experiment Controller:\u00a0Automation for the Comparative\u00a0Analysis of Behavior in Research\u00a0and Teaching by\u00a0Christopher A. Varnon, Converse College\u00a0and\u00a0Charles I. Abramson, Oklahoma State University Chapter One: Introduction The purpose of this document is to provide detailed descriptions of the Propeller\u00a0Experiment Controller (PEC). The PEC is [&hellip;]<\/p>\n","protected":false},"author":1232,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-3167","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Volume 39, Numbers 1 and 2, Winter and Spring 2018 (Special Issue) - The Journal of Mind and Behavior - University of Maine<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/umaine.edu\/jmb\/volume-39-numbers-1-and-2-winter-and-spring-2018-special-issue\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Volume 39, Numbers 1 and 2, Winter and Spring 2018 (Special Issue) - The Journal of Mind and Behavior - University of Maine\" \/>\n<meta property=\"og:description\" content=\"Volume 39, Numbers 1 and 2, Winter and Spring 2018 (Special Issue) The Propeller Experiment Controller:\u00a0Automation for the Comparative\u00a0Analysis of Behavior in Research\u00a0and Teaching by\u00a0Christopher A. Varnon, Converse College\u00a0and\u00a0Charles I. Abramson, Oklahoma State University Chapter One: Introduction The purpose of this document is to provide detailed descriptions of the Propeller\u00a0Experiment Controller (PEC). The PEC is [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/umaine.edu\/jmb\/volume-39-numbers-1-and-2-winter-and-spring-2018-special-issue\/\" \/>\n<meta property=\"og:site_name\" content=\"The Journal of Mind and Behavior\" \/>\n<meta property=\"article:modified_time\" content=\"2018-09-12T17:12:57+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/umaine.edu\/jmb\/volume-39-numbers-1-and-2-winter-and-spring-2018-special-issue\/\",\"url\":\"https:\/\/umaine.edu\/jmb\/volume-39-numbers-1-and-2-winter-and-spring-2018-special-issue\/\",\"name\":\"Volume 39, Numbers 1 and 2, Winter and Spring 2018 (Special Issue) - The Journal of Mind and Behavior - University of Maine\",\"isPartOf\":{\"@id\":\"https:\/\/umaine.edu\/jmb\/#website\"},\"datePublished\":\"2018-09-08T19:16:35+00:00\",\"dateModified\":\"2018-09-12T17:12:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/umaine.edu\/jmb\/volume-39-numbers-1-and-2-winter-and-spring-2018-special-issue\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/umaine.edu\/jmb\/volume-39-numbers-1-and-2-winter-and-spring-2018-special-issue\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/umaine.edu\/jmb\/volume-39-numbers-1-and-2-winter-and-spring-2018-special-issue\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/umaine.edu\/jmb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Volume 39, Numbers 1 and 2, Winter and Spring 2018 (Special Issue)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/umaine.edu\/jmb\/#website\",\"url\":\"https:\/\/umaine.edu\/jmb\/\",\"name\":\"The Journal of Mind and Behavior\",\"description\":\"Dedicated to the interdisciplinary approach within psychology and related fields\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/umaine.edu\/jmb\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Volume 39, Numbers 1 and 2, Winter and Spring 2018 (Special Issue) - The Journal of Mind and Behavior - University of Maine","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/umaine.edu\/jmb\/volume-39-numbers-1-and-2-winter-and-spring-2018-special-issue\/","og_locale":"en_US","og_type":"article","og_title":"Volume 39, Numbers 1 and 2, Winter and Spring 2018 (Special Issue) - The Journal of Mind and Behavior - University of Maine","og_description":"Volume 39, Numbers 1 and 2, Winter and Spring 2018 (Special Issue) The Propeller Experiment Controller:\u00a0Automation for the Comparative\u00a0Analysis of Behavior in Research\u00a0and Teaching by\u00a0Christopher A. Varnon, Converse College\u00a0and\u00a0Charles I. Abramson, Oklahoma State University Chapter One: Introduction The purpose of this document is to provide detailed descriptions of the Propeller\u00a0Experiment Controller (PEC). The PEC is [&hellip;]","og_url":"https:\/\/umaine.edu\/jmb\/volume-39-numbers-1-and-2-winter-and-spring-2018-special-issue\/","og_site_name":"The Journal of Mind and Behavior","article_modified_time":"2018-09-12T17:12:57+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/umaine.edu\/jmb\/volume-39-numbers-1-and-2-winter-and-spring-2018-special-issue\/","url":"https:\/\/umaine.edu\/jmb\/volume-39-numbers-1-and-2-winter-and-spring-2018-special-issue\/","name":"Volume 39, Numbers 1 and 2, Winter and Spring 2018 (Special Issue) - The Journal of Mind and Behavior - University of Maine","isPartOf":{"@id":"https:\/\/umaine.edu\/jmb\/#website"},"datePublished":"2018-09-08T19:16:35+00:00","dateModified":"2018-09-12T17:12:57+00:00","breadcrumb":{"@id":"https:\/\/umaine.edu\/jmb\/volume-39-numbers-1-and-2-winter-and-spring-2018-special-issue\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/umaine.edu\/jmb\/volume-39-numbers-1-and-2-winter-and-spring-2018-special-issue\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/umaine.edu\/jmb\/volume-39-numbers-1-and-2-winter-and-spring-2018-special-issue\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/umaine.edu\/jmb\/"},{"@type":"ListItem","position":2,"name":"Volume 39, Numbers 1 and 2, Winter and Spring 2018 (Special Issue)"}]},{"@type":"WebSite","@id":"https:\/\/umaine.edu\/jmb\/#website","url":"https:\/\/umaine.edu\/jmb\/","name":"The Journal of Mind and Behavior","description":"Dedicated to the interdisciplinary approach within psychology and related fields","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/umaine.edu\/jmb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"taxonomy_info":[],"featured_image_src_large":false,"author_info":{"display_name":"rruss","author_link":"https:\/\/umaine.edu\/jmb\/author\/rruss\/"},"comment_info":0,"_links":{"self":[{"href":"https:\/\/umaine.edu\/jmb\/wp-json\/wp\/v2\/pages\/3167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/umaine.edu\/jmb\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/umaine.edu\/jmb\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/umaine.edu\/jmb\/wp-json\/wp\/v2\/users\/1232"}],"replies":[{"embeddable":true,"href":"https:\/\/umaine.edu\/jmb\/wp-json\/wp\/v2\/comments?post=3167"}],"version-history":[{"count":4,"href":"https:\/\/umaine.edu\/jmb\/wp-json\/wp\/v2\/pages\/3167\/revisions"}],"predecessor-version":[{"id":3188,"href":"https:\/\/umaine.edu\/jmb\/wp-json\/wp\/v2\/pages\/3167\/revisions\/3188"}],"wp:attachment":[{"href":"https:\/\/umaine.edu\/jmb\/wp-json\/wp\/v2\/media?parent=3167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}