Lab

Recommended Tools

In addition to the resources that the course provides, students may find it useful to obtain the tools below:

  • wire cutter
  • wire stripper
  • needle nose pliers
  • screwdrivers
  • hex set (ball ends)
  • electrical tape
  • small scissors
  • a small file

Lab Resources

The Srivastava Senior Design Lab (2070 ECEB) is dedicated to ECE 445 usage. This lab provides you access to a vast array of lab equipment, hardware, and software for your use in developing and implementing your senior design project. In addition, course staff will make themselves available in this lab during their office hours to provide guidance on your project throughout the semester. It is our intention that this laboratory space provides you and your team with all the tools you would need to develop and test your project (within reason!). If there is something that you require in the lab to complete your project that does not exist in the lab, talk to your TA and we will see if we can remedy the situation.

Lab Bench Reservations

If and when the semester gets so busy that finding a lab bench to work at becomes difficult, please make use of the Lab Bench Reservation System in PACE. Reserving a lab bench will guarantee priority access to that bench, even when the lab is busy. To use the tool, after authenticating in PACE, you will see a page with a title "Signup for lab bench" with some text and a large table below that. The table shows the schedule for each bench on a given day (use the orange arrows or "Go To Date" text box to see a different day).  You make your reservation by simply clicking in a grid cell in the table, which will turn the box green. Click on it again to un-reserve the bench (and the box will turn white again).  Benches that are already reserved by another group will be denoted with a yellow box (you can hover your mouse over a yellow box to find out what group has reserved the bench).

A few ground rules:

  1. You may use a lab bench (a) during a time for which you have it reserved or (b) any time during which it is not reserved in the system (on a first-come-first-served basis). However, if you are working at a bench that is unreserved and somebody reserves it using the online system, the group with the reservation gets the lab bench.
  2. There is a limit on the amount of time for which you can reserve benches in 2070 ECEB.  The limit is currently a total of 4 hours of total bench time in the lab per group per day (e.g., 2 hours at Bench A and 2 hours at Bench B would max out your team's reservations for the day).  While this may seem restrictive, keep in mind that the course serves more than 60 groups in a typical semester and the lab has only 16 benches.  Also keep in mind that you can work at a bench if it is unreserved.
  3. Some lab benches have specialized equipment at them, such as digital logic analyzers.  Try to reserve the lab bench that has the equipment that you need.
  4. Cancel reservations that you will not need as soon as possible to give other groups a chance to reserve the lab bench.  You can cancel a reservation up to 1 hour before time and not have it count against your daily allotment.
  5. Conflicts and/or reports of people not following these rules should be sent to your TA with the course faculty in copy.
  6. Above all, be courteous.  Especially near the end of the semester, the lab will be full most of the time and stress will abound.  Clean up the lab bench when you are done with it.  Start and end your sessions on time.  Be patient and friendly to your peers and try to resolve conflicts professionally.  If we notice empty lab benches that have been reserved, we will cancel your reservations and limit your ability to reserve lab benches in the future. Similarly, do not reserve more time than you will need.  If we notice that you are frequently canceling reservations, we will limit your ability to reserve lab benches in the future. Finally, do not try to “game” the system and reserve a bench for 30 minutes every hour for eight hours. We will notice this and revoke your ability to reserve a bench.

Lab Rules

There are two overriding rules of working in the Srivastava Senior Design Lab. First, be safe. Second, be courteous. Lab access will be revoked if you fail to complete the required laboratory safety training by the deadline or if you break any of the lab rules. Specific points and examples of what we expect:

Breaking the rules or exhibiting bad laboratory etiquette will lead to a loss of points and/or revocation of laboratory access.

Lab Equipment Rules

Do not remove any equipment from the lab. Students may not change the connections on equipment without TA approval. Any approved changes that are made should be undone before leaving the lab. If a bench instrument is malfunctioning, a red repair tag should be placed on it and you should notify your TA. This alerts the staff to the problem, and allows the Electronics Services Shop to fix the problem.

When using a piece of laboratory equipment for the first time, please ask a TA for help. If you are inexperienced with a piece of hardware, do not assume that it is broken just because you cannot figure out how to use it. Similarly, if you use a piece of equipment to test your project and the equipment does not perform the way you think it should, do not assume the fault is with the equipment, and do not try again with equipment on another bench. Rather, stop and make absolutely sure the problem is not with your connections or project.

If you break any laboratory equipment, you must tell your TA within 1 business day. Any attempts to conceal breakage will result in an F in the course.

Room Access

The lab room (2070 ECEB) is on the electronic key-card system. The Department automatically adds room access to the building and the lab for all students on the roster. You will need a “prox enanabled” I-Card to swipe into the room. If the door does not open after several attempts, you may need to get a replacement card. Room access is automatically restricted to faculty and TAs during official breaks (i.e., Thanksgiving, Christmas, and Spring Break).

Computer Access

The lab computers are EWS computers and are setup like other Windows-based EWS systems you are familiar with. Standard EWS rules apply to these machines. In particular, please store any/all files you generate on a network drive or in the cloud. The C: drive should not be used for any personal material, since it is unprotected and is available only on the particular machine where it was originally stored. A particular computer may be cleared and reconfigured at any time for maintenance reasons.

In addition to the desktop computers, EWS maintains the printer in the lab. You are free to use it to print documents related to your project, but be aware that this printing counts against your standard print quota.

Healthy Chair

Ryan Chen, Alan Tokarsky, Tod Wang

Healthy Chair

Featured Project

Team Members:

- Wang Qiuyu (qiuyuw2)

- Ryan Chen (ryanc6)

- Alan Torkarsky(alanmt2)

## Problem

The majority of the population sits for most of the day, whether it’s students doing homework or

employees working at a desk. In particular, during the Covid era where many people are either

working at home or quarantining for long periods of time, they tend to work out less and sit

longer, making it more likely for people to result in obesity, hemorrhoids, and even heart

diseases. In addition, sitting too long is detrimental to one’s bottom and urinary tract, and can

result in urinary urgency, and poor sitting posture can lead to reduced blood circulation, joint

and muscle pain, and other health-related issues.

## Solution

Our team is proposing a project to develop a healthy chair that aims at addressing the problems

mentioned above by reminding people if they have been sitting for too long, using a fan to cool

off the chair, and making people aware of their unhealthy leaning posture.

1. It uses thin film pressure sensors under the chair’s seat to detect the presence of a user,

and pressure sensors on the chair’s back to detect the leaning posture of the user.

2. It uses a temperature sensor under the chair’s seat, and if the seat’s temperature goes

beyond a set temperature threshold, a fan below will be turned on by the microcontroller.

3. It utilizes an LCD display with programmable user interface. The user is able to input the

duration of time the chair will alert the user.

4. It uses a voice module to remind the user if he or she has been sitting for too long. The

sitting time is inputted by the user and tracked by the microcontroller.

5. Utilize only a voice chip instead of the existing speech module to construct our own

voice module.

6. The "smart" chair is able to analyze the situation that the chair surface temperature

exceeds a certain temperature within 24 hours and warns the user about it.

## Solution Components

## Signal Acquisition Subsystem

The signal acquisition subsystem is composed of multiple pressure sensors and a temperature

sensor. This subsystem provides all the input signals (pressure exerted on the bottom and the

back of the chair, as well as the chair’s temperature) that go into the microcontroller. We will be

using RP-C18.3-ST thin film pressure sensors and MLX90614-DCC non-contact IR temperature

sensor.

## Microcontroller Subsystem

In order to achieve seamless data transfer and have enough IO for all the sensors we will use

two ATMEGA88A-PU microcontrollers. One microcontroller is used to take the inputs and

serves as the master, and the second one controls the outputs and acts as the slave. We will

use I2C communication to let the two microcontrollers talk to each other. The microcontrollers

will also be programmed with the ch340g usb to ttl converter. They will be programmed outside

the board and placed into it to avoid over cluttering the PCB with extra circuits.

The microcontroller will be in charge of processing the data that it receives from all input

sensors: pressure and temperature. Once it determines that there is a person sitting on it we

can use the internal clock to begin tracking how long they have been sitting. The clock will also

be used to determine if the person has stood up for a break. The microcontroller will also use

the readings from the temperature sensor to determine if the chair has been overheating to turn

on the fans if necessary. A speaker will tell the user to get up and stretch for a while when they

have been sitting for too long. We will use the speech module to create speech through the

speaker to inform the user of their lengthy sitting duration.

The microcontroller will also be able to relay data about the posture to the led screen for the

user. When it’s detected that the user is leaning against the chair improperly for too long from

the thin film pressure sensors on the chair back, we will flash the corresponding LEDs to notify

the user of their unhealthy sitting posture.

## Implementation Subsystem

The implementation subsystem can be further broken down into three modules: the fan module,

the speech module, and the LCD module. This subsystem includes all the outputs controlled by

the microcontroller. We will be using a MF40100V2-1000U-A99 fan for the fan module,

ISD4002-240PY voice record chip for the speech module, and Adafruit 1.54" 240x240 Wide

Angle TFT LCD Display with MicroSD - ST7789 LCD display for the OLED.

## Power Subsystem

The power subsystem converts 120V AC voltage to a lower DC voltage. Since most of the input

and output sensors, as well as the ATMEGA88A-PU microcontroller operate under a DC voltage

of around or less than 5V, we will be implementing the power subsystem that can switch

between a battery and normal power from the wall.

## Criteria for Success

-The thin film pressure sensors on the bottom of the chair are able to detect the pressure of a

human sitting on the chair

-The temperature sensor is able to detect an increase in temperature and turns the fan as

temperature goes beyond our set threshold temperature. After the temperature decreases

below the threshold, the fan is able to be turned off by the microcontroller

-The thin film pressure sensors on the back of the chair are able to detect unhealthy sitting

posture

-The outputs of the implementation subsystem including the speech, fan, and LCD modules are

able to function as described above and inform the user correctly

## Envision of Final Demo

Our final demo of the healthy chair project is an office chair with grids. The office chair’s back

holds several other pressure sensors to detect the person’s leaning posture. The pressure and

temperature sensors are located under the office chair. After receiving input time from the user,

the healthy chair is able to warn the user if he has been sitting for too long by alerting him from

the speech module. The fan below the chair’s seat is able to turn on after the chair seat’s

temperature goes beyond a set threshold temperature. The LCD displays which sensors are

activated and it also receives the user’s time input.

Project Videos