Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
#include <SparkFun_ATECCX08a_Arduino_Library.h> //Click here to get the library: http://librarymanager/All#SparkFun_ATECCX08a
#include <i2c_t3.h> //use to communicate with the ATECC608a cryptographic coprocessor

const String version_number = "1.0.1";

ATECCX08A atecc;
//Get access to a hardware based CRC32
Expand Down Expand Up @@ -1389,6 +1390,7 @@ void loop(void) {
if (Serial.available() >= 2) {
commandString = Serial.readStringUntil('\n');
if (commandString.equalsIgnoreCase("HEX")) print_hex();
else if (commandString.equalsIgnoreCase("VERSION")) Serial.println(version_number);
else if (commandString.equalsIgnoreCase("STOP")) turn_recording_off();
else if (commandString.equalsIgnoreCase("START")) turn_recording_on();
else if (commandString.equalsIgnoreCase("NEW")) close_binFile();
Expand Down Expand Up @@ -1465,6 +1467,7 @@ void loop(void) {
}
else if (commandString.equalsIgnoreCase("HELP")){
Serial.println(F("List of available commands:"));
Serial.println(F("VERSION (Display the current software version)"));
Serial.println(F("HEX (Stream the latest log file in printable hexadecimal)"));
Serial.println(F("BIN (Stream the latest log file in binary format to the serial port)"));
Serial.println(F("DEL [file-name.bin] (Delete the chosen file in the SD card)"));
Expand All @@ -1483,7 +1486,7 @@ void loop(void) {
Serial.println(F("STREAM OFF (Stop sending interpreted CAN Frames to the Serial port)"));
Serial.println(F("BAUDRATE (Show the baudrate in each log file)"));
Serial.println(F("COUNT [abc] (Set the file index to a 3 digit alphanumeric code abc)"));
Serial.println(F("ID [Vxx] (Change device version [V] and serial number [xx]; e.g. ID 201 means version 2 serial number 01)"));
Serial.println(F("ID [CSUxx] (Change device serial number [xx]; e.g. CSU23 means serial number 23)"));
}
else {
Serial.println(("Unknown Command"));
Expand Down

Large diffs are not rendered by default.

Binary file modified Final Shipping Tests.pdf
Binary file not shown.
31 changes: 20 additions & 11 deletions Final Shipping Tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,30 @@

[ ] Customer Name: ________________________________________ [ ] Date: __________

[ ] Remove SD card, connect logger to USB Serial and examine startup messages.
[ ] Measure the resistance for the coin cell holder to be above 3.5Mohms.

[ ] With SD card removed, the red LED flashes.
[ ] Measure Coin Cell voltage is above 2.7V.

[ ] Assemble 3 screws inside and 4 screws outside.

[ ] Download Firmware github.com/SystemsCyber/CAN-Logger-3/releases/ ___________
Upload Firmware to Logger using Teensy.exe

[ ] Remove SD card, connect logger to USB Serial and examine startup messages.
With SD card removed, the red LED flashes.

[ ] Logger time from USB Serial is within 1 minute of actual PC time.

[ ] Logger and PC timezone: MST (UTC-0700) or MDT (UTC-0600) or Other: _________

[ ] Red LED stops flashing after inserting an SD card.

[ ] Enter the VERSION command. Record the version number: __________________

[ ] Enter the serial command for the ID (ID CSUXX) where XX is the logger num.

[ ] Device responds with Device ID: ___________________

[ ] Enter the serial command to reset the count: COUNT 0

[ ] Device responds with Set current file to 000

[ ] Unplug and replug the USB Serial and observe solid green LED.

[ ] Logger Number Printed on the enclosure: _________________
Expand All @@ -38,11 +44,10 @@

[ ] Previous file showed SIZE, BIN-SHA, TXT-SHA, and SIG.

[ ] Note filename from Serial console.

[ ] Disconnect USB Power first, then disconnect 12V Power.
[ ] Note new filename from Serial console: _______________________________

[ ] Remove SD Card from Logger, connect to computer.
[ ] Disconnect USB Power first, then disconnect 12V Power. Remove SD Card from
Logger, connect SD Card to computer.

[ ] Open last file in hex editor (HxD) and calculate SHA-256:___________________

Expand All @@ -55,4 +60,8 @@
[ ] Reset Counter to zero (COUNT 0).

[ ] Logger Device ID and Serial Number match on
https://systemscyber.github.io/CAN-Logger-3/loggers.html
https://systemscyber.github.io/CAN-Logger-3/loggers.html

[ ] Include the 9-pin to Dsub-15 cable

[ ] Checklist completed by: ____________________________________________________
7 changes: 7 additions & 0 deletions docs/Hardware/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ The CAN Logger 3 was designed with Altium Designer version 19 and 20. The differ

There is also information with libraries for parts used in the design file. However, these are likely outdated.

## Revision Numbers
The CAN Loggers that were labeled and placed into enclosures follow different hardware revisions based on their number.

**CSU01 - CSU19** are hardware revision 3d, with hardware rework described in the Revision 3d directory. WiFi is not powered by default and a jumper needs to be closed to use WiFi.

**CSU20 and larger** are hardware revision 3e. These have the Teensy Loader jumper shorted by default. The WiFi jumper was removed, so it can be programmed.

## Additional Hardware
The enclosures are Bud HP-3651-B. Some of the references in the design documents have the 6 and the 5 transposed so the incorrect partnumber is referenced (i.e. HP3561 is wrong, but HP3651B is correct.) The enclosures are available here:

Expand Down
Binary file added docs/Hardware/Revision 3d/CutTraceAboveU15.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/Hardware/Revision 3d/JumpCoinCellToC22.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 23 additions & 1 deletion docs/Hardware/Revision 3d/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
# CAN Logger 3 - Rev 3d Hardware
The revision 3d hardware had a circuit design flaw in the coin cell battery was connected to the Vbatt of the wifi chip, thus quickly draining the coin cell battery. This made it so the CAN Logger did not accurately keep track of time.
The revision 3d hardware had a circuit design flaw in the coin cell battery was connected to the Vbatt of the WiFi chip, thus quickly draining the coin cell battery. This made it so the CAN Logger did not accurately keep track of time.

These boards were reworked to remove that circuit flaw and the result is the revision 3e boards.

Rev 3d CAN Logger numbers go from CSU01 to CSU19.

## Hardware Rework

### Remove the ATWINC1510 from the Coin Cell Circuit
The VBat pin on the ATWINC1510 module is not supposed to be connected to the Real Time Clock (RTC) coin cell battery. Therefore, the trace to the ATWINC1510 needs to be cut. The trace is exposed above the label for U15, as shown in the photo. Cut this trace in a couple places with a razor knife and peel out a section so it does not make contact again.

![Cut Trace](CutTraceAboveU15.jpg)

Once the Vbat pin for the ATWINC1510 is cut out of the circuit, it needs to be powered from 3.3 V rail. The photo shows a 30 gauge wire jumper from the 3.3V pin to the Vbat pin on the ATWINC1510.

### Reconnect the RTC
The top side of C22 is connected to the RTC battery pin on the processor. Connect this pad to one of the sides of the coin cell holder as shown in the photo.

![Connect to Coin Cell](JumpCoinCellToC22.jpg)

Additionally, D7 needs to be removed. This keeps the coin cell battery isolated.

Once these modifications are done, the resistance between the two sides of the coin cell battery holder will be on the order of 4 megaohms. Without the modification, the resistance is about 6.5 kiloohms, which drains the coincell battery faster than it should.

Install a new battery. The voltage from the top of the coincell holder to ground, with a battery installed, should be above 2.7 V.