Top Banner
EzRack Smart Bike Rack System Joel Gonzalez CpE Vanessa Garcia De Quevedo CpE Amanda Chanthalangsy EE Trung Luu CpE
29

EzRack - ece.ucf.edu

Jan 07, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: EzRack - ece.ucf.edu

EzRackSmartBikeRackSystem

JoelGonzalezCpEVanessaGarciaDeQuevedoCpE

AmandaChanthalangsyEETrungLuuCpE

Page 2: EzRack - ece.ucf.edu

Motivation

Weaimtoencouragepeopletogiveuptheircars in favorofbicyclesfor those shorter commutes. Heavily populated areas suffer fromcongestion, heavy traffic, and pollution which can be alleviated byencouragingcommuterstotakeadvantageof agreenersolutionsuchasusingabikeforreachingnearbylocations.Oursmartbikerackaimstomakebringingyourbikeanywhereasconvenientaspossible.

Page 3: EzRack - ece.ucf.edu

GoalsandObjectives•  Provide a convenient place to store

yourbike•  Eliminatetheworryofhavingtocarry

alockandchain•  Provide a means of reserving a slot

andcheckingavailability•  Self-sufficientwithpowerprovidedby

asolarpanel

Page 4: EzRack - ece.ucf.edu

Specification

•  Mustbeabletosecurelylockatleast2bikes•  Mustbeabletoholdbikewheelswitharangeof26”-28”•  Mustfreereservedslotsaftertheallottedreservationtimehaspassed•  Mustbeabletolock/unlockwithin2secondsofuserinputfromtheUI•  Powersystemmustsupply12V•  Mustbeabletooperatefor6hrswithoutarecharge

Page 5: EzRack - ece.ucf.edu

SystemDesignBlockDiagram

Page 6: EzRack - ece.ucf.edu

MobileApplication• Androidapplicationallowsuserstoreserve,lock,andunlock,theirslotdirectlyfromtheirandroiddevice.

• Reservationswillbeheldforamaximumof15minutes.

• Usersmaychoosetosigninorusetheappasaguest.Signinginprovidesaddedsecurity.

Page 7: EzRack - ece.ucf.edu

Firebase

Real-timeDatabase:Secureandserverlessdatabaseisusedtostorethekeysandupdatetheslotavailabilitiesinrealtime.Authentication:AllowsuserstosigninusingavarietyofdifferentaccountsandprovidersincludingGoogle,Facebook,email,andphone.

Page 8: EzRack - ece.ucf.edu

SystemDiagram

Page 9: EzRack - ece.ucf.edu

Wi-FiConnectivity

ESP826612e:UsedtowirelesslyconnecttothefirebasewiththeaidofFirebase-Arduinolibraries.ThissendsandreceivesdatafromboththeFirebaseandmainMCU. SpecificationsWirelessStandard IEEE802.11b/g/n

FrequencyRange 2.412-2.484GHz

IOCapabilities UART,I2C,PWM,GPIO,1ADC

Cost $5.89

OperatingVoltage 3.3V

Page 10: EzRack - ece.ucf.edu

ATMega328PSpecifications

PinCount 28

FlashMemory 32KB

CPUType 8-bitAVR

NumberofI/OPins 23

Costw/Bootloader $4.66

OperatingVoltage 1.8V–5.5V

Page 11: EzRack - ece.ucf.edu

SystemDisplay

1602ALCDDisplayModule:Providesauserinterfacewithouttheneedforanandroidsmartphone.Providesuserinstructionsforinterfacingwiththesystem.

Specifications

OperatingVoltage 5V

DisplayFormat 16Characterx2Lines

Cost $5.99

Page 12: EzRack - ece.ucf.edu

Keypad

Membrane4x4MatrixKeypadallowsuserstointeractwiththekiosk’suserinterface.

Specifications

Maximum Rating 24 VDC, 30mA

Interface 8 pin access to 4x4 matrix

Cost $ 3.40

Page 13: EzRack - ece.ucf.edu

Real-timeClockModule

TheDS3231isusedtokeepaccuratetimeinthesystem.Itcontinuestokeeptimeevenwhendisconnectedfromitsmainsourceofpower.

Page 14: EzRack - ece.ucf.edu

Testing

TheUNOR3Developmentboardisusedforprototypingandtesting.

Page 15: EzRack - ece.ucf.edu

ChargeController

●  PWM-12V○  ArduinoNano(ATmega328P)○  20x4LCDModuleShield○  ACS712CurrentSensor○  LM35Temperaturesensor○  LM2596StepDownBuckConverter

■  From3.0-40Vto1.5-35V(DC)●  Renogy50W12VMonocrystallinepanel●  12V35AHSealedLeadAcidBattery

Page 16: EzRack - ece.ucf.edu

ChargecontrollerMPPTvsPWMPWM MPPT

Switches that connects solar array to a battery. More Complex (Expensive).

Automatically adjust its charging to older batteries. Harvest more power from solar array.

Helps avoids with gassing and heating to battery (Float stage). Better suited for colder conditions.

Good low cost solution. ~150-200W or higher to take advantage of MPPT benefits (Operate above battery voltage; “boost” in cold climate when the battery is low).

Allow rapid recharge.

Typically recommended for use in smaller systems where MPPT benefits are minimal (Hot Climate).

Page 17: EzRack - ece.ucf.edu

ChargeControllerSensor

If5V=ADCcount1024○  VoltageSensorsutilizeVoltagedivider

■  Vin=Vout*[(R1+R2)/R2]■  Vin=ADCcount*0.00488*[(R1+R2)/R2]

○  TemperatureSensor:if10mV/C■  TempC=(5/1024)*ADCcount*100

○  CurrentsensorNote:AssumingarduinonanoVcc=5Vreference.OtherwiseADCcountmustbecalibratedonADCpins.

Voltage Sensor

Temperature Sensor

Current Sensor

Page 18: EzRack - ece.ucf.edu

ChargeControllerDisplay/LED●  20x4LCDDisplay

○  SolarWattage○  BatteryWattage○  Temperature○  Stateofcharge

■  Charging■  NotCharging

○  Current○  LoadEnergyandPower

■  P=V*I;E=P*t

●  LEDIndicator○  BatteryStatus

■  Red->Voltageislow●  Bvolt<12V

■  Green->VoltageisGood ●  12V<Bvolt<14.4V

■  Blue->FullyCharged●  Bvolt=>14.4V

○  LoadStatus■  Green->On

●  Svolt<5V●  Bvolt>11.5V

■  Red->Off

Page 19: EzRack - ece.ucf.edu

ChargeControllerChargingAlgorithm

2-StageBatteryMethod1.  BulkStage-maximumchargetopresetbatteryvoltagevalue.(BULK_CH_SP=14.4)2.  FloatStage-batteryvoltageisreducedafterchargeiscomplete.Thisistopreventgassingof

thebattery.(FL_CH_SP=13.6V)

Page 20: EzRack - ece.ucf.edu

PowerSystem•  Off-GridSolarPowered

•  EnergyIndependence=competitive

50W Solar Panel

Charge Controller

12V Battery

ATMega Microcontroller

5V Regulator

Lock Motor Driver

Lock Mechanism

12V 5V

Page 21: EzRack - ece.ucf.edu

SolarPower12V Monocrystalline Solar Panel

Manufacturer Renogy

Max Power 50W

Operating Voltage 18.5 V

Operating Current 2.70 A

Weight 9.9lbs

Cost $88.00

12V Sealed Lead Acid Battery

Manufacturer Universal Power Group

Operating Voltage 13.6-14.9 V

Initial Current 5.25A

Amperage 33 Ah

Cost $64.99

Page 22: EzRack - ece.ucf.edu

LockingMechanism

Manufacturer Progressive Automations InstallGear

Part Number PA-14-6-35 IGDLA-2

Voltage 12 VDC 12 VDC

Stroke distance 6” 1”

Retracted Length 10.13” 5.31”

Current (max) 5A 2.6A

Water Resistant Yes Yes

Price $111.99 $9.99

Page 23: EzRack - ece.ucf.edu

Motordriver●  L293DIC-dualH-bridge

○  DriveuptotwoDCmotorssimultaneously○  Featuresclockwiseandanticlockwise

Page 24: EzRack - ece.ucf.edu

LockingMechanismDesign

Lock Operation

Locked (Pull) Unlocked (Push)

Input 1 + -

Input 2 - +

Page 25: EzRack - ece.ucf.edu

IssuesBudget

More funding for more secure components

WifiModuleConnectivity

Replaced ESP-01 with ESP-12E

ChargeControllerDesign PWM Vs. MPPT

Page 26: EzRack - ece.ucf.edu

WorkDistribution

Name Software: Mobile App Embedded Systems Power System Housing/ Lock Mechanism

Joel Primary Secondary

Vanessa Secondary Primary

Trung Primary Secondary

Amanda Secondary Primary

Page 27: EzRack - ece.ucf.edu

BudgetItem Price/Unit Quantity Total Cost

50W 12V Renogy Solar Panel $132.03 1 $132.03 12V 35Ah Lead Acid Battery $64.99 1 $64.99 Floor Bike Rack $27.77 1 $27.77 UNO Project Starter Kit $34.99 1 $34.99 ATMega328P w/ Bootlader 3pc $13.98 1 $13.98 Keypad $4.87 2 $9.75 ESP8266 12E Node MCU $8.39 1 $8.39 ESP8266 12E $5.89 1 $5.89 RTC $5.99 1 $5.99 12V Lock Actuator (2pc) $9.57 1 $9.57 ACS712 Current Sensor Module $7.20 2 $14.40 Arduino NANO $7.99 1 $7.99 TVS Diodes $6.41 2 $12.82 20x4 LCD Module $12.99 1 $12.99 LM35 Analog Sensor $6.99 1 $6.99 Various Electrical Components Various Various $100 Building Materials Various Various $80

Total Cost $548.54

Page 28: EzRack - ece.ucf.edu

Progress

Page 29: EzRack - ece.ucf.edu

Questions?