Quantcast
Channel: Electronics FAQ
Browsing latest articles
Browse All 56 View Live

Image may be NSFW.
Clik here to view.

Compiling Linux Kernel modules on OLinuXino (ArchLinux ARM)

So if you have an OLinuXino and have installed the development tools on the board and successfully compiled userspace programs on it (refer this blog post), and are feeling adventurous, you can try...

View Article


Image may be NSFW.
Clik here to view.

Mounting ARM Linux (OLinuXino/Raspberry Pi) SD card .img files on Desktop PC...

Linux distributions for embedded ARM board like Raspberry Pi or iMX233-OLinuXino-MAXI are available as prebuilt SD card images supplied as raw .img files.For example, .img files for ArchLinux are...

View Article


Image may be NSFW.
Clik here to view.

ESP8266 + DHT22 + Arduino + Web Server

So here is a modified version of how to get a DHT22 working on ESP8266 NodeMcu board using the Arduino IDE (not Lua)The project is based...

View Article

Image may be NSFW.
Clik here to view.

Setting up TL-WPS510U Wireless Print Server

HP LaserJet 1020 plus working fine with TL-WPS510U wireless print serverWe have an HP LaserJet 1020 plus which we wanted to share on our network. Since this is a printer which only has a USB port, it...

View Article

Image may be NSFW.
Clik here to view.

Scanning X-Ray Films

So Recently - because of binge running - I ended up with pain in my right thigh. So I had to visit an orthopedic doctor who diagnosed me with a pulled sciatica. We got an X-Ray done to make sure it...

View Article


Image may be NSFW.
Clik here to view.

Arduino code for ESP8266 to take readings from DHT11 and upload them to...

www.initialstate.com is a great data broker and visualization platform for IoT devices. Up until now it was out of reach for ESP8266 fans because the Arduino environment for ESP8266 did not support...

View Article

Image may be NSFW.
Clik here to view.

Dealing with WiFi IP Cameras and .264 files

On a recent visit to China, I purchased a cheap IP camera which looks like a robot:You can get one online from amazon for twice the amount that you might pay for it when you buy it from one of the...

View Article

Image may be NSFW.
Clik here to view.

tweet.sh on LinkIt Smart 7688 Duo (OpenWrt)

Temboo-less tweeting from the shellLinkIt 7688 Duo is a cheaper ($15.9 vs $74.95) and breadboardable version of Arduino Yun. Arduino Yun comes preloaded with Temboo whereas LinkIt does not have that...

View Article


Image may be NSFW.
Clik here to view.

Classroom Timer V1

If you have ever been a teacher at any point in your life, you would have realized the importance of keeping your students engaged and on task at all times during the short period every day that you...

View Article


Image may be NSFW.
Clik here to view.

Set Elon's latest tweet as your desktop wallpaper

If you have an Ubuntu box, you can use a script to to set your wallpaper's to Elon's Latest Tweet.Here is how you setup:Install required packages.Download tweet.sh - an OAuth based twitter client...

View Article

Come C tricks

Swapping the values of two variables with out using a third!!x = x ^ y;y = x ^ y;x = x ^ y;All hail the XOR operationReference: https://www.cs.umd.edu/class/sum2003/cmsc311/Notes/BitOp/xor.htmlint c;c...

View Article

Image may be NSFW.
Clik here to view.

Replacing batteries in Black and Decker DP240 2.4V Direct-Plug Rechargeable...

I have owned a Black and Decker DP240 Cordless Electric Screwdriver for 5 years now. Its battery had started losing its capacity to hold charge, so I looked online to see if it was possible to change...

View Article

Image may be NSFW.
Clik here to view.

My favourite alias in .bashrc on Ubuntu

Colorizing and handling system/kernel logsalias logread='cat /var/log/syslog | ccze -A'alias logclear='sudo truncate -s 0 /var/log/syslog'alias logsave='cat /var/log/syslog | ccze -h >...

View Article


Image may be NSFW.
Clik here to view.

Build system comparison for C shared library: Manual vs. Makefile vs. Bazel

Here is a simple code for shared library (.so) and an executable that uses it:Library Source files (libhello.c and libhello.h):Source for the executable that uses the above library (main.c): There are...

View Article

Image may be NSFW.
Clik here to view.

Adding new elements to OpenWrt's LuCI on GL-MiFi

If you are an IoT enthusiast who uses devices that run OpenWrt (routers from Goodlife, or MT7688), you would have considered creating a plugin for LuCI so that you can expose the functionality of any...

View Article


Image may be NSFW.
Clik here to view.

Food Silicone food savers + Glass bottles

Plastics! Cancer! Correlation!And so we move away from plastic bottles to glass bottles.But glass bottles pretty but fragile.So what do we do?We get food huggers!!!Food huggers seemed onle somewhat...

View Article

Image may be NSFW.
Clik here to view.

TurboPower

We all want our smartphone to charge quickly. And different phone manufacturers have either created their own propriety method of charging (Oppo VOOC or MediaTek PumpExpress+ or Motorola's TurboPower...

View Article


Image may be NSFW.
Clik here to view.

MNO LAN: Use same MNOs SIM card in your IoT devices like GL-MiFi

One of the big issues with IoT is somehow enabling two end nodes to communicate with each other in the presence of Network Address Translation (NAT)Now days most ISPs (and Mobile Network Operators or...

View Article

Image may be NSFW.
Clik here to view.

googletest on Ubuntu

Running gtests on your C++ programs using g++ on Ubuntu:InstallationInstall CMake:sudo apt install cmakeSwitch to home directory and:git clone --depth 1 https://github.com/google/googletest.gitBuild...

View Article

Image may be NSFW.
Clik here to view.

Hacking ESP8266 Black cloud features Board T5

A few months ago, I got my hands on ESP8266 Black cloud features Board T5 which has an ESP8266, an 8051 microcontroller and a few sensors. The 8051 microcontroller acts as a master to the ESP8266 and...

View Article

Linux Internals

What happens at boot?Kernel Boot Process by 0xAX at GithubAnalyzing the Linux boot process by Alison ChaikenWhat happens when a device is plugged in?What actually happens when you plug in a USB device?...

View Article


Image may be NSFW.
Clik here to view.

Hacking "ESP8266 Black Board T5" Part 2 - Blinky and Hello World on SDCC

Previous Part:Hacking "ESP8266 Black Board T5" Part 1 - Blinky on KeilLets now move to SDCC, because SDCC is free and the free version of Keil has limitations. We will also move away from Windows to...

View Article


A Short Course on OpenWrt

View Article

Image may be NSFW.
Clik here to view.

Enabling an Industrial I/O Driver on Raspberry Pi 3 running Arch Linux ARM

MPU9250 from TDK is a three in one Gyro + Accelerometer + Compass sensor with an I2C interface. Mainline Linux kernel has the source code for it's driver which reads values from the sensor via I2C and...

View Article

Image may be NSFW.
Clik here to view.

Interface USB Mouse to your Arduino using CH375B

CH375B module. It is usually supplied with a 2 way jumper mounted on TXD and RXD pin. The TXD RXD pins are located next to the female USB receptacle. Please unmount the jumper before use.Get the...

View Article

Browsing latest articles
Browse All 56 View Live