Embedded Electronics Tutorials, Coding and lot more

Category: Tutorials

How to setup a service to execute automatically when beaglebone boots?

Suppose you are developing an application on beaglebone black, and after the debugging process is finished, now if you want it as a stand alone product then it is not possible directly. Because every time to run your program (in whatever language: C, C++, Python), you were triggering it to run the program by logging in via ‘ssh’ or direct GUI. But this way is not feasible for the actual product. The actual device should start operating itself as per required application, when it boots. We cannot use Laptop/PC that time. So here there is a way by which you can enable your Beaglebone to run your actual program when it boots. So it directly starts your application.

For example, you are creating a barcode reader device, then your beaglebone should be able to start accepting and processing data from barcode device directly right from the boot time. Continue reading

Sharing is caring

Beaglebone USB Webcam MJPG streamer installation tutorial

You might be thinking to stream video from your robot to your phone or laptop, or design a surveillance system like CCTV via beagle bone. So this post is for you. Here we will see how to install MJPG streamer on your Beagle bone and see its output on your WiFi enabled phone or other devices.

webcam

I am using Beaglebone Black Rev.C and Logitech C170 usb webcam. You can see a huge list of Raspberry Pi compatible peripherals list here. They are also compatible with BeagleBone. http://elinux.org/RPi_VerifiedPeripherals

Especially for webcams , http://elinux.org/RPi_USB_Webcams Continue reading

Sharing is caring

Tutorial: Virtual Serial port using VSPE

All these process is shown step by step in the below video on youtube.Comment if you have any queries.:

             VSPE (Virtual Serial Port Emulator) is a software which provides us the utility to access multiple com ports on the same PC. We can create new serial ports virtually and can connect them as we want. For example I can create 2 serial COM ports and if I pair them then they will be connected with each other. So that I can run two applications

Continue reading

Sharing is caring

Make your own sixth sense technology device: Source codes available

Most if techie people know sixth sense technology and Pranav Mistry, right? Here’s a TED video almost all people viewed and suddenly became crazy about it. But if you listened this video carefully, you might be knowing that :

(Note: if you want to see code links directly, skip this part and see it at end of this post)

While demonstrating the interface at TEDIndia Conference, Mistry told Rediff, “I don’t want this to comply with some corporate policy. I want people to make their own system. Why not?” See this video carefully.

Continue reading

Sharing is caring

Arduino: Accessing the internal EEPROM of Atmega8/328

Sometimes we need some data or variable values to be retained back even after the system is turned off. So as soon as we again start back the system  we need to know the previous values of some elements to identify the state of the system at shut down. So that now we can resume directly from that state only, not the initial state.  In many cases this is required.

SONY DSC

 

  • In GSM based devices,  To save the custom mobile number of user which is being changed sometimes.
  •  For sensor interfacing examples, if we want to create a log of frequent values then we can also use to store values one by one with some by time delay . And so can get whole data logged.

Continue reading

Sharing is caring

HC-05 Bluetooth interfacing with your microcontrollers

Bluetooth:

Bluetooth® wireless technology is becoming a popular standard in the communication. it is one of the fastest growing fields in the wireless technologies. It is  convenient, easy to use and has the bandwidth to meet most of today’s demands for mobile and personal communications. Bluetooth technology handles the wireless part of the communication channel; it transmits and receives data wirelessly between these devices. It delivers the received data and receives the data to be transmitted to and from a host system through a host controller interface (HCI). The most popular host controller interface today is either a UART or a USB .Here, I will only focus on the UART interface, it can be easily show how a Bluetooth module can be integrated on to a host system through a  UART connection and provide the designer an optimal solution for Bluetooth enabled systems.

bluetooth interfacing microcontroller

The bluetooth module I will use today is HC-05 which is so familiar and cheap. It is easily available in local indian markets. You can go either offline or online. You may find in about ~600 ₹. May be if you search better, you can get as low as 450 ₹. Continue reading

Sharing is caring

Easiest Tutorial to create android apps

Here i am presenting easiest way to create Android App. You can create Android app even if you dont know basic C language. The tool used here is App inventor. No need to install any software even. App Inventor is a cloud-based tool, which means that you can build apps right in your web browser. This website offers all of the support that you’ll need as you learn how to Continue reading

Sharing is caring

Accessing PC serial port in Visual Basic

All of the electronics engineering students mostly want to create something which has a nice GUI control for their device. But they see softwares like VB6, VB.NET as pure software language. On the other side, Computer engineering students see also these software as pure GUI. Electronics geeks know the hardware and computer geeks know software. But Actually these languages such as VB6, VB.NET, Java can provide us very useful features to control our hardware connected to PCs. Here i am presenting a very basic tutorial to access serial port of PC in the VB6 software.

We will create the GUI (Graphical User Interface) which contains some buttons. Pressing them we can send some data to our PC’s serial port. Though it is a very basic tutorial but this is a must learn step. Further you can receive, send, monitor data, take some Continue reading

Sharing is caring

© 2023 EMBEDDED TWEAKS

Theme by Anders NorenUp ↑

Follow Me

Get the latest posts right delivered in you mailbox

%d bloggers like this: