6 or 9 flashing lights, one stays on.

69 views
Skip to first unread message

Richard / rgproduct

unread,
Jun 30, 2015, 12:11:13 PM6/30/15
to reading-...@googlegroups.com
Hi all,

Might need to have 6 or 9 random flashing lights flashing, then one is chosen then stays on.

Pushing a button starts the sequence again. imagine the flashing is quite fast and all done, then chosen in 2 or 4 seconds.

Is this something I might learn to arduino on?

Cheers

R

Tom Allen

unread,
Jun 30, 2015, 12:14:16 PM6/30/15
to reading-...@googlegroups.com
yes totally, https://learn.adafruit.com/ start at lesson 0 and call me
if you get stuck :) shouldn't take you long
> --
> You received this message because you are subscribed to the Google Groups
> "Reading Hackspace" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reading-hacksp...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Tom Allen
+44 7939 025 131

Tom Allen

unread,
Jun 30, 2015, 12:14:45 PM6/30/15
to reading-...@googlegroups.com

Gavin

unread,
Jun 30, 2015, 2:23:14 PM6/30/15
to reading-...@googlegroups.com
Perfect place to start learning arduino. You obvs won't need all the bits listed on the first page of the adafruit tutorial. I even have an arduino Nano you can have if you're keen to get on with it.

Richard / rgproduct

unread,
Jun 30, 2015, 2:49:01 PM6/30/15
to reading-...@googlegroups.com
Thanks.

What will i need and where do i order from?

Dale Strickland-Clark

unread,
Jun 30, 2015, 2:53:49 PM6/30/15
to reading-...@googlegroups.com
You can get a basic Arduino starter kit from eBay. 

I can bring my Arduino stuff tomorrow evening if you want to see what you need.

Gavin

unread,
Jun 30, 2015, 2:59:11 PM6/30/15
to reading-...@googlegroups.com
By my reckoning:
1 x arduino
9 x LEDs
9 x current limiting resistors (rating depends on logic voltage of board and specs of led)
1 x button
1 x pull-up resistor
1 x power source

Seriously, we can rummage around and pull this together for you. All apart from the arduino board is readily to hand at rLab. I'll give you an arduino Nano

Andy Noyes

unread,
Jun 30, 2015, 3:27:34 PM6/30/15
to reading-...@googlegroups.com
How is the LED that is selected to be chosen, and can it be any of the 6/9? You might need quite a lot of IO pins or some form of multiplexing / serial shifting.

Richard / rgproduct

unread,
Jun 30, 2015, 3:37:08 PM6/30/15
to reading-...@googlegroups.com
Thanks all.

It is 9 lights flashing on and off at random for a set time/ period. Then they stop and one stays on.

Will be using those 10w led scree chips i think. The small security lights.

Then press a (foot) button and it starts again.

I am not about tomorrow. Sorry. But would like to learn to do this asap.

R

Gavin

unread,
Jun 30, 2015, 3:38:47 PM6/30/15
to reading-...@googlegroups.com

If it's just 9 LEDs and one button, then most Arduino boards should be fine without multiplexing or serial shifting as they have 14+ general purpose input/output pins (GPIOs), if it's one button per LED then it gets more difficult

Gavin

unread,
Jun 30, 2015, 3:39:42 PM6/30/15
to reading-...@googlegroups.com

Ah, that's more complicated

Dale Strickland-Clark

unread,
Jun 30, 2015, 3:52:28 PM6/30/15
to reading-...@googlegroups.com
You'll need a driver for the LEDs. The Arduino can't drive 10W.

However, there's a chip that I discovered yesterday that might help. I'll try to find the info.

Dale Strickland-Clark

unread,
Jun 30, 2015, 3:57:33 PM6/30/15
to reading-...@googlegroups.com
This chip might be useful in controlling the 10W LEDs.

http://www.farnell.com/datasheets/1881526.pdf

Richard / rgproduct

unread,
Jun 30, 2015, 4:06:05 PM6/30/15
to reading-...@googlegroups.com
Thanks Dale. It is one swith. Rdm flash seq. One stays on, rdm. One.

Then repeat on button click.

Could not download pdf Dale. Will look anon.

daprigoo

unread,
Jul 1, 2015, 1:00:56 AM7/1/15
to reading-...@googlegroups.com

Tara Martel

unread,
Jul 1, 2015, 8:36:14 AM7/1/15
to reading-...@googlegroups.com
Is the same light allowed to come on or will it be "barred"?


Richard / rgproduct

unread,
Jul 1, 2015, 10:30:34 AM7/1/15
to reading-...@googlegroups.com
Hmm, think any of them can stay on. Simpler.

Ryan .

unread,
Jul 1, 2015, 10:39:10 AM7/1/15
to reading-...@googlegroups.com

Don't sweat the sequence at the moment...just make them all blink. The code is the easy bit of this project I bet.

On 1 Jul 2015 15:31, "Richard / rgproduct" <rgpr...@hotmail.com> wrote:
Hmm, think any of them can stay on. Simpler.

Gavin

unread,
Jul 6, 2015, 5:53:30 PM7/6/15
to reading-...@googlegroups.com
@hackaday
Pixiflood turns a floodlight into a #pixel. Cool! @hackadayio https://t.co/d7MOMRN8eu http://t.co/ut7RZ64kgQ

https://twitter.com/hackaday/status/618170068954820608

Richard / rgproduct

unread,
Jul 10, 2015, 3:57:10 AM7/10/15
to reading-...@googlegroups.com
This actual project has gone away. However i do need to arduino or similar, thanks to gavin for the chip.

Look forward to plugging it in.

Reply all
Reply to author
Forward
0 new messages