Components arrived: Xbee *2, Transistor DS18B20
Target: to connect the microcontroller (a borrowed arduino uno) to PC and show the temperature measured by transistor on pc's arduino developing environment.
Finished the task by 4 pm. on experiment day.
Used a borrowed A to B type usb cable to connect the uno to pc.
Ordered for a new usb cable.
Developing Environment: arduino-1.0.2, download from official website.
Problems encountered:
1. Cannot install arduino's driver to detect the board since we don't have the access to the administrator's account on campus pc. Problem solved by using my own laptop.
2. Connected wrong pin of the transistor to the board which leaded to high temperature of the component. Problem solved by checking data sheet of transistor ds18b20 carefully.
3. Cannot read the serial number of the transistor. Temperature cannot be read without the address. Problem solved by modify the existing one wire address finder program.(connected pin 2 but wrote pin 3 in code)
No comments:
Post a Comment