You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Check the power indicator lights: if it's off, then the battery is drained. Charge it.
127
-
2. Some models have a protective sticker at the bottom of the microSD card that makes the connection unstable. Removing it will make connections a lot better.
128
-
129
-
If the lights are on:
130
-
1. The microSD card is loose. Gently push the card in until the screen lights up. Or if you want to be sure, connect the SCI-CALC to your computer via a data usb-c cable and open the serial monitor (baud rate 115200).
131
-
2. The OLED screen module is misaligned. Check the pogo pins on the left side. If misaligned, loosen the screws on the top plate holding the module down, and push the module to the left until the pogo pins are touching the pads
98
+
[Troubleshooting](docs/troubleshooting.md)
132
99
133
100
# Updating Software
134
-
135
-
## How It Works
136
-
137
-
The SCI-CALC can load external programs through a SD card.
138
-
Each time you load a program, the SCI-CALC writes the contents of the corresponding ```.bin``` file to the ESP32's ROM. For instance, when you load up Chess, it overwrites the existing ```main.bin``` in the ROM to ```chess.bin```. When you press esc to go back, The ```main.bin``` from the SD-card is written back into the ROM. This allows us to update programs without having to use an IDE to upload. The idea is to update the ```.bin``` file of the program in the SD-card, and then load it to the ESP32.
139
-
140
-
## Updating Software (New)
141
-
To update the software for your sci-calc, follow these steps:
142
-
1. Get the .bin file you want to update from the ```/bin``` folder.
143
-
2. Copy that file over to the microSD card, replacing the old .bin file you want to update.
144
-
3. Navigate to the settings menu and activate Update from SD.
145
-
4. After it is done writing to ROM it should be properly updated!
146
-
147
-
## Updating Software (Old)
148
-
If you do not see the Update From SD option in the settings menu, follow these steps:
149
-
1. Get the .bin file you want to update from the ```/bin``` folder from this repo.
150
-
2. Copy that file over to the microSD card, replacing the old .bin file you want to update.
151
-
3. Navigate to the programs menu and enter any one of them.
152
-
4. once the game is loaded press esc to load the updated main.bin file back to the ESP32.
153
-
5. After it is done writing to ROM it should be properly updated!
154
-
155
-
For updating the main software, do these steps with the ```main.bin``` file. Or you can just replace everything in the SD-card with the contents in the ```/bin``` folder.
101
+
[Updating Software](docs/updating_software.md)
156
102
157
103
# Setting up the Dev Environment
158
-
159
-
## Arduino IDE
160
-
1. Install the Arduino IDE: https://www.arduino.cc/en/software
161
-
2. Install the drivers for the CH340 chip: https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all
162
-
3. Set up the Arduino IDE by following the steps for a regular ESP32 dev board: https://randomnerdtutorials.com/installing-esp32-arduino-ide-2-0/ (You don't have to do the test installation steps and the steps after)
163
-
164
-
4. Now you can start programming the SCI-CALC! When uploading, use the ESP32 Dev Board option for the board type.
165
-
166
-
# VSCode + PlatformIO
167
-
168
-
1. Install VSCode: https://code.visualstudio.com/
169
-
2. After installing VSCode, navigate to the extension tab on the left and install the PlatformIO extension:
170
-
3. Clone this Github repo and open the ```sci_calc_code``` folder in VSCode with PlatformIO.
171
-
4. Navigate to the ```src``` folder to view and modify the source code. When done modifying, upload the code using the Upload button at the bottom.
0 commit comments