Skip to content

Instantly share code, notes, and snippets.

View ricardofelippe's full-sized avatar

Ricardo Felippe ricardofelippe

View GitHub Profile
@ricardofelippe
ricardofelippe / main.cpp
Created August 22, 2024 01:07 — forked from futureshocked/main.cpp
09_ESP32 Signal generator (Oscilloscopes for Busy People)
// With this program, you can use the ESP32 as an ultra-low cost signal generator.
// To learn more, see https://techexplorations.com/courses/oscilloscopes/
#include <Arduino.h>
#include "waveforms.h"
int i = 0;
int sample_delay = 0;
const byte POT_GPIO = 35; // Potentiometer
int t_sample;
@ricardofelippe
ricardofelippe / 07_PWM.ino
Created August 14, 2024 01:28 — forked from futureshocked/07_PWM.ino
07. Arduino PWM oscilloscope demo sketch (Oscilloscopes for Busy People)
/* 07. Arduino PWM oscilloscope demo sketch
*
* Use this sketch to experiment with the measurement of a PWM waveform
* on an oscilloscope.
*
* Connect CHA of the oscilloscope to the anode of the LED.
*
* Use a potentiometer to control the duty cycle.
*
* Set triggering to Auto, and start the experiment.
@ricardofelippe
ricardofelippe / 05_button_reaction.ino
Created August 9, 2024 01:58 — forked from futureshocked/05_button_reaction.ino
05. Arduino button oscilloscope demo sketch (Oscilloscopes for Busy People)
/* 05. Arduino button oscilloscope demo sketch
*
* Use this sketch to see a button press as a waveform event in the
* oscilloscope.
*
* Connect CHA of the oscilloscope to the button signal pin.
*
* Connect CHB to the anode of an LED.
*
* Set the scope to 5us time scale and 200mV voltage scale.
@ricardofelippe
ricardofelippe / 06_distance_sensor.ino
Created August 9, 2024 01:57 — forked from futureshocked/06_distance_sensor.ino
06. Ultrasonic distance sensor HC-SR04 demo sketch (Oscilloscopes for Busy People)
/* 06. Ultrasonic distance sensor HC-SR04 demo sketch
*
* This sketch calculates the distance between the HC-SR04 sensor and
* an object directly infront of it.
*
* To see the trigger and echo waveforms with your oscilloscope,
* connect CHA to the trigger and CHB to the echo pins.
*
* Set up edge trigger to CHA, and set it to 1V (or there about).
*
@ricardofelippe
ricardofelippe / stopwords.txt
Created July 31, 2019 16:27 — forked from alopes/stopwords.txt
Portuguese stop words
de
a
o
que
e
do
da
em
um
para
@ricardofelippe
ricardofelippe / .block
Last active April 6, 2018 18:06
Sankey
license: mit
<!---
Versão sem TAB.
->
<html>
<head>
<title>Dashboard | Siscoserv</title>
<meta charset="UTF-8">
@ricardofelippe
ricardofelippe / .block
Created November 8, 2017 19:49
Tesouro-Data
license: mit
@ricardofelippe
ricardofelippe / .block
Last active November 7, 2017 18:39
Dash_2.0_Publicação
license: mit
@ricardofelippe
ricardofelippe / .block
Last active October 5, 2017 20:27
Dash2.0_tabs
license: mit