Giovanni '@Cyb3rn0id' Bernardo
Published © CC BY-NC-ND

Super Square Waves Generator

A cheap tool for testing Servos, H-Bridges and lot of applications needing square wave signals in different formats

ExpertFull instructions provided16 hours391
Super Square Waves Generator

Things used in this project

Hardware components

Microchip PIC16F15376
×1
8 MHz Crystal
8 MHz Crystal
×1
Standard LCD - 16x2 White on Blue
Adafruit Standard LCD - 16x2 White on Blue
×1
Ceramic Disc Capacitor, 22 pF
Ceramic Disc Capacitor, 22 pF
×2
Rotary Encoder with Push-Button
Rotary Encoder with Push-Button
×1
Rotary potentiometer (generic)
Rotary potentiometer (generic)
×1
Pushbutton switch 12mm
SparkFun Pushbutton switch 12mm
×4
Male-Header 36 Position 1 Row- Long (0.1")
Male-Header 36 Position 1 Row- Long (0.1")
×1
Resistor 10k ohm
Resistor 10k ohm
×1
Resistor 1k ohm
Resistor 1k ohm
×4
Resistor 100 ohm
Resistor 100 ohm
×1
Capacitor 100 nF
Capacitor 100 nF
×2
Trimmer Potentiometer, 22 kohm
Trimmer Potentiometer, 22 kohm
×1

Software apps and online services

MPLAB X IDE
Microchip MPLAB X IDE

Hand tools and fabrication machines

Microchip PICkit™5

Story

Read more

Schematics

Pins Reference Table

This table reports Functions to Port/Pins for both PIC16F15376 and PIC16F15376 Curiosity Nano. Use it along the Schematic

Schematic

Schematic for the bare PIC16F15376 (NOT curiosity nano)

My Prototype Layout

This is how I designed my Prototype. For reference and inspiration only

Manual

This is a quick reference Manual

Code

SSWG 1.0

HEX are contained in the 'Firmware' folder. Use the "_xtal" one for the bare PIC16F15376 with external oscillator (8MHz crystal + capacitors on pins 13 & 14). Use the "_intosc" one for the PIC16F15376 Curiosity Nano OR the bare PIC16F15376 without the external oscillator

Credits

Giovanni '@Cyb3rn0id' Bernardo

Giovanni '@Cyb3rn0id' Bernardo

8 projects • 41 followers
Technical Writer, Maker. Addicted to retrocomputing and making stuff with microcontrollers & 3D-printing. Available for technical reviews.

Comments