scipy conference 2012 a talk on sbhs virtual labs using
play

SciPy Conference 2012 A talk on SBHS Virtual labs using Python - PowerPoint PPT Presentation

SciPy Conference 2012 A talk on SBHS Virtual labs using Python Team SBHS led by Prof. Kannan Moudgalya Speaker Rupak Rokade Indian Institute of Technology Bombay Project funded by National Mission on Education through ICT,MHRD. December


  1. SciPy Conference 2012 A talk on SBHS Virtual labs using Python Team SBHS led by Prof. Kannan Moudgalya Speaker Rupak Rokade Indian Institute of Technology Bombay Project funded by National Mission on Education through ICT,MHRD. December 29, 2012 Rupak Rokade SBHS Vlabs using Python 1/17

  2. Virtual Labs ◮ Simulation Virtual lab ◮ Remote triggered Virtual lab Rupak Rokade SBHS Vlabs using Python 2/17

  3. Single Board Heater System Rupak Rokade SBHS Vlabs using Python 3/17

  4. Block diagram of SBHS Rupak Rokade SBHS Vlabs using Python 4/17

  5. What does this system do? Controlling the temperature of a blade ◮ by heating with heater ◮ by cooling with a fan Rupak Rokade SBHS Vlabs using Python 5/17

  6. Main components of SBHS ◮ Heater assembly Rupak Rokade SBHS Vlabs using Python 6/17

  7. Main components of SBHS ◮ Heater assembly ◮ Consists of an iron plate placed at a distance of about 3.5 mm from the nichrome coil Rupak Rokade SBHS Vlabs using Python 6/17

  8. Main components of SBHS ◮ Heater assembly ◮ Consists of an iron plate placed at a distance of about 3.5 mm from the nichrome coil ◮ Coil gets heated on passage of current Rupak Rokade SBHS Vlabs using Python 6/17

  9. Main components of SBHS ◮ Heater assembly ◮ Consists of an iron plate placed at a distance of about 3.5 mm from the nichrome coil ◮ Coil gets heated on passage of current ◮ Iron plate gets heated due to transfer of heat from coil through convection Rupak Rokade SBHS Vlabs using Python 6/17

  10. Main components of SBHS ◮ Heater assembly ◮ Consists of an iron plate placed at a distance of about 3.5 mm from the nichrome coil ◮ Coil gets heated on passage of current ◮ Iron plate gets heated due to transfer of heat from coil through convection ◮ Computer fan Rupak Rokade SBHS Vlabs using Python 6/17

  11. Main components of SBHS ◮ Heater assembly ◮ Consists of an iron plate placed at a distance of about 3.5 mm from the nichrome coil ◮ Coil gets heated on passage of current ◮ Iron plate gets heated due to transfer of heat from coil through convection ◮ Computer fan ◮ Positioned below the plate Rupak Rokade SBHS Vlabs using Python 6/17

  12. Main components of SBHS ◮ Heater assembly ◮ Consists of an iron plate placed at a distance of about 3.5 mm from the nichrome coil ◮ Coil gets heated on passage of current ◮ Iron plate gets heated due to transfer of heat from coil through convection ◮ Computer fan ◮ Positioned below the plate ◮ Meant for cooling the assembly Rupak Rokade SBHS Vlabs using Python 6/17

  13. Main components of SBHS ◮ Heater assembly ◮ Consists of an iron plate placed at a distance of about 3.5 mm from the nichrome coil ◮ Coil gets heated on passage of current ◮ Iron plate gets heated due to transfer of heat from coil through convection ◮ Computer fan ◮ Positioned below the plate ◮ Meant for cooling the assembly ◮ Temperature Sensor Rupak Rokade SBHS Vlabs using Python 6/17

  14. Main components of SBHS ◮ Heater assembly ◮ Consists of an iron plate placed at a distance of about 3.5 mm from the nichrome coil ◮ Coil gets heated on passage of current ◮ Iron plate gets heated due to transfer of heat from coil through convection ◮ Computer fan ◮ Positioned below the plate ◮ Meant for cooling the assembly ◮ Temperature Sensor ◮ AD590 Rupak Rokade SBHS Vlabs using Python 6/17

  15. Main components of SBHS ◮ Heater assembly ◮ Consists of an iron plate placed at a distance of about 3.5 mm from the nichrome coil ◮ Coil gets heated on passage of current ◮ Iron plate gets heated due to transfer of heat from coil through convection ◮ Computer fan ◮ Positioned below the plate ◮ Meant for cooling the assembly ◮ Temperature Sensor ◮ AD590 ◮ Reading in µ A per Kelvin Rupak Rokade SBHS Vlabs using Python 6/17

  16. Software architecture SBHS vlabs Server Computer Client Computer Python Python USB SBHS 1 Server HUB Client Network/ scilabwrite scilabread Internet SBHS 2 file file Database Server Scilab Web Web SBHS 7 Server Browser Rupak Rokade SBHS Vlabs using Python 7/17

  17. Implementation Rupak Rokade SBHS Vlabs using Python 8/17

  18. Implementation Server side Hardware access Rupak Rokade SBHS Vlabs using Python 8/17

  19. Implementation Server side Hardware access ◮ Python is used for interfacing to hardware Rupak Rokade SBHS Vlabs using Python 8/17

  20. Implementation Server side Hardware access ◮ Python is used for interfacing to hardware ◮ Serial library included Rupak Rokade SBHS Vlabs using Python 8/17

  21. Implementation Server side Hardware access ◮ Python is used for interfacing to hardware ◮ Serial library included ◮ Baud rate etc can be easily set Rupak Rokade SBHS Vlabs using Python 8/17

  22. Implementation Server side Hardware access ◮ Python is used for interfacing to hardware ◮ Serial library included ◮ Baud rate etc can be easily set ◮ Direct communication to /dev/ttyUSB* files Rupak Rokade SBHS Vlabs using Python 8/17

  23. Implementation contd... Rupak Rokade SBHS Vlabs using Python 9/17

  24. Implementation contd... Server side web hosting ◮ Socket, RMI, http etc.. ways of client-server communication Rupak Rokade SBHS Vlabs using Python 9/17

  25. Implementation contd... Server side web hosting ◮ Socket, RMI, http etc.. ways of client-server communication ◮ HTTP is chosen Rupak Rokade SBHS Vlabs using Python 9/17

  26. Implementation contd... Server side web hosting ◮ Socket, RMI, http etc.. ways of client-server communication ◮ HTTP is chosen ◮ Why? Rupak Rokade SBHS Vlabs using Python 9/17

  27. Implementation contd... Server side web hosting ◮ Socket, RMI, http etc.. ways of client-server communication ◮ HTTP is chosen ◮ Why? Rupak Rokade SBHS Vlabs using Python 9/17

  28. Implementation contd... Server side web hosting ◮ Socket, RMI, http etc.. ways of client-server communication ◮ HTTP is chosen ◮ Why?It is browser based Rupak Rokade SBHS Vlabs using Python 9/17

  29. Implementation contd... Server side web hosting ◮ Socket, RMI, http etc.. ways of client-server communication ◮ HTTP is chosen ◮ Why?It is browser based Rupak Rokade SBHS Vlabs using Python 9/17

  30. Implementation contd... Rupak Rokade SBHS Vlabs using Python 10/17

  31. Implementation contd... ◮ Obvious need of a web server Rupak Rokade SBHS Vlabs using Python 10/17

  32. Implementation contd... ◮ Obvious need of a web server ◮ Examples of web server, apache, nginx, IIS etc.. Rupak Rokade SBHS Vlabs using Python 10/17

  33. Implementation contd... ◮ Obvious need of a web server ◮ Examples of web server, apache, nginx, IIS etc.. ◮ But web server will handle only requests, routine calls and traffic management Rupak Rokade SBHS Vlabs using Python 10/17

  34. Implementation contd... ◮ Obvious need of a web server ◮ Examples of web server, apache, nginx, IIS etc.. ◮ But web server will handle only requests, routine calls and traffic management ◮ Need of server side scripting language Rupak Rokade SBHS Vlabs using Python 10/17

  35. Implementation contd... Rupak Rokade SBHS Vlabs using Python 11/17

  36. Implementation contd... ◮ Examples of server side scripting language, php, python, perl, asp etc.. Rupak Rokade SBHS Vlabs using Python 11/17

  37. Implementation contd... ◮ Examples of server side scripting language, php, python, perl, asp etc.. ◮ We choose python Rupak Rokade SBHS Vlabs using Python 11/17

  38. Implementation contd... ◮ Examples of server side scripting language, php, python, perl, asp etc.. ◮ We choose python ◮ But plane python will require coding from scratch Rupak Rokade SBHS Vlabs using Python 11/17

  39. Implementation contd... ◮ Examples of server side scripting language, php, python, perl, asp etc.. ◮ We choose python ◮ But plane python will require coding from scratch ◮ Choose Django (python based web development framework) Rupak Rokade SBHS Vlabs using Python 11/17

  40. Implementation contd... Rupak Rokade SBHS Vlabs using Python 12/17

  41. Implementation contd... Why Django ? Rupak Rokade SBHS Vlabs using Python 12/17

  42. Implementation contd... Why Django ? ◮ Session management Rupak Rokade SBHS Vlabs using Python 12/17

  43. Implementation contd... Why Django ? ◮ Session management ◮ Data security Rupak Rokade SBHS Vlabs using Python 12/17

  44. Implementation contd... Why Django ? ◮ Session management ◮ Data security ◮ Url management Rupak Rokade SBHS Vlabs using Python 12/17

  45. Implementation contd... Rupak Rokade SBHS Vlabs using Python 13/17

  46. Implementation contd... Client side ◮ Python client Rupak Rokade SBHS Vlabs using Python 13/17

  47. Implementation contd... Client side ◮ Python client ◮ Separate settings file Rupak Rokade SBHS Vlabs using Python 13/17

  48. Implementation contd... Client side ◮ Python client ◮ Separate settings file ◮ GET and POST technique Rupak Rokade SBHS Vlabs using Python 13/17

  49. Implementation contd... Rupak Rokade SBHS Vlabs using Python 14/17

  50. Implementation contd... URL’s ◮ http://vlabs.iitb.ac.in/sbhs/hardware /checkconnection Rupak Rokade SBHS Vlabs using Python 14/17

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend