Show Posts
Pages: 1 [2] 3 4 ... 13
16  Projects / Your Projects / Re: Post your ArduiNIX projects here, folks! on: September 01, 2013, 12:05:53 PM
Built a cabinet for my turntable, receiver, and records.

All I had to work with was a table saw at my parents, then the rest had to be done in my tiny apartment. I'm sure a few rough spots could have been made better but I'm happy with the outcome!
Used an arduinix setup and an RTC 1307 chip to keep the clock accurate even if I turn it off (i.e. to sleep). Used the sample 6 bulb code with some help from Risen's code.

Excellent work!
17  Projects / ArduiNIX / Re: Cathode pin issue? on: June 16, 2013, 02:36:00 PM
Well, I've made no progress.  It's disheartening, to say the least.  I was trying to get this clock done as a present for my partner, but it's now two months overdue and all I have to show for it is a mess of wires and bulbs.

Would someone who's got a working ArudiNIX out there take a few minutes and see if your pins read like mine do?

It seems that you might have had your driver chips zapped by static.  I've seen one other case of that, and what happens is, they lose the ability to only send ONE signal, so they send multiple ones.  I can't tell from the pic, but are your driver chips soldered in, or socketed?
18  Projects / Your Projects / Re: Post your ArduiNIX projects here, folks! on: April 24, 2013, 12:24:50 PM

Really nicely done!
19  Projects / ArduiNIX / Re: How to correct for slow/fast clock on: April 09, 2012, 08:24:51 AM
Hi All,
     Has anyone written some code to correct for a fast/slow clock?  In the IN-17 code, nonentity has:
// Get time in seconds.
  long time = (runTime) / 1000; //////////change this value to speed up or slow down the clock

So I guess I get that, if for example my clock was 7 minutes fast per six month period, and there are 259200 minutes in a six month period, then I should...?

I can work out a time correction code, but before I do, has anyone already done this?  Just hate to duplicate labor.


As far as I know, no one has made any corrected code like you describe...
20  Projects / ArduiNIX / Re: how to test nixies? on: December 11, 2011, 06:03:43 PM
I just received nixies purchased on ebay. NOS IN-19 made in the cold-war era in the CCCP.

I am still planing out the arduinix...

I do have an antique (tube) radio, I also have some CCFL driver board somewhere, stolen from what used to be a scanner.

Can I tap into there and do an early test (before giving feedback) without destroying the tubes?

Any hints welcomed; I'd like to do early tests prior to giving ebay feedback...


As long as you have an approx. 180 volt power supply, you can test them by attaching 180 volts (or the recommended voltage for your tube) to anode, and ground out any of the cathodes.   You can also do this straight on the ArduiNIX Shield using the TEST point for positive and a wire running to GROUND.
21  Projects / ArduiNIX / Re: tip on how to easily insert nixies into the boards on: December 11, 2011, 06:01:50 PM
I am in the process of building the 6-tube board, having already built the 4-tube one a few months ago. As you may know, it can be somewhat frustrating and time-consuming to get the nixie pin-wires inserted into the correct holes, even by using the plastic tube-base as a sort of template. I don't know if this has been suggested before, bu what I've started doing is

1) leave 4 adjacent wires at their original length -- I pick the ones at the "top" of the tube (it's pretty easy to get 4 wires in the board holes, then it gets more and more difficult, at least for me);
2) cut each of the remaining wires to a slightly shorter length than the one before, as I work around the tube.



of course you have to be careful to not run out of wire length by the time you get to the last one!  But anyway after I've done that, getting the tube into the board becomes a 30 second effort rather than a 5 minute one, with less cussing too.


Dave B.

EXCELLENT TIP!  I have been doing this for a while and haven't been able to make a tutorial for it, but this is a perfect illustration of this method.

Thanks much!
22  Projects / ArduiNIX / Re: (in-14/in-19)x6 board? on: December 11, 2011, 06:00:54 PM
I assume it is impossible to use in-17 boards with in-14 and/or in-19 tubes... right?

Is there any existing (preferably cheap) boards for 6 nixies the size of in-14 with no separations?

That's the kind of board that can save a wiring headeach, and I don't like headeach...

No, not impossible at all!  All you would have to do is connect the pins from the other style nixie tubes to the board in the correct spot.  Use the IN-17 board for the multiplexing section of wiring diagram, so to speak.
23  Projects / Your Projects / Re: ArduiNIX + EZ-B Robot Controller + BlinkM MinM + NL-7153 Nixies = NIXIE EYES on: September 09, 2011, 03:18:36 PM
Very cool! Love the new bigger digit characters, also the LED behind the eyes looks great reflecting off of the glass and the housing and everything.

Is that an RGBLED?  How hard would it be to mimic the color of the neon?
24  Projects / ArduiNIX / Re: PROJECT - Omnibot Robot with Nixie Eyes! on: August 31, 2011, 08:08:48 AM
25  Projects / ArduiNIX / Re: IN-17 Bulb CrossFade Code Example. on: August 25, 2011, 07:45:48 AM
Hey Poxin, give this a shot.  It might not be perfect, but it's at least fading...

// fading transitions sketch for 4-tube board with default connections.
// based on 6-tube sketch by Emblazed
// 06/16/2011 - 4-tube-itized by Dave B.
// 08/19/2011 - modded for six bulb board, hours, minutes, seconds by Brad L.

// SN74141 : Truth Table
//D C B A #
//L,L,L,L 0
//L,L,L,H 1
//L,L,H,L 2
//L,L,H,H 3
//L,H,L,L 4
//L,H,L,H 5
//L,H,H,L 6
//L,H,H,H 7
//H,L,L,L 8
//H,L,L,H 9

int ledPin_0_a = 2;               
int ledPin_0_b = 3;
int ledPin_0_c = 4;
int ledPin_0_d = 5;

int ledPin_1_a = 6;               
int ledPin_1_b = 7;
int ledPin_1_c = 8;
int ledPin_1_d = 9;

int ledPin_a_1 = 10;
int ledPin_a_2 = 11;
int ledPin_a_3 = 12;
int ledPin_a_4 = 13;

void setup()
  pinMode(ledPin_0_a, OUTPUT);     
  pinMode(ledPin_0_b, OUTPUT);     
  pinMode(ledPin_0_c, OUTPUT);     
  pinMode(ledPin_0_d, OUTPUT);   
  pinMode(ledPin_1_a, OUTPUT);     
  pinMode(ledPin_1_b, OUTPUT);     
  pinMode(ledPin_1_c, OUTPUT);     
  pinMode(ledPin_1_d, OUTPUT);     
  pinMode(ledPin_a_1, OUTPUT);     
  pinMode(ledPin_a_2, OUTPUT);     
  pinMode(ledPin_a_3, OUTPUT);     
  // NOTE:
  // Grounding on virtual pins 14 and 15 (analog pins 0 and 1) will set the Hour and Mins.
  pinMode( 14, INPUT ); // set the vertual pin 14 (pin 0 on the analog inputs )
  digitalWrite(14, HIGH); // set pin 14 as a pull up resistor.

  pinMode( 15, INPUT ); // set the vertual pin 15 (pin 1 on the analog inputs )
  digitalWrite(15, HIGH); // set pin 15 as a pull up resistor.

void SetSN74141Chips( int num2, int num1 )
  int a,b,c,d;
  // set defaults.
  a=0;b=0;c=0;d=0; // will display a zero.
  // Load the a,b,c,d.. to send to the SN74141 IC (1)
  switch( num1 )
    case 0: a=0;b=0;c=0;d=0;break;
    case 1: a=1;b=0;c=0;d=0;break;
    case 2: a=0;b=1;c=0;d=0;break;
    case 3: a=1;b=1;c=0;d=0;break;
    case 4: a=0;b=0;c=1;d=0;break;
    case 5: a=1;b=0;c=1;d=0;break;
    case 6: a=0;b=1;c=1;d=0;break;
    case 7: a=1;b=1;c=1;d=0;break;
    case 8: a=0;b=0;c=0;d=1;break;
    case 9: a=1;b=0;c=0;d=1;break;
    default: a=1;b=1;c=1;d=1;
  // Write to output pins.
  digitalWrite(ledPin_0_d, d);
  digitalWrite(ledPin_0_c, c);
  digitalWrite(ledPin_0_b, b);
  digitalWrite(ledPin_0_a, a);

  // Load the a,b,c,d.. to send to the SN74141 IC (2)
  switch( num2 )
    case 0: a=0;b=0;c=0;d=0;break;
    case 1: a=1;b=0;c=0;d=0;break;
    case 2: a=0;b=1;c=0;d=0;break;
    case 3: a=1;b=1;c=0;d=0;break;
    case 4: a=0;b=0;c=1;d=0;break;
    case 5: a=1;b=0;c=1;d=0;break;
    case 6: a=0;b=1;c=1;d=0;break;
    case 7: a=1;b=1;c=1;d=0;break;
    case 8: a=0;b=0;c=0;d=1;break;
    case 9: a=1;b=0;c=0;d=1;break;
    default: a=1;b=1;c=1;d=1;
  // Write to output pins
  digitalWrite(ledPin_1_d, d);
  digitalWrite(ledPin_1_c, c);
  digitalWrite(ledPin_1_b, b);
  digitalWrite(ledPin_1_a, a);

// DisplayNumberString
// Use: passing an array that is 4 elements long will display numbers
//      on a 4 nixie bulb setup.
float fadeIn = 8.0f;
float fadeOut = 8.0f;
float fadeMax = 8.0f;
float fadeStep = 0.4f;
int NumberArray[6]={0,0,0,0,0,0};
int currNumberArray[6]={0,0,0,0,0,0};
float NumberArrayFadeInValue[6]={0.0f,0.0f,0.0f,0.0f,0.0f,0.0f};
float NumberArrayFadeOutValue[6]={8.0f,8.0f,8.0f,8.0f,8.0f,8.0f};

void DisplayFadeNumberString()
  // Nixie setup..
  // NOTE: If any of the bulbs need to blend then it will
  // be in time with the seconds bulbs. because any change only happens
  // on a one second interval.

  // Anode channel 1 - numerals 0,3
  digitalWrite(ledPin_a_1, HIGH);   
  digitalWrite(ledPin_a_1, LOW);
  // Anode channel 2 - numerals 1,4
  digitalWrite(ledPin_a_2, HIGH);   
  digitalWrite(ledPin_a_2, LOW);
   // Anode channel 3 - numerals 2,5
  digitalWrite(ledPin_a_3, HIGH);   
  digitalWrite(ledPin_a_3, LOW);
  // Anode channel 4 - Unused on this board
  //digitalWrite(ledPin_a_4, HIGH);   
  //digitalWrite(ledPin_a_4, LOW);
  // Loop thru and update all the arrays, and fades.
  for( int i = 0 ; i < 6 ; i ++ )
    if( NumberArray[i] != currNumberArray[i] )
      NumberArrayFadeInValue[i] += fadeStep;
      NumberArrayFadeOutValue[i] -= fadeStep;
      if( NumberArrayFadeInValue[i] >= fadeMax )
        NumberArrayFadeInValue[i] = 0.0f;
        NumberArrayFadeOutValue[i] = fadeMax;
        currNumberArray[i] = NumberArray[i];

// Defines
long MINS = 60;         // 60 Seconds in a Min.
long HOURS = 60 * MINS; // 60 Mins in an hour.
long DAYS = 12 * HOURS; // 24 Hours in a day. > Note: change the 24 to a 12 for non millitary time.

long runTime = 0;       // Time from when we started.

// default time sets. clock will start at 12:34:00.  This is so we can count the correct order of tubes.
long clockHourSet = 12;
long clockMinSet  = 34;

int HourButtonPressed = false;
int MinButtonPressed = false;

void loop()     
  // Get milliseconds.
  runTime = millis();
  int hourInput = digitalRead(14); 
  int minInput  = digitalRead(15);

  if( hourInput == 0 )
    HourButtonPressed = true;
  if( minInput == 0 )
    MinButtonPressed = true;
  if( HourButtonPressed == true && hourInput == 1 )
    HourButtonPressed = false;
  if( MinButtonPressed == true && minInput == 1 )
    MinButtonPressed = false;

  // Get time in seconds.
  long time = (runTime) / 1000; //////////change this value to speed up or slow down the clock
  // Set time based on offset..
  // long hbump = 60*60*clockHourSet;
  long hbump = 60*60*clockHourSet;
  long mbump = 60*clockMinSet;
  time += mbump + hbump;

  // Convert time to days,hours,mins,seconds
  long days  = time / DAYS;    time -= days  * DAYS;
  long hours = time / HOURS;   time -= hours * HOURS;
  long minutes  = time / MINS;    time -= minutes  * MINS;
  long seconds  = time;

  // Get the high and low order values for hours,min,seconds.
  int lowerHours = hours % 10;
  int upperHours = hours - lowerHours;
  int lowerMins = minutes % 10;
  int upperMins = minutes - lowerMins;
  int lowerSeconds = seconds % 10;
  int upperSeconds = seconds - lowerSeconds;
  if( upperSeconds >= 10 )   upperSeconds = upperSeconds / 10;
  if( upperMins >= 10 )      upperMins = upperMins / 10;
  if( upperHours >= 10 )     upperHours = upperHours / 10;

  // Fill in the Number array used to display on the tubes.
  NumberArray[3] = upperHours;
  NumberArray[1] = lowerHours;
  NumberArray[5] = upperMins;
  NumberArray[0] = lowerMins;
  NumberArray[4] = upperSeconds; 
  NumberArray[2] = lowerSeconds;

  // Display.
26  Projects / ArduiNIX / Re: IN-17 Bulb CrossFade Code Example. on: August 18, 2011, 09:07:45 AM
Testpost to see if forums are working...

Nothing to see here...
27  Projects / ArduiNIX / IN-17 x 6 Tube Board Code Contest! on: August 16, 2011, 08:04:22 AM

These are fresh in, so new I don't even have code for these yet, so if you'd like A FREE IN-17 x 6 Kit, SEND IN YOUR CODE! The best code gets a free IN-17x6 board WITH TUBES! That's right, folks! Enter your code to WIN! (Winner will be chosen solely by me, your friendly neighborhood robotpirate.) What's that you say? You need the pinout for this board to write the code? Certainly! It's right here:

Here's what will qualify your entry. Achieve any or all of these points to enter.

Functioning crossfade clock code for this six bulb setup, with set function.
Timer clock code for this six bulb setup, set start and stop.
Anything interesting or out of the ordinary that would set you apart from the other nixie builders out there.
Code entries will be tested and finalists will be featured on the site. Winning entry will get one free IN-17 Tube board and set of IN-17 Nixie tubes. Contest ends 9/15/2011. Email bradley at robotpirate dot com for entries and info.

28  Projects / ArduiNIX / Re: IN-17 Bulb CrossFade Code Example. on: June 17, 2011, 09:15:15 PM
Again, excellent work, Blave!

I shot a vid this evening and posted it on the main site, giving you full credit for this latest code.  Big kudos!
29  Projects / ArduiNIX / Re: IN-17 Bulb CrossFade Code Example. on: June 17, 2011, 08:59:53 AM
OK it turns out that the fade is working in my code, but I had used the same value of fadeStep (1.0) that Emblazed has in the code I started with, which makes for a too-fast fade with my board. Changing it to 0.4 gives a nice fade without overdoing it (0.3 is too much, or should I say too little).

I suspect that this value has to be tweaked depending on how hard you're driving your IN-17s; I have my anode voltage set to about 150V which is about as low as I can go before digits start fading a bit.

have fun,


WWooooohooo!  This is awesome code!  Thank you so much for posting this!  I have this on my personal unit on my desk at work and it's phenomenal!  Great job!
30  Projects / ArduiNIX / Re: 6 tube boards? on: June 17, 2011, 08:54:51 AM
I'm wondering if you RobotPirates are still planning on releasing the 6 tube w/ colon dots boards that were discussed in a thread quite a while ago??

I might be interested in the 8-tube one as well...



It's been on the "mid" burner for a while, the plans are somewhat done, but I need to review them before I submit them to china for manufacture.

on that list are the six bulb with colon, six bulb only, 8 bulb only, and assorted other things I need to review before submission.
Pages: 1 [2] 3 4 ... 13