S.N.A.K.E.: A Dynamically Reconfigurable Artificial Sensate Skin ...
S.N.A.K.E.: A Dynamically Reconfigurable Artificial Sensate Skin ...
S.N.A.K.E.: A Dynamically Reconfigurable Artificial Sensate Skin ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
3.4.3 Communications unit<br />
The Communications unit is made up by the I 2 C bus that connects it to a <strong>Skin</strong> Patch, and<br />
the USB link that connects it to a PC. Furthermore, the I 2 C module is composed of the<br />
active pull-up devices described before, a header to connect the brain to a <strong>Skin</strong> Patch, and<br />
the I 2 C module of the MSP430 microcontroller. The USB module is formed by the USB<br />
controller circuitry, the USB headers, and an external crystal.<br />
Active pull-up devices were created with two XP02401 dual PNP transistors connected<br />
as a current mirror, and a biasing resistor. The biasing resistor was chosen so that the<br />
current injected by the current mirror to each one of the two I 2 C lines was not over the<br />
allowed maximum input current of the MSP430 microcontroller (2mA). This can be easily<br />
calculated as follows:<br />
Imax > Vcc − 0.6V<br />
Rmin<br />
3.3V − 0.6V<br />
Rmin ><br />
2ma<br />
(3.2)<br />
(3.3)<br />
Rmin > 1350Ω (3.4)<br />
A 1.5KΩ resistor was then used for biasing the current mirror.<br />
USB communication was achieved thanks to FTDI’s FT245BM USB chip. This device is a<br />
USB to FIFO interface chip, that allows any microcontroller to easily have USB connectivity.<br />
The device requires its own clocking source, so a 6.000Mhz crystal is also included. Also,<br />
if the device is to be named and given a serial number 21 then an EEPROM must be used,<br />
and so a 93LC46B EEPROM chip from Microchip was also included. FTDI provides a very<br />
detailed design guide[12] for their chips, the Brain’s USB circuitry is based on their “self<br />
powered 3.3V example”.<br />
Finally, it would be prudent to mention that if multiple Brains will be connected to a PC,<br />
21 This is usually done so that multiple devices of the same type can be later identified<br />
76