Search found 365 matches

by timbologist
Fri May 11, 2018 4:02 am
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 98
Views: 9387

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

PROJECT 1. STAGE 1. PART A. Firstly I have to brake stage 1 into part A and Part B as it became larger than I was expecting. Part A is the hardware set-up for this project, and Part B will be the software Welcome to the first part of this project as outlined previously I an going to go through creat...
by timbologist
Thu May 10, 2018 5:32 am
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 98
Views: 9387

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

TimberSurf and I are not to sure on what to present in this thread, so we do need you help in telling us what you would like, so please leave your thoughts. What I have decided to do is do a series of Tutorials on using the Arduino in Model Railway Projects each Tutorial will be an actual project th...
by timbologist
Tue May 08, 2018 1:24 pm
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 98
Views: 9387

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

I certainly wouldn't use one, for example, as I have many microcontroller designs available - mostly PIC based - that are more suited to the task. Without getting into a debate which is the best microcontroller brand, the Arduino is by far the best supported microcontroller platform with the most v...
by timbologist
Tue May 08, 2018 12:32 pm
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 98
Views: 9387

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

So firstly I'll talk about getting into good habits with programming in general. One of the most important things in any sort of programming is to properly document your code with meaningful comments. When I wrote in assembler I always but a comment on each line as it was not obvious as to what was ...
by timbologist
Tue May 08, 2018 12:03 pm
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 98
Views: 9387

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

I’m sorry to hear about your experience with trying to find a solution to you problem, and that it caused you to abandon your Model Railway interests. That is what are a hopping to achieve here, helping those with Model Railway interests solve there Arduino problems. As those of us here that have ex...
by timbologist
Mon May 07, 2018 9:20 am
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 98
Views: 9387

ARDUINO PROGRAMMING, AND INTERFACING HELP

Hello every one I have decided to start a thread to help those who wish to use the Arduino in there Model Railway projects, for that anything Arduino related. There are a number of members of this forum who are willing to help you with your Arduino projects. What we don't know we will help you find ...
by timbologist
Mon May 07, 2018 9:08 am
Forum: Electronics
Topic: Servo control
Replies: 5
Views: 890

Re: Servo control

The other issue with servo's is that they have no contacts for signals and frogs. The away around this problem is using an extra wire connected to the feedback pot in the servo and feeding it back to an Arduino so you have positive feedback of position, and from the Arduino drive your signals direc...
by timbologist
Mon May 07, 2018 9:00 am
Forum: Personal Layouts - Under Construction
Topic: MY NEW LAYOUT ARDUINO CONTROLLED
Replies: 231
Views: 20220

Re: MY NEW LAYOUT ARDUINO CONTROLLED

This is a good example of one of the problems with programming every language calls a common item by a different name. And they come up with all these new buzz words that create lots of confusion. In PLC land, VAT is a Variable Access Table I don't think it would do any harm to start a Arduino Help ...
by timbologist
Mon May 07, 2018 2:44 am
Forum: Personal Layouts - Under Construction
Topic: MY NEW LAYOUT ARDUINO CONTROLLED
Replies: 231
Views: 20220

Re: MY NEW LAYOUT ARDUINO CONTROLLED

I immediately see that CANbus takes up 4 I/O which is double the headroom of SPI! I think you may have got a pit confused here SPI takes up 4 lines MOSI, MISO, SCK, and a CS, CAN-BUS and the RF cards both use 4 lines. I2C or TWI only uses 2 lines. Once you get the buffer data, can you then store it...
by timbologist
Sun May 06, 2018 1:02 pm
Forum: Personal Layouts - Under Construction
Topic: MY NEW LAYOUT ARDUINO CONTROLLED
Replies: 231
Views: 20220

Re: MY NEW LAYOUT ARDUINO CONTROLLED

This is a pretty straight forward explanation and example on the Can-Bus and the Arduino, this is one of the simplest I have seen. Uses SPI so pretty quick, and the Can-Bus is probably the most robust way to connect the Arduinos together. As Bufferstop pointed out in your thread it is used in most m...
by timbologist
Sun May 06, 2018 11:27 am
Forum: Personal Layouts - Under Construction
Topic: MY NEW LAYOUT ARDUINO CONTROLLED
Replies: 231
Views: 20220

Re: MY NEW LAYOUT ARDUINO CONTROLLED

Well this Can-Bus stuff is easier than I thought it was going to be, and it is very fast. At the moment have the hand controller having a conversation with the master Arduino. And one of the pluses for me is that the data is easier to send and receive in hex format so I can get more information in a...
by timbologist
Fri May 04, 2018 7:02 am
Forum: Personal Layouts - Under Construction
Topic: MY NEW LAYOUT ARDUINO CONTROLLED
Replies: 231
Views: 20220

Re: MY NEW LAYOUT ARDUINO CONTROLLED

I was just looking at NRF24L01 for SPI! That is not a bad idea using that set-up, pretty quick compared to Bluetooth which is limited to about 9600 baud and is attached to the serial port. Today went back to investigate my original plans of using the CAN-BUS to connect everything together instead o...
by timbologist
Thu May 03, 2018 9:37 am
Forum: Personal Layouts - Under Construction
Topic: MY NEW LAYOUT ARDUINO CONTROLLED
Replies: 231
Views: 20220

Re: MY NEW LAYOUT ARDUINO CONTROLLED

Today have been working on the hand controller, hoping to connect it to the master Arduino using Bluetooth for the comms but will still have to have it plugged in for power, or might try direct Ethernet connection or may try true RS232. All depends what works best on the day.
by timbologist
Thu May 03, 2018 9:30 am
Forum: Personal Layouts - Under Construction
Topic: Lumsdonia
Replies: 370
Views: 43419

Re: Lumsdonia

So if you have one mini per 6 points, how do you communicated with them? At the moment non of the point set-up is present. most of the points have rubber bands holding them in place as I have taken the springs out. :oops: It's on the one day list. Probably will use SPI 1 slave Mega, will probably h...
by timbologist
Thu May 03, 2018 2:10 am
Forum: Personal Layouts - Under Construction
Topic: Lumsdonia
Replies: 370
Views: 43419

Re: Lumsdonia

Here is a good table that compares UART SPI AND I2C

http://www.rfwireless-world.com/Terminology/UART-vs-SPI-vs-I2C.html

Go to advanced search