Initial experiments with Bluetooth and Arduino

A place for discussing battery-electric locomotives, whether they're diesel, steam or even electric outline
User avatar
FWLR
Driver
Driver
Posts: 4262
Joined: Sat Aug 05, 2017 9:45 am
Location: Preston, Lancashire, UK

Re: Initial experiments with Bluetooth and Arduino

Post by FWLR » Thu Jul 11, 2019 9:09 am

Well I think it's great Rik. :thumbright: :thumbright: The engine idle and running is far better than some. The horn maybe needs tweaking a bit and the start timing may just need altering, but a man of your skills will no doubt overcome such things.

This is the same comment I have put on your Youtube channel. It's not because I can't be bothered to write anything. It's, I can't think of anything else to say about how fabulous it sounds, oh I just have.... :lol: :lol:

User avatar
ge_rik
Administrator
Administrator
Posts: 6497
Joined: Sun Oct 25, 2009 10:20 pm
Location: Cheshire
Contact:

Re: Initial experiments with Bluetooth and Arduino

Post by ge_rik » Sat Jul 13, 2019 12:32 pm

I think I've improved the sound files - though maybe you should be the judge.

.
I've blogged what I've done here just in case anyone ever wants to have a try themselves:
https://riksrailway.blogspot.com/2019/0 ... art-4.html
.
I think I've more or less finished my experimentations with Bluetooth and phone apps. It might be because I am not an avid user of a mobile phone, but I do find using a phone to be a nuisance compared with a handheld transmitter. Not only is it hard to see the screen but I find it all too easy to press one of the buttons on the side of the phone and switch the darn thing off - usually at a critical moment. I'm sure it would be possible to pair more than one loco with the app and switch from controlling one to the other, but my Deltang Tx22 does that quite easily, so I can't see it is much of an advantage. I suppose the real advantage is that it's possible to equip a loco with Bluetooth control and sound for just under Β£20 (plus the cost of the batteries - another Β£5) - even cheaper if you get your gear directly from China.

Anyway - my dabblings (ie circuitry and programming codes) are there for anyone to play around with if you're more tech-savvy than me.

Rik
------------------------
Peckforton Light Railway - Blog Facebook Youtube

User avatar
FWLR
Driver
Driver
Posts: 4262
Joined: Sat Aug 05, 2017 9:45 am
Location: Preston, Lancashire, UK

Re: Initial experiments with Bluetooth and Arduino

Post by FWLR » Sat Jul 13, 2019 1:10 pm

Thats superb Rik. A vast improvement on your last version. The start up and moving off is fantastic and the horn even sounds better as well. Thanks for giving us an in-site into Bluetooth control. If somebody with your talents think it's better with traditional remote control, who am I to disagree.... :roll: :roll:

But if you what to move the loco or even the electronics with the SD Card, I will gladly take it off your hands........ :lol: :lol: :lol: :lol:

User avatar
tom_tom_go
Driver
Driver
Posts: 4824
Joined: Wed Feb 23, 2011 3:08 am
Location: Kent, UK
Contact:

Re: Initial experiments with Bluetooth and Arduino

Post by tom_tom_go » Sat Jul 13, 2019 6:11 pm

I believe you should be right chuffed with what you have achieved Rik given you were born in a generation where computers and coding were not mainstream.

Bluetooth (or Wi-Fi, I don't see the benefit or using Bluetooth over Wi-Fi) for controlling indoor layout operation with an app would appeal to me, however, outside in the outdoors l prefer to keep loco running as low tech as possible.

User avatar
ge_rik
Administrator
Administrator
Posts: 6497
Joined: Sun Oct 25, 2009 10:20 pm
Location: Cheshire
Contact:

Re: Initial experiments with Bluetooth and Arduino

Post by ge_rik » Sat Jul 13, 2019 6:38 pm

FWLR wrote: ↑Sat Jul 13, 2019 1:10 pm But if you what to move the loco or even the electronics with the SD Card, I will gladly take it off your hands........ :lol: :lol: :lol: :lol:
Thanks Rod. Although it looks very toylike, it's actually quite useful as a test-bed loco. The three components of the body just clip together, so it's dead easy to take apart to tinker and then put together again.

I'm planning on experimenting with more traditional RC with the Arduino next - so I can make a Tx with a knob, push buttons and a reversing switch - back to more familiar territory.

Rik
------------------------
Peckforton Light Railway - Blog Facebook Youtube

User avatar
ge_rik
Administrator
Administrator
Posts: 6497
Joined: Sun Oct 25, 2009 10:20 pm
Location: Cheshire
Contact:

Re: Initial experiments with Bluetooth and Arduino

Post by ge_rik » Sat Jul 13, 2019 6:43 pm

tom_tom_go wrote: ↑Sat Jul 13, 2019 6:11 pm I believe you should be right chuffed with what you have achieved Rik given you were born in a generation where computers and coding were not mainstream.
Thanks Tom .... not quite over the hill (yet) ..... ;)
I've always tinkered with programming, ever since I got my first Commodore Vic 20 and then moved on to a Sinclair Spectrum and eventually on the the heady heights of a BBC B Micro. But I'm very much a self-taught dabbler with coding. I learn only as much as I need to know. I suppose I skate about on top of the iceberg knowing there's a girt big block of something or other beneath me, but enjoying the view from the top.

Not sure if the metaphor quite works, but hopefully you get my drift. :? :lol:

Rik
------------------------
Peckforton Light Railway - Blog Facebook Youtube

User avatar
-steves-
Administrator
Administrator
Posts: 2412
Joined: Thu Jul 28, 2011 1:50 pm
Location: Cambridge & Peterborough

Re: Initial experiments with Bluetooth and Arduino

Post by -steves- » Sat Jul 13, 2019 6:44 pm

Looks and sounds great Rik, a grand job. Think I still prefer TX22 / TX24 for ease of use for me, but for someone it will be a hoot :thumbup:
The buck stops here .......

Ditton Meadow Light Railway (DMLR)
Member of Peterborough and District Association
http://peterborough.16mm.org.uk/

User avatar
tom_tom_go
Driver
Driver
Posts: 4824
Joined: Wed Feb 23, 2011 3:08 am
Location: Kent, UK
Contact:

Re: Initial experiments with Bluetooth and Arduino

Post by tom_tom_go » Sat Jul 13, 2019 6:46 pm

The first computer I used in school was BBC Micro!

https://en.m.wikipedia.org/wiki/BBC_Micro

User avatar
FWLR
Driver
Driver
Posts: 4262
Joined: Sat Aug 05, 2017 9:45 am
Location: Preston, Lancashire, UK

Re: Initial experiments with Bluetooth and Arduino

Post by FWLR » Sun Jul 14, 2019 8:53 am

ge_rik wrote: ↑Sat Jul 13, 2019 6:38 pm
FWLR wrote: ↑Sat Jul 13, 2019 1:10 pm But if you what to move the loco or even the electronics with the SD Card, I will gladly take it off your hands........ :lol: :lol: :lol: :lol:
Thanks Rod. Although it looks very toylike, it's actually quite useful as a test-bed loco. The three components of the body just clip together, so it's dead easy to take apart to tinker and then put together again.

I'm planning on experimenting with more traditional RC with the Arduino next - so I can make a Tx with a knob, push buttons and a reversing switch - back to more familiar territory.

Rik
And I am sure it will be a success Rik.... :thumbright: :thumbright:

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests