Search found 361 matches

by timbologist
Fri Jul 13, 2018 1:00 pm
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 96
Views: 2675

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

insanity prevails :) So for the sake of it I have written the traffic light sequence for the above intersection. // USING AN ARDUINO MEGA SIMULATE THE TRAFFIC SIGNALS AT // HUME HIGHWAY AND RING ROAD INTERSECTION // THE INTERSECTION HAS 2 ROADS INTERSECTING // THE HUME HIGHWAY HAS NORTH AND SOUTH TH...
by timbologist
Wed Jul 11, 2018 9:42 am
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 96
Views: 2675

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

Hi timbologist I had another look at your code and got it running how I want it to. I like the look of it. It's complex looking for me to use but it look so much nicer than my code and shorter. The code I had to change was this I'm glad you got it working the way you wanted, as I said I used the ti...
by timbologist
Tue Jul 10, 2018 3:31 pm
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 96
Views: 2675

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

green lights have different on times one about four seconds the other about eight seconds. The timing I used was taken from TimberSurf's code in program 2. Hi timbologist thanks for posting your code but the green lights have different on times one about four seconds the other about eight seconds. ...
by timbologist
Tue Jul 10, 2018 9:55 am
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 96
Views: 2675

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

This is probably one of the most important things is to comment your code well there is no such thing as over commenting. Put in lots of notes Use indirect addressing (make everything a variable, so it's easy to tweak after and understandable) {something we use regularly in PLC land} Now this can ca...
by timbologist
Tue Jul 10, 2018 6:21 am
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 96
Views: 2675

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

Hi all, it's good to see you all bouncing ideas of each other. I was away with my son at the Round 3 of the Asian Onroad Championships ( Electric Remote Control Cars ) held in Melbourne over the Weekend so I missed this discussion. It was amazing to watch especially Former World Champions, including...
by timbologist
Fri Jun 22, 2018 10:22 am
Forum: Electronics
Topic: AMSERARALLLLEARALL ELECTRONICS
Replies: 10
Views: 444

Re: AMSERARALLLLEARALL ELECTRONICS

Hope you all in the homeland are nice and warm because it is very cold down under, good inside train weather. I have been doing a bit of work on the mimic panel all the goodies have arrived just getting things together. the case is 3mm MDF Laser cut with finger joints in the corners. The 5mm LEDs on...
by timbologist
Sat Jun 16, 2018 7:20 am
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 96
Views: 2675

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

Hi Paul Just a thought, if I wanted to reduce the throw of any servo is it just the case of editing the main/max throw lines in the code? For the given servo. Yes that is correct the lines as shown below for each servo define the maximum and minimum throw but depending on which way your servo is mou...
by timbologist
Sat Jun 16, 2018 3:45 am
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 96
Views: 2675

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

Hi Paul Glad to hear all is working ok, will gradually look at putting the slow motion part into the program. But will probably have to change how it is written as it will become very large doing everything 12 times so will have to change it to use advanced programming which I was trying not to do. ...
by timbologist
Fri Jun 15, 2018 6:58 am
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 96
Views: 2675

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

Hi Paul and others, here I have a basic set-up for a point controller using an Arduino Mega. The code has been written in the KISS style so beginners can follow it easier, no advanced programming or magic tricks involved. At the moment it is very basic in operation throw the switch and the servo mov...
by timbologist
Thu Jun 14, 2018 3:20 am
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 96
Views: 2675

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

Hi Paul glad you sorted it out.

One thing I tried was connecting the positive side of the pot to the 3V3 pin on the Mega and got a reading of 0 to 138.
by timbologist
Thu Jun 14, 2018 3:09 am
Forum: Personal Layouts - Under Construction
Topic: St. Blazey's - My first layout - Stage 3 Building
Replies: 648
Views: 39183

Re: St. Blazey's - My first layout - Stage 3 Building

End2end wrote: Easy with the smaller triangular tiles I've already created. :)


Are yes always seem to end up with a lot of those special triangle tiles. :oops:
by timbologist
Wed Jun 13, 2018 9:44 am
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 96
Views: 2675

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

Hi Paul Attached is the schematic and the wiring diagram.There is not a component of your board in Fritzing so I have wired it without it. Now depending on the brand of servo you have, the wire colours may be different. I have the SG-90 servos from Ebay that have Red for positive Brown for negative ...
by timbologist
Tue Jun 12, 2018 4:56 pm
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 96
Views: 2675

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

Hi Paul Firstly is the servo wired up to a set of points or is it sitting on the bench not connected to anything. Looks like it is wired up correctly as one direction is linear until it gets to 45 then as you say gets glitches and goes erroneous and it is strange that the max numbers move at the sam...
by timbologist
Sun Jun 10, 2018 3:24 am
Forum: Electronics
Topic: ARDUINO PROGRAMMING, AND INTERFACING HELP
Replies: 96
Views: 2675

Re: ARDUINO PROGRAMMING, AND INTERFACING HELP

Ok for those following the Crossing flasher I have not forgotten about it, I have just got a bit ahead of myself as I have been playing with the sound, and currently have a couple of ways of having the ringing of bells in time with the flashing of the lights all done from the Arduino. So I will get ...
by timbologist
Sun Jun 10, 2018 3:18 am
Forum: Personal Layouts - Under Construction
Topic: St. Blazey's - My first layout - Stage 3 Building
Replies: 648
Views: 39183

Re: St. Blazey's - My first layout - Stage 3 Building

It's a pain being out of whack time wise I miss out on the current conversation and get the end of it. Anyway sorry about confusing you, but unfortunately in electronics there are some basic laws and rules that govern how components are selected, and if not followed things can get pear shaped pretty...

Go to advanced search