Comments on: Arduino + Dreamcast Densha-De-Go Controller https://modelrail.otenko.com/arduino/arduino-dreamcast-densha-de-go-controller Trains, computers, vintage, retro, model railways... the lot... Wed, 04 Dec 2019 21:59:38 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: More (Bit)Bang For Your Buck « modelrail.otenko https://modelrail.otenko.com/arduino/arduino-dreamcast-densha-de-go-controller/comment-page-1#comment-43768 Wed, 04 Dec 2019 21:59:38 +0000 http://modelrail.otenko.com/?p=1288#comment-43768 […] Arduino + Dreamcast Densha-De-Go Controller […]

]]>
By: stevenh https://modelrail.otenko.com/arduino/arduino-dreamcast-densha-de-go-controller/comment-page-1#comment-41703 Sun, 13 Jan 2019 22:22:18 +0000 http://modelrail.otenko.com/?p=1288#comment-41703 In reply to Thomas Wyatt.

Thomas,
If you’re located in Australia, then use one of these instead of a keyboard controller:

https://www.jaycar.com.au/usb-interface-for-joystick-and-buttons/p/XC9046

Steven.

]]>
By: Thomas Wyatt https://modelrail.otenko.com/arduino/arduino-dreamcast-densha-de-go-controller/comment-page-1#comment-41699 Sun, 13 Jan 2019 02:02:59 +0000 http://modelrail.otenko.com/?p=1288#comment-41699 I would like to get one rip the guts out and hack it to a Ps2 keyboard circuit and driver.
I made a controller by hacking a PS2 keyboard which is the only option to the
pc Windows 7 which MSTS will work in. The home made controller is big bulky
and hokey looking, i had so much problems switch’s, i went through so many
different type of mini switch’s. the switches plastic would melt so i finally had to
find switch’s at Jameco. I used arcade levers for throttle and brake and i took
about 3 months to finally finish the project.

]]>
By: stevenh https://modelrail.otenko.com/arduino/arduino-dreamcast-densha-de-go-controller/comment-page-1#comment-31923 Wed, 03 Aug 2016 04:51:31 +0000 http://modelrail.otenko.com/?p=1288#comment-31923 In reply to Hunter.

Hunter,

It’s been forever since I looked at this, so bear with me. Just to confirm, you’ve taken the code from: https://bitbucket.org/nfd/arduino-maple/src and that’s what’s reporting the “are you there?” message?

I’ll download this when I get the chance and try and work out what it’s doing when it’s outputting that line.

Steven.

]]>
By: Hunter https://modelrail.otenko.com/arduino/arduino-dreamcast-densha-de-go-controller/comment-page-1#comment-31922 Wed, 03 Aug 2016 03:09:54 +0000 http://modelrail.otenko.com/?p=1288#comment-31922 Steven,

I’m working on a somewhat similar project; also attempting to use WzDD’s code to communicate with a Dreamcast controller and also using an Arduino Mega (this time with the purpose of flashing custom VMU images). I’ve been able to successfully(?) flash the program to my Arduino using avrdude under Ubuntu, but maple.py seems to consistently time out after 10 echoes of “are you there?”.

I feel like I’m so close I can taste it.. If you still happen to have your modified project files lying about I would really appreciate them!

Thanks,

Hunter

]]>
By: stevenh https://modelrail.otenko.com/arduino/arduino-dreamcast-densha-de-go-controller/comment-page-1#comment-118 Wed, 19 Jan 2011 00:54:59 +0000 http://modelrail.otenko.com/?p=1288#comment-118 In reply to WzDD.

The controller was, honestly, such a waste for poor old Sega. It’s only good for one game, and that game was made too late; as the whole Dreamcast was pulled not long after its creation.

But, nonetheless, it works great here. As for the physics… I could definitely do different models per train/locomotive. In fact, it has to be done as each locomotive behaves differently depending on input voltages. Motor sizes and conductivity to the rails mean that one loco at a certain voltage could speed along whereas another hardly moves. It’s all going to get a little tricky… I might try and have an ‘upload’ ability for the train movement models so that don’t have to reprogram each time.

But there’s only so many minutes in an evening :)

And, of course, I can’t thank you enough for getting the initial communications between the controller and the Arduino going!

]]>
By: WzDD https://modelrail.otenko.com/arduino/arduino-dreamcast-densha-de-go-controller/comment-page-1#comment-117 Wed, 19 Jan 2011 00:50:32 +0000 http://modelrail.otenko.com/?p=1288#comment-117 Congratulations on getting it all working — I’m impressed that you managed to get another (very cool looking) controller going, given that the code is somewhat, uh, rough. Sounds like there’s a lot of opportunity to mess around with getting the physics simulation right… could you do different curves for acceleration / braking for different types of train?

]]>
By: stevenh https://modelrail.otenko.com/arduino/arduino-dreamcast-densha-de-go-controller/comment-page-1#comment-116 Mon, 17 Jan 2011 01:05:09 +0000 http://modelrail.otenko.com/?p=1288#comment-116 In reply to Don.

Don, this will come in handy… My only concern is that with boring DC voltage (and very lame PWM) I’ll not be able to adjust the speed to the resolution I really want to.

I also need to work out the timing of the main loop in this version of the code, as the calls the to the Dreamcast are intensive and limit the ability to do other processing in each loop. Of course, I don’t need to poll the Dreamcast each loop, so there is one way to save cycles already.

I’ve already started writing up my basic code for control and will implement it tonight… would then love whatever peer-review you want to suggest :)

Note that my code probably wont even include mutiplication and division :) … When I should really be using exponential curves for acceleration based on current speed vs. throttle position, etc…

More to come soon.

]]>
By: Don https://modelrail.otenko.com/arduino/arduino-dreamcast-densha-de-go-controller/comment-page-1#comment-115 Mon, 17 Jan 2011 00:57:14 +0000 http://modelrail.otenko.com/?p=1288#comment-115 Steve, this is really excellent work! Very exciting. I’ve done a little reading on simulating train physics, and have good links I can share with you later on.

]]>