RC Truck and Construction  

Go Back   RC Truck and Construction > RC Truck's Ag and Industrial Equipment and Buildings > Scale Buildings, Warehouses and Structures.

Scale Buildings, Warehouses and Structures. If you have buildings and other structures that you have built to use with your Rc's here is your place to share them.


Reply
 
Thread Tools Display Modes
  #1  
Old 06-25-2021, 01:36 PM
TaltosVT TaltosVT is offline
Newbie
 
Join Date: Apr 2019
Location: West Rutland, Vermont
Posts: 25
TaltosVT is on a distinguished road
Default Traffic Light

I'm working on teaching myself Arduino, and decided to make an attempt at a simple traffic light pattern that I may turn into a scale model later. Here's the first test.

Green light turn to Yellow warning indicator. The Yellow waits a few seconds, then turns to Red. Both lanes are Red for a few seconds, then the second lane turns to Green, and the pattern repeats on the other side.

Next, I'm going to see if I can add a left-turn indicator into the pattern.

Video of test:
https://youtu.be/QRPPKG9d1II

-Elroy
Reply With Quote
  #2  
Old 08-10-2021, 09:10 AM
frizzen's Avatar
frizzen frizzen is offline
Big Dawg On The Bone
 
Join Date: Jan 2016
Location: indy, indiana
Posts: 1,991
frizzen is on a distinguished road
Default Re: Traffic Light

Pretty cool! I can't wait to see how it works, and what other functionallity you can add into yours.

A while back i had picked up a premade Stoplight circuit for train layouts. It ran the normal sequence right, but if you used the other set of outputs for cross-traffic it wouldn't run them correctly for actually stopping traffic.
__________________
What do ya mean "Cars are neither Trucks or Construction"?
It's still scale, and i play fairly well with others, most of the time...
Reply With Quote
  #3  
Old 08-12-2021, 02:44 PM
dremu dremu is offline
Newbie
 
Join Date: Aug 2019
Posts: 101
dremu is on a distinguished road
Default Re: Traffic Light

Sweet!

I'm a big fan of the 'dweeno, use them in most of my projects to drive lighting or extra controls (not least as they're really easy to interface to my RX of choice, Flysky using iBus.)

Anyway, to your project, a thought would be that you could add switches (or magnetic sensors or whatever) for the streets, or crossing if you're doing rail, whatever. Most any dry sensor is easily added with pinMode(x, INPUT_PULLUP), and then you just digitalRead(x) to check it (okay, fine, you should debounce, but you get the idea, and there's tons of tutorials for that in detail.)

Then you can say "this busier street stays green until there's somebody stopped at the less busy side of the intersection" and go through the yellow-red for the main street, and then open up the side street, like thoroughfares work in the real world. We did this in an electronics tech class I took a bazillion years ago, before Arduinos were a thing. Fun thing was we had a guy there that worked for the state DOT, so he told us about how they cut into the tarmac to install the magnet sensors, etc, made it more real world and less just blinky lights.

Anyway, a thought. If you've already considered and/or know all this already, apologies, don't mean to talk down to anybody, I just tend to blather on some any time the word "microcontroller" appears =))

-- A
__________________
I mean, how hard can it be?
Reply With Quote
  #4  
Old 10-09-2021, 10:07 AM
skeeter skeeter is offline
Big Dawg On The Bone
 
Join Date: Jul 2017
Location: Washington State
Posts: 1,732
skeeter is on a distinguished road
Default Re: Traffic Light

Scamazon has these, but they need a LOT of help! It may be a good starting platform to modify. https://www.amazon.com/STOBOK-Traffi...82YTM5Q5&psc=1
Reply With Quote
  #5  
Old 10-13-2021, 10:54 PM
frizzen's Avatar
frizzen frizzen is offline
Big Dawg On The Bone
 
Join Date: Jan 2016
Location: indy, indiana
Posts: 1,991
frizzen is on a distinguished road
Default Re: Traffic Light

Skeeter, great find on those light housings. Based on your PM, i feel these might be worth a look for driver circuits if you're not needing as amazing as the full-function customized micro controller setup like TaltosVT is building.
http://galakelectronics.com/timers.htm

Specifically i really like the looks of this one, which i saw on several other sites (ebay, etsy... heh, glad the designers url is silkscreen on the pcb) with diagrams of the timing sequences it can run.
http://galakelectronics.com/VG-303.htm

How likely do you think RC guys at a worksite or meet are actually going to be obeying your traffic controls VS the lights across road being more of a trip hazard?

I think you're just looking to give your rc Police car something to do...
__________________
What do ya mean "Cars are neither Trucks or Construction"?
It's still scale, and i play fairly well with others, most of the time...
Reply With Quote
  #6  
Old 10-24-2021, 03:37 PM
skeeter skeeter is offline
Big Dawg On The Bone
 
Join Date: Jul 2017
Location: Washington State
Posts: 1,732
skeeter is on a distinguished road
Talking Re: Traffic Light

Quote:
Originally Posted by frizzen View Post
Skeeter, great find on those light housings. Based on your PM, i feel these might be worth a look for driver circuits if you're not needing as amazing as the full-function customized micro controller setup like TaltosVT is building.
http://galakelectronics.com/timers.htm

Specifically i really like the looks of this one, which i saw on several other sites (ebay, etsy... heh, glad the designers url is silkscreen on the pcb) with diagrams of the timing sequences it can run.
http://galakelectronics.com/VG-303.htm

How likely do you think RC guys at a worksite or meet are actually going to be obeying your traffic controls VS the lights across road being more of a trip hazard?

I think you're just looking to give your rc Police car something to do...
We gotta have something for the PNW police car to enforce!

I wasn't planning an overhead style light. I was hoping for a moblie traffic lamp, like the ones we employ at road construction sites that are long term. Like when the highway had a slide that took out part of it. They set up these mobile traffic lights to alternate the traffic flows through the area, rather then employ 24/7 flagger.

I was thinking of taking the Goodson's Hobbies reader board trailer, & mounting a light atop it. The to would need to communicate together, OR be timed in such a manner that there would never be green when traffic didn't allow it. I've seen the one offered from Merbold Electronics, but refuse to pay their 400.00 pricetag for one!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:42 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.