Development
sketch
Sensor (Input Devices-week9)
step response
I considered a sensor that could detect when a pinball hit it. I tried step response, one of the various sensors we considered, such as touch sensors and optical sensors.
I designed and output a case to hold the sensor we are considering for Input Devices. I am not sure if it is responsive or not.... It is possible that it could be used, but I do not believe that it is likely.
Piezo Sensor
I was considering several of them Piezo Sensor also tried.
- Programming
void setup() {
Serial.begin(9600);
pinMode(D9,OUTPUT);
}
void loop() {
int val = analogRead(A1);
if (val > 1) {
Serial.println(val);
digitalWrite(D9,HIGH);
delay(100);
digitalWrite(D9,LOW);
}
}
- result
The LED is solidly lit! This seems to be more responsive and usable than the STEP RESPONSE.
Try Piezo Sensor
We tested it to see if it actually responds.
We attached a Piezo Sensor element to the back of a simple case and attached it to a ping-pong table with double-sided tape.
The programming was the same as the one above; if the LEDs light up, it was a success.
It responded successfully! I think this will actually be usable, but I still need to figure out the threshold value for the piezo sensor. But for now, I'm just happy it reacted!
case(3D scanning and printing-week5)
try1
This is the case of a sensor to be placed on a ping-pong table.
I have thought about what kind of case I want to make. My hope is to make it as thin as possible.
I made the model using Fusion360.
Actual joints were made and cross-sections were checked.
However, when I actually printed it, the sizes did not mesh.
try2
This case holds the sensor and board to be installed behind the table tennis table.
Now that I have decided on the actual battery to be implemented, I designed a simple design to see how big it would be and output it.
I plan to put the sanser on the back side of the ping pong table, so I thought it would not be a problem to have it this thick.
Sticker(computer-aided design-week2)
I designed a sticker that will be attached to a sticker to show the score and a sticker that will be attached to the scoring board.
This will be attached to the counter that displays the scores.
Board(Electronics Production-week8)
design:week6
try1
Round shape with target case design in mind.
- PCB
- Schematic
- Board
I believe a PCB design edit is needed because of the PCB layout with the board pins on top.
- Pinout
I had initially designed the pins not to be used, but at the time of the Asian Review, Rico advised me to keep all pins alive, so I edited them.
try2
The pins that were facing up in try1 were edited and redesigned assuming the Piezoelectric Device was used.
- PCB
- Schematic
- Board
try3
First, I will provide feedback on the tries up to week 11. Since I want to use ESP-NOW, I will divide the board into sender and receiver parts.
Input device
- The step response did not react as expected, so I found it difficult to control. Therefore, I decided to use a Piezoelectric Device, which has a better response. Below are the results of my attempt with the Piezoelectric Device and the specific measures I took.
- There was variability in the values (depending on the area it was applied to).
- I think it also changes depending on the location and environment where it is applied.
- Instability in contact. ↪︎ Should I use a variable resistor?
Output device
-
I want to display the score on a counter, so I will use an OLED display.
- How should I install it?
- I need to consider the case shape and wiring.
-
Also, to avoid having to look at the display, I will use a DFPlayer.
- How should I install it?
- I need to consider the case shape and wiring.
- Pay attention to the wiring (TX, RX).
Battery
- I ues XIAO ESP32S3
- Since the power source must be taken from the backside, I may need to make a hole to insert the battery.
- Which battery to use (currently, I am considering using either dry cells or a LiPo battery).
- It is important to design considering the size and the power consumption of the devices
Board(sender)
- I will integrate an input device (Piezoelectric Device) using the XIAO ESP32S3.
- I need to design while considering the above issues (Input device).
Board(receiver)
- I will integrate an output device (OLED display, DFPlayer) using the XIAO ESP32S3.
- I need to design while considering the above issues (Output device).
Bom
Part name | Q'ty | Unit Price | Sub Total | Where to buy |
---|---|---|---|---|
Output Devices(Output Devices-week10)
Maybe it could be used in the counter display...?
Would it be nice to have a display, or an audio count?