Project

# Title Team Members TA Documents Sponsor
23 Clickers For ZJUI Undergraduate Mk Ⅱ
Benlu Wang
Luozhen Wang
Suhao Wang
Zhenyu Zhang
design_document1.pdf
final_paper1.pdf
final_paper2.pdf
final_paper3.pdf
proposal1.pdf
proposal2.pdf
Fangwei Shao
# TEAM MEMBERS
Zhenyu Zhang (zhenyuz5)
Benlu Wang (benluw2)
Luozhen Wang (luozhen2)
Suhao Wang (suhao2)

# PROBLEM
I-clicker is an educational tool employed by ZJUI to fulfill the digital demands of the classroom, serving as a class check-in and answer device. However, the existing transmitters and receivers face limitations in terms of their capacity to handle substantial loads, high signal delay, and signal loss. These constraints hinder the device's ability to effectively meet the requirements of a large number of users. Additionally, the current I-clicker system fails to cater to the preferences of students who prefer to utilize mobile applications for participation.

# SOLUTION OVERVIEW
This project aims to design and develop a comprehensive classroom response system that supports multiple frontends, including web browsers, mobile applications (iOS and Android platforms), WeChat Mini Programs, and physical Clickers. Additionally, a user-friendly web-based interface will be created to provide teachers with intuitive management functionalities. The system incorporates a high-concurrency unified backend equipped with distributed and in-memory databases, offering caching capabilities to efficiently handle large volumes of student submissions, as well as perform evaluation and statistical analysis. The project also entails the shell design and implementation of a distributed and energy-efficient transmission system for the physical Clickers and their receivers to address the limitation of signal loss.

# SOLUTION COMPONENTS
This project encompasses four essential components: frontend development, backend optimization, hardware improvement, and enclosure design.

## Frontend Development:
For instance, we can develop a user-friendly web-based interface using popular frontend technologies such as HTML, CSS, and JavaScript. This interface can be accessible through standard web browsers on various devices, offering teachers the flexibility to manage the voting result.
Additionally, as part of the meticulous frontend development process, the project aims to provide students with diverse options to interact with the voting system. As we possess a physical clicker as part of our system, our commitment lies in ensuring compatibility and functionality between the mobile app and the physical clicker, allowing both to transmit signals that can be effectively processed by the receiver.
Furthermore, if time permits, the project can also develop WeChat Mini Programs. These lightweight applications within the WeChat ecosystem provide a seamless and familiar voting experience for students who prefer to use the WeChat platform.


## Backend Development:
By constructing a high-concurrency unified backend, fortified with distributed and in-memory databases, the system will be empowered with caching capabilities capable of effectively managing the influx of student submissions.
In this scenario, the system can employ a distributed database system, such as Apache Cassandra or Amazon DynamoDB, to handle the storage and retrieval of student submissions. By distributing the data across multiple nodes, the system can benefit from increased scalability and fault tolerance.
To further enhance performance, an in-memory database, such as Redis or Apache Ignite, can be utilized as a caching layer. This allows frequently accessed data, such as student responses and evaluation results, to be stored in memory for faster retrieval, reducing the need to repeatedly access the distributed database.

## Hardware Improvement:
Recognizing the significance of enhancing reception capabilities, the project dedicates attention to the development of a distributed and energy-efficient transmission system for the physical Clickers and their corresponding receivers. The voting system incorporates a System-on-Chip (SoC) solution to handle both the transmitter and receiver functionalities. The SoC, such as ESP32 or STM32, integrates microcontroller capabilities and offers built-in wireless connectivity options like Wi-Fi or Bluetooth. The SoC transmitter facilitates the transmission of votes from the voting devices to the central system using its dedicated peripherals for user input. The SoC receiver receives the transmitted votes, establishes a reliable connection with the voting devices through Wi-Fi or Bluetooth, decodes the received data, and manages the voting information effectively. This integrated approach utilizing SoC technology ensures seamless bidirectional communication, efficient data transmission, and reliable vote collection within the voting system.

## Enclosure Design:
In addition to the technical facets, the project encompasses the meticulous design of an enclosure, using 3D printing technology, specifically tailored for the physical Clickers. This component embraces the principles of aesthetics, functionality, durability, ergonomics, and user-friendliness. By prioritizing these design considerations, the enclosure aims to enhance the overall user experience, ensuring that the physical Clickers are comfortable to handle and operate.

# CRITERION FOR SUCCESS

Concurrency Handling: Build a high-concurrency backend system for efficient processing of large volumes of student submissions concurrently.

Affordability: Develop cost-effective i-clickers to promote widespread adoption and accessibility for students.

Support for Multiple Frontends: The system should be designed to support multiple frontends, including mobile applications, web browsers, and dedicated software, ensuring compatibility, seamless interaction, and consistent user experience across various platforms.



Signal Stability: Ensure reliable signal reception in challenging environments and minimize signal loss within classrooms.

Distributed and Energy-Efficient Transmission: Implement a distributed transmission system with low-power consumption to optimize device performance and energy efficiency.

Aesthetic Design: Create visually appealing i-clicker shell designs that are widely accepted and facilitate customization through 3D printing.

# DISTRIBUTION OF WORK
Benlu Wang: Responsible for designing and developing web-based interfaces, mobile applications, and WeChat Mini Programs to provide a range of frontend options for students to interact with the voting system.

Zhenyu Zhang: Tasked with optimizing the backend infrastructure, including the development of a high-concurrency unified backend, distributed and in-memory databases, and efficient data management for seamless operations.

Luozhen Wang: Responsible for designing and creating customized enclosures for the physical Clickers using 3D printing technology, ensuring an aesthetically pleasing, functional, and user-friendly design.

Suhao Wang: In charge of improving the hardware components of the voting system, particularly focusing on the development of a distributed and energy-efficient transmission system using System-on-Chip (SoC) technology.

Fountain show

Dingyi Feng, Tianli Ling, Zhelun Lu, Shibo Zhang

Featured Project

## Team

- Dingyi Feng(dingyif2)

- Tianli Ling(tling3)

- Zhelun Lu(zhelunl2)

- Shibo Zhang(shiboz2)

## Problem:

A fountain show on campus can make students feel more relaxed after class. However, some fountain shows only have monotonous, stiff, and single actions. Besides, they cannot automatically generate action and light effects. Compared with large fountain shows, small and medium-sized fountain shows have the advantage of time and space. In most cases, a large fountain show only has preloaded music which cannot be decided by audiences. Large fountain shows also require people to design the action and light effects for each music, which takes lots of time and effort. Compared with the large fountain show, our small fountain show will be more energy-efficient and environmentally friendly. During the COVID-19 pandemic, large fountain shows might result in large crowds gathering, but a small fountain show can reduce the risk of infection.

## Solution Overview:

Our fountain show would be built at a pool on the sourthwest of the main lake on campus. By manually programing, the fountain show could realize changing lighting effects and movements. Besides, our fountain show could also identify the music which was imported into our system, and automatically generate the lighting effects and movements with the music. If time permits, we will strengthen the human-computer interaction of our product. To be specific, people could scan the QR code or use our online system to choose the music they want, so that they can enjoy the fountain show at any time.

## Solution Components:

### Control Subsystem:

- Music colleccting and analyzing subsystem: Computer that can import music signals and analyze them.

- Converting subsystem: After music signal is analyzed, we need computer to convert useful signals into digital signals. Digital signals will be used to control LEDs and other mechanical subsystems.

### Mechanical Subsystem:

- Pump Subsystem: Water pump that can pump water from the lake. Valves will be used to control water’s flow rate of each nozzle.

- Lighting Subsystem: LEDs are needed to light our fountains. They are controlled by microprocessor on PCB. Their brightness and color can be changed with music.

- Motor Subsystem: Two motors are needed for each fountain nozzle to control the movements. The motors are controlled by microprocessor on PCB.

### Power subsystem:

- The pump is drived by DC power (12V 20~30A). PCB and computer will be drived by USB (5V 1A). Full module power supply with 12V and 5V output is needed.

## Criterion for Success:

- If it can successfully identify a piece of music and convert it to electrical signals that we need in controlling LED’s lighting and nozzle’s moving.

- If the whole system can work stably for a long time and whether it is safe to use without electric leakage or other problems.

- If music playing, fountain movements and LED lights are synchronized.

- If the fountain system is neat and whether the fountain performance is ornamental enough.