Notebook Check 3
Notebook Check 3
No due date
Thermistor Arduino Connection
No description
down to 30 mm to match one of our design speci cs. Dierent needle lengths will be required for our
design speci cations, however, for now, we decide to experiment with the longest length (30mm) as it
is much easier to handle during experiments. As for anchoring the thermistor head inside the needle,
we used hot glue gun to glue the non-tip end (the back end) to make sure the structure stays intact.
No due date
Thermistor Arduino Codes (Revised)
No description
de ne THERMISTORPIN A0
// resistance at 25 degrees C
de ne THERMISTORNOMINAL 10000
// temp. for nominal resistance (almost always 25 C)
de ne TEMPERATURENOMINAL 25
// how many samples to take and average, more takes longer // but is more 'smooth'
de ne NUMSAMPLES 5
// The beta coecient of the thermistor (usually 3000-4000)
de ne BCOEFFICIENT 3450
// the value of the 'other' resistor
de ne SERIESRESISTOR 10000
int samples[NUMSAMPLES];
// take N samples in a row, with a slight delay for (i=0; i< NUMSAMPLES; i++) { samples[i] =
analogRead(THERMISTORPIN); delay(10); }
// average all the samples out average = 0; for (i=0; i< NUMSAMPLES; i++) { average += samples[i]; }
average /= NUMSAMPLES;
2/6
3/31/2017 Mech/Electricalexperiment|Report
// convert the value to resistance average = 1023 / average - 1; average = SERIESRESISTOR / average;
Serial.print("Thermistor resistance "); Serial.println(average);
delay(1000); }
de ne SERIESRESISTOR 10000
// What pin to connect the sensor to
de ne THERMISTORPIN A0
void setup(void) { Serial.begin(9600); }
reading = analogRead(THERMISTORPIN);
// convert the value to resistance reading = (1023 / reading) - 1; reading = SERIESRESISTOR / reading;
Serial.print("Thermistor resistance "); Serial.println(reading);
delay(200); }
No due date
Thermistor and Needle integration
No description
3/6
3/31/2017 Mech/Electricalexperiment|Report
No due date
Arduino Bluetooth Instructions
No description
4/6
3/31/2017 Mech/Electricalexperiment|Report
Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data. These pins are connected
to the corresponding pins of the Bluegiga WT11 module.
External Interrupts: 2 and 3. These pins can be con gured to trigger an interrupt on a low value, a
rising or falling edge, or a change in value.
PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite() function.
SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK). These pins support SPI communication, which, although
provided by the underlying hardware, is not currently included in the Arduino language.
BT Reset: 7. Connected to the reset line of the Bluegiga WT11 module, which is active high.
LED: 13. There is a built-in LED connected to digital pin 13. When the pin is HIGH value, the LED is on,
when the pin is LOW, it's o.
The BT has 6 analog inputs, each of which provide 10 bits of resolution (i.e. 1024 dierent values). By
default they measure from ground to 5 volts, though is it possible to change the upper end of their
range using the AREF pin and some low-level code. Additionally, some pins have specialized
functionality:
I2C: 4 (SDA) and 5 (SCL). Support I2C (TWI) communication using the Wire library (documentation on
the Wiring website). There are a couple of other pins on the board:
AREF. Reference voltage for the analog inputs. Used with analogReference().
+VIN. The input voltage to the Arduino board (i.e. the same as the V+ screw terminal). We can supply
voltage through this pin, or, if supplying voltage via the screw terminals, access it through this pin.
5V. This pin outputs a regulated 5V from the regulator on the board. The board can be supplied with
power either from the screw terminal (2.5V - 12V) or the VIN pin of the board (2.5V-12V). Supplying
voltage via the 5V or 3.3V pins bypasses the regulator, and can damage our board. We will probably
not consider it.
Don't power the board with more than 12 volts or reverse the polarity (power and ground pins) of
power supply, or we might kill the ATmega328 on the Arduino BT. Higher voltages or reversed polarity
in the power supply can damage or destroy the board. The protection for reverse polarity connection is
ONLY on the screw terminal. The Arduino BT can, however, run with a minimum of 2.5 volts, making it
easier to power with batteries.
The microcontroller (an ATmega328) on the Arduino BT is a physically smaller version of the chip on
the USB Arduino boards. We should not remove it, so if we kill it, we need a new Arduino BT.
5/6
3/31/2017 Mech/Electricalexperiment|Report
There are two extra analog inputs on the Arduino BT (8 total). Two of these, however, are not
connected to the pin headers on the board; we'll need to solder something to the pads next to the
numbers "6" and "7".
Pin 7 is connected to the reset pin of the bluetooth module; we should not use it for anything (except
resetting the module).
First, pair the Arduino BT with computer and create a virtual serial port for it. Look for a bluetooth
device called ARDUINOBT and the pass code is 12345. Select Arduino BT from the Tools | Board menu
of the Arduino environment. When uploading to the Arduino BT, you may need to press the reset
button on the board shortly before (or shortly after) clicking upload in the Arduino software.
6/6
3/31/2017 Researchmaterial|Report
No due date
FDA validation
No description
* PPQ protocol execution and report Created by Hehaoyu Zou on 31.03.2017 14:10.
Discuss and cross-reference all aspects of the protocol.
Summarize data collected and analyze the data, as speci ed by the protocol.
Evaluate any unexpected observations and additional data not speci ed in the protocol.
Summarize and discuss all manufacturing nonconformances such as deviations, aberrant test results,
or other information that has bearing on the validity of the process.
Describe in su cient detail any corrective actions or changes that should be made to existing
procedures and controls.
State a clear conclusion as to whether the data indicates the process met the conditions established
in the protocol and whether the process is considered to be in a state of control. If not, the report
should state what should be accomplished before such a conclusion can be reached. This conclusion
should be based on a documented justi cation for the approval of the process, and release of lots
produced by it to the market in consideration of the entire compilation of knowledge and information
gained from the design stage through the process quali cation stage.
Include all appropriate department and quality unit review and approvals.
First, Sampling and testing of in-process materials and drug products, requires that control procedures
be established to monitor the output and to validate the performance of those manufacturing
processes that may be responsible for causing variability in the characteristics of in-process material
and the drug product (emphasis added). In addition, the CGMP regulations regarding sampling set
forth a number of requirements for validation: samples must represent the batch under analysis ; the
sampling plan must result in statistical con dence ; and the batch must meet its predetermined
speci cations.
1/2
3/31/2017 Researchmaterial|Report
In addition to sampling requirements, the CGMP regulations also provide norms for establishing in-
process speci cations as an aspect of process validation. The rst principle is that . . . in-process
speci cations for such characteristics [of in-process material and the drug product] shall be consistent
with drug product nal speci cations . . . . The second principle in this regulation further requires that
in-process speci cations . . . shall be derived from previous acceptable process average and process
variability estimates where possible and determined by the application of suitable statistical
procedures where appropriate.
The CGMP regulations also describe and de ne activities connected with process design, development,
and maintenance. Section 211.180(e) requires that information and data about product quality and
manufacturing experience be periodically reviewed to determine whether any changes to the
established process are warranted. Ongoing feedback about product quality and process performance
is an essential feature of process maintenance.
Understand the impact of variation on the process and ultimately on product attributes
Control the variation in a manner commensurate with the risk it represents to the process and
product
2/2