new module - inside demux to encode switch data sleep mode sleep light indicator
Post on 21-Dec-2015
220 views
TRANSCRIPT
New Module - InsideNew Module - Inside
DeMux to Encode Switch Data
Sleep ModeSleep Light Indicator
Old Receive ModuleOld Receive Module
Outputs Hardwired to Toy
Four Outputs
PicAxe Program PortResets Inside
No On/Off Switch
New Module - ImprovementsNew Module - Improvements
CMOS
External PicAxe Programmer
Power Light IndicatorPower Switch
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
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
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
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
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
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
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
Outstanding ProblemsOutstanding Problems
None!None!
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
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