Transcript part 2
New Module - Inside
DeMux to Encode Switch Data
Sleep Mode
Sleep Light Indicator
Old Receive Module
No On/Off Switch
PicAxe Program Port
Resets Inside
Four Outputs
Outputs Hardwired to Toy
New Module - Improvements
Power Light Indicator
Power Switch
CMOS
External PicAxe Programmer
Problems Encountered
Conflicting Voltages
PicAxe Chip: 5V
XBee Chip: 3.3V
Solution
Emailed MaxStream on maximum voltages
Problems Encountered
X-CTU Software
Would not recognize XBee Chips
Could not program XBee Chips
Serial Cable connection unreliable
Solution
Reinstalled X-CTU and Serial cable drivers
Bought USB to Serial Cable
Used different computer
Problems Encountered
ZigBee Communication
Get ZigBee Chips to talk to each other
Solution
Trial and Error
Change settings on X-CTU program
Problems Encountered
ExpressPCB
Software
Save file corrupted
Trouble finding
components in library
Solution
Modified backup file
Problems Encountered
PicAxe Pinouts
Confusion on PicAxe
pins
Output number vs. Pin
number
Solution
Reference PicAxe
PDF manuals
Problems Encountered
Hardware Bugs
Incorrect wiring
Floating pins
Weak batteries
Software Bugs
Mislabeled pins
Stuck in unending loops
Approach to Solving Bugs
Protoboard
Break circuit into modules
Test each component
Use data sheets
Use LEDs for debugging
Coding
Break functions down
Test each module seperately
Refer to PicAxe manuals
Implement pauses to check program
Outstanding Problems
None!
Suggestions
Project Specific
Make own board
Save on cost
Make smaller modules
Smaller PicAxe, One ZigBee, FET
Use smaller batteries
Save space
Make whole circuit run off 3.0V vs. 3.3V
Reduce current consumption through XBee Sleep
ZigBee – Final Status
Instruction Manual: Done
Transmitter Module: Done
Receiver Module: Done
Modules working together: Done
Plug and Play usability: Done
Sleep Mode: Done
Project: Success