new module - inside demux to encode switch data sleep mode sleep light indicator

13
New Module - Inside New Module - Inside DeMux to Encode Switch Data Sleep Mode Sleep Light Indicator

Post on 21-Dec-2015

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: New Module - Inside DeMux to Encode Switch Data Sleep Mode Sleep Light Indicator

New Module - InsideNew Module - Inside

DeMux to Encode Switch Data

Sleep ModeSleep Light Indicator

Page 2: New Module - Inside DeMux to Encode Switch Data Sleep Mode Sleep Light Indicator

Old Receive ModuleOld Receive Module

Outputs Hardwired to Toy

Four Outputs

PicAxe Program PortResets Inside

No On/Off Switch

Page 3: New Module - Inside DeMux to Encode Switch Data Sleep Mode Sleep Light Indicator

New Module - ImprovementsNew Module - Improvements

CMOS

External PicAxe Programmer

Power Light IndicatorPower Switch

Page 4: New Module - Inside DeMux to Encode Switch Data Sleep Mode Sleep Light Indicator

Problems EncounteredProblems Encountered

Conflicting VoltagesConflicting Voltages PicAxe Chip: 5VPicAxe Chip: 5V XBee Chip: 3.3VXBee Chip: 3.3V

SolutionSolution Emailed MaxStream on maximum voltagesEmailed MaxStream on maximum voltages

Page 5: New Module - Inside DeMux to Encode Switch Data Sleep Mode Sleep Light Indicator

Problems EncounteredProblems Encountered

X-CTU SoftwareX-CTU Software Would not recognize XBee ChipsWould not recognize XBee Chips Could not program XBee ChipsCould not program XBee Chips Serial Cable connection unreliableSerial Cable connection unreliable

SolutionSolution Reinstalled X-CTU and Serial cable driversReinstalled X-CTU and Serial cable drivers Bought USB to Serial CableBought USB to Serial Cable Used different computerUsed different computer

Page 6: New Module - Inside DeMux to Encode Switch Data Sleep Mode Sleep Light Indicator

Problems EncounteredProblems Encountered

ZigBee CommunicationZigBee Communication Get ZigBee Chips to talk to each otherGet ZigBee Chips to talk to each other

SolutionSolution Trial and ErrorTrial and Error Change settings on X-CTU programChange settings on X-CTU program

Page 7: New Module - Inside DeMux to Encode Switch Data Sleep Mode Sleep Light Indicator

Problems EncounteredProblems Encountered

ExpressPCB ExpressPCB SoftwareSoftware Save file corruptedSave file corrupted Trouble finding Trouble finding

components in librarycomponents in library

SolutionSolution Modified backup fileModified backup file

Page 8: New Module - Inside DeMux to Encode Switch Data Sleep Mode Sleep Light Indicator

Problems EncounteredProblems Encountered

PicAxe PinoutsPicAxe Pinouts Confusion on PicAxe Confusion on PicAxe

pinspins Output number vs. Pin Output number vs. Pin

numbernumber

SolutionSolution Reference PicAxe Reference PicAxe

PDF manualsPDF manuals

Page 9: New Module - Inside DeMux to Encode Switch Data Sleep Mode Sleep Light Indicator

Problems EncounteredProblems Encountered

Hardware BugsHardware Bugs Incorrect wiringIncorrect wiring Floating pinsFloating pins Weak batteriesWeak batteries

Software BugsSoftware Bugs Mislabeled pinsMislabeled pins Stuck in unending loopsStuck in unending loops

Page 10: New Module - Inside DeMux to Encode Switch Data Sleep Mode Sleep Light Indicator

Approach to Solving BugsApproach to Solving Bugs

ProtoboardProtoboard Break circuit into modulesBreak circuit into modules Test each componentTest each component Use data sheetsUse data sheets Use LEDs for debuggingUse LEDs for debugging

CodingCoding Break functions downBreak functions down

Test each module seperatelyTest each module seperately Refer to PicAxe manualsRefer to PicAxe manuals Implement pauses to check programImplement pauses to check program

Page 11: New Module - Inside DeMux to Encode Switch Data Sleep Mode Sleep Light Indicator

Outstanding ProblemsOutstanding Problems

None!None!

Page 12: New Module - Inside DeMux to Encode Switch Data Sleep Mode Sleep Light Indicator

SuggestionsSuggestions

Project SpecificProject Specific Make own boardMake own board

Save on costSave on cost Make smaller modulesMake smaller modules

Smaller PicAxe, One ZigBee, FETSmaller PicAxe, One ZigBee, FET Use smaller batteriesUse smaller batteries

Save spaceSave space Make whole circuit run off 3.0V vs. 3.3VMake whole circuit run off 3.0V vs. 3.3V

Reduce current consumption through XBee SleepReduce current consumption through XBee Sleep

Page 13: New Module - Inside DeMux to Encode Switch Data Sleep Mode Sleep Light Indicator

ZigBee – Final StatusZigBee – Final Status

Instruction Manual: DoneInstruction Manual: Done

Transmitter Module: DoneTransmitter Module: Done

Receiver Module: DoneReceiver Module: Done

Modules working together: DoneModules working together: Done

Plug and Play usability: DonePlug and Play usability: Done

Sleep Mode: DoneSleep Mode: Done

Project: SuccessProject: Success