<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Naveen Sanjaya Basnayake on Medium]]></title>
        <description><![CDATA[Stories by Naveen Sanjaya Basnayake on Medium]]></description>
        <link>https://medium.com/@naveensanjaya?source=rss-9aaa1ef6434b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XV5QGA32VtbFC5egzSxRFw.jpeg</url>
            <title>Stories by Naveen Sanjaya Basnayake on Medium</title>
            <link>https://medium.com/@naveensanjaya?source=rss-9aaa1ef6434b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 14:42:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@naveensanjaya/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Life @ WSO2: A Masterclass in Organizing Chaos]]></title>
            <link>https://medium.com/@naveensanjaya/life-wso2-a-masterclass-in-organizing-chaos-de0e98352d63?source=rss-9aaa1ef6434b------2</link>
            <guid isPermaLink="false">https://medium.com/p/de0e98352d63</guid>
            <category><![CDATA[wso2]]></category>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[wso2-integrator]]></category>
            <category><![CDATA[work-life-balance]]></category>
            <dc:creator><![CDATA[Naveen Sanjaya Basnayake]]></dc:creator>
            <pubDate>Sun, 24 May 2026 00:10:39 GMT</pubDate>
            <atom:updated>2026-05-24T00:10:39.737Z</atom:updated>
            <content:encoded><![CDATA[<p>If my first twelve weeks at WSO2 were about settling in, the second half of my internship was a masterclass in organized chaos and making unforgettable memories.</p><p>With so much going on, I needed a way to keep my energy up. So, I made a promise to myself: I went to the gym every single day 🏋️‍♂️. It became my daily routine and the best way to clear my head before jumping into engineering sync-ups and office events.</p><h3>Sweets and Newspaper Dresses 🗞️</h3><p>The WSO2 culture I talked about in <a href="https://medium.com/@naveensanjaya/life-wso2-finding-my-footing-945ccd498b77">Part 1</a> only got better. We celebrated the Sinhala and Tamil New Year with a massive breakfast table overflowing with traditional sweets. It was a great morning spent eating and chatting with everyone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*BB7kizXi8pvf15K5-3ECaQ.jpeg" /></figure><p>Then came the Newspaper Fashion Show. We were split into teams and had to create outfits for a boy and a girl using nothing but old newspapers. It was pure chaos! We were tearing and taping paper as fast as we could. It was quite fun, and our team actually won the title for &quot;Best use of yesterday&#39;s news&quot; 🏆.</p><h3>Team Celebrations and Little Sketches 🎨</h3><p>Our Integration AI team also had some incredible moments. During a team meeting held at Cinnamon Life, I was given a little notebook. I didn&#39;t have much to write in it at first, so I started filling the pages with pencil sketches during my short breaks after work. It became a really nice way to relax and tap into my creative side between coding sessions.</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.instagram.com%2Fp%2FDYM6bZYiYpW%2F%3Futm_source%3Dig_web_copy_link%26igsh%3DNTc4MTIwNjQ2YQ%3D%3D&amp;type=text%2Fhtml&amp;schema=instagram&amp;display_name=Instagram&amp;src=https%3A%2F%2Fwww.instagram.com%2Fp%2FDYM6bZYiYpW%2Fembed%2F%3Fcr%3D1%26v%3D14" width="400" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3d7e95f759fc200b3d27899ada7c2c01/href">https://medium.com/media/3d7e95f759fc200b3d27899ada7c2c01/href</a></iframe><p>We also had an amazing promotion lunch buffet at the Cinnamon Grand to celebrate the colleagues who were promoted this year, including my mentor! It was great to share a fantastic meal and celebrate their hard work together.</p><h3>Escaping the City: A Weekend at Gartmore Falls ⛰️</h3><p>Work wasn&#39;t the only place we bonded. All the interns from my university organized a two-day trip to Gartmore Falls. We left our laptops behind and spent the weekend outdoors. It was the perfect break and a great way to build friendships outside of the office.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZK0_3PYCTgrGb5o0C7_iiw.jpeg" /><figcaption>Gartmore Falls</figcaption></figure><h3>A Lesson from the CEO 💡</h3><p>One of the most important moments for me was a &quot;Meet and Greet&quot; session with the CEO, Sanjiva Weerawarana. We had the chance to ask him questions and learn from his experiences.</p><p>I decided to ask him:</p><blockquote>What habits or thinking patterns helped you stay relevant across tech waves?</blockquote><p>His answer was simple but really stuck with me.</p><blockquote>He said to always think about &quot;Why it happened&quot; and then, from that, figure out &quot;What&#39;s next.&quot;</blockquote><p>Ever since he said that, it has been on my mind. It changed how I look at problem-solving and the tech industry as a whole.</p><h3>The Last Day with a New Adventure 🏁</h3><p>With that new mindset, I kept up with all my engineering team sync-ups and officially completed my project, the memory layer for the WSO2 Integrator Copilot Agent (And that will be another story for later...).</p><p>On my very last day, my engineering team surprised me with some lovely little gifts. To show our appreciation, all the interns got together and gave the team a small treat as well. It was a happy but emotional goodbye.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_DEzZSx61poS0lABTfjR9A.jpeg" /></figure><p>However, my time with WSO2 isn&#39;t completely over just yet. Even though my internship period has officially ended, my team invited me to join their upcoming team trip!</p><p>So, this chapter might be closing, but for me another adventure awaits... 🌍</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de0e98352d63" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Life @ WSO2: Finding My Footing]]></title>
            <link>https://medium.com/@naveensanjaya/life-wso2-finding-my-footing-945ccd498b77?source=rss-9aaa1ef6434b------2</link>
            <guid isPermaLink="false">https://medium.com/p/945ccd498b77</guid>
            <category><![CDATA[wso2-integration]]></category>
            <category><![CDATA[wso2]]></category>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[work]]></category>
            <dc:creator><![CDATA[Naveen Sanjaya Basnayake]]></dc:creator>
            <pubDate>Sun, 17 May 2026 23:35:12 GMT</pubDate>
            <atom:updated>2026-05-17T23:35:12.938Z</atom:updated>
            <content:encoded><![CDATA[<p>They say the shift from university life to the tech industry is less of a step and more of a leap. Walking into the WSO2 office for the first time, my mind was racing with expectations of strict corporate routines and endless lines of code. The reality, however, was a completely different kind of adventure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*smD49u9KVw4oPBHZ3WSncg.jpeg" /></figure><p>My first week was an absolute whirlwind 🌪️. Between the welcome sessions, HR inductions, and the excitement of finally getting my hands on my official work laptop, I was just trying to absorb it all. We even got a surprise &quot;Bad Weather Holiday&quot; on my very first Friday, which was a pretty memorable way to cap off week one!</p><p>Soon enough, I was officially assigned to implement a Memory Layer for the WSO2 Integrator Copilot project. I met my mentor, Anjana Supun, who gave me the initial briefing and handed over the access to the GitHub repository. While I did spend those early weeks deeply analyzing architectures and mapping out data flows, this story isn&#39;t really about the code. It’s about the life, the culture, and the unexpected moments of being an intern.</p><h3>The 14th Floor Tournaments 🎱</h3><p>It didn&#39;t take long for the interns to find our rhythm and our absolute favorite hangout spot. Every day after lunch, like clockwork, we would head straight up to the 14th floor. That space quickly became our sanctuary. We’d crowd around the pool and foosball tables to blow off steam.</p><p>But let me be clear: these were not casual games. They were intense, high-stakes competitions. We played to win, and over those first few months, we honestly became pros. It was the perfect way to reset our brains before heading back down to tackle complex engineering problems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*qBF03V4iQThIsXXRnFDF3Q.jpeg" /></figure><h3>A Taste of the Tech Industry ✨</h3><p>If the daily routine was fun, the special events were on a whole other level. WSO2 really knows how to pull out all the stops, and I found myself experiencing things I had never imagined back in my university lecture halls.</p><p>One major highlight was attending the WSO2 Technology Conference at the Monarch Imperial. It was a massive, full-day event where I got to hear firsthand about the company&#39;s technical roadmap and network with the wider engineering community.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*Wir6nwZUZSszs0GRMYHgtA.jpeg" /></figure><p>But the experiences didn&#39;t stop at tech conferences. Getting dressed up for the spectacular Awards Night at the ITC Ratnadeepa was surreal; it made me feel like I was truly a part of the industry 👔. And then there was the completely unexpected, lavish high tea at the iconic Galle Face Hotel. Sitting there, soaking in the atmosphere, I realized just how unique this internship experience was turning out to be.</p><h3>Finding My Footing 🌱</h3><p>By the time the twelfth week rolled around, that initial overwhelming feeling had completely faded. I had figured out the dynamics of the team, learned how to balance intense technical research with building real friendships, and absorbed the environment like a sponge. The first chapter of this journey was all about finding my place within the WSO2 culture.</p><p>The foundation was set. I was comfortable, I was confident, and my foosball skills had definitely leveled up. But as I was about to find out, the real challenges and the most intense work were just around the corner...</p><p>To be continued... ⏳</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=945ccd498b77" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Communication Design System with GNU Radio and BladeRF: A Deep Dive]]></title>
            <link>https://medium.com/@naveensanjaya/building-a-communication-design-system-with-gnu-radio-and-bladerf-a-deep-dive-ba33b4f8c206?source=rss-9aaa1ef6434b------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba33b4f8c206</guid>
            <category><![CDATA[bladerf]]></category>
            <category><![CDATA[gnu-radio]]></category>
            <category><![CDATA[university-of-moratuwa]]></category>
            <category><![CDATA[communication-design]]></category>
            <category><![CDATA[streaming-video]]></category>
            <dc:creator><![CDATA[Naveen Sanjaya Basnayake]]></dc:creator>
            <pubDate>Wed, 01 Jan 2025 23:50:13 GMT</pubDate>
            <atom:updated>2025-01-01T23:50:13.545Z</atom:updated>
            <content:encoded><![CDATA[<p>Did you know that creating a full-fledged communication system is not just a theoretical exercise but a hands-on experience that can deepen your understanding of signal processing, wireless transmission, and digital systems? In my latest project, we designed and implemented a point-to-point digital wireless communication system. This ambitious task aimed to transmit audio, text, images, and even videos over the 2.4 GHz ISM band while ensuring reliable performance.</p><p>This post provides an overview of the project I undertook as part of the <strong>EN2130 Communication Design Project</strong> module in the Department of Electronic and Telecommunication at the <strong>University of Moratuwa, Sri Lanka</strong>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F-KdEGzrJ_zQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D-KdEGzrJ_zQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F-KdEGzrJ_zQ%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/68de882ff99b71c5642c7e578dd95299/href">https://medium.com/media/68de882ff99b71c5642c7e578dd95299/href</a></iframe><h3>The Goal of the Project</h3><p>Modern communication systems demand not only theoretical knowledge but also practical skills in implementation and optimization. Our objective was straightforward yet challenging:</p><ul><li>Design a <strong>point-to-point digital wireless communication system</strong> using software-defined radios (SDRs) like BladeRF A9 and A4.</li><li>Transmit and receive <strong>audio, text, images, and video</strong> while evaluating the system’s performance under real-world conditions.</li><li>Ensure compatibility, minimal interference, and adherence to power regulations for the 2.4 GHz ISM band.</li></ul><h3>System Overview and Implementation</h3><h4>1. Software Stack</h4><p>The system leveraged <strong>GNU Radio</strong>, a powerful open-source toolkit for SDR applications. Using <strong>Radioconda</strong> as the interpreter in <strong>Visual Studio Code (VS Code)</strong>, we seamlessly integrated various Python-based blocks for signal processing.</p><h4>2. Hardware Setup</h4><p>We utilized <strong>BladeRF 2.0 micro xA9 and A4 SDR devices</strong>, known for their flexibility and robust performance, to handle wireless transmission and reception.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*IhXSwlFbNCFaoCCSHV0IWg.png" /><figcaption>BladeRF 2.0 micro xA9</figcaption></figure><h3>Breaking Down the Subsystems</h3><h4>Audio, Text, Image, and Video Transmission</h4><ul><li>We didn’t want to build separate systems for each file type, so we created one transmission framework that could handle all sorts of data. This system uses QPSK modulation for encoding and decoding, which makes data transmission efficient and reliable, no matter the format.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FJ_q-NjVeETKoAyNh1itiQ.png" /><figcaption>Transmitter Side Flowgraph</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2XjyI5YeL-os7PhN3aaRZA.png" /><figcaption>Receiver Side Flowgraph</figcaption></figure><h4><strong>Video Streaming Setup</strong></h4><ul><li><strong>Transmitter</strong>: Captured live video from a webcam using VLC media player, saved it, and read the file repeatedly for transmission.</li><li><strong>Receiver</strong>: Received the stream, decoded it, and redirected the output to VLC using a User Datagram Protocol (UDP) for real-time playback.</li></ul><h3>Challenges and Lessons Learned</h3><ul><li><strong>Error Correction</strong>: Integrating an error-correction mechanism to ensure reliability over wireless channels.</li><li><strong>Interference</strong>: Working within the 2.4 GHz ISM band posed interference challenges, requiring careful channel selection.</li><li><strong>GUI Integration</strong>:a Building a Python-based GUI to allow users to easily select files for transmission and navigate the system.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*-NYuiPRiLquQUaFpG8JhLA.png" /><figcaption>Main User Interface</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*jeceB8JGcne1EAF2edsYbQ.jpeg" /></figure><h3>Acknowledgments</h3><p>This project was a team effort, and I owe its success to my colleagues <strong>Nethmi Amasha </strong>and <strong>Hirushika Pelagewatta</strong> and the invaluable guidance of our lecturers. Their constructive feedback helped us refine our design and overcome technical hurdles.</p><p>You can find all the extra stuff—flow diagrams for GNU radio, Python scripts, UI that we developed, and all that other good stuff—on my GitHub.</p><p>My Github Account: <a href="https://github.com/NaveenSanjaya/DigitalCommDesign.git">https://github.com/NaveenSanjaya/DigitalCommDesign.git</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba33b4f8c206" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring Analog Computing: My Journey with Operational Amplifiers]]></title>
            <link>https://medium.com/@naveensanjaya/exploring-analog-computing-my-journey-with-operational-amplifiers-5a8bfcae8cce?source=rss-9aaa1ef6434b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a8bfcae8cce</guid>
            <category><![CDATA[electronics]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[analog-computer]]></category>
            <category><![CDATA[telecommunication]]></category>
            <category><![CDATA[signal-processing]]></category>
            <dc:creator><![CDATA[Naveen Sanjaya Basnayake]]></dc:creator>
            <pubDate>Tue, 24 Dec 2024 00:49:25 GMT</pubDate>
            <atom:updated>2024-12-24T00:57:53.437Z</atom:updated>
            <content:encoded><![CDATA[<p>Did you know that analog computing — something people often forget about in today’s digital world — still has a ton of potential? In my recent project, I explored how operational amplifiers (op-amps) can do basic analog calculations like adding, subtracting, integrating, and differentiating. These analog computations can be incredibly useful in specific applications, offering potential advantages in terms of speed, power efficiency, and cost compared to their digital counterparts.</p><p>This article has some quick info about designing an analog computer, which I did with my colleagues to complete the EN 2091 Laboratory Practices Module in the Department of Electronic and Telecommunication at the University of Moratuwa, Sri Lanka.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OhJ8MkI1YadR7QG8myt-VQ.jpeg" /><figcaption>Final Design</figcaption></figure><h4>The Goal of the Project</h4><p>While digital systems dominate modern technology, analog systems hold unique advantages in specific scenarios. For instance, analog circuits can process real-time signals like audio and sensor data with less complexity. My project aimed to showcase these strengths by implementing core mathematical operations through op-amp circuits.</p><p>The objective was clear: design and build an analog computer capable of handling waveforms within the frequency range of 1 Hz to 10 kHz. This included creating dedicated circuits for addition, subtraction, multiplication, integration, and differentiation — all while ensuring high accuracy, precision, and minimal distortion.</p><h4>The Building Blocks</h4><ol><li><strong>Addition and Subtraction Circuits<br></strong>Using op-amps as the backbone, we designed circuits to handle both positive and negative voltages. The challenges here included managing signal conditioning and ensuring stable performance across the specified frequency range.</li><li><strong>Multiplication Circuit<br></strong>This was the most intriguing part. Designing an analog multiplier required precise gain control and biasing. After countless tries with different multiplier circuits, the Gilbert cell Multiplier was determined to be the most effective multiplier.</li><li><strong>Integration and Differentiation Circuits<br></strong>These circuits brought additional depth to the project. The integrator circuit, leveraging capacitors and op-amps, enabled the computation of the integral of an input signal. Similarly, the differentiator circuit allowed for the computation of the derivative.</li><li><strong>Control and Interface<br></strong>For user-friendly manipulation, We implemented potentiometers to adjust gain and bias settings. Dual-channel inputs ensured compatibility with diverse waveform sources, and the outputs delivered results with minimal noise.</li><li><strong>Power Supply<br></strong>To keep the circuit’s performance steady, we made a power supply that could deliver both +12V and -12V. We used a full-wave rectifier and voltage regulators to achieve this, and we also included a center-tapped transformer to handle the ±12V needs of the Op-amps. First, we changed the AC voltage to DC using a full-wave rectifying bridge. Then, we smoothed and regulated the voltage to the levels we wanted (+12V and -12V) using 7812 and 7912 voltage regulators.</li></ol><h4>Planning out the Schematic designs</h4><p>We first messed around with the circuits in LTspice to make sure they worked right. Then, we built a quick version on a breadboard using op-amps and other bits and pieces to test things out and fix any problems. Finally, we used Altium Designer to draw up the final schematics, making sure everything was neat and tidy to keep the noise down. From there, we got the files ready to make the actual PCB, and that was that — circuit design done!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hmfkz7IKFxQvn_4FWV8Now.png" /><figcaption>Adder, Subtractor Circuits</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lo6zicP3PfSGPcIBSF6pLg.jpeg" /><figcaption>Multiplier Cuircuit</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fZvcu9QknZYjhgx2vrzNrw.png" /><figcaption>Power Supply Cuircuit</figcaption></figure><h4>PCB and Enclosure Design</h4><p>We nailed the PCB design for our project! 🔥We’ve got two separate boards: the main motherboard and a power supply PCB. Both are simple two-layer boards using FR4 material. We’re getting the main motherboard made by JLC, but we’re building the power supply PCB ourselves.</p><p>The main motherboard has all the important stuff like op-amps, resistors, capacitors, and potentiometers, plus connectors for inputs and outputs. The power supply PCB takes care of the juice, with a full-wave rectifier bridge, voltage regulators, and a center-tapped transformer to give the main board the power it needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*2ZRuG5UUoYgKwdJY6q0zgA.png" /><figcaption>Final PCB Design (Without Polygon Pours)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*myZwraruSliWJCNYjr7xvw.png" /></figure><p>We went with two layers of acrylic for the case so we could show off our PCB. We designed the PCB to look like an FPGA, so we wanted to make sure everyone could see it! 😉</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*ghkXgwt0Zq-n5cpRHD_zCA.png" /><figcaption>Top Layer</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*LEFMr-5rxGLldxkJedCKLA.png" /><figcaption>Bottom Layer</figcaption></figure><h4>Acknowledgment</h4><p>This project wouldn’t have been possible without everyone’s help! Big thanks to my awesome group members, Praveen, Keshawa, and Pasindu — we worked together like a dream team from the start. And we can’t forget the amazing ENTC lecturers, whose feedback and suggestions made our device even better.</p><p>You can find all the extra stuff — Altium, Solidworks, LTspice files, and all that other good stuff — on my GitHub.</p><p><em>My Github Account: </em><a href="https://github.com/NaveenSanjaya/Analog-Computer.git"><em>https://github.com/NaveenSanjaya/Analog-Computer.git</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a8bfcae8cce" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>