opensensor - information material version 1.0 Aalborg University, Mobile Device Group
opensensor Part 6
Installing software on the opensensor
Frank H.P. FitzekAnders GrauballeGian Paolo PerrucciBen Kroeger Aalborg University
Stephan ReinTechnical University of Berlin
opensensor - information material Aalborg University, Mobile Device Group
Fitzek/Rein/Grauballe/Perrucci/Kroeger Aalborg University and Technical University of Berlin
overview
Programming the opensensor• ICD2 using MPLAB• PICkit2 using PICkit2 software• Software can be downloaded online
opensensor - information material Aalborg University, Mobile Device Group
Fitzek/Rein/Grauballe/Perrucci/Kroeger Aalborg University and Technical University of Berlin
programming with icd2
• MPLAB IDE and ICD2
• Program the open sensor using the ICD2 programmer
• Connet the ICD2 programmerto your computer and the opensensor
• Connect a battery and disconnect the nRF905 module
• Select the programmer fromthe list
opensensor - information material Aalborg University, Mobile Device Group
Fitzek/Rein/Grauballe/Perrucci/Kroeger Aalborg University and Technical University of Berlin
programming with icd2
• MPLAB IDE and ICD2
• Select program device
• The output window displaysMPLAB ICD 2 Readywhen the opensensoris programmed
• You have now programmedyour first program to theopensensor
opensensor - information material Aalborg University, Mobile Device Group
Fitzek/Rein/Grauballe/Perrucci/Kroeger Aalborg University and Technical University of Berlin
programming with pickit2
• PICkit2 programmer
• Program the open sensor using the PICkit2 programmer
• Connet the ICD2 programmerto your computer and the opensensor
• Connect a battery and disconnect the nRF905 module
• Start the PICkit2 programmer software
opensensor - information material Aalborg University, Mobile Device Group
Fitzek/Rein/Grauballe/Perrucci/Kroeger Aalborg University and Technical University of Berlin
programming with pickit2
• PICkit2 programmer
• Import the compiled hex file in the file menu, hex file is located in the project directory)
• The program will display ”Hex file successfully imported”
opensensor - information material Aalborg University, Mobile Device Group
Fitzek/Rein/Grauballe/Perrucci/Kroeger Aalborg University and Technical University of Berlin
programming with pickit2
• PICkit2 programmer
• Select Write in the program
• The program will display ”Programming successful” and the box will turn green if the opensensor was sucessfully programmed.
• You have now programmedyour first program to theopensensor
opensensor - information material Aalborg University, Mobile Device Group
Fitzek/Rein/Grauballe/Perrucci/Kroeger Aalborg University and Technical University of Berlin
contact
Frank H.P. FitzekAnders GrauballeGian Paolo PerrucciBen Kroeger Aalborg University
Stephan ReinTechnical University of Berlin
http://mobiledevices.kom.aau.dk/opensensor/
opensensor - information material Aalborg University, Mobile Device Group
Fitzek/Rein/Grauballe/Perrucci/Kroeger Aalborg University and Technical University of Berlin
publication
• F.H.P. Fitzek and F. Reichert. Mobile Phone Programming and its Application to Wireless Networking. 2007. Springer.