Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Next
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
Twitch
YouTube
Facebook (EN Publishing)
Facebook (EN World)
Twitter
Instagram
TikTok
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Community
General Tabletop Discussion
*Geek Talk & Media
Polyhedral Nixie Die calculator / roller w touch screen.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Ninefingers" data-source="post: 7178056" data-attributes="member: 6804525"><p>Hello all,</p><p>I have finally finished my prototype Nixie Tube polyhedral die roller / calculator. I was inspired to start this project while playing 5E with friends, one of whom suffers from serious physical limitations, and must use an app to roll dice. First thought on apps rolling dice....boring! I had been wanting to build something using Nixie tubes for some time, however everyone already had a clock or thermometer etc, etc. Then BANG it was like being hit by a lightning bolt thrown by a pissed off sorcerer. I needed to build a die roller and use the tubes as the display.</p><p></p><p>As a quick intro, I am not a programmer, or an electrical engineer. I had made it through chapter six of the Arduino beginners guide before tackling this, so please be easy on me if you review my code, which is open sourced at github, (<a href="https://github.com/9fingers/Nixie_Die_Calc" target="_blank">https://github.com/9fingers/Nixie_Die_Calc</a>) along with the STL models for the case, and wiring schematics. The core of the system is an Arduino Mega 2560, and I purchased an off the shelf high voltage power supply from <a href="http://nixieclock.org" target="_blank">http://nixieclock.org</a> for the tubes. Also a quick thank you to Nathaniel Burger for the early assists, and taking the time to show me some simple functions to make this project easier. </p><p></p><p>HVDC Power Supply:</p><p><img src="http://i.imgur.com/y95zAjCl.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>Tubes were purchased on EBAY along with the driver chips, I used the IC 74141 chips on this project. </p><p></p><p>IN-18 Russian Tube. </p><p><img src="http://i.imgur.com/dngVbCgl.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p>This HVDC supply requires a minimum of 12 volts DC to operate correctly, and the Arduino Mega 2560 claims to be able to handle a 12VDC input, however what we learned (thanks Elliot Due) was that the Arduino heated up to a point of triggering a thermal shut down at about 120C. SO I hacked in a 12-USB car charger (operates at 5vDC) into the 12VDC supply to power the Arduino, and used the 12VDC to power the high voltage supply. By the way <strong>BE CAREFUL</strong> this HVDC supply generates 180VDC, it will hurt you!. </p><p><img src="http://i.imgur.com/EybwYR2l.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p></p><p></p><p>It started as a simple seven die (4,6,8,10,12,20,100) roller, and then well as my wife puts it "Over the Top Jay" happened. I just couldn't stop, I was learning so much about coding, and having so much fun it just grew into what it is now. By the way if someone wanted to take the time they could configure it for other platforms such as Pathfinder, or D20 Modern etc, but that will be a different story.</p><p></p><p>On my first attempt I planned on using mechanical buttons, with keys like a typewriter, however this posed many challenges, such as cost, and space, and the physical abilities of the end user. Unfortunately for me I did not think of this until <strong>AFTER </strong>I had the first prototype done. would that be a failed perception roll, or insight?</p><p></p><p>Proof of concept of mechanical buttons Image:</p><p><img src="http://i.imgur.com/vlp4pB2l.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>Along with the mechanical buttons I used a TFT display for the user readout. Again looks like hell, but steadily making improvements. </p><p></p><p></p><p>So now its time to start researching which touch screens will work best. Trust me when I say ask a lot of questions BEFORE making a purchase, I now have 4 different TFT screens I am not using.</p><p>I finally decided on a "5.0" 40-pin TFT Display - 800x480 with Touchscreen" from Adafruit along with an RA8875 driver. </p><p><a href="https://www.adafruit.com/product/1596" target="_blank">https://www.adafruit.com/product/1596</a></p><p><a href="https://www.adafruit.com/product/1590" target="_blank">https://www.adafruit.com/product/1590</a></p><p></p><p>As stated above the first touch screen iteration was just rolling dice. But it looked like hell, and needed more functionality. It worked, but gah, might as well keep using the iPad. </p><p>First attempt at the touch screen interface image:</p><p><img src="http://i.imgur.com/iTAqzJwl.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p></p><p></p><p>In addition to a cleaner looking UI I also wanted to allow character stats to be loaded via an SD card to avoid having to plug a laptop into it and rewrite the firmware in order to make changes. Now all you have to do is simply edit a text file on the SD card, insert, reboot, done.</p><p>SD Card reader Bottom right of the picture:</p><p><img src="http://i.imgur.com/XWPiGIbl.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p></p><p>So what features were added to the die roller? Thought you would never ask, and by the way learning how to map sub menus on a touch screen for the first time is not easy, it was like trying to live through the first two levels of a new 5E character!</p><p></p><p></p><ol> <li data-xf-list-type="ol">generates a random seed on boot based off of an unused analog pin voltage read.</li> <li data-xf-list-type="ol">displays rolls on the touch screen</li> <li data-xf-list-type="ol">displays rolls on the Nixie tubes.</li> <li data-xf-list-type="ol">Supported user variables / modifiers imported VIA an SD card. <br /> (Code credit for SD card reader (<a href="http://overskill.alexshu.com/saving-loading-settings-on-sd-card-with-arduino/" target="_blank">http://overskill.alexshu.com/saving-loading-settings-on-sd-card-with-arduino/</a>)) Thank you.<ol> <li data-xf-list-type="ol">Character Name</li> <li data-xf-list-type="ol">Attack 1</li> <li data-xf-list-type="ol">Attack 2</li> <li data-xf-list-type="ol">Attack 3</li> <li data-xf-list-type="ol">Initiative</li> <li data-xf-list-type="ol">AC</li> <li data-xf-list-type="ol">Strength</li> <li data-xf-list-type="ol">STR Save</li> <li data-xf-list-type="ol">Dexterity</li> <li data-xf-list-type="ol">DEX Save</li> <li data-xf-list-type="ol">Acrobatics</li> <li data-xf-list-type="ol">Slight of hand</li> <li data-xf-list-type="ol">Stealth</li> <li data-xf-list-type="ol">Constitution</li> <li data-xf-list-type="ol">CON Save</li> <li data-xf-list-type="ol">Intelligence</li> <li data-xf-list-type="ol">INT Save</li> <li data-xf-list-type="ol">Arcana</li> <li data-xf-list-type="ol">History</li> <li data-xf-list-type="ol">Investigation</li> <li data-xf-list-type="ol">Nature</li> <li data-xf-list-type="ol">Religion</li> <li data-xf-list-type="ol">Wisdom</li> <li data-xf-list-type="ol">WIS Save</li> <li data-xf-list-type="ol">Animal Handling</li> <li data-xf-list-type="ol">Insight</li> <li data-xf-list-type="ol">Medicine</li> <li data-xf-list-type="ol">Perception</li> <li data-xf-list-type="ol">Survival</li> <li data-xf-list-type="ol">Charisma</li> <li data-xf-list-type="ol">CHA Save</li> <li data-xf-list-type="ol">Deception</li> <li data-xf-list-type="ol">Intimidation</li> <li data-xf-list-type="ol">Persuasion</li> <li data-xf-list-type="ol">Hit Poionts</li> </ol></li> <li data-xf-list-type="ol">Hit points and AC can be modified on the touch screen for HP tracking.</li> <li data-xf-list-type="ol">can roll multiple die of the same or different types and sum the sub totals.<ol> <li data-xf-list-type="ol">4-D6 + 1-D4, or add 1D4 to your attack roll (Blessed)</li> </ol></li> <li data-xf-list-type="ol">roll advantage or disadvantage rolls</li> <li data-xf-list-type="ol">dynamic modifier can be added on a per roll basis if needed.</li> <li data-xf-list-type="ol">cursor tracking to avoid over lapping text. (Thank you Cody Tappan, for this and the touch mapping fix.)</li> </ol><p></p><p></p><p>So on system boot you get a nice little personalized message, and all of your player stats loaded.</p><p><img src="http://i.imgur.com/2zBUYuHl.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>Please pardon the burned out LED, I failed my intelligence roll and hooked it up to the wrong voltage.</p><p><img src="http://i.imgur.com/yLivFezl.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p>I used Fusion 360 to model the prototype case, and printed it on a Flash Forge Inventor 3D printer. Again this is just the prototype, to see if the angle of the screen fits the user and so we can play test it to make sure there are no math errors, or other bugs. Once this step is complete we plan on printing the head shown below to house it in. The tubes will be three front teeth and a 4" plasma ball will be mounted in the back of the throat like a lightning ball. Of course the head will be painted as a Blue Dragon. </p><p></p><p>Dragon head (Thank you Eli Delia for modeling this for us). </p><p><img src="http://i.imgur.com/dFXuSk5l.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p></p><p>[video=youtube_share;73BatHcnyPM]https://youtu.be/73BatHcnyPM[/video]</p><p></p><p></p><p>You can watch videos of different variations and milestones here:</p><p><a href="https://www.youtube.com/channel/UCVXo1nLTN1cbVEYvZ9QRrrA" target="_blank">https://www.youtube.com/channel/UCVXo1nLTN1cbVEYvZ9QRrrA</a></p><p></p><p>Full image gallery here:</p><p><a href="http://imgur.com/a/8SWZ0" target="_blank">http://imgur.com/a/8SWZ0</a></p><p></p><p><span style="font-family: 'sans-serif'"></span></p><p><span style="font-family: 'sans-serif'"></span></p><p><span style="font-family: 'sans-serif'"></span>I will post updates on the final build as they happen. I hope someone else can use my code on another project, I would love to see variations of this.</p><p><span style="font-family: 'sans-serif'"></span></p><p><span style="font-family: 'sans-serif'">Hope you enjoy it, </span></p><p><span style="font-family: 'sans-serif'">Ninefingers</span></p><p><span style="font-family: 'sans-serif'"></span></p><p><span style="font-family: 'sans-serif'"></span></p></blockquote><p></p>
[QUOTE="Ninefingers, post: 7178056, member: 6804525"] Hello all, I have finally finished my prototype Nixie Tube polyhedral die roller / calculator. I was inspired to start this project while playing 5E with friends, one of whom suffers from serious physical limitations, and must use an app to roll dice. First thought on apps rolling dice....boring! I had been wanting to build something using Nixie tubes for some time, however everyone already had a clock or thermometer etc, etc. Then BANG it was like being hit by a lightning bolt thrown by a pissed off sorcerer. I needed to build a die roller and use the tubes as the display. As a quick intro, I am not a programmer, or an electrical engineer. I had made it through chapter six of the Arduino beginners guide before tackling this, so please be easy on me if you review my code, which is open sourced at github, ([URL]https://github.com/9fingers/Nixie_Die_Calc[/URL]) along with the STL models for the case, and wiring schematics. The core of the system is an Arduino Mega 2560, and I purchased an off the shelf high voltage power supply from [URL]http://nixieclock.org[/URL] for the tubes. Also a quick thank you to Nathaniel Burger for the early assists, and taking the time to show me some simple functions to make this project easier. HVDC Power Supply: [IMG]http://i.imgur.com/y95zAjCl.jpg[/IMG] Tubes were purchased on EBAY along with the driver chips, I used the IC 74141 chips on this project. IN-18 Russian Tube. [IMG]http://i.imgur.com/dngVbCgl.jpg[/IMG] This HVDC supply requires a minimum of 12 volts DC to operate correctly, and the Arduino Mega 2560 claims to be able to handle a 12VDC input, however what we learned (thanks Elliot Due) was that the Arduino heated up to a point of triggering a thermal shut down at about 120C. SO I hacked in a 12-USB car charger (operates at 5vDC) into the 12VDC supply to power the Arduino, and used the 12VDC to power the high voltage supply. By the way [B]BE CAREFUL[/B] this HVDC supply generates 180VDC, it will hurt you!. [IMG]http://i.imgur.com/EybwYR2l.jpg[/IMG] It started as a simple seven die (4,6,8,10,12,20,100) roller, and then well as my wife puts it "Over the Top Jay" happened. I just couldn't stop, I was learning so much about coding, and having so much fun it just grew into what it is now. By the way if someone wanted to take the time they could configure it for other platforms such as Pathfinder, or D20 Modern etc, but that will be a different story. On my first attempt I planned on using mechanical buttons, with keys like a typewriter, however this posed many challenges, such as cost, and space, and the physical abilities of the end user. Unfortunately for me I did not think of this until [B]AFTER [/B]I had the first prototype done. would that be a failed perception roll, or insight? Proof of concept of mechanical buttons Image: [IMG]http://i.imgur.com/vlp4pB2l.png[/IMG] Along with the mechanical buttons I used a TFT display for the user readout. Again looks like hell, but steadily making improvements. So now its time to start researching which touch screens will work best. Trust me when I say ask a lot of questions BEFORE making a purchase, I now have 4 different TFT screens I am not using. I finally decided on a "5.0" 40-pin TFT Display - 800x480 with Touchscreen" from Adafruit along with an RA8875 driver. [URL]https://www.adafruit.com/product/1596[/URL] [URL]https://www.adafruit.com/product/1590[/URL] As stated above the first touch screen iteration was just rolling dice. But it looked like hell, and needed more functionality. It worked, but gah, might as well keep using the iPad. First attempt at the touch screen interface image: [IMG]http://i.imgur.com/iTAqzJwl.jpg[/IMG] In addition to a cleaner looking UI I also wanted to allow character stats to be loaded via an SD card to avoid having to plug a laptop into it and rewrite the firmware in order to make changes. Now all you have to do is simply edit a text file on the SD card, insert, reboot, done. SD Card reader Bottom right of the picture: [IMG]http://i.imgur.com/XWPiGIbl.jpg[/IMG] So what features were added to the die roller? Thought you would never ask, and by the way learning how to map sub menus on a touch screen for the first time is not easy, it was like trying to live through the first two levels of a new 5E character! [LIST=1] [*]generates a random seed on boot based off of an unused analog pin voltage read. [*]displays rolls on the touch screen [*]displays rolls on the Nixie tubes. [*]Supported user variables / modifiers imported VIA an SD card. (Code credit for SD card reader ([URL]http://overskill.alexshu.com/saving-loading-settings-on-sd-card-with-arduino/[/URL])) Thank you. [LIST=1] [*]Character Name [*]Attack 1 [*]Attack 2 [*]Attack 3 [*]Initiative [*]AC [*]Strength [*]STR Save [*]Dexterity [*]DEX Save [*]Acrobatics [*]Slight of hand [*]Stealth [*]Constitution [*]CON Save [*]Intelligence [*]INT Save [*]Arcana [*]History [*]Investigation [*]Nature [*]Religion [*]Wisdom [*]WIS Save [*]Animal Handling [*]Insight [*]Medicine [*]Perception [*]Survival [*]Charisma [*]CHA Save [*]Deception [*]Intimidation [*]Persuasion [*]Hit Poionts [/LIST] [*]Hit points and AC can be modified on the touch screen for HP tracking. [*]can roll multiple die of the same or different types and sum the sub totals. [LIST=1] [*]4-D6 + 1-D4, or add 1D4 to your attack roll (Blessed) [/LIST] [*]roll advantage or disadvantage rolls [*]dynamic modifier can be added on a per roll basis if needed. [*]cursor tracking to avoid over lapping text. (Thank you Cody Tappan, for this and the touch mapping fix.) [/LIST] So on system boot you get a nice little personalized message, and all of your player stats loaded. [IMG]http://i.imgur.com/2zBUYuHl.jpg[/IMG] Please pardon the burned out LED, I failed my intelligence roll and hooked it up to the wrong voltage. [IMG]http://i.imgur.com/yLivFezl.jpg[/IMG] I used Fusion 360 to model the prototype case, and printed it on a Flash Forge Inventor 3D printer. Again this is just the prototype, to see if the angle of the screen fits the user and so we can play test it to make sure there are no math errors, or other bugs. Once this step is complete we plan on printing the head shown below to house it in. The tubes will be three front teeth and a 4" plasma ball will be mounted in the back of the throat like a lightning ball. Of course the head will be painted as a Blue Dragon. Dragon head (Thank you Eli Delia for modeling this for us). [IMG]http://i.imgur.com/dFXuSk5l.png[/IMG] [video=youtube_share;73BatHcnyPM]https://youtu.be/73BatHcnyPM[/video] You can watch videos of different variations and milestones here: [URL]https://www.youtube.com/channel/UCVXo1nLTN1cbVEYvZ9QRrrA[/URL] Full image gallery here: [URL]http://imgur.com/a/8SWZ0[/URL] [FONT=sans-serif] [/FONT]I will post updates on the final build as they happen. I hope someone else can use my code on another project, I would love to see variations of this. [FONT=sans-serif] Hope you enjoy it, Ninefingers [/FONT] [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Geek Talk & Media
Polyhedral Nixie Die calculator / roller w touch screen.
Top