Electronics For भारत (The Blog)

Securing Raspberry Pi

27 Sep 2018, 12:08pm TZ +05:30
linux, Raspberry Pi
Security

Secure Raspberry Pi

Using Raspberry Pi for your IoT experiments - a given. Like the white hair on my head.
Many don’t realize the real threat it poses these days to security. There have been many reports of IoT devices being hijacked. And then used for malicious purposes. Like peeping into your drawer. Even worst looking into your code. I don’t want people to know how many cockroaches and worms lie hidden in my old code. ;-)

Well, instead of loosing your night’s sleep read this.

...

STM8 Precise Cycle Delay

12 Sep 2018, 08:32am TZ +05:30
STM8, hardware
Embedded

This started a quest to design the perfect cycle delay for one of my favorite MCUs the STM8. In the process I learned a lot about custom pipeline and execution of in proprietary MCU such as STM8S.

STM8 board Image
Fig: STM8S Board

...

Setting Up Msys2;MinGW64 for Windows

19 Aug 2018, 06:14pm TZ +05:30
windows, MSYS, GCC
Software

Many of us Windows users try to have Visual Studio environment.
But that’s not always great option. Unless you are ready to download 8GB on your internet bandwidth.

I personally like Visual Studio and its fast upcoming cousin VS Code. But hate the large download part.

Hence an opensource alternative is a need of the hour.
Also if you like to compile linuxy style code with Makefile in all its glory.

MinGW64 at your service friend!

...

ESP8266 Unofficial Windows Development Environment

06 Aug 2018, 12:00am TZ +00:00
windows, hardware, WiFi, ESP8266, Espressif
Embedded, IoT

It has been long time since I worked on ESP8266 and that too native SDK from Esperssif. With the rusty know-how and lack on info online, I had a mixed start again. Hope that the experience shared here might be helpful for many users, who wish to do ESP8266 native SDK development on Windows Platform. But are afraid that most of the working tools for ESP8266 are linux friendly.

Not to worry you are in good company.

...

Convert Raw disk Image file into Virtual Box `.vdi`

10 Jul 2018, 12:00am TZ +00:00
VM, VirtualBox, RaspberryPi
Software, tools

Working with DietPi, we found going back and forth between the Raspberry Pi and PC very time consuming. Fortunately DietPi provides a PC distribution with x86_x64 configuration. Though they had both VM Ware and Virtual Box files but they did not work for us. So we decided to download the Native PC for BIOS/CSM (BETA) option.

We later found out this is just a .img file, we could not directly use it with Virtual Box

...

Installing AVRISP mkII with Libusb-win32 on Windows 10

09 Jun 2018, 12:00am TZ +00:00
windows, hardware, Arduino, AVR
Embedded

Its common that one needs to use a programmer from the Arduino IDE, but on Windows 10 things are not as simple. Many times the drivers installed are not correct hence the avrdude tool in the Arduino IDE refuses to work.

Now, we have a way to do this programming in Linux as well. Have a look at my latest article Programming Arduino Bootloader using Avrdude with AVRISP mkII in Manjaro (Arch Linux) .

...

WiFi Problem with Lenovo Laptop

16 Mar 2018, 12:00am TZ +00:00
linux
Software

This problem specifically occurs with Lenovo laptops and more pounced in *Ubuntu 17.x" onwards.

The problem happens when the laptop goes to any type of standby , sleep or hybrid-sleep.

It causes the WiFi the not function again after wakeup.

...