Upload
others
View
3
Download
0
Embed Size (px)
Citation preview
Totem Mini Lab Side Panel-1
With Side panel-1 you are getting often used components conveniently placed on the side of your TotemDuino Mini Lab. These are components that are awkward to place on breadboards. Normally you would not manage to press the pins of these components into a breadboard without breaking something. Now you get often used Input / Output functions close to your Breadboards on the Mini Lab.
Functions included:1) 3 push-push switches with LED indicators;2) 3 Potentiometers (10kOhms);3) 1 Rotary encoder switch;4) 3 push button switches;5) 1 RGB-LED (can show virtually any color);6) 1 3.5mm Jack connector;7) 1 Relay , 10A/250v , with LED indicator.
3x
6x 3x
3x
3x
3x
3x
3x
3x
3x
2x
3x 220 ohm resistors
red
red
bro
wn
go
ld
ora
ng
ew
hit
eb
row
ng
old
3x 390 ohm resistors
red
red
red
go
ld
1x 2,2k ohm resistor
1x 220 ohm resistor
red
red
bro
wn
go
ld
Component placementMini Lab Side Panel 1
goldorangeblackbrown
3x 10k resistors
OBS. The flat side of the RGB-LED can be dif-ficult to see. Use the longest pin to locate the correct side!Flat side Longest pin
H14
H1,H2,H3
LED 1, LED 3, LED 5
R1, R2, R3 (220 ohm)
S1, S2, S3
JP1, JP2, JP3, JP4,
JP5, JP6 (with jumpers)
H4, H5, H6
P1, P2, P3
JP7 (with jumper)
SW2H7C2, C1, R4, R5, R5(10k)
H8
S4, S5, S6
H9H11R7, R8, R9 (390 ohm)R1 (220 ohm)Q4 (npn transistor)
LED4
RELAY 1
R10 2,2k
H10
JACK1
B1
H1-H10, H14:10pcs: 3 way female header (2.54mm pitch)
R1-R33pcs: Resistor 220 ohm,1/4w
JP1-JP7:7pcs: 2 pin jumper header (2.54mm pitch)
LED1-LED4:4pcs: 5mm Green LED
S1-S3:3pcs: 7x7mm Push-push switches.
P1-P3:3pcs: 10kOhm potentiom-eters.
JP7:1pcs: 3 pin jumper header
SW2:1pcs: Rotary switch
R4-R6:3pcs: Resistor 10 kOhm, 1/4w
C1-C2:2pcs: Capacitors , 10nF
S4-S6:3pcs: Push Button switches
RGB-LED:1pcs: 3-color, 4-pin LED
H11:1pcs: 2-pin Female Header
R7-R9: 3pcs: Resistor 390 ohm ,1/4w
Q4:1pcs: NPN transistor
R10:1pcs: Resistor 2.2k ohm
JACK1:1pcs: 3.5mm phono jack connector for PCB.
RELAY1 :1pcs: 5v relay, 10A/250v
B1:1 pcs: 3 pin 3,5mm terminal block.
Component list
How to use the Side Panel 1The 2 first important steps.
Step1:Connect power
The first you should do when using the side panel, is to feed power: 3.3v and 5v from the Mini Lab. 3 patching wires : GND, 3.3v and 5v connects to the upper header : H14.
These voltages is used in the circuit for different things. It lights up LED’s, it can give out signals from potentiom-eters and rotary encoder.
!!OBS!!Take care to connect power correctly. You might harm your TotemDuino if you connect power wrong here.
!!OBS!!Connect both 3.3v and 5v, regardless what you choose to be your VCC in Step 2. Both is needed.
Step2:Decide VCC voltage
The second thing you should do when using the side panel, is to decide what VCC voltage you want to use. If you use 3.3v digital VCC on the TotemDuino, you should reflect this in the Side Pan-el. This is most important when using the rotary encoder and the potentiom-eters. You might feed 5v to a 3.3v input if you have different VCC on the Mini Lab and Side Panel.
So: Set corresponding VCC (3.3v or 5v) on the JP7 jumper header. Use a jump-er hat to set the desired.
Circuit for the Push-Push switches. Circuit for the Potentiometers.
Circuit for selecting VCC
Circuit for the push button switches.
Circuit for the relay.
Circuit for the 3.5mm Jack connector.
Circuit for the RGB-LED.
Circuit for the rotary encoder.
How to understand the rotary encoder outputs.In the pictures below the outputs from the Rotary encoder is shown, when turning the knob:BLUE waveform is from the ROTATE-A output on the Side PanelYELLOW is from the ROTATE-B output.
Rotating Clockwise:
Rotating Anti-Clockwise:
So, when you want to program the Arduino/TotemDuino to decode the rotation, start whenever both outputs are ZERO, and see which output’s edge comes before the other. Yellow before blue= clockwise , Blue before yellow= anto-clockwise.
Time between pulses are the speed you turn the knob.
How to mount Side Panel to the mini Lab
See the illustration below. • Fix 2 pieces of L-twisted adjustable brackets to the side of the Mini Lab. • Fix the Side Panel to the Beam (150mm): use Nylon Spacer M3 8 mm.
You can then just slide the Side Panel into the side of the Mini Lab , so you easily can take it on and off. If you want it more permanently fixed, you may use bolts and nuts to fix the Side Panel more solidly.