EMBEDDED TWEAKS

Embedded Electronics Tutorials, Coding and lot more

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

Android based LED matrix display via Bluetooth

This one is interesting just like displaying a custom message on LED matrix banner. Just from an Android phone on our finger tips. Change at anytime anyhow, at just one touch.

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

Motion controlled Android robot

This is the latest motion controlled robot made by me. Operating right from your android phones, tablets. Just a single movement of your hand is enough to move the robot. Also has a temperature sensor in it, which transmits temperature data to Android device via bluetooth.

An object sensor is also added for safety. So that even if the user gives false input, but the robot stops itself to collide with wall or any objects.

Sharing is caring

Raspberry Pi 2 arrives with quad-core CPU, 1GB RAM. Runs free Windows 10, but still same $35 price

The Raspberry Pi Foundation’s low-cost computer was an instant phenomenon upon its release in 2012, and now, just shy of three years later, it’s back with a new one. The foundation is today announcing the Raspberry Pi 2, an equally cheap, equally tiny computer that’s meant for use in electronics projects, assisting experiments, and teaching kids how to code.

There are two key changes on this new model: its processor is now a lot more powerful and it includes twice as much RAM. What doesn’t change is just as important: it still sells for only $35.

“It’s a major leap forward in terms of computing power for users,” says Mike Powell, a technology development manager for Pi distributor Element14. Powell believes that the Pi 2 will open up a lot of new opportunities because of its added computing power. “A whole wave of new applications are now possible,” he says.

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

Controlling your Electrical appliances via PC/Laptop (8051 Microcontroller)

The whole simulation video is available at youtube link below:

 You can download hex file and proteus simulation at end of the post.

This device can be used to control your home’s all 230V appliances directly from your PC. We can do it via the serial port of our PC. We have used the 8051 microcontroller here.  We are communicating via the RS-232 port.

The circuit is designed in the proteus ISIS software. I have first simulated the circuit in the proteus so that all correction and debugging process is done in the PC itself. So we don’t need Continue reading

Sharing is caring
« Older posts

© 2017 EMBEDDED TWEAKS

Theme by Anders NorenUp ↑

Follow Me

Get the latest posts right delivered in you mailbox

%d bloggers like this: