Posts

Hardware Tinkering Part 1 : Ethernet Repeater

Image
MicroHub/8 TP1008C 8-port Ethernet repeater TP1008C-Topview This is an 8-port Ethernet Repeater used about two decades ago. It was developed by a company called Compex and it is named as MicroHub/8 TP1008C 8 Port Ethernet Repeater. Checkout the  manual   for this device if you want to know more about this.  TP1008C-Backview The device takes coaxial cable input via the BNC Connector on the back and has 8 RJ-45 ports. There is also a slide switch on the left side of the device to switch between Normal and Uplink modes and two power jacks for connecting to a DC Power supply or a Keyboard 5V Power supply. What's inside ? What we can see are two controllers, the TAMARACK M. I. TC3097-8 Lite End Multiport Repeater Interface Controller, and the MYSON Technology MTD392N Coaxial Transceiver Interface.  TC3097-8 Datasheet MTD392N Datasheet MTD392N Coaxial Transceiver Interface The MYSON MTD392N is an integrated circuit (IC) designed for use in networking equipment that in...

Tip of the RTC iceberg | STM32F4 | RTC | CMSIS

Image
What is a Real-time Clock? Check out this article, Real-time clock from Wikipedia. It can get you started on what it is. In this tutorial, we will be talking about the integrated RTC peripheral on the STM32F401 microcontroller.  RTC Peripheral on the STM32F401RE The RTC is an independent Binary Coded Decimal counter. The RTC has two 32-bit registers that contain the         >  S econds,     > M inutes,      >  H ours (12- or 24-hour format),      >  D ay (Day of Week),      >  D ate (Day of Month),     >  M onth,      > Year, expressed in binary-coded decimal format (BCD). After the backup domain reset, all RTC registers are protected against possible parasitic write accesses. As long as the supply voltage remains in the operating range, the RTC never stops, regardless of the device status (Run mode, low-power mode, or under reset)....

Musical Keyboard : STM32 UART Receiver

Image
Musical Keyboard Let's configure the STM32F401 Nucleo-64 Development Board to work as a UART Receiver and emulate a Musical Keyboard by using our own libraries and drivers. We will use the STM32F401's  GPIOA Port USART2 Peripheral SysTick Timer The basic functionality is to Receive a character from the PC Keyboard and play the sound note mapped to the keystroke in the Keyboard.h file. I have written separate Modules for each peripherals, that is, GPIO.h  To initialise and Toggle the GPIO Pin Output UART.h To initialise the USART2 Peripheral, Receive the Characters from PC and to Print info on the Serial console  Delay.h To produce Micro-second and Milli-second specific delays Keyboard.h Mapping the Music Note periods and the function definition for playing a specific Musical Note GPIO Module The GPIO Module has two functions. The GPIO_Init() function enables the clock access to AHB1 Bus, Configures the GPIO Port A Pin 5 to Output Mode. GPIO_Toggle() function toggles the O...

SignGlove: Bridging the Communication Gap for Paralyzed Patients

Image
SignGlove What is SignGlove ??? SignGlove is an innovative wearable glove designed to bridge the communication gap for paralyzed patients, enabling them to express their wants and needs through hand signals. It enables caretakers to understand and respond to the needs of individuals with limited mobility.  Over a Wi-Fi network, SignGlove allows users to transmit their hand signals directly to a caregiver's device. One of the key features of SignGlove is its configurability, which allows it to adapt to each user's unique abilities and hand gestures. By customizing the device to match the specific range of motions and signals that a user can comfortably make, SignGlove ensures a highly personalized and tailored communication experience.  With SignGlove, paralyzed patients no longer rely solely on non-verbal cues or guesswork to convey their needs. The SignGlove concept ...... The concept of SignGlove was inspired by the work of Navid Azodi and Thomas Pryor from...

Interfacing 4x4 Matrix Keypad | AT89C51

Image
I am using the AT89C51 to interface the 4x4 Matrix Keypad and display the Input on a 16x2 LCD Display. The tools I will be using are : Keil uVision 5 Proteus 8 Professional The LCD is operated in 8 bit mode to display the key that is pressed. The keypad is connected to  Port-1 and the LCD is connected to Port-2 [Data Pins : D0-D7].  Initially the keypad is connected such that Row pins are LOW [ 0 ] and Column pins are HIGH [ 1 ]. Whenever a key is pressed, it will short the circuit and gives the Column a LOW. Then a function is called to check which ROW that key belongs to. For this purpose, we use four user defined functions to determine the ROW number. NOTE : Here the key should be pressed down for 2 seconds to display the input on the screen. This can be debugged along the way. _______________________________________________________________________________ Code : Embedded C IDE : Keil uVision 5 Simulator : Proteus 8 Professional uController : AT89C51 /* Created  by mbe...