Skip to content

A solenoid lockbox is programmed using an MSP432 launchpad. The lockbox and keypad are controlled with separate finite state machines

Notifications You must be signed in to change notification settings

Ltran0325/MSP432-Solenoid-Lockbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 

Repository files navigation

MSP432-Solenoid-Lockbox

To use keypad input to operate a solenoid lockbox:

https://github.com/Ltran0325/MSP432-Solenoid-Lockbox/blob/main/main.c

Hardware:

MSP432P401R LaunchPad: https://www.digikey.com/en/products/detail/texas-instruments/MSP-EXP432P401R/5170609

7-segment display: https://www.digikey.com/en/products/detail/lite-on-inc/LTC-4627JR/408223

4x4 matrix keypad: https://www.digikey.com/en/products/detail/adafruit-industries-llc/3844/9561536

red LED (solenoid): https://www.amazon.com/100pcs-Ultra-Bright-Emitting-Diffused/dp/B01GE4WHK6/ref=sr_1_5?dchild=1&keywords=red+led&qid=1614890774&sr=8-5

Demo:

https://youtu.be/xvXOEY5Ds3I

Criteria:

  • Successfully unlock your lockbox (by turning ON the LED connects to P2.5) after you input the correct passcode and press the OPEN key.
  • Successfully lock your lockbox (by turning on the LED at P2.5 & blink the LED at P5.0) after you input new passcode and press the LOCK key
  • You input a wrong passcode 5 times (LED does not turn on), and get locked for ~1 minute with '-Ld-' show on your display.
  • Then you input a correct passcode during the lock-down period but the box does not open (LED at P2.5 does not turn on).
  • The 7-segment display should show the passcode you entered every time, whether is correct or not.
  • The 7-segment display should show the corresponding characters '-Ld-' & '-LOC' at lock & lock-down state.

Lockbox State Transition Table: image

About

A solenoid lockbox is programmed using an MSP432 launchpad. The lockbox and keypad are controlled with separate finite state machines

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages