Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
HarveyH42 said:I chose AVR, as the instruction set was most similar to the 6502, which I work with before.
Nigel Goodwin said:Interesting idea!, I would say AVR was more like Z80 than 6502, with the PIC being a closer 'move' from the 6502 (which is where I originally came from as well).
HarveyH42 said:The BASIC I start with, is nothing like today's BASIC, would be the same as learning a whole new language.
HarveyH42 said:Most first MCU tutorials involve flashing an LED, can be done literally in minutes. That's where I started, and I hadn't programmed anything in a good 10 years. I chose AVR, as the instruction set was most similar to the 6502, which I work with before. An ATtiny13V costs $1.16 (about a month ago).
You could also use a 555 timer and 4017 counter. There are at least 2 other threads here that cover the circuit details well. Not sure what the title was, some searching should turn them up for you.
Finally, if you put this on your car or bike, the police won't like it, and at the very least take it away, maybe you too. Bummer if your name is Rodney King...
HarveyH42 said:Back to the project...
Searched 'police' on the forum, must be about 5 other threads on the first page of results, might check those out.
https://www.electro-tech-online.com/threads/please-help-led-strobes.13482/?highlight=police
This one had several non-MCU circuits using 4017 counter.
Sceadwian said:This project is also illegal, and if you're caught using it by a cop they will very likely prosecute. Not to mention being plain stupid, the roads are not for toys and games, it's from driving from point A to point B, without killing anyone. And don't say it's just for flash when you're parked cause no one means that.
Sceadwian said:This project is also illegal, and if you're caught using it by a cop they will very likely prosecute. Not to mention being plain stupid, the roads are not for toys and games, it's from driving from point A to point B, without killing anyone. And don't say it's just for flash when you're parked cause no one means that.
killer007 said:Yes I know this might be illegal for you, but I am a registered EMT-Paramedic and have permission to use this.
Why i want to build 1 is cause it is cheaper than going to buy 1.
evandude said:So you want flashing lights which are to be used in emergency situations, and you're planning to build them YOURSELF just to save a little money, with little knowledge of what you're doing? And that seems like a great idea to you?
I wouldn't touch this one with a 10-foot pole...
I only did assembly on the 6502, so nothing to compare with. You are definitely more experience. Guess the point was that if you already know how to program something, a microcontroller is very simple to get started with, just look for something you already know. There are also free compilers for most high level languages, so if you know C or BASIC, it's pretty much the same. The BASIC I start with, is nothing like today's BASIC, would be the same as learning a whole new language.