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
/* OLED Shield Sample Program
This code shows you the sample program
for OLED screen test interfacing with
GizDuino MCU board.
Codes By: Carlos, Cathie & Medel
Visit us at: http://sfpanganibans.blogspot.com/
(Last update October 21, 2011)
@e-Gizmo
e-Gizmo / w5100.h
Created March 1, 2014 07:33
Gizduino X modification for W1500 Ethernet Shield (Copy this "W5100.h" under Arduino\libraries\ethernet\utility and replace it). //modified by: toasted siopao
/*
* Copyright (c) 2010 by Cristian Maglie <c.maglie@bug.st>
* W5100 for Gizduino X v 2.0
* This file is free software; you can redistribute it and/or modify
* it under the terms of either the GNU General Public License version 2
* or the GNU Lesser General Public License version 2.1, both as
* published by the Free Software Foundation.
*/
#ifndef W5100_H_INCLUDED
@e-Gizmo
e-Gizmo / W5100.h
Created March 1, 2014 07:36
Gizduino + modification for W5100 Ethernet Shield (Copy this "W5100.h" modify Arduino\libraries\Ethernet\utility and replace it). //modified by: toasted siopao
/*
* Copyright (c) 2010 by Cristian Maglie <c.maglie@bug.st>
* W5100.h for Gizduino +
* This file is free software; you can redistribute it and/or modify
* it under the terms of either the GNU General Public License version 2
* or the GNU Lesser General Public License version 2.1, both as
* published by the Free Software Foundation.
*/
#ifndef W5100_H_INCLUDED
/*
Sample Codes for
4x2 LED Display Module
Using this code can easily sets the display numbers.
By using this commands:
For Line1 || for Line2
"D" || "d" - display commands
"P" || "p" - point position commands
@e-Gizmo
e-Gizmo / arduino.h
Created April 7, 2014 05:49
Gizduino + modification Arduino>hardware>cores>gizduino +>arduino.h (copy and replace) //modified by toasted siopao
#ifndef Arduino_h
#define Arduino_h
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <avr/pgmspace.h>
#include <avr/io.h>
#include <avr/interrupt.h>
@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.
/*
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
/*
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 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.
/*
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