PubInv / moonrat

Moonrat: A second-generation portable incubator
GNU Affero General Public License v3.0
3 stars 3 forks source link

HARDWAREX Article Notes on Assembly of MoonRatII Version 1.0 PWA #209

Open ForrestErickson opened 9 months ago

ForrestErickson commented 9 months ago

Capture notes on the assembly process in an issue as I go.

This can be put into a README.md or other markdown document later. This content will be good for the Hardware X article.

Note: These images in this section are from work on a Windows 10 PC.

Outline Confirm the UNO runs BEFORE connection to the MoonRatII assembly.

Load a sketch (Blink) and confirm normal USB/COM port connection and operation of the UNO.
Confirm program execution (the LED Blinks).

Load Blink sketch into Arduino IDE

image

Select the COM port

You can see the COM port appear using the Windows Device Manager.

Before connecting the USB port

image

After connecting the USB port

image

Under Tools, Port: select the appropriate port of the UNO. image

Under tools, Board select the Board Manager, Arduino AVR, Arduino Uno image

Select, Get Board Info and capture to TBD??? image

Press the Upload icon . image

There is a green progress bar in the Status lower right. image

The Status will show Done Uploading when finished. image

ForrestErickson commented 9 months ago

Each assembly will "enumerate" with a different COM port. For these MoonRatII assemblies on the factory test computer this will become an opportunity for confusion as the device count increases. The first device became COM 10. The second device became COM12. image

Verify Blink Sketch Running, LED Blinking

Instruction to Test Operator. After uploading firmware, verify that the built in LED on the UNO board blinks. If the LED is not blinking something is wrong. Do not proceed with this UNO. Troubleshooting is required to resolve the problem with the UNO or the programing process.

ForrestErickson commented 9 months ago

Place the MoonRatII shield on the UNO.

image

SPECIAL NOTE If possible use an UNO with a micro USB connector. If such an UNO is not available then the following special instructions apply. The January 2024 Version 1 assemblies were pared with the genuine Arduino UNO has a Type B USB connector which is big enough to interfere with the MoonRatII PCB and short against the switch SW1 pins. Trim the pins flush as you can.
image

With vinyl tape, insulate the pins from touching the USB connector.
image

The USB connector prevents the MoonRatII from fully seating into the headers.
image

Future purchases should be of UNOs with the micro USB connector to avoid the possibility of electrical short and mechanical interference.

ForrestErickson commented 9 months ago

Check Against Power Short

Measure resistance to ground on power Jack J1 SN 01 19.9K SN 04 19.9K

Plug into USB cable, power from USB. The buzzer is buzzing and the amplitude changes with proximity of my fingers. (Root cause the transistor Q2 gate is uncontroled when the UNO is in reset and the transistor may conduct because of capacitive charge into the gate of Q2 causing the buzzer to sound. For Version 2 assemblies a 10K resistor to GND should keep Q2 and Q1 off when the UNO is in reset.) LED is blinking No smoke signals.

Plug into wall transformer with current monitor SN 01 50 mA SN 04 50 - 70 mA depending on how loud the buzzer is. No smoke signals.

Check Blink

Verify that the UNO LED is blinking.

Load Factory Test Firmware(s)

I loaded the firmware located at: https://github.com/PubInv/moonrat/tree/main/moonratII/firmware_moonratII/production/moonratII

I ran the code. I saw the splash screen. Then a graph started. The buzzer was loud but changed if I touched the header connector J5. I infer it was because the ADC was reading stray field and reporting as temperature. The graph changed as I touched it.
See video: https://www.facebook.com/100001157659918/videos/6594260910675347/ I did NOT have the heater assembly with the TMP36 connected so the ADC input was floating.

End of testing on 17 Feb 2024.

ForrestErickson commented 9 months ago

@RobertLRead FYI there is an issue into which I was capturing my testing of Version 1.0 PWAs.

ForrestErickson commented 8 months ago

In March Resume testing. Lee connected the heater assembly to the SN01 and SN04 with a ribbon cable. Lee connected the heater pad THROUGH A 100 OHM RESISTOR to the screw terminals at Heater assembly J1. This 100 Ohm resistor is to prevent the assembly from drawing more than the current the USB can supply (100 mA).

Run Firmware.

Lee verified that: On release of reset the display had the public invention splash screen. Splash screen was followed by display of firmware version. Then the SELECT SAMPLE menu came up.

Lee selected the Yeast and mold and pressed SW2 (Enter?) The display began showing a graph of temperature.
image
I do not think the temperature is correct.

Lee discovered that placing a cell phone near the cable connecting the controller and heater causes the measured temperature to be in error.
image

ForrestErickson commented 8 months ago

Some of this work should be captured into the README.md article which forms a manufacturing test for Version 1 Assemblies.
See: https://github.com/PubInv/moonrat/blob/main/moonratII/pcb_moonratII/manufacturing_test/README.md

melanielaporte commented 2 months ago

@melanielaporte