Upload
alaina-pierce
View
216
Download
0
Tags:
Embed Size (px)
Citation preview
Team 8:Nate Gimple Steven Tighe Amit Halevi Noah Husek
Project SummaryLED Cube!RGB LEDs512 LEDs, 64 microcontrollersMassively networked (64 microcontrollers
intercommunicating)Uses the Atmel ATxmega64A1Uses the Altera Nios II softcore
Noah
Project StatusPrototype boards orderedAlmost all components acquiredMicrocontroller intercommunication via
UARTCurrently slightly under budget!Familiarization with Nios II IDEFamiliarization with Xmega IDE
Noah
Nios II
supernode 0
supernode 1
supernode 7
node 0(LED)
node 1 node 7
module 0…
…
supernode 8
supernode 63
Hierarchy / block diagram
…
I2C
sensorinput
user input
Amit
AddressingFractal
1st digit = top or bottom2nd digit = back or front3rd digit = left or right 000 011 100mod sup nodeThis address indicates:
Top, back, left module Top, forward, right supernode Bottom, back, left node
3 bits of address: Eases writing generic code
011
000
111110
101100
010
001
Amit
Communication Scheme
Supernode
SupernodeSupernode
Supernode
Supernode
Supernode
I2C
UART
Amit
ATxmega64A132 MHz64 kB Flash memory8 USARTs4 I2CSPIIntegral timers2 12 bit ADCs128 bit crypto engine!Donated by Atmel
Amit
Altera + Nios IIMaster controller FPGAProcessor implemented with logic synthesisSoftcore capable of running C I2C will be implemented in hardware, with
use of extension headers on board
Noah
TI TLC5947 LED Driver24 channels12 bit PWMSerial inputProgrammable constant current sinkUp to 33 V on each channelQFN 32Considered discrete MOSFET drivers
Not enough ports on chipFootprint => 2 layer
Donated by TINoah
RGB LED4 lead, common anodeDiffused epoxy5 mm diameter20 mAUsing leads as structural memberSurprisingly expensive to buy 500
Noah
PCBs3 kinds of PCBs
Supernode 1.7” x 1.7”Row 0.3” x 2.0”Column 0.4” x 3.9”
Need 64, 64, 96 respectivelyAll 2 layerSupernode was originally 4 layer
Changed to 2-layer for costUse of QFN package LED driver allowed this
Steven
Supernodes: Schematic 1
Steven
Supernodes: Schematic 2
Steven
Supernodes: Layout
Steven
Rows and Columns
Steven
Power SupplyComputer power supplies
Highly regulated voltage5 V, 3.3 V, 12 V available => 5 V usedInternal soft start
inrush current isnot a problem
Nate
BOM and Budget
Nate
Item Part # value Quantity Cost ($) Ext. Cost ($) DescriptionLED - RGB 600 0.3280 196.80 4 pin RGB common anode 5mm diffused LEDmicrocontroller ATxmega64A1 - 64 0.0000 0.00 Free! Donation from Atmel.LDO ADP3338 3.3V 64 0.0000 0.00 3.3V LDOLED driver TLC5947 - 64 0.0000 0.00 Free! 24 channel PWM LED driver from TIi2c buffer LTC4300A-1CMS8#PBF-ND - 1 3.5000 3.50 i2c hot-swappable driver/bufferNTC thermistor 495-2116-1-ND 10 kΩ 100 0.2470 24.70 temperature sensorphotocell PDV-P9001-ND - 64 1.0200 65.28 light sensormicrophones BOB-08669 - 4 7.9500 31.80 sound sensorop amp AD8052 - 64 0.0000 0.00 dual op amp to buffer sensorscapacitor TPSE337 330 µF 64 0.0000 0.00 tantalum cap for 5V capacitor - 4.7 µF 320 0.0000 0.00 ceramic decoupling caps for 3.3V and 5V (LEDs)capacitor - 0.1 µF 640 0.0000 0.00 ceramic decoupling caps for µCresistor 741X043103JPCT-ND 10 kΩ 100 0.0110 1.10 pull-up for i2cresistor P2.55KHCT-ND 2.55 kΩ 200 0.02255 4.51 sets IREF constant currentconnectors WM2701-ND 3 pin 96 0.0000 0.00 headers to connect supernode PCBs laterallyconnectors SAM1034-50-ND 100 pin 4 4.1000 16.40 headers to connect supernode PCBs verticallypower supply - - 2 0.0000 0.00 old computer power supplies for +5V railsolder paste KE1507-ND - 1 30.6300 30.63 for SMD solderingKapton film 2271K2 12" x 12" 2 11.4900 22.98 for SMD stencilPCBs - - 240 - 600.00 supernodes, rows, columns
Total 997.70
Schedule
Nate
Accomplishments by CDRA review
(Kind of)
Nate
What’s left?Physical assembly
Kapton stencil + solder paste + pick and place = PCA
Insert through-hole LEDs by handAttach through-hole headers by handAcrylic base for structure and æsthetic
CodingXmega and Nios IIBasics are down, now we just need the
specifics
Nate
Potential Problems/ConcernsNoise on the board
Fast switching LEDs – 20 mA @ 1 kHzLots of serial communications everywhere
Inductive kickbackRelatively large current loops to LEDs
Communication with LED driverSPI?Bit-banging?
I2C capacitanceUsing I2C buffer/driver (LTC4300A)
Time!
Nate
Milestone 1
Amit
Milestone 2Full cube constructionMore complex super-node autonomous
scriptsEnvironmental inputSimple algorithmic games (GOL)Be ready for expo
Amit
Questions?