Skip to content

Instantly share code, notes, and snippets.

View e-Gizmo's full-sized avatar
👩‍🏫
Conducting FREE Seminar and Workshop for Educators https://bit.ly/2XAGOvb

e-Gizmo Mechatronix Central e-Gizmo

👩‍🏫
Conducting FREE Seminar and Workshop for Educators https://bit.ly/2XAGOvb
  • e-Gizmo Mechatronix Central
  • 2/F VSC Building, 2313 Corner Castro St. Taft Ave., Malate, 1004 Manila, Philippines
View GitHub Profile
#include <SoftwareSerial.h>
SoftwareSerial mySerial(8, 9);
void setup()
{
Serial.begin(9600);
Serial.println("Ready for configuration...");
/*
e-Gizmo Compact Proximity-Collision sensor
Detects objects as far as 72mm(2.8 inches) from the sensor.
Applications includes non contact object detection and
collision sensor for mobile robots.
Compact Proximity active HIGH logic output
(logic goes HIGH when an object is detected).
/*
Camera Notes:
e-Gizmo serial camera serial I/F comes in two variants. One has RS-232 level interface.
The other has 3.3V TTL level serial interface. The TTL level version interface directly
with an arduino/gizDuino or any other MCU with 3.3V TTL compatible serial port. Make sure
you have the correct camera module.
*/
// File SerialCamera.pde for camera.
// 25/7/2011 by Piggy
/* e-Gizmo RFID kit Arduino Demo */
// defines used by the serial event
// do not modify
#define STX 2
#define ETX 3
#define SERIALSTX 0
#define SERIALETX 1
#define SERIALRDY 2
/*
e-Gizmo 2CH Tiny Motor Driver
This is a sample code for 2-channel
Motor Driver.
Codes by
e-Gizmo Mechatronix Central
February 13,2016
http://www.e-gizmo.com
/*
e-Gizmo PS Controller Sample Code
This sample code is in the public domain.
Read an output data from the PS controller and prints the
x, y values of the analog joystick and whatever the key is
pressed.
/*
e-Gizmo Metal Detector Sample sketch
This sample codes is for the metal detector kit.
It can shows you the output on the serial monitor
"Detect" and "Polarity" are open collector
digital output readily. DET is 0 when there is a
metallic object detected, then buzzer will sound.
Output connections:
Metal Detector Gizduino board
/*
e-Gizmo Soil Moisture sensor Sample codes
Reads an analog input on pin 0, digital output on pin 3
and prints the result to the serial monitor.
This example code is in the public domain.
codes by:
e-Gizmo Mechatronix Central
/*
DHCP-based IP printer
This sketch uses the DHCP extensions to the Ethernet library
to get an IP address via DHCP and print the address obtained.
using an Arduino Wiznet Ethernet shield.
Circuit:
* Ethernet shield attached to pins 10, 11, 12, 13
@e-Gizmo
e-Gizmo / ArdMPL115A1.ino
Created August 28, 2014 07:16
Barometric Pressure sensor
/*
MPL115A1 SPI Digital Barometer Test Code
Created on: September 30, 2010
By: Jeremiah McConnell - miah at miah.com
Portions: Jim Lindblom - jim at sparkfun.com
This is a simple test program for the MPL115A1 Pressure Sensor (SPI version).
Hardware: ATmega168, ATmega328
Powered at 3.3V or 5V, running at 8MHz or 16MHz.