Skip to content

Commit 1250b92

Browse files
authored
Update HardwarePlatforms.md for M5Stack Atom S3R
1 parent 3973dd5 commit 1250b92

File tree

1 file changed

+33
-13
lines changed

1 file changed

+33
-13
lines changed

HardwarePlatforms.md

Lines changed: 33 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
2. [Hardware Platform 2 Waveshare Zero](#waveshare_zero)
66
3. [Hardware Platform 3 Waveshare 1.69](#waveshare_169)
77
4. [Hardware Platform 4 Espressif DevKit-C](#esp_devkitc)
8-
5. [Wired Footswitches](#footswitches)
9-
6. [Wired Midi](#midi)
10-
7. [Cases](#cases)
11-
8. [9 volt Power for Zero, 1.69 and Devkit-C](#9v_power)
8+
5. [Hardware Platform 5 M5Stack Atom S3R](#m5stack_atoms3r)
9+
6. [Wired Footswitches](#footswitches)
10+
7. [Wired Midi](#midi)
11+
8. [Cases](#cases)
12+
9. [9 volt Power for 5 volt models](#9v_power)
1213

1314
Four hardware platforms are supported. Other ESP32-S3 platforms could be supported but would require code changes.
1415
<br>
@@ -109,6 +110,26 @@ Note: the controller code relies on the Tonex One pedal being set to Stomp mode.
109110
![wiring_devkitc](https://github.com/user-attachments/assets/0cf7c7f0-d597-41b4-967e-2e2ea810b26d)
110111
<br><br>
111112

113+
# Hardware Platform 5: M5Stack Atom S3R <a name="m5stack_atoms3r"></a>
114+
This hardware platform uses the M5Stack Atom S3R board (8MB flash, 8 MB PSRAM version.)
115+
116+
This module is low cost, supports a tiny LCD display, and comes in a case. It requires a 5 volt DC power supply.
117+
Caution: do not directly connect a pedalboard 9v! If you do, you will probably blow up both the PCB and your Tonex One!<br>
118+
If you do wish to use 9v power, refer to [9 volt Power for Zero, 1.69 and Devkit-C](#9v_power)
119+
120+
### Connections
121+
Note: the controller code relies on the Tonex One pedal being set to Stomp mode. Code is in place to do this automatically.
122+
- Connect a DC jack to the PCB via the 4 pin connector, as shown below. Note the positive and negative polarity must match your power supply
123+
- Connect the OTG USB-C port on the board to the ToneX One USB-C port
124+
- Connect 5 volts DC to the power input jack that you connected in the first step
125+
- Switch on the power supply
126+
- The board USB port will power the Tonex One. Do not connect 9 volts to it!
127+
- Optional: for the Bluetooth Client version of code, switch on a M-Vave Chocolate Midi pedal (https://www.cuvave.com/productinfo/724103.html). After a few seconds it should connect and the Bluetooth icon should change from gray to blue
128+
- Optional: for the Bluetooth Server version of code, the controller will be available as a peripheral for you to connect to via a Bluetooth Midi device. The Bluetooth icon should change from gray to blue when connected.
129+
![wiring_atom_s3r](https://github.com/user-attachments/assets/0829c254-23bb-4ef6-8695-c5a8d363d817)
130+
131+
<br><br>
132+
112133
<br><br>
113134
## Wired Footswitches <a name="footswitches"></a>
114135
Wired footswitches can optionally be used.
@@ -126,6 +147,7 @@ For the other platforms, with firmware version 1.0.5.2 or above, three modes are
126147
![footswitches_waveshare_zero](https://github.com/user-attachments/assets/7f1110cc-6b27-4317-af04-880c098b839e)
127148
![footswitches_waveshare_169](https://github.com/user-attachments/assets/93c0014e-db42-483d-9508-44a4478d2f75)
128149
![footswitches_devkitc](https://github.com/user-attachments/assets/bbeb5898-8cb4-49ca-80a5-eb6f4dedb8fb)
150+
![footswitches_atoms3r](https://github.com/user-attachments/assets/e3c227f4-f3ba-480b-a41d-3ab54e3966d5)
129151

130152
## Wired Midi (firmware version V1.0.4.1 or above required) <a name="midi"></a>
131153
Note: Wired Midi is disabled by default. If it is enabled without the proper hardware (detailed below) being fitted, you may get "phantom" preset changes, due to the serial input "floating".
@@ -137,7 +159,7 @@ Wired Midi is supported on all platforms. A extra PCB is required for all platfo
137159
https://www.adafruit.com/product/4740 <br>
138160
This Midi board supports both 5-pin DIN sockets (included in kit) and 3.5mm jacks (not included in kit.)<br>
139161
<br>
140-
The Waveshare Zero and 1.69" LCD boards can directly connect to the Midi Featherwing PCB.<br>
162+
The Waveshare Zero, 1.69" LCD, and Atom S3R boards can directly connect to the Midi Featherwing PCB.<br>
141163
The Waveshare 4.3B, due to hardware limitations, requires another small interface. This a common, low cost "TTL to RS485" adaptor.<br>
142164
Typical examples of this PCB:
143165
https://www.amazon.com/HiLetgo-Reciprocal-Hardware-Automatic-Converter/dp/B082Y19KV9
@@ -152,19 +174,17 @@ Midi Featherwing:<br>
152174
Waveshare Zero to Midi Featherwing:<br>
153175
![midi_waveshare_zero](https://github.com/user-attachments/assets/8b49dc76-28e3-4bfd-9a68-63ca2e453aa0)
154176

155-
156177
Waveshare 1.69" to Midi Featherwing:<br>
157178
![midi_waveshare_169](https://github.com/user-attachments/assets/f9c58088-8730-4ef9-908b-d7cda44d5c9c)
158179

159-
160180
Espressif Devkit-C to Midi Featherwing:<br>
161181
![midi_devkitc](https://github.com/user-attachments/assets/8dde8924-ea4e-435f-b1ed-c2cb99568b2e)
162182

163-
164183
Waveshare 4.3B to Midi Featherwing via the TTL to RS485 adaptor:<br>
165184
![midi_waveshare_43b](https://github.com/user-attachments/assets/61f27686-6097-4534-b7a8-9f42f3c1282c)
166185

167-
186+
M5Stack Atom S3R to Midi Featherwing:<br>
187+
![midi_atoms3r](https://github.com/user-attachments/assets/1663b487-5ce2-44ac-8cf8-6fb71c7622a3)
168188

169189
## Cases <a name="cases"></a>
170190
With the Zero and 1.69" boards being bare PCBs, a case of some type is useful to protect it. Here are some links to 3D printed options.
@@ -192,8 +212,8 @@ https://www.thingiverse.com/thing:6715828
192212
![image](https://github.com/user-attachments/assets/f2271541-03e6-440f-91ce-e01776bbc3b7)
193213

194214
<br><br>
195-
## 9 volt Power for Zero, 1.69 and Devkit-C<a name="9v_power"></a>
196-
The 4.3B model can accept the standard 9 volt pedalboard power, however the Zero, the 1.69", and the Devkit-C boards are a maximum of 5 volts input.
215+
## 9 volt Power for 5 volt Models<a name="9v_power"></a>
216+
The 4.3B model can accept the standard 9 volt pedalboard power, however the Zero, the 1.69", the Devkit-C, and the Atom S3R boards are a maximum of 5 volts input.
197217
<br>It is still possible however to run them from a 9 volt power supply, with the additional of another low cost off-the-shelf PCB.
198218
<br>**Caution:** This section requires some more advanced skills, such as using a multimeter to measure voltage. Incorrect voltage setting or polarity could cause damage to the PCB and/or your Tonex pedal.
199219
<br><br>Various electronic shops, and also suppliers like Amazon, often have low cost "switching regulators." These are a compact circuit that can convert the 9 volt pedalboard power down to the 5 volts required by the Zero and the 1.69. Sample photos are shown below.<br>
@@ -203,8 +223,8 @@ Some of these may be a fixed voltage, in which case you must select one with a 5
203223
- Connect the 9 volt input to the input terminals on the voltage regulator PCB. Ensure the positive and negative the right way around. The standard for pedal boards is usually negative to the centre pin of the DC jack, but this should be checked
204224
- Set the multimeter to measure DC voltage, then connect the multimeter probes to the voltage regulator output terminals
205225
- Adjust the trimpot on the voltage regulator PCB to achieve close to 5 volts. I doesn't have to be exactly 5 volts, but should be in the range of 4.95v to 5.05v
206-
- Once this has been achieved, connect the voltage regulator output terminals to the Waveshare Zero, 1.69" or Devkit-C board, in the same locations as shown in the prior wiring diagrams
207-
- Keep the Tonex pedal disconnected, and power on the Waveshare board. Check that it boots up and runs normally
226+
- Once this has been achieved, connect the voltage regulator output terminals to the Waveshare Zero, 1.69", Devkit-C, or Atom S3R board, in the same locations as shown in the prior wiring diagrams
227+
- Keep the Tonex pedal disconnected, and power on the board. Check that it boots up and runs normally
208228
- Once this test has passed, then you can connect the Tonex pedal
209229
![image](https://github.com/user-attachments/assets/e59673c5-f741-4516-b471-5af0eb685d12)
210230
![image](https://github.com/user-attachments/assets/472394d5-a2c9-492d-909c-792480abcb4c)

0 commit comments

Comments
 (0)