Embedded Vision System

Keywords: Vision Technology, Applications in Embedded Systems, AI&ML in Embedded, ADAS, Infotainment. One day I was astonished to see an SMS from RTO which said that I have violated the speed limit while driving. I ended up paying a decent fine. Then I realized that we need some third eye 🧐 or a Spy who does a diligent watch on road signs which usually we human beings are lazy in monitoring while on road. Here comes to me the idea of Synergising Vision Technology and Embedded – though it is an…

Read More

MicroPython Applications

Keywords: MicroPython Applications, Python in Embedded Systems, AI&ML in Embedded, Mutation Testing, Testing Automation, Pybricks, LEGO, Robotics Hope for now we all know coding on Micro controllers using Python but why is Python actually needed when I have C/C++, Java etc in Embedded Systems. Any guess , Yes you got it right. Python language is object oriented and interpreted not compiled. Clean and simple code to control hardware. Interactive REPL– Read Evaluate Print Loop. MicroPython has built-in libraries – serial,spi,can,socket and many more. Extensively can be mixed and used together…

Read More

Socket programming with TCP using Micropython in ESP8266

Keywords: Socket, Socket programming, TCP/UDP Continuation tođŸ€”socket programming. There are two widely used Socket types, stream sockets, and datagram sockets. Stream sockets treat communications as a continuous stream of characters, while datagram sockets have to read entire messages at once. Each uses its own communications protocol. Stream sockets use TCP (Transmission Control Protocol), which is a reliable, stream oriented protocol, and datagram sockets use UDP (User Datagram Protocol), which is unreliable and message oriented. TCP socket runs on top of IP (Internet Protocol). TCP is a connection-oriented communication protocol. What is…

Read More

Socket Programming in ESP8266 using MicroPython

Keywords: Socket, Socket programming, TCP/UDP   Dictionary meaning of a Socket – an electrical device receiving a plug or light bulb to make a connection. In computer terminology, when a computer program needs to connect to Internet, it uses a software component called a socket. The socket opens the network connection for the program, allowing data to be read and written over the network. Please note that these sockets are software networking sockets, unlike hardware sockets these sockets will not give any shock ☠ 😄. When two computers or processes…

Read More

Virtual serial port

Keywords: Virtual ports, Virtual TCP/UDP, Virtual Serial Port, Virtual COM port I actually wondered when I heard Virtual COM port term, a question raised in my mind – what is the need of a Virtual COM Port and searched for the answer which I would like to share in simple terms. Virtual in computer terminology means not physically existing as such but made by software to appear to do so. Most modern desktop computers and laptops do not have the DB9 RS-232 serial ports that were traditionally used to connect…

Read More

Interrupts in ESP8266 using MicroPython

Keywords: Interrupts, GPIO, ESP8266, MicroPython, uPyCraft Prerequisites Complete set up of uPyCraftIDE Hardware – ESP8266 Dictionary meaning of Interrupt is to break some continuity. If we relate this to micro controller terminology this means when an interrupt happens, the processor stops the execution of the main program to execute a task or process or thread, and then gets back to the main program. Hardware interrupt A hardware interrupt is an electronic alerting signal sent to the micro controller from an external device, like a button or an external peripheral. For…

Read More

Connect ServoMotor to Internet using MicroPython

Keywords: MQTT, IoT, Motor Control, PWM control, GPIO, ESP8266-ThingSpeak, Connecting ESP8266 to WiFi, ESP8266, MicroPython, uPyCraft, Connecting ‘Thing – ESP8266’ to ‘Internet’, ESP8266-IoT   We hear many times the word IoT, after all what does this word mean – Internet of Things, that seems to be the full form but what does Internet of Things mean??????? Yes you guessed it right, connecting Things to Internet. Things can be sensors, machines, cars, etc. I have ‘Things’ with me like motor and LED, now I have to send the motor average voltage…

Read More

Connecting ESP8266 to WiFi using MicroPython

Keywords: Connecting ESP8266 to WiFi, ESP8266, MicroPython, uPyCraft, Connecting ‘Thing – ESP8266’ to ‘Internet’, IoT With ever growing Internet of Things industry a self-contained Wi-Fi networking capability MCU helps in understanding not only the data connectivity part but also the components involved in cloud. I being an Embedded engineer who worked on IoT products thought of putting my study and practical understanding of end to end concept which would help the readers to understand very easily. For that I choose ESP8266 MCU which can perform a standalone application with WiFi…

Read More

Servo Motor control using MicroPython

Keywords: DC Motor control, ESP8266, MicroPython, uPyCraft, GPIO control, PWM control using micro python, ESP32, Servo Motor, DC motor basics, Applications of DC motors I am with Electrical background and have my love towards Motors. I wondered many times how to choose a low power DC motor in any Embedded Application. Here is my version of DC motors with Micro-controllers concept and how to control a ‘Servo motor’ using ESP8266 using MicroPython. Before that I want to explain basics like actuator, motor, BLDC, PMDC etc. ACTUATOR: Actuator is a device…

Read More

Getting started with Micropython for Microcontrollers

Keywords: ESP8266, MicroPython, COM port for ESP8266 not detected, uPyCraft, GPIO control, IDE for micro python, ESP32  Have you ever wondered why do we need Python for micro controllers ??? Yes you got it right it is widely used language for Machine learning and Artificial Intelligence. With increasing market in Data Science, Machine Learning and Big Data, I being an Embedded Engineer gave a thought and made some use cases which requires a combination of hardware and software mainly python. The simplicity of the Python programming language makes MicroPython an…

Read More