Project

# Title Team Members TA Documents Sponsor
23 RNG Challenge Alarm Clock
Allen Zhu
Rithvik Kopparapu
Zinovy Alecksandrovich
Sanjana Pingali design_document1.pdf
proposal2.pdf
proposal1.pdf
# Randomly Generated Challenge Alarm Clock

Team Members:
- Rithvik Kopparapu (rithvik9)
- Allen Zhu (allenz2)
- Zinovy Alecksandrovich (zinovya2)

# Problem
For college students, industry professionals, and people from all walks of life, alarms or other methods of waking up on time have become essential. Sleep is an essential need that no one wants to give up, yet there are numerous demands in our lives that take us away from the comfort of our beds. In order to stay on top of their schedules, people resort to various methods of alarms- setting many alarms all 2-3 minutes apart, downloading an app that forces them to take a picture, or using a smartwatch alarm. However, many times the human body automatically adjusts to the routine of a regular alarm, allowing people to snooze or turn off alarms in their sleep, turn off their phone, or getting used to the vibration of a smartwatch alarm.

# Solution

In order to solve this problem and force users to actually wake up in order to turn off their alarm, we wish to make an alarm clock with 4 different challenges using simple sensors (load cell, gyroscope, temperature, pedometer) to complete to turn it off- with the clock randomly picking which challenge needs to be completed every morning. Randomly picking between 4 different challenges every morning keeps the user on their toes, with minimal effort required from the user in order to set the alarm by having everything in one succinct device.

# Solution Components

## Subsystem 1 - Alarm clock and speaker

The first part of our solution is the physical alarm clock that we will be modifying to add our challenges. We wish to use a simple AA-powered alarm clock with a clear LCD display for the user to be able to easily program times in and use power efficiently. In order to inform the user what challenge is to be completed that morning, pressing the clock's snooze button will play an instruction on a separate speaker that we will add (i.e., "SHAKE CLOCK FOR ONE MINUTE").
## Subsystem 2 - Challenge Deck with sensors
The second part of our solution is our challenge deck with the associated sensors:

Gyroscope sensor - MPU-9250 with built in gyroscope and accelerometer sensors. The challenge we want to incorporate here is to shake the clock for 1 minute, and we will use the data from the sensor to verify the shaking of the clock.

Temperature sensor - TSYS03 temperature sensor. The challenge we want to incorporate here is to get up and put the clock in the fridge for 2 minutes while waiting there for the alarm to turn off. We will check to see if the clock holds a temperature below 40 degrees Fahrenheit (avg fridge temp is 37 degrees) for at least 1 minute, to consider the time it takes for the clock to cool.

Pedometer sensor - MIKROE-3567 pedometer sensor. The challenge we want to incorporate here is to take get up and take 250 steps with the alarm clock.

Load cell - SparkFun SEN-10245 load cell. The challenge we want to incorporate here is to apply an even and constant force for 3 minutes, in order to make it an inconvenient enough time to be unable to do it in your sleep.
## Subsystem 3 - Linkage to alarm clock

To link all the sensors, we will be using a ATMEGA324PB microcontroller. To make the alarm clock stop ringing when the challenge is completed, we will generate the signal that is usually generated by the "stop alarm" button to the alarm. Once the challenge is completed, we will also use the previously mentioned speaker to give the user a simple audio feedback that they've completed the challenge, with a "ding" sound.


# Criterion For Success
Our criterion for success are as follows:

1) Each challenge needs to work appropriately and actually stop the alarm from ringing.
2) Challenges must successfully randomly switch every morning.
3) Alarm must only deploy one challenge at a time.

Autonomous Sailboat

Riley Baker, Arthur Liang, Lorenzo Rodriguez Perez

Autonomous Sailboat

Featured Project

# Autonomous Sailboat

Team Members:

- Riley Baker (rileymb3)

- Lorenzo Pérez (lr12)

- Arthur Liang (chianl2)

# Problem

WRSC (World Robotic Sailing Championship) is an autonomous sailing competition that aims at stimulating the development of autonomous marine robotics. In order to make autonomous sailing more accessible, some scholars have created a generic educational design. However, these models utilize expensive and scarce autopilot systems such as the Pixhawk Flight controller.

# Solution

The goal of this project is to make an affordable, user- friendly RC sailboat that can be used as a means of learning autonomous sailing on a smaller scale. The Autonomous Sailboat will have dual mode capability, allowing the operator to switch from manual to autonomous mode where the boat will maintain its current compass heading. The boat will transmit its sensor data back to base where the operator can use it to better the autonomous mode capability and keep track of the boat’s position in the water. Amateur sailors will benefit from the “return to base” functionality provided by the autonomous system.

# Solution Components

## On-board

### Sensors

Pixhawk - Connect GPS and compass sensors to microcontroller that allows for a stable state system within the autonomous mode. A shaft decoder that serves as a wind vane sensor that we plan to attach to the head of the mast to detect wind direction and speed. A compass/accelerometer sensor and GPS to detect the position of the boat and direction of travel.

### Actuators

2 servos - one winch servo that controls the orientation of the mainsail and one that controls that orientation of the rudder

### Communication devices

5 channel 2.4 GHz receiver - A receiver that will be used to select autonomous or manual mode and will trigger orders when in manual mode.

5 channel 2.4 GHz transmitter - A transmitter that will have the ability to switch between autonomous and manual mode. It will also transfer servos movements when in manual mode.

### Power

LiPo battery

## Ground control

Microcontroller - A microcontroller that records sensor output and servo settings for radio control and autonomous modes. Software on microcontroller processes the sensor input and determines the optimum rudder and sail winch servo settings needed to maintain a prescribed course for the given wind direction.

# Criterion For Success

1. Implement dual mode capability

2. Boat can maintain a given compass heading after being switched to autonomous mode and incorporates a “return to base” feature that returns the sailboat back to its starting position

3. Boat can record and transmit servo, sensor, and position data back to base

Project Videos