The Ninja Counter Project Page!
Welcome to the Ninja counter project page! All of the main code samples are available here. Project videos, and subsequent code samples will be updated here periodically.
This is the V1.0 software currently installed in the Ninja Counter. If changes are made, new iterations of this code will be available here. This code requires a little more commenting. When the V2.0 is available, all code will be commented. IF you haven't already, check out the Kickstarter campaign =)
ninja_counter_software_v1.0.ino | |
File Size: | 37 kb |
File Type: | ino |
This code sample shows you how to hook up an external Arduino to the Ninja counter, and allows for you to digitally program the Ninja counter to operate in either mode#1 (Countdown timer mode), or mode#2 (Up-counter mode). It also shows you how to program in a time (00:00-99:59), starts the counter, and then reset back to the main menu after the countdown timer elapses to 00:00, or once the up-counter hits the pre-programmed time. Please see the project#1 video below! This software was designed so that you can modify for your own purposes. It simply gives you the tools needed to digitally program the Ninja timer. You make it your own!
code_sample_1_-_program_the_timer_to_countup_or_down__then_reset_to_the_main_me.ino | |
File Size: | 5 kb |
File Type: | ino |
Similar to code sample#1, this code allows for you to do the exact same thing, only in this version we don't go back to the main menu once the project ends. Instead, the code sends you back to the time-programming entry function. This is so that you don't have to bother with going back to the main menu if you don't want to. Please see the project#1 video below!
code_sample2_-_rerun_the_same_mode.ino | |
File Size: | 6 kb |
File Type: | ino |
Let's talk about the point accumulator mode! This project shows you how to select mode#3. It also allows for you to program in a number of points needed to end the program (0000-9999). From there, the Arduino sends pulses every two seconds to the Ninja counter. Each time the ninja counter receives a pulse, it display the amount of points/pulses on the display. When the number of points has been reached, the Ninja counter sends back an "END" signal to your Arduino. From there, the program will reset the Ninja counter back to the main menu, and loops. This software was designed so that you can modify for your own purposes. It simply gives you the tools needed to digitally program the Ninja timer. You make it your own! Please see the project#2 video below!
code_sample_3_-_working_with_the_point_accumulator_part1.ino | |
File Size: | 7 kb |
File Type: | ino |
Code sample#4 does the same thing as code sample#3, only in this version we don't go back to the main menu once the program ends. Instead, the code sends you back to the point-programming entry function. This is so that you don't have to bother with going back to the main menu if you don't want to. Please see the project#2 video below!
code_sample_4_-_point_accumulator2_-_bypassing_the_main_menu.ino | |
File Size: | 7 kb |
File Type: | ino |
Assembly Video:
Demo Video#1: How to program and operate the Ninja Counter manually using only one on-board button
Demo Video#2: Digitally programming and controlling the Ninja Counter with an Arduino Uno:
Demo Video#3: How to use the relay to control AC and DC devices: