Skip to content

Commit 9cf35e4

Browse files
authored
Added images and note about Capacitor
1 parent c6080a9 commit 9cf35e4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Arduino_Emulation.md

+8
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,11 @@ Not all commands are implemented in the emulation file. Saving and loading user
1414
The code was written for an Arduino UNO, using the below schematic. A toggle switch is used to represent the external interlock connection, and the red LED indicates when the laser is "active"/firing.
1515

1616
The serial commands and responses to the Arduino UNO are almost identical to that of an actual MicroJewel laser. Including the error codes and number of digits after the decimal point for query commands.
17+
18+
The capacitor (C1) is used to prevent the Arduino UNO from resetting when the serial port is connected. Leave this on when running your code, but you must disconnect this capacitor whenever programming your Arduino UNO!
19+
20+
Example setup on a Breadboard:
21+
![image](https://raw.githubusercontent.com/Student-Space-Programs-Laboratory/py-ujlaser/master/arduino-spoof/breadboard_example.png)
22+
23+
Example setup schematic:
24+
![image](https://github.com/Student-Space-Programs-Laboratory/py-ujlaser/blob/master/arduino-spoof/schematic_example.png)

0 commit comments

Comments
 (0)