Skip to content

Instantly share code, notes, and snippets.

View giljr's full-sized avatar
💭
Full Stack Developer with a degree in Computer Engineering.

Gilberto Oliveira Jr giljr

💭
Full Stack Developer with a degree in Computer Engineering.
View GitHub Profile
/*
Code 3
Board: L293D Motor Drive DIP 16 Pin IC & 28BYJ-48 Stepper Motor & Arduino Uno IDE 1.8.5
Connections: See Fritzing in https://medium.com/jungletronics/28byj-48-stepper-motor-peak-rpm-658eae6afe2f
Power Supply: 12v .5A Power Cable right into 5.5mm Jack of Arduino UNO
Max RPM: 24 RPM
*/
int Blue = 0; // Firing order for 28BYJ-48 Stepper Motor
int Pink = 1; // First Blue coil
/*
Code 2
Board: Adafruit Motor/Stepper/Servo Shield for Arduino kit - v1.2 & 28BYJ-48 Stepper Motor & Arduino Uno IDE 1.8.5
Connections: See Fritzing in https://medium.com/jungletronics/28byj-48-stepper-motor-peak-rpm-658eae6afe2f
Power Supply: 5v .5A USB Power Cable right into 5.5mm Jack of Adafruit Board
Max RPM: 15 RPM in FullDriver Mode
*/
#include <AFMotor.h>
// Connect a stepper motor with 64 steps per revolution (5.625 degree)
@giljr
giljr / _68_28BYJ-48_FullStep_01.ino
Last active August 5, 2019 20:10
RPM Configurations & Industrial Conveyor Belt — ArduSerie#68 https://medium.com/jungletronics/28byj-48-stepper-motor-peak-rpm-658eae6afe2f
/*
Code 1
Board: ULN2003 Driver & 28BYJ-48 Stepper Motor & Arduino Uno IDE 1.8.5
Connections: See Fritzing in https://medium.com/jungletronics/28byj-48-stepper-motor-peak-rpm-658eae6afe2f
Power Supply: 12v .5A or 5v .5A USB Power Cable right into 5.5mm Jack of UL2003 Board
Max RPM: Power Supply 5v .5A USB -> #define waiting_time 2 (seconds) MAX 14.5 RPM
Power Supply 9v .5A -> #define waiting_time 1 (seconds) MAX 29.0 RPM
but heat issue happens:/
*/
/*
Ardu-Serie#66
Project : Digispark - Easy Installations Procedures
Ino File: _66_DigiSpark_Blinking_LED_01.ino
*/
void setup() {
pinMode(1, OUTPUT);
/*
Kids-Serie#10
Project : Arduino Start Up
Ino File: _10_All_Features_05.ino
*/
#include <Servo.h>
Servo myServo;
@giljr
giljr / _10_ControllingServo_04.ino
Created December 2, 2018 01:47
Arduino UNO — Quick Intro A Workshop in BSB with the Kids :) https://medium.com/kidstronics/arduino-uno-quick-intro-94c7c682740a
/*
Kids-Serie#10
Project : Arduino Start Up
Ino File: _10_ControllingServo_04.ino
*/
#include <Servo.h>
Servo myServo;
@giljr
giljr / _10_SimulateAnalogOutput_03.ino
Created December 2, 2018 01:42
Arduino UNO — Quick Intro A Workshop in BSB with the Kids :) https://medium.com/kidstronics/arduino-uno-quick-intro-94c7c682740a
/*
Kids-Serie#10
Project : Arduino Start Up
Ino File: _10_SimulateAnalogOutput_03.ino
*/
void setup() { // put your setup code here, to run once:
pinMode(3, OUTPUT); // LED connected
@giljr
giljr / _10_PushButton_02.ino
Created December 2, 2018 01:38
Arduino UNO — Quick Intro A Workshop in BSB with the Kids :) https://medium.com/kidstronics/arduino-uno-quick-intro-94c7c682740a
/*
Kids-Serie#10
Project : Arduino Start Up
Ino File: _10_PushButton_02.ino
*/
void setup() { // put your setup code here, to run once:
pinMode(3, OUTPUT); // LED connected
@giljr
giljr / _10_Blinking_LED_01.ino
Created December 1, 2018 22:31
Arduino UNO — Quick Intro A Workshop in BSB with the Kids :) https://medium.com/kidstronics/arduino-uno-quick-intro-94c7c682740a
/*
Kids-Serie#10
Project : Arduino Start Up
Ino File: _10_Blinking_LED_01.ino
*/
void setup() {
/*
Project name:
16 #arduSerie - Arduino Headless Setup & ESP 8266
(WIFI cheap chip!)
Flavour I -
Hex File: _16_arduSerie_sketch_01.HelloServer_Json.ino
Revision History:
20160927:
- board found on Arduino IDE Exemples
(connect everything on ESP8266 to access examples)