PDA

View Full Version : Anyone here program Atmel AVR MCU's?



Kai Robinson
07-31-2009, 06:22 AM
Looking for someone to assist (ie, write the code) in a small project i've got going on, lemme know if you can help!

karbonkid
07-31-2009, 12:24 PM
Don't have any experience of them myself, but have been thinking of using Arduino to start learning C and hack up some cool projects at the same time. Just out of interest, what are you trying to achieve, and with what hardware?

Kai Robinson
07-31-2009, 01:33 PM
Using an ATTiny2313. Trying to make a keycode start for the car. So you get in the car, put the key in the ignition, turn it to IGN, type in the code, and have the car start. Without the correct code, the car won't start. If the code entered is incorrect, it'll trigger the alarm.

So basically, the ATTiny2313 has to trigger the output (ie, the starter relay) until it recieves an input from the ECU stating that the engine is started, so that it stops triggering the starter relay. If the input is recieved without the code having been entered, output #2 is triggered (the alarm, containing a GSM & GPS module to text cars status and location at 10 minute intervals).

It's also got to drive a 2x16 character LCD - in order to relay messages, and *'s whenever any number is entered on the 4x3 keypad.

Kai Robinson
08-03-2009, 07:49 AM
This, is the project in question:

http://kai.robinson.free.fr/dropbox/IMG_1726.jpg

Kai Robinson
08-25-2009, 09:58 AM
Bump!

Particle
08-25-2009, 03:35 PM
Are you necessarily tied to the Atmel, or would you be willing to swap for an FPGA? If you'll do an FPGA, that'll give me an excuse to go ahead and buy that dev board and get to work on verilog.

Kai Robinson
08-25-2009, 05:40 PM
Atmel is easier for me as i have all the ISP programmers etc.

TiN_
08-26-2009, 06:56 AM
So what's the question? I work with embedded systems.

You need good power supply for your AVR, since automotive onboard power is very dirty. Also I'd suggest better kit for this task, since tiny2313 isn't optimal here.

Take a look at ATMEL Raven or ATMEL Butterfly kits.

http://www.atmel.ru/images/atmel/news/03042008.jpg

Kai Robinson
08-26-2009, 08:02 AM
I can always use an ATMega8 if need be. And i have a smoothed power design that steps down from 12vdc to 5vdc. (78L05)

Post #3 contains the 'what i need' bit :D

Kai Robinson
09-26-2009, 08:25 PM
Have purchased a few ATMEga8's, for the extra I/O - and i'm assuming coding for it is pretty much the same as for the 2313 - just with more available flash & memory?

TiN_
09-27-2009, 12:55 PM
Also more peripherals available and lower power consumption

Kai Robinson
09-29-2009, 08:08 AM
In the immortal words of the virgin mary....come again? :confused: