Periscope Logic Lights

Estimated reading time: 1 min

The Periscope Logics are a custom PCB kit for Matt Zwarts Domelift Periscope – but should fit almost all Periscopes.
It needs 5V and can run standalone or be controlled via serial command or I2C.
Firmware is still not final but running the needed sequences.
(we just want more sequences and full integration into the Benduino/Marcduino system)

ESP32 Version:

The ESP32 version is the latest version.
The advantages are that WiFi and bluetooth are available as additional connection options.

Mimir created a sketch to make the periscope board compatible with the Uppity Spinner:
https://github.com/rimim/R2D2_Periscope_esp32

The sketch has been modified to work with the Uppity Spinner ABC 3-pin reverse logic sequence select instead of Serial.
To revert back to Serial change this line:
#define UPPITY_SPINNER_MODE
To this:
//#define UPPITY_SPINNER_MODE
Connect rotary board pin A to to RX, rotary board pin B to SDA, and rotary board pin C to SCL. Connect rotary GND pin to GND pin on the light kit

Programming the ESP32 Version:

You need an FTDI programmer.
Connect 5V and GND as usual.
Cross connect RX and TX (RX goes to TX and vice versa)

Start the upload in the Arduino IDE and wait till you see this in the output:
…..——…..—–…..—–

Then press and hold the flash button
Press the reset button briefly (reset is still pressed)
Release the reset button

The upload should now start.

EPS32 Pinout:

Top LightsIO33
Bottom LightsIO17
Main LightsIO27
Left LightsIO16
Right LightsIO25
Rear LightsIO26
RXIO3
TXIO1
SDAIO21
SCLIO22

Arduino 328P Version:

Same functions (except wifi & bluetooth) like the newer Esp32 version.

The sketch has been modified to work with the Uppity Spinner ABC 3-pin reverse logic sequence select instead of Serial.
To revert back to Serial change this line:
#define UPPITY_SPINNER_MODE
To this:
//#define UPPITY_SPINNER_MODE
Connect rotary board pin A to to RX, rotary board pin B to SDA, and rotary board pin C to SCL. Connect rotary GND pin to GND pin on the light kit

Pinout corresponding to the sketch:

Pin 5 – Main Lights
Pin 10 – Right Side
Pin 3 – Left Side
Pin 2 – Bottom Leds
Pin 6 – Top Leds
Pin 9 – Rear Leds

Available at shop.printed-droid.com

Tags:
Was this article helpful?
Dislike 0 1 of 1 found this article helpful.
Views: 1196
Previous: Magic Panel 32 (wireless)
Next: Arduino Libraries