I am choosing to go with my idea of text to fax where it prints out select text messages. The idea is that these text messages will go in a queue and then when the user puts their hands above the sensor it will print out one of the text messages in the queue. I know there are a couple text brokers out there where you can send text through them and they’ll connect with the wifi board. I am still figuring out the text input but I have started my materials list and the circuit diagram.
Final Idea Materials List
Text to Fax printer
-Thermal Printer (Looks like Adafruit discontinued their thermal printers so here is one from Seeed studio, I read on the forums they are basically equivalent)
Idea1 (a Playback Counting Board for YouTubers. After the video playback reaches a specific value 1000, the YouTube acrylic panel light on the desktop will be turned on) possible code:
void loop() { if (playbackCount >= 1000) { digitalWrite(ledPin, HIGH); // Turn on the LED when playback count reaches 1000 } else { digitalWrite(ledPin, LOW); // Turn off the LED if playback count is less than 1000 } }
void connectToWiFi() { WiFi.begin(ssid, password); Serial.print(“Connecting to WiFi”);
while (WiFi.status() != WL_CONNECTED) { delay(1000); Serial.print(“.”); }
Serial.println(“\nConnected to WiFi”); }
In this code:
The button is connected to pin D2 and set up with a pull-up resistor.
The LED is connected to pin D3.
The playbackCount is a counter that increments when the button is pressed (interrupt triggered).
The LED will turn on when the playback count reaches 1000.
The ESP8266 connects to the WiFi network using the provided credentials.
Idea4 (a Divinationcrystal ball. When your hand is close to the crystal ball for a period of time, the heat sensor will sense the heat and will light up the built-in LED lights):
Possible code:
const int heatSensorPin = A0; // Connect the heat sensor to analog pin A0 const int ledPin = 13; // Built-in LED on most Arduino boards
const int heatThreshold = 300; // Adjust this value based on your sensor and environment
if (heatValue > heatThreshold) { // If heat is detected, turn on the LED digitalWrite(ledPin, HIGH); } else { // If no heat is detected, turn off the LED digitalWrite(ledPin, LOW); }
BOM: I’m uncertain about which option to choose for the final project, but after considering the latest sketch, the transparent headphone has become my preferred choice. Therefore, I intend to create a 3D model of its exterior components and incorporate features such as LED strips and speakers.
IDEA 1: Cat-to-Cat is a cat toy pairing. Your cat plays with toy A and your friend‘s cat plays with toy B – and they start whenever the other toy starts! You and your long distance BFF will delight as your cats both share in each other’s fun throughout the day.
IDEA 2: My friends tease me a lot because I have ~100 alarms on my phone, and I use them to usher me along in my day. For instance, if I’m hanging out with a friend getting lunch, and I have to leave to make the train at 2:32pm… I’ll set an alarm for 2:20pm so that I don’t get lost in conversation and forget to leave. I prefer that to feeling like I need to constantly check the time and not be present to my conversation! Or, sometimes I’ll set an alarm to help me know to switch tasks (move from one homework to another).
However, the sound of alarms suck and trigger stress. I also don’t like relying on screen notifications because they’re distracting during socializing or concentrated work.
So, how about a nice bracelet that has an LED “rhinestone” that gently lights up 10 minutes in advance of a scheduled item on my phone? And it could change color as the “deadline” approaches. It could even have a “snooze” color feature.
Task Completion Button More specifically, a medication dispenser that sends notification via text that the person has taken their am/pm dose. This is inspired by taking care of an elderly woman and needing reassurance she has taken her pills. She is not tech savvy so a button that sends automated confirmation to her caregivers would be handy!
Sip Counter I know I’m not the only one who 1) drinks a lot of coffee and 2) forgets to balance with water. This sip counter will keep me aware of my caffeine vs. water consumption! Design 1: smart coaster Design 2: smart scale
An ultrasonic sensor will record the activities and upload them to your phone.
If the user interacts less than 10 times, they will receive a warning message.
Concept 2: Desk game
Use the phone to control the soccer ball.
Concept 3: Kick this button
Record the laptop or the phone’s click times and send them to Ax. Ax will “kill” the control button.
11.14 Process
Javascript game combine with physical game
Create a mobile game:
Choose a Game Development Platform:
Select a game development platform that suits your skill level and requirements. For example, Unity is a popular and powerful game development engine that supports cross-platform development.
Learn Game Development Basics:
Acquire knowledge about basic concepts such as game design, scene creation, and character control.
Create Game Scene:
Utilize game development tools to create a simple game scene and implement functionalities for controlling the character.
Design User Interface (UI):
Add a virtual joystick, buttons, or other UI elements for control, which will be used for communication with the ESP8266.
Write Game Logic:
Develop game logic, including the part that involves communication with the ESP8266. Here, you’ll need to define control commands and their corresponding actions.
Export the Game:
Export the game as an application suitable for your target platform (iOS, Android, etc.).
ESP8266 Communication:
Connect ESP8266 to WiFi network:
Use the WiFi library of ESP8266 to connect it to a WiFi network. You will need to provide the WiFi SSID and password.
Create WebSocket Server:
Utilize the WebSocket library of ESP8266 to create a WebSocket server that listens for control signals from the mobile game.
Write Code to Handle Control Signals:
Write code on ESP8266 to handle control signals received from the WebSocket. These signals will instruct the ESP8266 on how to move servos or perform other actions.
Communicate with Mobile Game:
In the mobile game, use a WebSocket library or other network libraries to send control signals to the WebSocket server on ESP8266.
Test:
Test the entire system, ensuring that control commands from the mobile game are correctly sent to ESP8266, and ESP8266 can accurately interpret and execute the corresponding actions.
Debug and Optimize:
If there are any delays or communication issues, debug and perform necessary optimizations.
JavaScript
ESP8266 code
const char *ssid = “WiFiSSID”; const char *password = “WiFiPassword”; const int webSocketPort = 81; const int buttonPin = 2; const int servoPin = 5;
WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(1000); Serial.println(“Connecting to WiFi…”); } Serial.println(“Connected to WiFi”);