Skip to content

Seeed-Studio/Starter_Shield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starter Shield Library

Starter Shield is a perfect start for beginners of Arduino world. You can learn and practice basic soldering tricks and programming principles when tinkering with this kit. Electronic could be fun even if you have bare technical knowledge cause we get your back by preparing a detailed soldering guide and a fully supported library of programming examples from easy to difficult. Hope you have fun and gain some knowledge with this kit!

Starter Shield contains most common resources for a basic electronic project, like buttons, sensors, buzzer and display. After you're done with the soldering task, it turns out to be a geek style alarm clock which can auto adjust the brightness of display and keep in synch with real world time.

WiFiBeeV2


## Usage ##

This is a Sketchbook of Arduino.(How to use Sketchbook)

This Sketchbook includes a set of Basic Demo and a Advanced Demo.

The Basic Demo include:

  1. Display
  2. Button and Counter
  3. Button and Counter with Key Debounce
  4. Button and LED
  5. Run Hourse LED
  6. Light Sensor
  7. Light Sensor and Buzzer
  8. Display Temperature
  9. Temperature and Buzzer
  10. Set and display Time

## Class and Function Starter Shield include RTC, Buzzer, Light Sensor, Temperature Sensor, 3 Buttons, Display as well as 4 LEDs. Each of those has a class, whick make it very to use.

RTC

TTSTime time;                                       // TTS: Tick Tock Shield

time.setTime(int hour, int min, int sec);           // set time
time.getTime(int *hour, int *min, int *sec);
time.getHour();                                     // return hour
time.getMinute();                                   // return minutes
time.getSecond();									// return seconds

Buzzer

TTSBuzzer buzzer;

buzzer.on();                                        // on
buzzer.off();                                       // off
buzzer.state();                                     // return state of buzzer, HIGH:on, LOW:off

LightSensor

TTSLight light;

light.get();                                        // return light sensor data, 0-1023

Temperature Sensor

TTSTemperature temp;

temp get();                                         // return temperature value, int

Button

TTSButton button(Pin);								// TTSK1, TTSK2, TTSK3

button.get();                                       // return button state, HIGH or LOW
button.pressed();                                   // return HIGH when button is pressed
button.released();                                  // return HIGH when button is released

Display

TTSDisplay disp();

disp.display(int loca, int num);                   	// control a  nixie tube 
disp.num(int num);                                  // display a number  
disp.time(int hour, int min);                       // display time
disp.clear();										// clear display
disp.pointOn();										// display :
disp.pointOff();									// clear :

LED

TTSLed led(Pin);									// TTSLED1, TTSLED2, TTSLED3, TTSLED4

led.on();                                           // led on
led.off();                                          // led off
led.state();                                        // return led state

For more information, please refer to wiki page


This software is written by luweicong@seeedstudio.com for seeed studio
and is licensed under The MIT License. Check License.txt for more information.

Seeed Studio is an open hardware facilitation company based in Shenzhen, China.
Benefiting from local manufacture power and convenient global logistic system,
we integrate resources to serve new era of innovation. Seeed also works with
global distributors and partners to push open hardware movement.

Analytics

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •