Blogs
MQTT Publisher and Subscriber in Scala: Complete IoT Messaging Tutorial Using Eclipse Paho
MQTT (Message Queuing Telemetry Transport) has become the backbone of IoT communication, enabling lightweight, reliable messaging between devices and applications. In this comprehensive tutorial, we’ll build a complete MQTT publisher-subscriber system in Scala using the Eclipse Paho library, perfect for IoT data streaming and distributed messaging architectures.
Understanding MQTT: The IoT Messaging Standard MQTT is a publish-subscribe based lightweight messaging protocol designed …
Continue Reading
: MQTT Publisher and Subscriber in Scala: Complete IoT Messaging Tutorial Using Eclipse PahoBlogs
Building a Web Paint App with Flask and MongoDB: A Complete Tutorial
Building web applications that handle dynamic, schema-less data often requires moving beyond traditional relational databases. In this tutorial, we’ll explore how to create a web-based paint application using Python Flask as our backend framework and MongoDB as our data storage solution.
This post demonstrates the practical integration of Flask with MongoDB, showcasing why NoSQL databases are particularly well-suited for applications that handle varied, document-based data like our paint …
Continue Reading
: Building a Web Paint App with Flask and MongoDB: A Complete TutorialBlogs
HTML5 Canvas Paint Application: Building Interactive Drawing Tools with JavaScript
An application to draw simple drawings using lines, rectangles and circles in different colours.
The application is developed using JavaScript and HTML5. The canvas feature in HTML5 is used for providing a drawable region. The JavaScript is used to handle drawing functions in this region. The select button to select the different tools to draw.
Continue Reading
: HTML5 Canvas Paint Application: Building Interactive Drawing Tools with JavaScriptBlogs
Simple CUDA Program Example: GPU Programming Fundamentals with Parallel Computing
This blog post is an introduction to the world of GPU programming with CUDA. We will cover the fundamental concepts and tools necessary to get started with CUDA, including:
The steps involved in a typical GPU program, such as allocating storage on the GPU, transferring data between the CPU and GPU, and launching kernels on the GPU to process the data. How to use the Nvidia C Compiler (nvcc) to compile CUDA code and follow conventions like naming GPU data with a “d” prefix. Key …
Continue Reading
: Simple CUDA Program Example: GPU Programming Fundamentals with Parallel ComputingBlogs
Introduction to Parallel Programing
This post focuses on parallel computing on the GPU. Parallel computing is a way of solving large problems by breaking them into smaller pieces and run these smaller pieces at the same time.
Main reasons of technical trends in the parallel computing on the GPU Modern processors are made from transistors. And each year, those transistors get smaller and smaller. The feature size is the minimum size of a transistor on a chip. As the feature size decreases, transistors get smaller, run faster, use …
Continue Reading
: Introduction to Parallel ProgramingBlogs
HTML5 Canvas Game Development: Building Interactive Games with JavaScript
HTML5 is the new HTML standard. One of the most interesting new features in HTML5 is the canvas element canvas for 2D drawing. A canvas is a rectangular area on an HTML page. All drawing on the canvas must be done using JavaScript. This post goes through the basics of implementing a 2D canvas context, and using the basic canvas functions for developing a simple game. Creating a canvad context, adding the canvas element to your HTML document like so
1<canvas id="Canvas" …
Continue Reading
: HTML5 Canvas Game Development: Building Interactive Games with JavaScriptBlogs
Finding RC constant using ATmega8
The time constant(sec) of an RC circuit is equal to the product of the resistance and the capacitance of the circuit.
It is the time required to charge the capacitor through the resistor to 63. 2% of full charge,or to discharge it to 36.8% of its initial voltage.
The voltage of the RC circuit is measured using adc of the ATmega8, input voltage for RC circuit is given from PB0. The timer is started at the time of the PB0 making 1 .
The adc of ATmega8(ADCH) is 8 bit long so corresponding to 5V get …
Continue Reading
: Finding RC constant using ATmega8Blogs
Running Arduino codes in stand alone atmega8
An Arduino board consists of an 8-bit Atmel AVR microcontroller with complementary components to facilitate programming and incorporation into other circuits. If you wish to study the arduino codes ,then one of the major problems is the availability and cost of the Arduino board. If you have an atmega8 microcontroller then you have to study the Arduino codes by simply changing some options in Arduino IDE.
First download the arduino IDE(I am using Arduino 1.0). Next you have to an avr …
Continue Reading
: Running Arduino codes in stand alone atmega8Blogs
AVR Programming Made Easy: How to Build a USBtinyISP
Atmel AVR microcontrollers are the backbone of countless embedded systems projects, from simple robotics to complex IoT devices. These avr chips offer an unbeatable combination of low cost, versatility, and efficient resource utilization that makes them the go-to choice for developers worldwide. Whether you’re working with an ATtiny85, ATmega8, or any other Atmel microcontroller, you’ll need a reliable AVR programmer to upload your code.
Why Choose USBtinyISP as Your AVR Programmer? …
Continue Reading
: AVR Programming Made Easy: How to Build a USBtinyISP