Skip to main content

Adding a New module in Contiki OS

Adding a new sensor in the exisiting board called as sht11 sensor.  It already has two sensors called temperature and humidity and

I am going to add pressure sensor.

Any sensors can be added.

Please listen to the full lecture to know about the fundamentals.

Step 1 : We will see the output in a html window through websense module

Sensor is recording a data to the browser. The browser shows two values , one is light sensor and another is tempeature, we will be adding two more values called
humidity and pressure in the browser.


Step 2: Do the modification as per the video.
As per the changes, please do make changes in the following files
sht11.c
sht11.h
sht11-sensors.c
sht11-sensors.h
sky-websense.c

Download the source code from this link
https://drive.google.com/drive/folders/1-WX0BUlorJCapwIS7YHg3QlfIS8PtsEj?usp=sharing

I have given the csc file also for opening the project directly in cooja.

https://www.youtube.com/tspradeepkumar

Refer and subscribe to my channel.
Thanks for watching.

Comments

Popular posts from this blog

Electrical Machine Design (equations)

FactorsDC Machine Transformers Induction Machines Synchronous MachinesOutput EquationPa=CoD2Ln, where Pa=P/h for generators, Pa=P for motorsFor Single Phase
Q=2.22 f Bm Ai Kw Aw d10-3
For Three Phase
Q=3.33 f Bm Ai Kw Aw d 10-3Q=CoD2 L ns
KVA Input Q=
HP * 0.746 / Cos f * hQ=CoD2 L ns
KVA Input Q=
HP * 0.746 / Cos f * h
For Turbo alternators
Q=1.11Bavac KwsVa2 L 10-3/nsOutput CoefficientCo=Bav ac* 10-3where Bav-magnetic loading and ac - electric loadingDNACo=11 Kws Bav ac 10-3Co=11 Kws Bav ac 10-3 Choice of Magnetic LoadingFlux Density in Teeth Frequency of Flux Reversals Size of machineDNAMagnetizing current, Flux Density, Iron lossIron loss, Stability, Voltage Rating, Parallel Operation, Transient ShortCircuit current Choice of Electric LoadingTemperature rise,
speed of machine, Voltage, Armature reaction, CommutationDNAOverload Capacity, Copper losses, Temperature rise, Leakage ReactanceCopper loss, Synchronous reactance, Temperature rise, Stray Load losses,
Voltage rating Flux …

Mannasim Installation in NS2 - NS2 Tutorial # 18

How to Access MOODLE in Intranet and Internet

When Moodle is accessed either in Intranet or internet, there will not be any issue. But occasions when the MOODLE Site has to be accessed both in the intranet and in the Internet, here is a simple trick
Server Used: IBM Blade Servers
Operating system: Windows Server 2008
Moodle Version: 2.4
WAMP Server is used.
Number of Users: 3000 (Students) + 200 (Faculty)
Open the config.php from ~/moodle/config.php
include these lines
$CFG->wwwroot = 'http://'.$server_id.'/vitcc';
$CFG->dataroot  = 'C:\\wamp\\moodledata';
before the following line
$CFG->directorypermissions = 07xx;
Restart the WAMP Server and you can Check MOODLE Site both in Internet and Intranet.

The above Image tells the intranet Link and the internet link can be opened outside the campus network