Saturday, 20 May 2017
Old family pics 2 - Malaysia - 1970s ??
These pics were taken from Aunty Judys photo album in 2009
In KL
The Aunty Judy's old house in Malaysia
Grandpa ... on mums side
Grand Ma
Joanne's first holy communion ? St Francis Xaviers, Wollongong
Jasper puppy
Aunty Daphine is on the extreme right
28 Dallas st
KL airport
Friday, 19 May 2017
Switches - Toggle mainly
Firstly,
Poles Vs Throws.
Poles: A switch pole refers to the number of separate circuits that the switch controls.
Throws: This indicates how many outputs each switch can connect its input to.
MTS stands for Minature Toggle switch.
The Switch bushing has a 6mm diameter.
There are a few variations on these switches.
1. Momentary switch remains in its “on” state only as long as it is being compressed. Once the user removes the compression of the switch the device is no longer on. ...
2. Latching switch needs to be pressed once for ON and again for OFF, for example a light switch.
3. Non-Latching - When pressed it is on. The reverse action is off
There are also various codes:
MTS 101 On - Off. SPST
Terminals : 2P
-----------------------------------------------------------
MTS 102 on - on SPDTTerminals : 3P
MTS 103 on - off - on. SPDT
Terminals : 3P
----------------------------------------------------------------
MTS 112 on -(on)
SPDT
Terminals : 3P
--------------------------------------------------------------
MTS 113 on-off-(on)
SPDT
Terminals : 3P
-------------------------------------------------------------------
MTS123
mom-off-mom (on) off (on)
SPDT
Terminals : 3P
---------------------------------------------------------------------------------
MTS 1033 On-On-On
SPDT
Terminals : 3P
---------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
MTS 201
on-off
DPST
Terminals : 4P
------------------------------------------------------------------------------------
MTS 202
on - on DPDT
Terminals : 6P
MTS 203 On - off - on.
Terminals : 6P
DPDT
--------------------------------------------------------------------------------------
MTS 212 on-(on)
Terminals : 6P
DPDT
----------------------------------------------------------------------------------------
MTS 223 (On) - off - (on).
Mom - off - Mom
Terminals : 6P
DPDT
----------------------------------------------------------------
MTS 2003
on-on-on
2 pole, 3 throw. (2P3T)

This slide switch is another version of a 2P3T switch
-------------------------------------------------------------------..----------------------
MTS 301
on-off
3PST
Terminals:6P
-------------------------------------------------------------
MTS 302
on-on
3PDT
Terminals 9P
----------------------------------------------------------
MTS 303
on-off-on
3PDT
Terminals 9P
---------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
MTS 401
on-off
4PST
Terminals:8P
-------------------------------------
MTS 402
on-on
4PDT
Terminals:12P
-------------------------------------------------------------------
MTS 403
on-off-on
4PDT
Terminals:12P
Links
+ Restoring Vintage Toggle Switches
+ Massuse Switch
Thursday, 18 May 2017
Data Types - Constants vs Variables
Data types are closely associated with memory
All data occupies memory
Below is a list of many of the data types commonly seen in Arduino.
The
memory size of each is listed in parentheses after the type name.
Constants
The value can't be changed. It's read only.
+ Defining pin levels: HIGH vs LOW
High: voltage greater than 3.0V is present at the pin (5V boards)
LOW: a voltage less than 1.5V is present at the pin (5V boards)
+ Defining pinModes:
INPUT vs OUTPUT , INPUT_PULLUP
+ boolean Constants (8 bit) - simple logical true/false.
false is defined as 0 (zero).
Any integer which is non-zero is true, in a Boolean sense.
So -1, 2 and -200 are all defined as true, too, in a Boolean sense.
+ Floating Point Constants
eg : n = 0.007; // 0.007 is a floating point constant
You can also express them in scientific notation.
thus 2.34E5 = 234000
+ Integer Constants
eg n = 345;
Normally, we use decimal numbers, but other bases can be used like binary or hexadecimal.
VARIABLES
These are memory locations which can be changed as many times as you like.
Memory is measured in bits and bytes.
8 bit = 1 byte
Note: signed variables allow both positive and negative numbers, while unsigned variables allow only positive values.
+ boolean (8 bit/1 byte) - simple logical true/false.
+ byte (8 bit or 1 byte) - unsigned number from 0-255
+ char (8 bit) - signed number from -128 to 127.
The
compiler will attempt to interpret this data type as a character (like ‘a’ or ‘!’)
in some
circumstances.
+ unsigned char (8 bit) - same as the 'byte' data type.
The unsigned char datatype encodes numbers from 0 to 255. The byte data type is preferred.
+ word (16 bit or 2 bytes) - unsigned number from 0-65535
+ int (16 bit) - signed number from -32768 to 32767.
This is most commonly what you see used for general purpose variables in
Arduino example code provided with the IDE
+ unsigned int (16 bit or 2 bytes)- They only store positive values. They thus yield a range of 0 to 65,535 ((2^16) - 1)
+ long (32 bit) - signed number from -2,147,483,648 to 2,147,483,647 + unsigned long (32 bit or 4 bytes) - store positive numbers from 0 to 4,294,967,295.
The most common usage of this is to store the result of the
millis() function, which returns the number of milliseconds the current code has been running
+ short (16 bit) - range of -32,768 to 32,767
+ float (32 bit) - signed number from -3.4028235E38
to 3.4028235E38.
Floating point on the Arduino is not native & the
compiler has to do complicated math to make it work.
Avoid if you can.
+ double (32 bit) - double-precision floating point number.
can hold very large (or small) numbers. Some of the bits are used to tell
where the decimal place goes. This leaves 6 to 7 digits of precision.
+ string - holds ASCII characters.. that is, it holds text ..
you might use this to send a message via a serial port.
Arrays
+ Array - This is a list or collection of variables that can be accessed via an index number.
The word "array" isnt actually used. The symbols [] and {} do the job.
eg: int myArray[] = {6,21,34,2,1,0,152};
Here we declared an array with 7 values. Arduino creates 7 places in memory for these values.
We can also just tell the arduino to create 7 memory spots, and then enter the values later :
int myArray[7];
To assign a value to the second spot we use a command like this:
myArray[1] = 21;
This is the index number.
The first spot always has an index value of 0 (they are zero indexed).
Links:
---------------------------------
------------------------------------- Korg PS 3100 - Modulation Generator 1 & 2
Basically these are LFOs
You have a choice of 4 wave forms plus white & pink noise.
You can send the MG1 to the LPF & SG
Most synths have LFOs with frequencies between 0.1Hz & 10Hz.
MG1 however has a range between 0.1Hz to 1KHz.
----------------------------------
MG 2 --- another LFO
Just 1 waveform - saw.
You can only adjust the frequency.
It is routed to the resonator by default.
You can also use the patchbay.
You have a choice of 4 wave forms plus white & pink noise.
You can send the MG1 to the LPF & SG
Most synths have LFOs with frequencies between 0.1Hz & 10Hz.
MG1 however has a range between 0.1Hz to 1KHz.
----------------------------------
MG 2 --- another LFO
Just 1 waveform - saw.
You can only adjust the frequency.
It is routed to the resonator by default.
You can also use the patchbay.
Subscribe to:
Posts (Atom)





















