Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alanesq authored Jan 13, 2024
1 parent 3244521 commit 4f166bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ If just connecting one caliper you could use (GPIO 22 and 27) via the CYD connec
The wiring is not as complex as it might look, it is just a simple transistor on each data pin to convert from 1.5v up to 3.3v for the esp32 to be able to read, I use my CNC router to create the circuit boards but this could be easily built on some strip board etc. I tried using a level shifter board at first but I don't think it worked very well with the 1.5v levels. <br>
Note: the transistors to convert the 1.5v signals from the caliper results in the signal levels being inverted so if you use some other method you will need to change 'invertCaliperDataSignals' to 0. The circuit diagram I used can be seen in the PCB folder along with the files I used to create the circuit boards (Fritzing and CNC router). To supply the lower voltage to power the caliper I just use a simple voltage divider

<img src="/PCB/circuit.jpg" />
<img width="50%" src="/PCB/trans.jpg"/><br>
<img src="/PCB/circuit.jpg"/>

Note: I am using GPIO0 which isn't ideal as it is also attached to the onboard button, but if you do not install the pull-up resistor and use a lower value resistor on the input this seems to work fine (although it can stop the hardware reset working when programming the CYD).

Expand Down

0 comments on commit 4f166bc

Please sign in to comment.