Take a step back, to obeserve! when you see something that isn’t working you take it, break it, make it and bring it to the next level Thats how this project spanned out! making a bluetooth receiver from a fully functional but a physically broken Nokia BH-503 bluetooth headset. Initial steps were to open the bluetooth headset and see the construction. Pretty amazed! Well thought out design I would say, but the product had a lot of problems regarding power. (It is going to be a challenge to charge it because the charger plug is unavailable and microUSB was not in practice when it was sold.) disassembled the panel with buttons unscrew after removing the glue from the ear sponges fully disassembled state The battery is mounted with a dual side stick tape Removing the glued sponge [06.07.2015] Next steps would be shorten the wire, change the charging port to mini usb and test the working. Today I will be testing if the strip down setup. [22.07.2015] The wires are made shorter and soldered together. It looks in good shape. It’s charging. Next step would be solder the 3.5mm jack for speaker input instead of the wires for LR speaker. Soldering the 3.5mm jack in different configurations to get the better output to the 2.1 speakers. Everything works great as far as the normal operation of the headset is concerned. Yay for that! but the output has too much noise and the levels are low that when the volume is increased… Read more
Category: General
Raspberry Pi NFC reader driver installation ACR122u
First add the following dependencies for the NFC driver and other modules sudo apt-get install pcscd libusb-dev libpcsclite1 libpcsclite-dev dh-autoreconf I also installed the drivers from the official website for my device. it can be found here (disclaimer: I do not still not know if this step is required) then install the python package with pip sudo pip install nfcpy now use the documentation http://nfcpy.readthedocs.io for using the nfc card with python. The python interface doesn’t use the LED notifications on the device, I have to find out how it works with the lights!
PsychoPy app development in Python using Eclipse and pyDev
Install and setup psychoPy and using Eclipse and python for development of applications. I developed an application that used a eye tracker. It was a great idea to use python to interface the eye tracker with the routine which was created using psychoPy. Creating a new pydev module to start coding In this post, it is only about installing psychoPy, Python, Eclipse, pyDev for Eclipse and starting a new project. Creating your first psychoPy application with its specification will be in the following post. Install a stand alone version of psychoPy. There are versions available for both osX and Windows. I work on a Windows workstation and use a MacBook Air. So the installations are validated towards its working. StandalonePsychoPy-1.80.03-win32.exe StandalonePsychoPy-1.80.03-OSX.dmg
Sending and Receiving message between onboard Raspberry Pi BLE and an Arduino with HM 11
Goal: send messages between the HM 11 BLE modules and my Raspberry PI 3 with its onboard BLE. How: Bluez comes installed with the raspbian distro. Wiring is basic UART for connecting the HM 11 to the Arduino. In my case, I am using a Teensy 3.6 programmed using the Arduino IDE. Use this serial proxy sketch for getting started. if you have Arduino IDE, open this file. Teensy serial ports are on 0 and 1. I kept it software serial so its easy to adapt for any other board by just changing the pins used for the UART. Thats all you need to setup on the Arduino side. Everything should work now. May be try a few AT commands. AT should give you OK if the module is used for the first time. if not OK+LOST which means that the module was connected previously which was lost. I would, either way, try the three AT commands just to be on the safer side. AT+RENEW, AT+RESET, AT. If you make a PR request for adding a new line after every response from the HM 11 module, it would be great Next step is to set up the raspberry pi, everything should be available directly up setting up an RPi with a new SD card. Be sure that you are using Raspberry Pi 3 and newer versions which have onboard BLE. With Commandline: Below is my notes. If I recall either Android or the RPI didn’t like the 6 digit PIN… Read more
Did I know: A water fountain could produce 1,33,303 ?
I always think how much this setup could pump out? This is a fountain at Technical University of Dortmund. Too much in to thinking and I was spoiled by my Statistics for Reaseachers and Engineers (SRE) course! It made me think, why not compute. Thanks to Sakthi Thangavel for the awesome and timely picture using a simple R Console Standing tall quenching the thirst of engineers! What I found is about potatoes that can be grown out that fountain running through the summer was interesting. This was more of an academic endeavour for me. I made a test by conducting a trail for measuring the water flow through it! Now why not use R project for the purpose of computing? I know its a lame for using such a powerful tool for a simple math but its not bad for getting around R! some of the assumptions made: Diameter of the pipe = 1 cm flow rate is constant for 6 months if someone is able to measure it > comment in the post! Formula used: formula used from www.1728.org will be implemented in R Code Formula in R pipeDiameter = sqrt (4 * flow / pi * velocity) velocity = (4*flow) / (pi * pipeDiameter^2) flow = 1/4*pi*(pipeDiameter)^2*velocity A bottle was filled in 21 seconds. Winny was the time keeper. It was a 1 litre bottle. So scientifically saying it took 21 seconds for 1000 millilitres. (Please comment if you have more accurate results to take a list of values from different trails to make the… Read more
Featured Bakers – Konditorei – Café in Europe
Konditorei Konditorei is the German word for a pâtisserie or confectionery shop. A Konditorei typically offers a wide variety of pastries and typically also serves as a café. Its an unrated list. Will get longer as more places are visited. Suggestions in comments. Café – Konditorei Wiacker Openning time: Mo. – Fr.: 9.00 – 18.30 Sa.: 9.00 – 17.00 Su.: 12.00 – 18.00 Holidays: 13.00 – 18.00 https://www.instagram.com/p/BXsYlp9AfFC Images from iPhone 6 Images from Internet CHOCOLATE HOUSE of Luxembourg by Nathalie Bonn Openning time: Monday-Friday: 8am to 8pm Saturday: 9am to 8pm Sunday: 10am to 8pm Holidays: 11am to 8pm https://www.instagram.com/p/BYQ630xHKuY Images from iPhone 6 Images from Internet Ovocný Světozor Ovocný Světozor, Vodičkova, Prague-Praha, Czechia Mon – Fr. : 08:00 – 20:30 Sat. : 09:00 – 20:30 Sun. : 10:00 – 20:30 https://www.instagram.com/p/BYqpJGTgPm6/ Images from iPhone 6 To go list [https://goo.gl/maps/mwbWdhKbK252]
I have an app idea, which cloud provider to choose?
There are millions of cloud providers out there, may be not, but there are enough to confuse you with their features and creative billing terms. Ofcouse, its traditional VPS style and not using Docker to pack your app. Now, the two cloud provider I choose to choose between are Amazon Web Services – aws.amazon.com Digitalocean – cloud.digitalocean.com Why this two? I am not paid any one of those cloud providers, that further more vaguer for the reasoning. Being said that, to see from the perspective of highly scalable apps there are two philosophies. I build my app using a framework from my cloud provider and my service provider will make it easier to deploy and scale up or down on demand I setup everything and orchestrate the deployment process using chef, puppet or similar application and write my own logic for processing the on demand scaling yes, ordered in the same order as the service provider. I will put my two cents of my philosophy in software development and this totally depends on the type of developer. one follows the guidelines laid out by a framework to strictly develop using those or to use libraries to build ones own app philosophy which dictates its own framework as you build it up. The fight is between libraries and frameworks, when you know what you are building and the final line is the light at the end of the tunnel, its probably much easier to find the suitable framework and nail it! important thing… Read more
Parallel universe: Perceptions from an immigrant
On a metro train travelling to SHARAF DG station, . It has been an intense “yesterday” seeing death, life and the decisions you make when there is a soul trying to escape this world to travel onto another. In a different country travelling from a different country always trying to relate the whole world and its existence to the people you love. People you love being the ones you meet, the people who got you here, the ones you are born with, the ones you want to die with. This whole existence is an art and is always interpreted upon different phases that we go through as a good and bad. The balance of thoughts or the non neutrality of the mind makes every art an interpretation to experience in life. The train is moving fast and its dark and cold. Diversity at its best. People of all sorts. Be it the age, color, language, culture, what they wear and how they smell. I m going insane! There is a guy who is sitting on the other side and I am trying to get a look on him trying to identify his diversity and he looks more similar to those people I was brought up with. Interesting and it changes as he gives that “I m the creepy guy” look. This moment transforms radically when he pushes out through the crowd to get out of the train. There was a whole distance to cover, while he is on the phone…. Read more
Repair your PC from Grub boot rescue!
I was working with windows disk management. It somehow, with a lot of intelligence, dropped the partition that where ubuntu was installed. Obviously, you didn’t see the problem until a reboot and Ubuntu cannot boot. Grub Boot rescue shows up. You tried the following tutorial and didn’t seem to work. If the linux partition holding the grub files still exists, you can use grub prompt. Depends where your Windows install is located. If it’s on the first drive e.g. (hd0,1), this should boot into Windows: set root=(hd0,msdos1) chainloader +1 boot If it’s on the secondary drive e.g. (hd1,1), you’ll have to add drivemap: set root=(hd1,msdos1) drivemap -s hd0 hd1 chainloader +1 boot Source: Stackexchange If it did work, no problem. If it didn’t then this would be the best solution Step 1: Install a bootable windows disk. If you had a 64 bit windows and you have a osX computer. Use boot camp. I was using a 32-bit windows 8.1 and I had to install the bootable USB using unetbootin or Install Ubuntu on the USB media Bootable USB: windows 8 step2: Boot your PC with the USB drive P.S. I did a Ubuntu bootable USB because my Windows 8 media didn’t detect. This screen is a happy moment. Now install Ubuntu normally Yup here it goes!!! U can now normally install Ubuntu and that’s the end of grub boot rescue Note: I lost all the files/projects because the drive with Ubuntu got dropped by windows 8.1
SensyLight: sensible atmosphere using Internet of Things
The above video is from a research lab at the MIT Media Lab called Responsive Environments. They have a really interesting article [1] about a multimodal mediated work environment. Internet of Things has been of great buzz these days. It is interesting, but why is it interesting? Just made a project/home lighting on this project. So, here is the scenario for the internet of things. The thing in the Internet of Things is the web controlled lights – LED strip. The “control” part of the lights is managed by the Arduino. The task of Arduino would be to “GET” data that matters and send that info to the light strip. The ways in which the LED strip can be manipulated from the Arduino can be listed as 1 LED can have 3 inputs, R G B. Each R G B can value from 0 – 255 which is 256 values. There are 32 LEDs in the strip. Which makes a lot of math and logical decisions for the Arduino to handle. That is the whole point of networking these devices, now they have access to on-demand computing resources. This means we need the medium to connect the Arduino to the internet. That is done using the WiFi module which communicates with the Arduino using USART communication. There are two ways to handle the information flow: To directly to give out RGB information an hour A lot of data transfer between the devices, but all of the computing, the decision is taken… Read more