Unfortunately, I couldn't figure out how to override KiCAD's layer colors for the 3D preview (nor did the internet help), but here's the "final" version I sent to OSHPark shortly before Christmas:
I also ordered a batch of parts from Digikey:
Code: Screw terminals ED2580-ND 4 @ $0.73 = $2.92
5V regulator 296-39011-5-ND 1 @ $2.01 = $2.01
10nF caps, radial BC2662CT-ND 3 @ $0.15 = $0.45
220ohm 0805 0.4W res RHM220KCT-ND 2 @ $0.10 = $0.20
2.5mm SMD jack CP-2523SJCT-ND 2 @ $0.96 = $1.92
2.7Kohm 0805 0.4W res RHM2.7KKCT-ND 2 @ $0.10 = $0.20
Clear red 0805 LED 732-4985-1-ND 2 @ $0.17 = $0.34
1Kohm 0805 0.4W res RNCP0805FTD1K00CT-ND 2 @ $0.10 = $0.20
100nF caps, radial 399-9870-1-ND 2 @ $0.25 = $0.50
1uF caps, radial 445-173583-1-ND 2 @ $0.32 = $0.64
Al elec 1mF 35V cap 493-1085-ND 2 @ $0.67 = $1.34
Stacking Arduino pins 1528-1074-ND 2 @ $1.95 = $3.90
Click for full resolution.
Got the last of my parts in today so here it is assembled!
Test by weeks end probably! Nights end
Train on idle, Click for full size.
I made a small mistake and forgot to make a logic ground for the control line coming out of the calculator. Not the end of the world just means I need to remember to hook it up. Though on a real setup the calculator would probably be wired to the 5v rail no the power connector. and there for could easily use the ground pin which would solve the problem.
Some minor changes made and pushed to
https://github.com/Cemetech/TI-DCC/ for my smaller board. I forgot some a ground pin as I said above. Fixed that and exposed the copper on the text, And added some silk screening for pinouts...because I kept forgetting
Makes it looks nicer :3
Click For full resolution
The assembled version looks great, and the fixed version looks great as well! Did the assembled one pass all of the tests? I see that the headlights on the train are on, but I assume it happily went forward and back as well? I think I shall nag you about DC mode, too, so you can test your new trains and I can test my ACS-64.
It functions exactly as expected
All tests passed with flying colors on my setup
DC mode is coming up soon on the robin I feel. I need to get Iambian to whip me up a new interface for it as well. I feel like this controller interface is not meant to manage multiple trains at once. So having a DC only mode makes sense. So Upon hitting the DC button We are going to have it Display DC on the Address box. Do something with the buttons and set it to a step mode. Step count is to be determined still. Have to see what I can realistically squeeze out of the I/O port in terms of PWM resolution.
An update on geekboy's/Iambian's end: DC mode hasn't happened yet, but the interface is pretty much ready for the interrupt. Geekboy and I were tossing thoughts on properly implementing fine-grained PWM back and forth. We both agreed that it should require that separate interrupt to avoid overcomplicating the DCC interrupt, especially since you can't run DC and DCC mode locomotives simultaneously anyway.
A week or so ago, I did some really unfortunate soldering work to temporarily salvage my genuine TI LMD18200T that I got before they stopped sampling that chip, and was able to test it successfully working with my
N-scale P42DC.
This weekend, I visited geekboy (and geekgirl), and we did much train debugging. Among the things we explored and figured out:
- Thanks to geekboy getting a number of (relatively) inexpensive "LM18200T"s from China, my shield now is complete! On the next batch, I want to use a slightly bigger drill hit for the LMD18200T's pins.
- The address of the new Atlas train that I got at the Amherst Model Railway show this year. We were able to eventually read and program its CVs using my shield, once we finally made sure we weren't trying to drive the 5V line from both my shield (5.13V) and USB (4.30V, because really long USB extension cable).
- We (possibly?) found a small issue with the 5V supply in geekboy's board that we want to resolve.
- We discovered that the TI-DCC ASM program appears to be producing an unclean PWM signal, more like 75% duty cycle than 50%.
Geekboy, what did I forget here?
A few things that would be good to mention:
- We brought this project to Maker Faire again this year, in a much more reliable and polished form than last year, and it was a big hit. Brian Benchoff of Hackaday published information about it as part of a larger article about our hardware hacking work with calculators.
- geekboy1011 continues to improve the software, and to my knowledge has been designing the DC mode.
- I finally (over a year late) placed a split AliExpress/eBay order for more LMD18200Ts, those red mushroom emergency stop buttons, more screw terminals, and a couple of LCDs (for the TI-87 project).
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
»
Go to Registration page
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum