Salena Prakah-Asante
Published

SolarFlare Sportswear

SolarFlare Sportswear is an eco-friendly athletic outfit that harnesses the power of the sun to illuminate your path & elevate performance

IntermediateFull instructions provided145
SolarFlare Sportswear

Things used in this project

Hardware components

ASCA | Free Form module
ASCA | Free Form module
×3
USB Battery Pack
×1
Adafruit Flora UV Index Sensor - Si1145 Light Sensor
×1
Adafruit Bluefruit LE UART Friend - Bluetooth Low Energy (BLE)
×2
Adafruit FLORA - Wearable electronic platform: Arduino-compatible - v3
×1
Black Tencel Fabric for Active Wear
1 yd - Top; 1 yd - Compression Sleeves; 2 yd - Leggings
×1
Stratton Khaki Solid Organic Cotton Twill
0.25 yd - Visor
×1
nLITEn Extender Cables
nLITEn Tech nLITEn Extender Cables
×1
nLiten Forward-Emitting 10 LED strip
nLITEn Tech nLiten Forward-Emitting 10 LED strip
×2
Paper Thin LED Matrix
×4
Polymer Lithium Ion Battery - 2200mAh 3.7V
Seeed Studio Polymer Lithium Ion Battery - 2200mAh 3.7V
×1
Arduino Pulse Sensor
×1
Arduino LM-35 Sensor
×1

Software apps and online services

Adobe Illustrator
Use Adobe Illustrator to generate garments flats and patterns
Midjourney
Use AI to generate mockups for moodboards

Hand tools and fabrication machines

Sewing Machine
Serger Sewing Machine

Story

Read more

Schematics

Visor Solar Panel

Trace Pattern to Create Solar Panel for Visor

Leggings Solar Panel

Trace Pattern to Create Solar Panel for Pockets on the Leggings

Code

Visor Solar Panel Logic

C/C++
Example Code of How the Visor Alerts on UV Index
/*************************************************** 
  BASED ON: 
	Sunscreen reminder hat using the Si1145 UV/IR/Visible Light Sensor
  	visit https://learn.adafruit.com/sunscreen-reminder-hat for full tutorial

  Edited by Salena for TechFashion Design Challenge 2023
  Written by Becky Stern for Adafruit Industries. 

  Provides Bluetooth alerts 
 ****************************************************/
#include "BLESerial.h"
#include <Wire.h>
#include "Adafruit_SI1145.h"

Adafruit_SI1145 uv = Adafruit_SI1145();
BLESerial bleSerial;

uint32_t sinceTime;
uint32_t markerTime;
boolean shouldChime = false;

float UVindex;
float UVthreshold = 0.05;
float UVextreme = 0.11;

uint32_t rehydrateInterval = 900000;  // 15 minutes 
uint32_t reapplyInterval =  7200000;  // 2 hrs

void setup() {
  Serial.begin(9600);
  Serial.println("Adafruit SI1145 test");
  if (! uv.begin()) {
    Serial.println("Didn't find Si1145");
    while (1);
  }
bleSerial.setLocalName("microbit");
bleSerial.begin();
  Serial.println("OK!");
}

void loop() {
  Serial.println("===================");
  UVindex = uv.readUV(); 
  UVindex /= 100.0; // the index is multiplied by 100 so to get the integer index, divide by 100!  
  Serial.print("UV: ");  Serial.println(UVindex);
  Serial.print("Seconds until next alert: ");  Serial.println((reapplyInterval-sinceTime)/1000);
  delay(1000);
  
  sinceTime = millis()-markerTime;
  
  if (UVindex > UVthreshold && shouldChime){ //only chime when we are currently outside
    sendAlert();
    Serial.println("===================");
    Serial.println("CHIME");
    shouldChime = false;
    resetTimer();
  }
  if (sinceTime > reapplyInterval || sinceTime > rehydrateInterval) { //check to see if we've exceeded the time limit
    shouldChime = true;
    resetTimer; 
  }

 
if (UVindex > UVextreme && shouldChime) { // additionally chime if over the extreme 
    sendAlert();
    Serial.println("===================");
    Serial.println("CHIME");
    shouldChime = false;
    resetTimer();
}
  
}

void resetTimer(){
  markerTime = millis();
  sinceTime = 0;
}

void sendAlert(){
	// Send message via Bluetooth to phone through the BlueFruit app, or other custom app
	// Varies depending on final display/implementation

}

Credits

Salena Prakah-Asante

Salena Prakah-Asante

1 project • 0 followers

Comments