Project

# Title Team Members TA Documents Sponsor
3 Heterodyne Bat Detector
BILL Waltz
Evan McGowan
Kyle Jedryszek
Gayatri Chandran design_document1.pdf
final_paper1.pdf
presentation1.pptx
proposal1.pdf
video
Dr. Joy O'Keefe
Team Members:
- Bill Waltz (wwaltz2)
- Kyle Jedryszek (kaj5)
- Evan McGowan (evandm2)

# Problem:

There is a need for American-made and sold handheld heterodyne bat detectors. There are some American bat enthusiasts who dislike the bat detectors that plug into phones or tablets, like the ones from Wildlife Acoustics, since the sound produced is not as high-quality as a standard heterodyne. Also, these models cost $300+. The most popular heterodynes are currently produced and sold in the UK and Australia. Specifically, Dr. Joy O'Keefe is in demand of a high-quality, mass-produceable device for the purpose of providing several groups of people with a bat detecting device for Bat Walks at the Central Illinois Bat Festival.


# Solution

A handheld device with a microphone, capable of detecting frequencies between 15kHz-100kHz, which will be amplified before being heterodyned with a mixer circuit. The frequency to be mixed with is controlled by a large dial (with illuminated frequency labels) on the front of the device. The sound will then be amplified and output via quality speakers. The device will also have a power button, a volume dial, a 3.5mm auxiliary port for headphone use, and be powered by AAA batteries. Finally, what might set this apart from every other bat detector is that this model will have stored, prerecorded sound bytes that can be played so that first-time users can know what to listen for.


# Solution Components

## Ultrasonic Receiver

To first receive the signal, we will employ an ultrasonic transducer, likely to be the most important and expensive part of the product. Transducer options include Syntiant’s SPVA1A0LR5H-1 microphone, readily available on DigiKey, since it has a frequency rating well into the LF spectrum. A pre-amplifier using op-amps like the TLV9052/ADA4097 will amplify the desired signal, followed by a high-pass filter to remove low-frequency noise below 20kHz.

## Heterodyne

To mix the ultrasonic signal down to baseband, we will employ a double-balanced mixer like the SA612A or MC1496, producing the internal oscillator signal as well. This heterodyned signal is then amplified with another op-amp circuit and passed through to a speaker. Finally, our leading choice for speaker is the Taoglas SPKM.23.8.A: a thin, ~1-inch diameter speaker which will fit nicely into a handheld device.

## Bat Sound Playback

Pre-recorded audio bytes from other heterodyne bat detectors will be programmed onto a flash memory module, size somewhere between 32K-512K, that can be accessed by a microcontroller. An ATTiny85 is our MCU of choice, as its availability, low cost, and speed satisfy our needs for this project. When the device is on, and the user presses a button labeled “Demo” on the device, one of the recordings will play from the speaker or audio jack, preceded by an announcement of which species of bat they are hearing. The programming for the MCU and flash memory will be done via an external programmer (such as the USBasp), with the audio data dumped directly into the external flash storage.

## User Interface

The UI will consist of a 3D-printed handheld chassis for the device. The chassis will contain a power button (or switch) which will either be mechanically or electrically connected to the main board, and an adjustable volume knob. The device will have a dial (labeled with both frequencies (in kHz) and common bat call ranges) to adjust a potentiometer to change the frequency of the onboard oscillator. There will also be a dim, non-invasive red or green light that will shine on the frequency dial, such that the user has the ability to read the dial in the dark. The bottom of the device will have a 3.5mm auxiliary audio port for headphone listeners.


# Criterion For Success

Our product must accomplish the following objectives to be considered successful:

Total production cost below 50USD including casing

Device must be tunable between 15kHz and 100kHz frequencies using onboard tuner, testable using Dr. O’Keefe’s Ultrasound Calibrator

Battery life (rechargeable or otherwise) lasts the length of (at least) one bat walk (1-2 hours)

Volume control is tunable from muted to more-than-noticeably audible

Selected bat sounds must be audible through speaker when played

When an ultrasonic source radiates sound, the device must downconvert it to audible frequencies and play it through the onboard speaker

RFA: Any-Screen to Touch-Screen Device

Ganesh Arunachalam, Sakhi Yunalfian

Featured Project

# Any-Screen to Touch-Screen Device

Team Members:

\- Sakhi Yunalfian (sfy2)

\- Muthu Arunachalam (muthuga2)

\- Zhengjie Fan (zfan11)

# Problem

While touchscreens are becoming increasingly popular, not all screens come equipped with touch capabilities. Upgrading or replacing non-touch displays with touch-enabled ones can be costly and impractical. Users need an affordable and portable solution that can turn any screen into a fully functional touchscreen.

# Solution

The any-screen-to-touch-screen device uses four ultra-wideband sensors attached to the four corners of a screen to detect the position of a specially designed pen or hand wearable. Ultrawideband (UWB) is a positioning technology that is lower-cost than Lidar/Camera yet more accurate than Bluetooth/Wifi/RFID. Since UWB is highly accurate we will use these sensors to track the location of a UWB antenna (placed in the pen). In addition to the UWB tag, the pen will also feature a touch-sensitive tip to detect contact with the screen (along with a redundant button to simulate screen contact if the user prefers to not constantly make contact with the screen). The pen will also have a gyroscope and low profile buttons to track tilt data and offer customizable hotkeys/shortcuts. The pen and sensors communicate wirelessly with the microcontroller which converts the pen’s input data along with its location on the screen into touchscreen-like interactions.

# Solution Components

## Location Sensing Subsystem (Hardware)

This subsystem will employ Spark Microsystems SR1010 digitally programmable ultra-wideband wireless transceiver. The transceiver will be housed in a enclosure that can be attached to the corners of a screen or monitor. Each sensor unit will also need a bluetooth module in order to communicate with the microcontroller.

## Signal Processing Subsystem (Hardware and Software)

A microcontroller, specifically the STM32F4 series microcontroller (STM32F407 or STM32F429). Real-time sensor data processing takes away a considerable amount of computing power. The STM32F4 series contain DSP instructions that allow a smoother way to perform raw data processing and noise reduction. This subsystem will allow us to perform triangulation to accurately estimate the location on the screen, smooth real-time data processing, latency minimization, sensitivity, and noise reduction.

A bluetooth module, in order for the sensor to send its raw data to the microcontroller. We are planning to make the communication between the sensors and the pen to the microcontroller to be wireless. One bluetooth module we are considering is the HC05 bluetooth module.

The microcontroller itself will be wired to the relevant computer system via USB 2.0 for data transfer of touchscreen interactions.

## Pen/Hand Wearable Subsystem (Hardware)

The pen subsystem will employ a simple spring switch as a pen tip to detect pen to screen contact. We will also use a Sparkfun DEV-08776 Lilypad button to simulate a press/pen-to-screen contact for redundancy and if the user wishes to control the pen without contact to the screen. The pen will also contain several low profile buttons and a STMicroelectronics LSM6DSO32TR gyroscope/accelerator sensor to provide further customizable pen functionality and potentially aid in motion tracking calculations. The pen will contain a Taoglas UWC.01 ultra-wideband tag to allow detection by the location sensing subsystem and a bluetooth module to allow communication with the microcontroller. The unit will need to be enclosed within a plastic or 3D printed housing.

## Touch Screen Emulation Subsystem (Software)

A microcontroller with embedded HID device functionalities in order to control mouse cursors of a specific device connected to it. We are planning to utilize the STM32F4 series microcontroller with built in USB HID libraries to help emulating the touch screen effects. We will also include a simple GUI to allow the user to customize the shortcuts mapped to the pen buttons and specify optional parameters like screen resolution, screen curve, etc.

## Power Subsystem (Hardware)

The power subsystem is not localized in one area since our solution consists of multiple wireless devices, however we specify all power requirements and solutions here for organization purposes.

For the wireless sensors in our location sensing subsystem, we plan on using battery power. Given the UWB transceiver has ultra-low power consumption and an internal DC-DC converter, it makes sense to power each sensor unit with a small 3.3V 650mAh rechargeable battery (potential option: [https://a.co/d/acFLsSu](https://a.co/d/acFLsSu)). We will include recharging capability and micro usb recharging port.

For our pen, we plan on using battery power too. The gyroscope module, UWB antenna, and bluetooth module all have low-power consumption so we plan on using the same rechargeable battery system as specified above.

The microcontroller will be wired via USB 2.0 directly to the computer subsystem in order to transmit mouse data/touchscreen interaction and will receive 5V 0.9A power supply through this connection.

# Criterion For Success

## Hardware

The UWB sensor system is able to track the pens location on the screen.

The pen is able to detect clicks, screen contact, and tilt.

The microcontroller is able to take input from the wireless pen and the wireless sensors.

Each battery-powered unit is successfully powered and able to be charged.

## Software

The pen’s input and sensor location data can be converted to mouse clicks and presses.

The pen’s buttons can be mapped to customizable shortcuts/hotkeys.

## Accuracy and Responsiveness

Touch detection and location accuracy is the most crucial criteria for our project’s success. We expect our device to have a 95% touch detection precision. In order to correctly control embedded HID protocols of a device, the data sent and processed by the microcontroller to the device has to have a low error threshold when comparing cursor movements with wearable location.

Touch recognition and responsiveness is the next most important thing. We want our system, by a certain distance threshold, able to detect the device with a relatively low margin of error of about 1% or less. More specifically, this criteria for success is the conclusion to see if our communication network protocol between the sensors, USB HID peripherals, and the microcontroller are able to efficiently transfer data in real-time for the device to interpret these data in a form of cursor location updates, scrolls, clicks, and more.

Latency and lags should have a time interval of less than 60 millisecond. This will be judged based on the DSP pipeline formed in the STM32F4 microcontroller.

## Reliability and Simplicity

We want our device to be easily usable for the users. It should be intuitive and straightforward to start the device and utilize its functionalities.

We want our device to also be durable in the sense of low chances of battery failures, mechanical failures, and systematic degradations.

## Integration and Compatibility

We want our device to be able to be integrated with any type of screens of different architectural measurements and operating systems.

Project Videos