Project

# Title Team Members TA Documents Sponsor
3 Smart Interface for ECEB Research Solar Panels
Texas Instruments Best Project Award
Dillon Vadgama
Douglas Lee
Sachin Reddy
Shaoyu Meng design_document3.pdf
final_paper1.pdf
presentation1.pdf
proposal1.pdf
video
# Problem

In 2018, a fire broke out on the roof of a Walmart in Beavercreek, Ohio due to Tesla’s unmaintained solar panels suffering from hotspots. These hotspots resulted in the cracking of the back sheets of the solar modules and compromising their electrical insulation. There was no protection system to detect this type of unwanted behavior and shut down the system before a fire broke out. As a result, Walmart sued Tesla over the flaws present in their solar panels.

Our very own ECE Building has a roof of 60 solar panels used for research; however, there are no protection interfaces between the solar panels and their connections to the power inverter. A smart interface box attached to each solar panel that monitors system behavior and has the ability to shut off the entire operation could help prevent a disaster like Walmart’s.

This project was initially pitched by Professor Arijit Banerjee and generated interest from several students. After a meeting with Professor Banerjee and David Null, two teams working on two separate projects related to the ECEB solar panels were created. It was decided that our group (Dillon Vadgama, Doug Lee, and Sachin Reddy) will be working on the Smart Interface Box for the ECEB research panels. The other students will be working on another project relating to the set of solar panels providing the building with power.


# Solution Overview

Our solution for monitoring and controlling our solar panels will be a smart interface box mounted directly to the solar panel. Electrically, the interface box will be connected directly to the output of the solar panel and will have the ability to configure how many cells will be connected to the power inverter (32 cells, 64 cells, or 128 cells). The system will be powered from an isolated 12V supply and an Ethernet interface will allow users to configure and monitor the solar panel through a server/PC. Because the power generated by the solar panel will be running through the smart interface box, we will have the ability to detect overcurrent/overvoltage conditions and disconnect the solar panel if necessary. Lastly, connections on the interface box will be available to attach thermocouples. Doing so will allow us to measure temperatures on different parts of the solar panel and disconnect the solar panel to prevent a hotspot disaster.

The interface box will have the following key features:
- The output of the interface will be configurable to be connected to either 32 cells, 64 cells, or 128 cells.
- The output of the interface box will be protected from overvoltage and overcurrent.
- An onboard microprocessor will allow for communication and measurement of system parameters over an ethernet connection.
- The box will be powered from an isolated 12V PSU.
- Should the 12V power supply fail, the output of the interface will be disconnected from the solar panel.
- Onboard LEDs will indicate the operational status of the panel and interface.
- When the system is not communicating via Ethernet, the configuration of the interface can be controlled manually via onboard - switches.
- The enclosure of the interface will be weather-proof along with any cable jacks used.
- An option to integrate thermocouples with the system will be available.


# Solution Components

## Switching Subsystem

- Contains switching components responsible for connecting different sections of the solar panel (32 cells, 64 cells, or 128 cells) to the output or disconnecting the solar panel altogether.
- The switching configuration will be controlled by the Processing Subsystem.

## Electrical Monitoring Subsystem

- Connects directly to the output of the switching subsystem and is responsible for measuring current and voltage.
- The subsystem has two outputs: one that communicates voltage/current data to the Processing Subsystem and another that passes power generated by the solar panel to the output of the interface box (and into power inverter).

## Temperature Monitoring Subsystem

- Contains all of the circuitry necessary to extract temperature data sourced from thermocouples that will be mounted on various areas of the solar panel.
- This data will be sent to the Processing Subsystem for further analysis.

## Manual Switches

- In case of a loss of connection to the internet and the server is unable to access the interface box, there will be manual switches mounted on the enclosure to control the configuration of the solar panel.
- These switches will not affect the configuration of the solar panel if the Ethernet Interface is in already in use.

## Processing Subsystem

- An internal microcontroller (most likely an ATmega328P) will be used to communicate with and control other subsystems present in the interface box.
- Detects overcurrent/overvoltage conditions using data sent by the Electrical Monitoring Subsystem.
- Detects hotspots and overheating using data sent by the Temperature Monitoring Subsystem.
- Controls the Switching Subsystem to set the output configuration the solar panel or disconnect it altogether if a failure condition is met.
- Packages and sends relevant data and receives configuration commands from the user through the Ethernet Interface.
- Reads the switch states from the Manual Switches to control the configuration of the solar panel if an Ethernet connection has not been established.

## Ethernet Interface

- Facilitates communication via Ethernet between a server/PC and the microcontroller installed in the interface box.
- Allows the command, control, and monitoring of the solar panel to take place.

## LED Display

- Several LEDs will be present to show information about:
-- Whether or not the interface box is active
-- The current configuration of the solar panel, or
-- Whether or not an Ethernet connection is active.

## Power Subsystem

- Regulates the 12V supply into voltage levels suitable to power all of the above subsystems.

## Software

- Receives data output through the Ethernet Interface and stores the information in a database of some sort.
- A python based GUI will be able to extract, transmit commands, and display the data, providing a user-friendly experience.
- Must be Windows compatible.
- Both the database and the GUI should be secured to prevent unauthorized users from controlling the solar panels.


# Criterion for Success

Our solution will be successful if it can accurately monitor a solar panel’s power output and temperature while simultaneously reporting this data to an external server. A GUI type interface should display output data from the interface box and allow the user to configure the solar panel remotely. In the case of a loss of connection to the internet, the interface box will be controlled by built-in buttons on the box. Additionally, the interface box will be a success if it can realize all of the items listed in the Key Features section above.

We aim to build a weather-proof device that can use an Ethernet LAN connection to then access a server where a user can check how the solar panels are doing at any given time. The end goal is to provide a fully functional prototype for the ECE department to use on one solar panel. With time and some refinement to the design, multiple interface boxes will be manufactured and installed on each of the ECEB research panels.


# Team Members

- Dillon Vadgama (dvadga2)
- Douglas Lee (dlee242)
- Sachin Reddy (ssreddy2)

Oscillosketch: Handheld XY Etch-a-Sketch Signal Generator for Oscilloscopes

Josh Jenks, Eric Vo

Oscillosketch: Handheld XY Etch-a-Sketch Signal Generator for Oscilloscopes

Featured Project

Team Members:

- Josh Jenks (JaJenks2)

- Eric Vo (ericvo)

# Problem

Oscilloscope XY mode is a powerful way to visualize 2D parametric signals and vector like graphics, but interactive control typically requires multiple bench instruments or ad hoc setups. There is no simple, handheld, purpose-built controller that can safely generate stable, low noise bipolar X/Y signals for XY mode while providing an intuitive drawing interface. Additionally, producing clean vector style graphics requires careful mixed signal design (DAC, filtering, level shifting, buffering, protection) and deterministic embedded control.

# Solution

We will design a custom PCB and handheld enclosure that connects to an oscilloscope’s CH1 and CH2 inputs (X and Y). The device will function like an Etch-a-Sketch: two rotary encoders control the on screen cursor position, allowing continuous line drawing on the oscilloscope in XY mode. The PCB will include:

- A microcontroller (STM32- or ESP32-class) to read the encoders/buttons and generate X/Y sample streams

- An external dual channel DAC to produce two analog voltages

- Analog filtering, level shifting, and buffering to generate bipolar outputs with selectable full scale up to ±5 V

- A complete power subsystem powered from USB-C 5 V, including a generated negative rail to support bipolar analog output

- Output protection/current limiting so the device cannot damage the oscilloscope inputs under reasonable misuse

Stretch goals: add a vector rendered game/demo mode (Pong; Asteroids as further stretch), including optional Z axis blanking to reduce retrace artifacts, and optional line level audio output to monitor/play back generated signals.

# Solution Components

## Subsystem 1: User Input / UI

Purpose: Provide intuitive control for drawing and mode selection.

Components (examples):

- 2x incremental rotary encoders with push switch (e.g., Bourns PEC11R series or equivalent)

- 4x tactile pushbuttons (e.g., mode select, clear/recenter, scale/zoom, optional pen/blank)

- Optional status LEDs for mode feedback

## Subsystem 2: Microcontroller + Firmware

Purpose: Read inputs, maintain drawing state, and generate X/Y sample buffers at a fixed update rate.

Components:

- MCU (STM32- or ESP32-class)

- Example options: ESP32-WROOM-32E module OR STM32G4/F4-class MCU with SPI + timers

Firmware features:

- Quadrature decoding for encoders; button debouncing

- Drawing modes:

- Base mode: “etch-a-sketch” continuous drawing (position integration with adjustable step/scale)

- Optional modes: predefined shapes/patterns for testing

- Fixed rate DAC update engine (timer driven), with buffered generation to keep output stable independent of UI activity

## Subsystem 3: Dual-Channel DAC + Analog Output Chain (X and Y)

Purpose: Generate clean, low noise bipolar voltages suitable for oscilloscope XY inputs.

Components (examples):

- Dual-channel SPI DAC, 12-bit (Microchip MCP4922 or equivalent)

- Reference for stable scaling / midscale (e.g., LM4040-2.5 or equivalent 2.5 V reference)

- Optional reconstruction filtering per channel (RC and/or 2nd order low-pass) to eliminate high frequency components

- Op-amp signal conditioning:

- Level shift around midscale + gain to produce bipolar output centered at 0 V

- Buffer stage for stable drive into coax cables and oscilloscope inputs

- Example op-amp class: dual op-amp supporting ±5 V rails (e.g., OPA2192/OPA2197 class or equivalent)

- Output connectors:

- 2x PCB mount BNC connectors (X and Y outputs)

- Output protection / safety features (per channel):

- Series output resistor (current limiting and stability into cable capacitance)

- Clamp diodes to rails to limit overvoltage at the connector

- ESD considerations and robust grounding strategy

## Subsystem 4: Power Regulation

Purpose: Provide clean digital and analog rails from a safe, convenient input.

Components (examples):

- USB-C 5 V input (sink configuration with CC resistors) + input protection

- 3.3 V regulator for MCU and logic (e.g., AP2112K-3.3 or equivalent)

- Negative rail generation for analog (e.g., TPS60403 inverting charge pump or equivalent) to enable bipolar outputs

- Power decoupling and analog/digital rail isolation as needed

## (Stretch) Subsystem 5: Z-Axis Blanking Output (Optional)

Purpose: Improve vector graphics/game rendering by blanking the beam during “retrace” moves.

Components:

- Protected Z-output driver (0–5 V-class control) to oscilloscope Z-input

Firmware:

- Assert blanking during reposition moves; unblank during line segments

## (Stretch) Subsystem 6: Line-Level Audio Output (Optional)

Purpose: Provide an auxiliary line out to monitor synthesized signals audibly.

Components:

- 3.5 mm TRS jack (line out)

- AC coupling + attenuation network and optional buffer

Firmware:

- Optional stereo mapping (e.g., X→Left, Y→Right) after removing DC offset

# Criterion For Success

The project is considered successful if all of the following are demonstrated and measured:

1. Bipolar XY output with selectable range:

- Device generates two analog outputs (X and Y) centered at 0 V, with selectable full-scale up to ±5 V.

- Verified with DMM and oscilloscope measurements (documented calibration procedure).

2. Stable interactive drawing in XY mode:

- Using the two rotary encoders, a user can draw continuous line art on an oscilloscope in XY mode.

- At minimum, demonstrate repeatable drawing of a square and a circle using the controller’s clear/recenter and scaling functions.

3. Deterministic update behavior:

- The firmware updates the DAC using a hardware timer or equivalent mechanism to maintain stable, non intensity varying output during user interaction.

4. Safe interfacing / cannot damage scope under reasonable misuse:

- Output stage includes current limiting and voltage clamping such that accidental output short-to-ground and brief overdrive conditions do not produce damaging currents into the oscilloscope input.

- Verified by bench test (short to ground test and measurement of limited fault current through series resistor).

(Stretch) Demonstrate a vector rendered mode (Pong; Asteroids further stretch) with reduced retrace artifacts if Z-blanking is implemented. Optional line-out demonstration if implemented.

Project Videos