90 likes | 177 Views
Software Progress. Timing diagram ① P.2.4 <= 1s ① P. 233 <= 2s ① ① ①. Wake from Sleep in 15 minute interva l. Wake Up CC430. 3.3V output from GPIO. Turn on sensor board. Temperature Output. P2.4 : 0 ~ 3V. ADC conversion. P2.2 : 0 ~ 3V. Temperature Output.
E N D
Software Progress Timing diagram ① P.2.4 <= 1s ① P. 233 <= 2s ① ① ① Wake from Sleep in 15 minute interval Wake Up CC430 3.3V output from GPIO Turn on sensor board Temperature Output P2.4 : 0 ~ 3V ADC conversion P2.2 : 0 ~ 3V Temperature Output Read Digital input Temperature : Digital input -> Resistance of RTD calculated -> Converted to Temperature Humidity : Convert to Temperature & Humidity Wireless transmission MAVRK Mother Board GUI Sleep CC430
Temperature Calculation • Math
Software Design Iterations • Design Iteration 1:Use Ti’s board + Software • Design Iteration 2:Modify code to interface correctly with new board. Also, send out correct enable signals to the correct pins. • Design Iteration 3:Apply mathematical equations to correct data interpretation • Design Iteration 4:Implement smart enabling to conserve power.
Smart Enabling Humidity Sensing ************************** Enable p3.2 (5v rail on) 200us wait 1 second Enable p3.3 (opa 364 on) 20us Wait 1 minute for humidity sensor's response time Sample humidity data Disable p3.3 (opa 364 off) 1us wait 1 second Disable p3.2 (5v rail off) 200us wait 1 second Go back to sleep • Timing Diagram • Sleep - 15 minutes • Interrupt • Temperature Sensing • ************************** • Enable p3.0 (3.3V rail on) 200 us • wait 1 second • Enable p3.5 (wheatstone switch on) 7.5ns • wait 1 second • Enable p3.7 (opa364 on) 20us • wait 1 second • Sample temperature data • disable p3.7 (opa364 off) 1us • wait 1 second • Disable p3.5 (Wheatstone switch off) 12.5ns • wait 1 second • Disable p3.0 (3.3V rail off) 200us • wait 1 second
Future Implementation • Add more software features • Database on PC for packet store. • Additional GUI application for graph display of data • Accept inputs from several uMavrks • Implementation of averaging algorithm • Indication of completion of curing.
What is the Mavrk? • Modular and versatile reference kit. • Used for rapid prototyping. • Modules to encapsulate functionality. • Less Component level interaction. • More System level Design.
uMavrk • uMavrk is an extension to the Mavrk for remote monitoring. • Lower power (<10 ma) • Enabled for RF connection back to the Mavrk
Example- Rapid prototyping of our own circuit • Dc to Dc boost converter • Temperature Circuit • Amplification Circuit • What if TI had modules for all three? • Program firmware to handle interaction between all three.