Showing posts with label Project. Show all posts
Showing posts with label Project. Show all posts

Wednesday, 16 December 2020

Scraping University Courses (part 2)

Previous Post: Part 1

See my codes on GitHub. For explanation on codes, please see the above Part 1 post.

The final code for web scraping incorporates the data extraction from the list of universities listed below. Given certain limitations in the web pages that are available and the limitations in my capabilities I have managed to obtain the list of courses from each university. For most universities the link to each course is also obtained from the same location.

The final output can be found here -> csv

Tuesday, 15 December 2020

Scraping University Courses (part 1)

 As a prospective student looking at starting a degree in an university, it is important to know which universities are offering the courses that you are looking for. In this project I am planning on writing some code to scrape through university pages to get a list of all courses that they offer. As my undergraduate is from the UK, I will be focusing only on UK universities at this time.

Wednesday, 4 November 2020

Raspberry Pi Camera Time-lapse

 Previous Post: Setting up your Raspberry Pi Camera

Once I set-up my Raspberry Pi camera, I wrote a simple script to take a picture from my camera every 2 minutes.


Friday, 30 October 2020

Setting up WiFi communication between Raspberry Pi and ESP8266 with MQTT

One of the fundamental components in setting up your DIY smart home or IoT project is to set-up the communication method between your devices and the server.

Given the most accessible wireless network to most of us is our home WiFi, I will be using the MQTT protocol to send messages over WiFi. The main server for this will be a Raspberry Pi and the devices (or clients) are ESP8266, ESP32 or similar devices

Home-made Raspberry Pi Media Center

When you have a number of laptops, phones PCs, TVs and tabs in your house in which you listen to music or watch movies and TV shows, it can be frustrating to sync all your media between each of the devices. I have set-up a Raspberry-Pi based media server in my house to be able to access my music, photos and other media from any device connected to my WiFi.

Powered by:




Wednesday, 6 May 2020

CoViD-19 Social Distance Enforcing Device

Hope you are keeping safe in 2020!
Social distancing is one of the top recommended ways to stop the spread of CoViD-19 disease by the WHO. It is also important to make sure that this is enforced at all times as people can be absent minded or accidentally come close to each other. This is especially true in crowded areas like hospitals and work places.


To mcontinuously onitor and enforce this I have come up with a simple ESP based  device. The idea is to provide everyone working in one location with this device that will continuously monitor if there is a similar device around them. If there is another similar distance around them close to a preset distance of roughly 1 meter or 3 meters according to the regulations in the location and use of PPE, the device will light up or ring loudly alerting the wearer to move away from the location or to be extra cautious.

Monday, 13 April 2020

Kivy based Project Dashboard


This is a custom dashboard that I designed for my Raspberry Pi attached to my Tabletop display which you can see here -> https://johnsamarasinghe.blogspot.com/2020/03/tabletop-screen.html. The dashboard design in Kivy with Python, allows you to view up to six projects at once, along with an about section and link to view all other projects.



Sunday, 29 March 2020

Tabletop Screen

This is a project that I wanted to do for a quite a while.
I had a very old laptop where the screen had come off and I wasn't able to use the laptop any more. So I decided to embed the screen to my electronics table so that I can use the screen to display some information that I want to look up while working.


Wednesday, 12 February 2020

NFC Enabled Invitations Cards (+ Analytics for a Sri Lankan Wedding)

Invitation cards are one of the key components of a big event. It provides a description of the event, time, venue, dress code and other important information the invitee needs to know. These are generally a one way mode of communication. The organizer hands out the invitation card to the invitees, the invitees make a note of the details and that's the end of that.

For my wedding I wanted to push the limits of wedding invitation cards in order to provide some ease for the invitees. In order to achieve this I pasted a cheap NFC tags to the back of each invitation card with a simple message to describe what it is. As some people do not prefer this, the NFC can also be embedded within the invitation card for a premium feel.

The purpose of using an NFC tag was so that I can allocate a unique identification code to each invitation and link it to a table number or any other information that is needed. Generally table numbers are not known when handing out the invitation cards. These are usually assigned closer to the day of the event and the guests can scan their invitation cards at the entrance on the day of the event and be presented with their table number(s). However, as I was working on this project as a hobby, a number uses for this presented itself.

Benefits of using the NFC tag.
  • Added security - Officials at the event location can scan the invitation card to verify the identity of the invitee
  • Avoid congestion & crowding - Invitee can avoid the queue to check the table numbers at the entrance
  • Custom messages - Invitees can be displayed with a custom message on arrival
  • Photo booth - Scanning the invitation can launch a photo-booth that can take the picture of the invitee and automatically email it to them.

Tuesday, 23 April 2019

Hand Activity Recognition: Literature Review

I am planning on starting my own project in Hand Activity Recognition. However before starting on this project I have conducted a literature review that is shown below.

Please note that most of the information given below are not mine. The source of the information is linked with the respective title.

Thursday, 4 April 2019

Project SpiderWeb

Project SpiderWeb is my domestic answer to the fourth industrial revolution. IoT is one of the key words that gets tossed around during these times. As there is much potential in what can be achieved with devices across the house that talk to each other and exchange and analyse data, I have started my own IoT project (SpyderWeb) - for the love of technology, of course!

Saturday, 26 November 2016

Bluetooth Speakers Update

A few weeks back I tried to use an old cheap Bluetooth headset circuit to drive my HP Desktop speakers. The project wasn’t exactly successful, so I purchased a 3W + 3W Bluetooth 4.0 Audio Receiver and amplifier board from eBay.

Capture

Saturday, 12 November 2016

Solar Panels Update

The solar panels that I bought from ebay were working properly but they were not delivering enough power to do anything useful. So I decided to purchase a few more solar panels and improve the project.

Saturday, 30 April 2016

12V Solar Panel

I recently bought four really cheap 0.6W-0.7W, 6V solar panels from eBay and they worked well when I tested them on their own. So I decided to use all four of them to make a small solar panel to power small projects.

Sunday, 20 April 2014

Variable Power Outlet and AC to DC converter

Variable A/C power outlet

I came up with this project mainly to control the performance of some appliances that I use on a daily basis that do not offer output control. For example, I can control the temperature of my 60W soldering iron or a dim a desk lamp that is connected to the unit. It does so by adjusting the output voltage using a simple triac circuit.

Sunday, 18 December 2011

Mother Earth

I created this animation regarding the destruction of our mother earth for the 10th Young Computer Scientists Competition (2011). I won merit [award by Federation of Information Technology Industry of Sri Lanka (FITIS), Sri Lanka Association for Software Industry (SLASI) and University of Colombo School of Computing (UCSC), Sri Lanka].

Tuesday, 29 December 2009

Genesis

When I was small (when Flash was a big deal) I created this animation for my middle school animation competition. The animation explains two theories of the creation of the world according to my understanding back then.