Box
Box
Box7_ino.txt
ECEL
Snapshot
Supplies
5V
12V
V-V
N12V
5.00
V
0.00
mA
3.44
V
0.00
mA
2.26
V
0.00
mA
V
4.99
0.00
mA
Measured
A1-2
A3-4
A5-6
A7-8
0.00
V
0.00
V
0.00
V
5.00
V
5.00
V
5.00
V
5.00
V
5.00
V
MainClock
BASE
CLK
DataR -
DataW A 5
10.00
813.74
NIBS[15:0]
-
- H
A 5 H
A 5 A 5
MHZ
HZ
NOTES:
The Arduino code writes to columns 1-3 (A-C) and ECEL maps columns
B to G and to C to I .Column A is the DATA, TIME, This is needed to
have EXCEL read the incoming data.
8 Nibs can be read or written: pic shows a write of A5A5 and reading
same. The value to R/W is CSV file read by script.
The frequency will be the decode of up/down counters used to generate
CLOCK with base frequency of either 10 or 20 MHZ crystal module and
I really need the BOX to finish this.
Reads of 12 analog ports with wait of 5mS B/W reads plus
40mS at end of reads allows about 10 reads/s.
The box colors are based on the data received , set in EXCEL.
Supply : 0<=5V consider a 5% de-rating.
Supply >5v are a 10% de-rating.
All values read outside their de-rating show RED.
The voltages monitored were 5V, 3.3V and 0V and the one pot V- OUT
seen in the V-V supply where the color green/red was base on value
V>= 0 = green and anything else is red.
All current values were tied to 0V where 0-0.9 = green and
any measurement above or below this range is red.
The Measured value has no constraints and will always be green.
Must! open xcel to blank sheet. Connect to data port then
move meter sheet to first page (blank out Meter).
This is the excel DB used. The DATE,TIME, field A1 , measured value 12=B2-3.
You must use the downloaded excel worksheet it contains VB code that
allows Arduino access, or this one. Sheet : bench_mon2.xlsm.
box_proc_ino.txt
box_proc_pde.txt
Data Log
Click the Log button and the
box below will pop-up
suggesting a file name of the
current date and time.
Accept it or change to your
preference. This will write out a
CSV file containing the
measurements and settings of
the box.
CSV File
The Box Settings and Ports used, also the plan to include
SPLC870D LCD Display
SPLC780D/74LS164
17
18
16
Arduino source code driving LCD. Lcd2 uses on
change write
Lcd_ino. txt
SPLAC780D DATA
SHEETS
http://www.datasheet4u.com/d
atasheet/S/P/L/SPLC780D_Sunp
lusTechnology.pdf.html
Pin/Signal Wire
1 DB7
Blue Solid
2 DB6
Blue Striped
3 DB5
Brown Solid
4 DB4
Brown Striped
5 DB3
Blue Solid
6 DB2
Blue Striped
7 DB1
Brown Solid
8 DB0
Brown Striped
9 E1
Blue Solid
10 R/W
Blue Striped
11 RS
Green Solid
12 V0
Green Striped
13 VSS
Green Striped&
Solid
14 VDD
Orange Solid
15 E2
Orange Striped
16 NC
17 LEDA
Orange Solid
18 LEDK
Green Solid
Connector
DB6 -2 1-DB7
DB4 -4 3-DB5
DB2 -6 5-DB3
DB0 -8 7-DB1
R/W-10 9-E1
V0-12 11-RS
VDD-14 13-VSS
NC-16 15-E2
17 LEDA
18 LEDK
GND
5V
10
SPLC780D HOOK-UP
5V
RAILS
GND
16-R_S
21-E1
20-E2
19-R_W
18-D_I
17-CK
17 LEDA
18 LEDK
5V
GND
16
Arduino pins
used as digital
outputs:
D[21:16] .
74LS164
DB7 -1
2
-DB6
DB5 -3
4
-DB4
DB3 -5
6
-DB2
DB1 -7
8
-DB0
E1 -9
10
-R/W
VO, Was Designed to
RS -11
12
tie through a 10k pot
-VO
to GND.
VSS -13
14
R/W=0=Write;
-VDD
RS=0=INS
E2 -15
16
-NC
11
RAILS
GND
1
17 LEDA
18 LEDK
5V
GND
16-R_S
74LS157
19-E
Arduino pins
used as
digital
outputs:
D[19:16] .
2:
1
R/W
16
E2
E1
2:
1
18-D_I
74LS164
17-CK
DB7 -1
2DB6
DB5 -3
4DB4
DB3 -5
6DB2
DB1 -7
8DB0
E1 -9
10R/W
VO, Was Designed to
RS -11
12tie through a 10k pot
VO
to GND.
VSS -13
14R/W=0=Write;
VDD
RS=0=INS
E2 -15
16NC
12
LCD DISPLAY
13
PORTS/PINS/PROGRAM_VAR_NAME
See
Arduino Data
http://www.robotshop.com/media/files/PDF/ArduinoMega2560Dat
Sheet
asheet.pdf
The PDF file is huge! 8g so it was removed and replaced by the pointer above.
14
BT_BOARD V1.04
* Correspondence with
seller:
VCC < 7V
If VCC = 5V then RX/TX
will
achieve TTL 5V levels.
Industrial serial port Bluetooth, Drop-in replacement for wired serial connections,
transparent usage.
You can use it simply for a serial port replacement to establish connection between MC
and GPS,
PC to your embedded project and etc.
Computer and peripheral devices
GPS receiver
Industrial control
MCU projects
Default serial port setting : 9600 1
Pairing code : 1234
Running in slave role: Pair with BT dongle and master module
Usage
Coupled Mode: Two modules will establish communication automatically when powered
PC hosted mode: Pair the module with Bluetooth dongle directly as virtual serial.
Bluetooth protocol : Bluetooth Specification v2.0+EDR
Frequency : 2.4GHz ISM band
Modulation : GFSK(Gaussian Frequency Shift Keying)
Emission power : <=4dBm, Class 2
Sensitivity : <=-84dBm at 0.1% BER
Speed : Asynchronous: 2.1Mbps(Max) / 160 kbps, Synchronous: 1Mbps/1Mbps
Security : Authentication and encryption
Profiles : Bluetooth serial port
CSR chip : Bluetooth v2.0
Wave band : 2.4GHz-2.8GHz, ISM Band
Protocol : Bluetooth V2.0
Power Class : (+6dbm)
Reception sensitivity: -85dBm
* Voltage : 3.3 (2.7V-4.2V)
** NOT CORRECT
Current : Paring - 35mA, Connected - 8mA
Temperature : -40~ +105 Degrees Celsius
User defined Baud rate : 4800, 9600, 19200, 38400, 57600, 115200,
15
230400,460800,921600,1382400.
BT_BOARD V1.04
Pin definition :
PIO8 connects with LED cathodea with 470ohm series resistor in
between.
LED NEGATIVE connects to ground.
It is used to indicate the module state. After powered on, flashing
intervals differ in
different states.
PIO9 is used to control LED indicating paring. It will be steady on when
paring is
successful.
PIO11, module state switching pin. HIGH -> response to AT command;
LOW or floating
-> regular work status.
With build-in reset circuit, reset is completed automatically after
powered on.
Steps to set to MASTER:
Set PIO11 HIGH with a 10K resistor in between.
Power on, module comes into AT Command Response Status
Open HyperTerminal or other serial tool, set the baud rate 38400, 8
data bits, 1 stop
bit, no parity bit, no Flow Control Via serial port, send characters "AT +
ROLE = 1 r n",
if successful, return "OK r n", where r n is carriage return.
Set PIO11 LOW, re-power, then in Master state, automatically search for
slave module
and connect.
16
17
18
Float_Patch_for_Arduino_1.0.3.zip
String example1
example1
String example2
example1
variable
=
=
=
=
This is patch for Arduino 1.03-1.05 releases. The next releases from Arduino are 1.5.#
not yet made public.
This was an attempt to make writes more stable, however; it behaved the
same.
2. The PLX-DAQ works well but does not allow any other interaction than reporting collected data. Its fast and easily but
limited.
3.
The current LCD display is power starved (driven by USB). Once better rails are applied POTS will be added to VO and AK, allowing
Variable back light intensity and the correct contrast. This will sharpen the LCD appearance.
4.
Will use 6 pins digital P16-21, which will drive LS74164 and SPLC780d. The E[2:1] and RW connections are not
necessary; adding
various external logic will eliminate E[2:1] and RW is always tied LOW, write. Change to 4 pin interface, p.12 .
5.
The LCD has 2 font capabilities 5x10 & 5x7 ;how ever, only the 5x10 display can be chosen. I also had problem
selecting the
desired cursor control. Wanted to just move cursor to a given address and write backwards (w/o shifting the display).
This would
have made printing to LCD cleaner, all values to LCD and PC are String values and keeping decimal place works best
right to left.
I was able to set up close to this but cursor movement is left to right.
The need to write to specific locations allows print on change and also a non-flashy display. The LCD display looks just
like the
Processing BOX on the PC just not quite as fast.
19
More Stuff
7.
Will eliminate Arduinos pin 19, program name E which drives the LCD capture clock. Using a counter clocked by CK, a
count of 8 will clock E. TTL logic
74LS163 a 4 bit binary counter and will be decoded by 8. May seem asynchronous but not, its in correct time frame.
20