o pensensor part 6 installing software on the opensensor

9
opensensor - information material version 1.0 Aalborg University, Mobile Device Group opensensor Part 6 Installing software on the opensensor Frank H.P. Fitzek Anders Grauballe Gian Paolo Perrucci Ben Kroeger Aalborg University Stephan Rein Technical University of Berlin

Upload: jagger

Post on 09-Feb-2016

52 views

Category:

Documents


0 download

DESCRIPTION

o pensensor Part 6 Installing software on the opensensor. o verview. Programming the opensensor ICD2 using MPLAB PICkit2 using PICkit2 software Software can be downloaded online. p rogramming w ith i cd2. MPLAB IDE and ICD2 Program the open sensor using the ICD2 programmer - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: o pensensor Part  6 Installing software on the opensensor

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

Page 2: o pensensor Part  6 Installing software on the opensensor

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

Page 3: o pensensor Part  6 Installing software on the opensensor

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

Page 4: o pensensor Part  6 Installing software on the opensensor

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

Page 5: o pensensor Part  6 Installing software on the opensensor

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

Page 6: o pensensor Part  6 Installing software on the opensensor

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”

Page 7: o pensensor Part  6 Installing software on the opensensor

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

Page 8: o pensensor Part  6 Installing software on the opensensor

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

[email protected]

http://mobiledevices.kom.aau.dk/opensensor/

Page 9: o pensensor Part  6 Installing software on the 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.