forked from georgesha/Conditioning_web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfix.html
87 lines (84 loc) · 4.5 KB
/
fix.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Arduino for rat</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.min.css">
<style>
body {
padding-top: 50px;
padding-bottom: 20px;
}
</style>
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="index.html">Arduino for rat</a>
<a class="navbar-brand" href="cc.html">Classical conditioning</a>
<a class="navbar-brand" href="fix.html">Fixed ratio</a>
<a class="navbar-brand" href="p.html">Progressive ratio</a>
<a class="navbar-brand" href="v.html">Variable ratio</a>
<a class="navbar-brand" href="sd.html">Discriminative stimuli</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
</div>
</div>
</nav>
<div class="container main">
<div class="row">
<div class="col-md-5">
<h1>Fixed ratio</h1>
</div>
</div>
<h2>Introduction</h2>
<p>Operant conditioning is a type of learning in which the strength of a behavior is modified by its consequences, such as reward and punishment. In this project, we only consider the case of reward, which is food delivered to the rat.</p>
<p>Fixed ratio operant conditioning is a sub-mode of operant conditioning, whose criterion that the rat can get the reward is constant. In this project, user enters the number of the button’s presses, if the rat completes this criterion, the reward (food) will be present to it following time sequence entered by user.</p>
<h2>Hardware Required</h2>
<ul>
<li>Arduino Uno * 1 ---- Main controlling board</li>
<li>Button * 1 ---- The number of presses be regarded as criterion</li>
<li>LED * 1 ---- Indication of the presses that lead to reward</li>
<li>Servo * 1 ---- Assuming it control the robotic arm to deliver and remove US</li>
<li>Resistor 560 Ohm * 1 ---- 560 Ohm to connect LED’s negative leg to ground</li>
<li>Resistor 10k Ohm * 1 ---- 10k Ohm to connect button to ground</li>
<li>Wires ---- Connect components with Arduino board</li>
</ul>
<h2>Circuit Connection</h2>
<img src="img/circuit_fix.jpg" alt="Circuit Connection">
<h2>Flow Diagram</h2>
<img src="img/diagram_fix.jpg" alt="Diagram">
<h2>Interface Instruction</h2>
<img src="img/interface_fix.jpg" alt="interface">
<p></p>
<br>
<p>How to use the interface</p>
<p>a) If user need to do the pre-test of hardware, check the box of PRE-TEST MODE without any other entry</p>
<p>b) If user need to implement the experiment and load previous configuration, check the box of load-config?. In this case, user do not need to enter any parameter below; Otherwise, user can enter new parameters and these will be saved into the file automatically.</p>
<p>c) parameters</p>
<p>Times: the number of presses user want the rat to achieve, i.e., the criterion</p>
<p>Interval: the time needed to between achieving the criterion and delivering the food.</p>
<p>Duration: the time that the reward is presented to the rat</p>
<p>(Above entries will be saved into the configuration file)</p>
<p>d) Press start to execute the experiment, and during this process, user can terminate the experiment at any time by pressing the exit button.</p>
<h2>Software interpretation</h2>
<p><a href="https://github.com/zsha2/Conditioning/blob/master/fix.py">Here</a>'s the link for the code</p>
</div>
<footer>
<p></p>
</footer>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>
window.jQuery || document.write('<script src="js/vendor/jquery-1.11.2.min.js"><\/script>')
</script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>