hardware

Check Zephyr Version

20 Jul 2020, 10:35am TZ +05:30
Zephyr, hardware
Embedded, Software, IoT, tips

Check Zephyr Version # Find the version of Zephyr OS you are currently using. Commands # 1 2 3 4 5 # Go to your Zephyr installation Directory cd Workspace/zephyr # View the Last 2 commits in Zephyr repository git log --abbrev-commit --pretty=oneline -2 Typical Output # This shows that we are on Patch Level 99 of Version 2.3.0.

Update Zephyr SDK

20 Jul 2020, 10:35am TZ +05:30
Zephyr, hardware
Embedded, Software, IoT, tips

Update Zephyr SDK # There is an active development community behind Zephyr OS. They frequently release updates and patch. We need to keep our own SDK instance updated with these releases. Commands # 1 2 3 4 5 6 7 8 9 # Go the Workspace cd ${HOME}/Workspace # Configure the Environment source ./env.sh # West command for update # - This would force update all the repositories west update -f always This is typically the case since we configured it this way. ...

Programming Arduino Bootloader using Avrdude with AVRISP mkII in Manjaro (Arch Linux)

18 Jul 2020, 12:50pm TZ +05:30
linux, manjaro, hardware, Arduino, AVR
Embedded

Programming Arduino Bootloader using Avrdude with AVRISP mkII

I use the original Arduino-UNO and Mega for development. They are reliable and work a charm. But for cost constrained projects, most of the times I have used Arduino clones. It’s a common hassle these days with some Arduino clones having wrong boot-loader.

I wanted to have a permanent and repeatable way fix the boot-loader in Arduino boards.

Let’s look at how I did this in my favorite Manjaro (Arch Linux)

In fact my earlier article on installing AVRISP mkII on Windows 10 is one of the most visited articles on this website.

...

Zephyr OS : Understanding Application Development and a Fancier Blinky for STM32F3 Discovery Board

26 Jun 2020, 02:54pm TZ +05:30
Zephyr, hardware, manjaro, linux, STM32, ARM
Embedded, Software, IoT

Getting started with Application Development on Zephyr OS

After understanding the basics of how to do debugging on a Zephyr OS project, let’s do something custom.

We would look at how to get started with Application Development on Zephyr OS.

This is Part 3 in the series of post on Zephyr OS. In Part 1 we saw how to setup the development environment on Manjaro (Arch Linux). In Part 2 we looked at how to create an Eclipse CDT IDE end project and then successfully debug our code.

Source code for basic-blinky project is available at https://github.com/boseji/zephyr-basic-blinky-stm32f3_disco .

Source code for fancier-blinky project is available at https://github.com/boseji/zephyr-fancier-blinky-stm32f3_disco . Note: This code is specific for STM32F3 Discovery with PCB Revision C and above.

...

Flashing ESP8266 module ESP-01 in Manjaro (Arch Linux) and a story of Serial Port under Linux

17 Jun 2020, 06:41pm TZ +05:30
hardware, WiFi, ESP8266, Espressif, manjaro, linux, serial-port
Embedded, IoT

ESP8266 Flashing on Manjaro (Arch Linux)

Let’s look at how to use Serial-Port under Manjaro (Arch-Linux) . Our goal would be to flash a ESP8266 chip . More specifically the tiny module ESP-01 .

This may be out of time in the 2020.

I wanted to fix the serial-port issues once and for all.

Here goes my quest to simplify serial-port logging & debugging on Linux.

...

Zephyr OS : Blinky Example for STM32F3DISCOVERY board with Debugging Enabled

08 Jun 2020, 12:17pm TZ +05:30
Zephyr, hardware, manjaro, linux, STM32, ARM
Embedded, Software, IoT

Zephyr OS Blinky Example for STM32F3DISCOVERY board

We are going to look at a example of Blinky running on STM32F3DISCOVERY Board . Additionally we would be doing Debugging on the Zephyr OS. All this on the good ness of Manjaro (Arch Linux).

This is Part 2 in the series of post on Zephyr OS. In Part 1 we saw how to setup the development environment. In Part 3 we look at how to get started with Application Development on Zephyr OS using our custom blinky projects on STM32F3 Discovery Board .

...

Zephyr OS : Getting Started on Manjaro (Arch Linux)

08 Jun 2020, 06:25am TZ +05:30
Zephyr, hardware, manjaro, linux
Embedded, Software, IoT

Zephyr OS Development Using Manjaro(Arch Linux)

The Zephyr OS is based on a small-footprint kernel designed for use on resource-constrained and embedded systems: from simple embedded environmental sensors and LED wearables to sophisticated embedded controllers, smart watches, and IoT wireless applications.

From Zephyr Project Documentation

We would look at initializing the environment and installing necessary dependencies. This is Part 1 in the series of post on Zephyr OS. In Part 2 we would look at an Example of Blinky program running on STM32F3DISCOVERY Board . In Part 3 we look at how to get started with Application Development on Zephyr OS using our custom blinky projects on STM32F3 Discovery Board .

...

Python Juypter : Install

31 Mar 2020, 03:21pm TZ +05:30
Python, AppDevelopment, hardware, Juypter
tools, Software

Jupyter

Jupyter is great tool for Python development. It’s an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. It’s used for data cleaning, scrapping and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more. In-fact, I have already used it in some of my hardware projects.

Let’s Get this installed in our machines. And have some fun !

...

Running TL866II Plus in Manjaro Linux

13 Sep 2019, 08:21pm TZ +05:30
linux, manjaro, programmer, hardware
tips, tools, Embedded

TL866II Plus on Manjaro (Arch Linux)

The TL866II Plus is a Parallel programmer. Freqenty used in my lab for programming age old chips like AT89C51.

One might wonder what use I have for these old 8051. Well I have big box full of these ! And many of my project still run 8051. Yes!

All this time, Windows was the only way for this programmer.

Since, I am using Manjaro Linux wanted it to work there.

Lets look at how I mad this possible.

...