ZeroMQ – Interface C and ZeroMQ Python example II

My Cola
Part 1 Previously I discussed a basic ZeroMQ time server written in C. Here is the zeromq python example  which listens to the connection instantiated by the C program.   from __future__ import print_function import zmq,time,sys     print("Connecting to Time Service…") sys.stdout.flush() context = zmq.Context() # Socket to talk to server socket = context.socket(zmq.REQ) … Continue reading » ...

ZeroMQ – Interface C and Python example

My Cola
This post provides an introductory ZeroMQ tutorial that can use to interface C and Python by an example.  ZeroMQ, 0MQ, ØMQ or ZMQ is a messaging library, that can be used in distributed applications or simultaneous applications. ZeroMQ provides a transparent message queue and there are many language bindings for that. For example if someone has … Continue reading »

Lightweight printf / scanf for embedded applications

My Cola
Let’s begin with K&R’s Hello world. 1 2 3 4 #include "stdio.h" int main(void){ printf("Hello World! \r\n"); } This code looks fairly simple and straightforward. What it does it print a string on the standard output. In the landscape of embedded systems, typically likewise code will push the string through one of its output terminals, … Continue reading » ...

Interrupts II

My Cola
Few questions, which were raised by a friend of mine, have been motivated me to write the second part of the article Problem with interrupts.  In this, I will discuss few important points and how the things actually working behind the screen.  For simplicity, I’m taking a generic 8051 core, nevertheless the fundamentals would be … Continue reading »

Interrupts II

My Cola
Few questions, which were raised by a friend of mine, have been motivated me to write the second part of the article Problem with interrupts.  In this, I will discuss few important points and how the things actually working behind the screen.  For simplicity, I’m taking a generic 8051 core, nevertheless the fundamentals would be … Continue reading »

Facebook page for www.mycola.info

My Cola
Hi readers, Recently, this website faced some technical difficulties and downtime due to a misconfiguration in DNS.  As a result, the visitor count was reduced by around 87%, which is a big number.  So, I thought it would be a nice idea to have a place in which the regular visitors can report the issues … Continue reading »

Facebook page for www.mycola.info

My Cola
Hi readers, Recently, this website faced some technical difficulties and downtime due to a misconfiguration in DNS.  As a result, the visitor count was reduced by around 87%, which is a big number.  So, I thought it would be a nice idea to have a place in which the regular visitors can report the issues … Continue reading »

Bluetooth virtual serial port emulation in Linux

My Cola
  In an interesting experiment which we have done recently, it was required to setup a Bluetooth serial connection between a unix-like computer and a windows machine.  The unix-like computer is a beaglebone, runs Ubuntu 12.04 LTS, which is being accessed using SSH.  Although, setting up a virtual serial channel between the two devices seems … Continue reading »

Bluetooth virtual serial port emulation in Linux

My Cola
  In an interesting experiment which we have done recently, it was required to setup a Bluetooth serial connection between a unix-like computer and a windows machine.  The unix-like computer is a beaglebone, runs Ubuntu 12.04 LTS, which is being accessed using SSH.  Although, setting up a virtual serial channel between the two devices seems … Continue reading »

CooCox CoIDE – A free ARM Development Solution based on GCC and Eclipse

My Cola
Free ARM Development Tool Sometime back, I posted few articles describing the procedures of setting up Eclipse IDE for STM32 ARM development.   The interesting reader can follow through the following links to get more information to set up a free ARM Development tool by himself. Configuring Eclipse IDE for STM 32 ARM Development – Fundamentals … Continue reading »

CooCox CoIDE – A free ARM Development Solution based on GCC and Eclipse

My Cola
Free ARM Development Tool Sometime back, I posted few articles describing the procedures of setting up Eclipse IDE for STM32 ARM development.   The interesting reader can follow through the following links to get more information to set up a free ARM Development tool by himself. Configuring Eclipse IDE for STM 32 ARM Development - Fundamentals … Continue reading »

Raspberry Pi vs BeagleBone ?

My Cola
OK, lets be honest. If someone wants a sub 100$ linux box to play with, then there are not much options! In fact Raspberry Pi and BeagleBone are among the best choices around. So what? What are the pros and cons of the ends? You just wait and scroll down! Feature Raspberry Pi BeagleBone Comments … Continue reading »

Raspberry Pi vs BeagleBone ?

My Cola
OK, lets be honest. If someone wants a sub 100$ linux box to play with, then there are not much options! In fact Raspberry Pi and BeagleBone are among the best choices around. So what? What are the pros and cons of the ends? You just wait and scroll down! Feature Raspberry Pi – Link … Continue reading »

No Analog inputs in BeagleBone with Ubuntu?

My Cola
BeagleBone is a low cost yet fully featured BeagleBoard, which is currently valued for 89$. I know that it’s not the cheapest option for a GNU ARM Linux box, especially in comparison to Raspberry Pi. However, according to Element 14, Raspberry Pi has a lead time of 165 days, which is almost a half year, … Continue reading » No related posts.

No Analog inputs in BeagleBone with Ubuntu?

My Cola
BeagleBone is a low cost yet fully featured BeagleBoard, which is currently valued for 89$. I know that it’s not the cheapest option for a GNU ARM Linux box, especially in comparison to Raspberry Pi. However, according to Element 14, Raspberry Pi has a lead time of 165 days, which is almost a half year, … Continue reading » No related posts.

Setting Up Eclipse with GCC – GNU ARM for STM32 ARM Cores – 4

My Cola
Part 01 of this tutorial – Introduction, the tools you need make a complete tool chain based on free and open source tools for ARM development Part 02 of this tutorial – Configuring the Eclipse IDE with Cross Compiler Support for STM32 ARM development Part 03 of this tutorial – Startup files and linker description for STM32 ARM … Continue reading » Related ...

Setting Up Eclipse with GCC – GNU ARM for STM32 ARM Cores – 4

My Cola
Part 01 of this tutorial – Introduction, the tools you need make a complete tool chain based on free and open source tools for ARM development Part 02 of this tutorial – Configuring the Eclipse IDE with Cross Compiler Support for STM32 ARM development Part 03 of this tutorial – Startup files and linker description for STM32 ARM … Continue reading » Related ...

Setting Up Eclipse with GCC – GNU ARM for STM32 ARM Cores – 3

My Cola
Part 01 of this tutorial – Introduction, the tools you need make a complete tool chain based on free and open source tools for ARM development Part 02 of this tutorial – Configuring the Eclipse IDE with Cross Compiler Support for STM32 ARM development Configuring STM32 Startup If you have followed the already published and … Continue reading » Related ...

Setting Up Eclipse with GCC – GNU ARM for STM32 ARM Cores – 3

My Cola
Part 01 of this tutorial – Introduction, the tools you need make a complete tool chain based on free and open source tools for ARM development Part 02 of this tutorial – Configuring the Eclipse IDE with Cross Compiler Support for STM32 ARM development Configuring STM32 Startup If you have followed the already published and … Continue reading » Related ...

How to Convert Python Scripts to Windows Executable (exe) – PY2EXE tutorial

My Cola
Python is a largely popular, and powerful language.  Moreover, it has gained its popularity in scientific community, with its numerical analysis, symbolic manipulations, and plotting modules.  It can be seamlessly integrated with Eclipse IDE, as it does with LaTeX, which is a pleasure to work with.   I was always used to run my scripts using command line, or if I’m too lazy to do … Continue reading » Related ...