My scientific journey started in the year 2012. I started assisting my professor at college and took up a few trivial jobs in his research. Over the years, I have mastered a few subjects and I am moving ahead to learn new things. I am also interested in doing things differently and get new results. […]Read More A boffin life.
You might have observed that installing opencv-python has become so easy with the pip install support. It works fine on windows but if we want to do the same on a raspberry pi’s raspberry pi OS, it has to satisfy a lot of dependencies. The following are all the required dependencies to make your opencv-python […]Read More Installing Opencv-python v 4 on raspberry pi and testing the cloak of invisibility example
Apache is a web server on which you can host static and dynamic content [php]. Certbot [https://certbot.eff.org/] is a free TLS1.3 and TLS1.2 certificate provider. The service of certbot is very good but the redirect condition that it writes is sometimes buggy. It will only consider the servername but will ignore the server alias. This […]Read More Apache redirect engine : http to https automatically including www
Sometimes when we connect the audio jack for the first time in a raspberry pi OS, we may face difficulties in getting the audio via the 3.5mm jack. Here is a quick hack to fix it. $ sudo apt-get remove pulseaudio $ sudo apt autoremove $ sudo /etc/init.d/alsa-utils reset $ sudo reboot This will set […]Read More How to set analog audio working on raspberry pi 4 – Remove pulseaudio!
LORD [https://www.microstrain.com/] is a company which manufactures various Inertial Measurement units which come with BLE, Global Navigation Satellite System (GNSS)[Not all models have it], an attitude and heading reference system (AHRS). Newton’s first law of motion: Newton’s first law of motion states that “An object at rest stays at rest and an object in motion […]Read More MEMS – 3DM-GX4-15 LORD microstrain: Inertial Measurement unit
In this article, let us explore how to configure a beacon on the raspberry pi using hciconfig and hcitool services and transmit it in 5 easy steps. Step 1 : Get your device. In my case it is hci0 with a mac address. pi@raspberrypi:~ $ hcitool dev Devices: hci0 B8:27:EB:93:72:BE Step 2 : Turn your […]Read More BLE Eddystone Beacons with the raspberry pi
You can use bluetooth sockets for machine to machine communication. Nordic Semiconductors (nrf51 and 52) and Texas instruments offer great BLE 4.2/5.0 devices that consume current of the order 15mA to transmit and 5mA to receive. During sleep mode, they consume as less as 1uA. This makes them a smart choice for IoT. Operating potential […]Read More Bluetooth Classic and BLE : Implementing Bluetooth classic Using Python bluetooth sockets
Tensorflow is an open source platform for machine learning by google. It was launched in 2015. https://ai.googleblog.com/2015/11/tensorflow-googles-latest-machine.html?m=1 It recently hit 100M downloads! This is their blog – https://blog.tensorflow.org/ I am writing this tutorial to help machine learning researchers & practicioners develop models on tensorflow which can be used to train a dataset of their own […]Read More Tensorflow : Train your own model to be deployed upon Mobile/GPU/Raspberry Pi
Mongodb is a popular NoSQL database program. MongoDB uses JSON-like documents with schema. It uses BSON (document storage format) which is a binary style of JSON documents. MongoDB supports the following features: Ability to run on multiple servers. Schema-less Database as compared to MySQL Provision for indexing. JSON like structure. Flask: Flask is a micro […]Read More JSONIFY a query from mongodb – Python FLASK API
I have found a pretty decent verilog tutorial which uses the free version of altera modelsim to demonstrate a few examples. https://verilogguide.readthedocs.io/en/latest/verilog/firstproject.html I will explore the tool and give a demo of the tool in my next blog post.Read More Modelsim for verilog.
In this post, I will explore entering and exiting the 3 low power or power saving modes available on stm32f030 micro controller. Just note that each mode requires you to set a few registers and it will automatically enter that low power mode once you call WFI or WFE functions later. The reference sheet claims […]Read More stm32 low power modes – entry and exit made easy.