Posts

Setting up Raspberry Pie Server With out any Display and LAN Connection(Using mobile Hot spot and WiFi)

Image
I recently bought a Raspberry Pie3 Model B to setup a mini server for my IOT platform. I didn't have a display or a LAN Connection to setup my raspberry pie server. So, I figured out a way to setup a Raspberry Pie server with a simple mobile hotspot and few Linux tricks. Basic Requirements : Raspberry Pie (This process works for any version of Pie board) Mobile Hotspot (May be mobile phone hot spot or WiFi router) Linux system (at least Live boot of any Linux distribution does the trick) 1. Raspberry Pie : Buy a Raspberry Pie from local electronics store or online. Also buy at least 8GB memory card(class 10 is preferred for speed and reliability). Download the lite version of Raspbian OS from Raspberry Pie website https://www.raspberrypi.org/downloads/raspbian/ 2. Setting up WiFi : Turn on Mobile Hotspot. Setup hot spot SSID and Password.                   ...

Configuring GPIO Pins in TM4C123GH6PM( TIVA C-Series Launch Pad)

In the previous project we have learnt how to use code composer studio to build our project for TM4C123G series microcontrollers. Today we are going to see how to configure GPIO peripherals of this micro controller to use the pins as input and output. We will be using the on board RGB LEDS which are connected to PORTF pin1, pin2 & pin3 as outputs and SW1 & SW2 which are connected to PORTF pin0 and pin4 as inputs in TIVA C-Series Launch Pad.                     Create a new project in Code Composer Studio and open the "main.c" file in the project. The first step of any microcontroller programming is to configure and set the clock source for the CPU and for all the onboard peripherals. First we will be configuring the system clock as follows; SysCtlClockSet(SYSCTL_SYSDIV_2_5 | SYSCTL_USE_PLL | SYSCTL_XTAL_16MHZ | SYSCTL_OSC_MAIN )   In order for this API to work we ha...

Setting up code composer studio for Tiva C-series(TM4C123GH6PM Launch Pad)

Image
TM4C123Gx microcontrollers are the series of ARM Cortex-M4 family. The Tiva C-series Launch Pad consists of a TM4C123GH6PM micro controller with an on board ICDI Interface , with RGB LED and two switches(connected to PF0->SW2 and PF4->SW1). It's maximum operating frequency is 72MHz and it has 32KB SRAM and 256KB Flash Memorey.                Coming to the main point, there are many IDE's which are either free or paid versions of compilers to develop firmware for your Tiva C-Series Launch Pad. Some of them are: 1. Paid Version :                           a. Keil MDK v5 for ARM.(free only with code size restrictions)                           b.EWARM. ...