tag:blogger.com,1999:blog-26391908.post7404190021208079981..comments2024-03-27T09:44:09.432+00:00Comments on Peckforton Light Railway: Controlling a loco with Arduino and a Bluetooth phone app - Part 3 - Speed controlGE Rikhttp://www.blogger.com/profile/01825168874175339847noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-26391908.post-66519930195473773912020-06-12T12:01:57.195+00:002020-06-12T12:01:57.195+00:00Regarding your other questions. I think local mean...Regarding your other questions. I think local means the actions are only used internally by the app eg to change something on the screen whereas remote actions are sent by Bluetooth to whichever device has been paired to the app.<br /><br /><br />As indicated above, data is only sent to the receiver when a button is pressed. The Arduino is programmed to keep monitoring the signal and only do something when it receives a packet of data. It will therefore keep the lights on or the speed setting constant until it receives data from the app instructing it to change. The Arduino is therefore a slave of the app via the receiver. It does nothing until instructed to do so.<br /><br />RikGE Rikhttps://www.blogger.com/profile/01825168874175339847noreply@blogger.comtag:blogger.com,1999:blog-26391908.post-87666199551238163972020-06-12T11:55:17.054+00:002020-06-12T11:55:17.054+00:00Hi Charles
As I understand it, the RR app only sen...Hi Charles<br />As I understand it, the RR app only sends packets of data when a button is pressed or the value of the slider changes. The buttons and slider are given "actions" which are transmitted to the RX - the actions being triggered when the relevant button or slider is pressed.<br /><br />RikGE Rikhttps://www.blogger.com/profile/01825168874175339847noreply@blogger.comtag:blogger.com,1999:blog-26391908.post-32035657489348299732020-06-11T20:52:49.125+00:002020-06-11T20:52:49.125+00:00Hi Rik
Did you get my message of a couple of days...Hi Rik<br /><br />Did you get my message of a couple of days ago? Thks<br />CharlesCharles Harrisnoreply@blogger.comtag:blogger.com,1999:blog-26391908.post-42075033229333038792020-06-11T20:50:58.112+00:002020-06-11T20:50:58.112+00:00Hi Rik
Did you get my message of a couple of days...Hi Rik<br /><br />Did you get my message of a couple of days ago? Thkssswcharliehttps://www.blogger.com/profile/05033289470857044583noreply@blogger.comtag:blogger.com,1999:blog-26391908.post-23836169008519082202020-06-10T07:29:48.640+00:002020-06-10T07:29:48.640+00:00Hi Rik
Thanks for your comments. I think I have...Hi Rik<br /><br />Thanks for your comments. I think I have been looking at the Roboremo and Arduino not the correct way. Can you comment on my questions below:<br /><br />Overall is the Arduino in charge. That is the Arduino requests info from the RR app first and receives back the status of switches, sliders etc. I have thought that the RR set up a string to send with the 2 or more settings etc, every 250 mills or so to the Arduino<br /><br />With RR do you set up the buttons/sliders etc with an ID and label and that is it ?<br /><br />Do you set the items to 'local' or 'remote' ? What do they mean.<br /><br />Set up on RR the app. for BT. Once connected any thing else to do Bluetooth wise ?<br /><br />May be some other questions sometime.<br /><br />Your comments appreciated.<br /><br />Charlessswcharliehttps://www.blogger.com/profile/05033289470857044583noreply@blogger.comtag:blogger.com,1999:blog-26391908.post-41531421328020290672020-06-08T08:30:07.762+00:002020-06-08T08:30:07.762+00:00Hi Charles
Looking again at what I did, there is ...Hi Charles<br /><br />Looking again at what I did, there is no code needed for the app. You just set up the buttons and slider with the actions as shown above. That's the easy bit.<br /><br />RikGE Rikhttps://www.blogger.com/profile/01825168874175339847noreply@blogger.comtag:blogger.com,1999:blog-26391908.post-7889339151152749292020-06-08T08:04:33.111+00:002020-06-08T08:04:33.111+00:00Sure, Charles. No problem. Just need to fire up th...Sure, Charles. No problem. Just need to fire up the laptop and I'll send it to you<br /><br />RikGE Rikhttps://www.blogger.com/profile/01825168874175339847noreply@blogger.comtag:blogger.com,1999:blog-26391908.post-50467994085848014922020-06-08T02:46:57.894+00:002020-06-08T02:46:57.894+00:00Hi Rik
Can you provide the Roboremo interface fi...Hi Rik<br /><br />Can you provide the Roboremo interface file for this project, I can then learn my way thru it by looking at the settings in Roboremo. swchuck at gmail dot com Thanks<br /><br />Charles Harrissswcharliehttps://www.blogger.com/profile/05033289470857044583noreply@blogger.comtag:blogger.com,1999:blog-26391908.post-37944042286956837832019-08-31T15:40:18.695+00:002019-08-31T15:40:18.695+00:00Will do, Steve. Sounds like a winner!
RikWill do, Steve. Sounds like a winner!<br /><br />RikGE Rikhttps://www.blogger.com/profile/01825168874175339847noreply@blogger.comtag:blogger.com,1999:blog-26391908.post-27755074138151069502019-08-20T01:13:54.262+00:002019-08-20T01:13:54.262+00:00Hi Rick!
Please, test new Arduino Garden Train ap...Hi Rick! <br />Please, test new Arduino Garden Train app. More speeds - 20X. Battery control. Multitrain options. Also expanded commands and other. Fully customized app by your demand :) Send me message.<br />https://arduinorailwaycontrol.com/app-garden.htmlAnonymousnoreply@blogger.com