-
Notifications
You must be signed in to change notification settings - Fork 0
Software
Open a command prompt in the "..CDPStudioWorkspace" folder and type in git clone https://github.com/CDPTechnologies/OneWireTemperatureSensor.git
If you wish, you can then take the Dashboard folder out of OneWireTemperatureSensor and put it into "..CDPStudioWorkspace\systems". The OneWireIO folder can much the same be placed into the "..CDPStudioWorkspace\libraries" folder.
"Right click the systems pane and click load project" or "click file->open file or project" or click "ctrl+o". In the "open file" menu, locate the "Dashboard\Dashboard.pro" file and open this. Do the same for the "OneWireIO\OneWireIO.pro" file.
The OneWireIO library will need us to specify the sensorid of the sensor that we wish to read:
The ID of the sensor can be found in the raspberry pi by doing the following:
- cd sys/bus/w1/devices
- ls
This will list out one or more sensor id's, the id's start with 28-0415xxxxxx for the DS18B20
After everything is wired up and you have the project opened up in CDP Studio you will have to locate the Raspberry pi from the device list on your network and type in the ssh credentials that you set up "the default is username:pi and password:raspberry".
You then select the raspberry as the device that you will deploy to, you will also have to select rasbian jessie as the toolkit. After you have done this you will be ready to rightclick the system and click run to deploy and run the system.
If you had troubles following the instructions above then I recommend taking a look at the help mode in CDP Studio. I recommend taking a look at the "Configure mode manual" and also the "Advanced Use -> Deployment Manual"