Show Posts
Pages: 1 2 [3] 4 5 ... 7
31  Using Arduino / Microcontrollers / Re: ISP Bootloader onto ATMEGA328-AU + AVR Pocket Programmer on: July 13, 2011, 10:02:15 am
i checked the datasheet for the ATMEGA328AU

this is what it has on page 302 of this doc http://www.atmel.com/dyn/resources/prod_documents/doc8271.pdf
ATmega328P 0x1E 0x95 0x0F

maybe i am looking at it wrong

additionally i have changed the programmers text for usbtinyasp and added the force boolean

Code:
usbtinyasp.force=true
32  Using Arduino / Microcontrollers / Re: ISP Bootloader onto ATMEGA328-AU + AVR Pocket Programmer on: July 13, 2011, 08:20:42 am
bump!

anyone know how to fix the error.
i have  attempted to edit the programmers.txt as well as the boards.txt with no success.

googled the bejeezus out of this, no luck
33  Using Arduino / Microcontrollers / Re: ISP Bootloader onto ATMEGA328-AU + AVR Pocket Programmer on: July 12, 2011, 01:34:05 pm
Thanks for the notification.

this is the error i get


avrdude: Expected signature for ATMEGA328P is 1E 95 0F
         Double check chip, or use -F to override this check.

34  Using Arduino / Microcontrollers / ISP Bootloader onto ATMEGA328-AU + AVR Pocket Programmer on: July 12, 2011, 11:44:59 am
Hey All
I have a question about using the AVR Pocket Programmer from SparkFun and Bootloading an ATMEGA328-AU (digikey ATMEGA328-AU-ND)

I have a schema here


here is the board (you can see the ISP header in the lower right), there is an FTDI header for uploading sketches later


I set the board type to Arduino Mini (have tried FIO and Lily as well)
i am having an issue that when attempting to burn the bootloader is get an expecting error

for my sanity, can you guys take a look at the schema and tell me what i am doing wrong.
i am able to upload / make files using AVRDUDE but not burn the bootloader.

any suggestions / recommendations would be helpful


35  Development / Other Hardware Development / FTDI Basic Breakout PTH components on: July 12, 2011, 11:35:15 am
Hey All
Just wanted to showcase an FTDI Basic Breakout board with PTH components (minus the FT232R of course ;P)

Schema


Physical Board


The PCB was from James @ DorkbotPDX

Cost: under $10
the most expensive component was the FT232R from Digikey (Canada) 768-1007-1-ND $4.77

Thanks for watching!
36  Using Arduino / Programming Questions / Re: Passing arrays to a function on: July 08, 2011, 11:57:27 am
for multi dimensional arrays (char) i do like so

Code:
void method(char* array[])
37  Using Arduino / LEDs and Multiplexing / Re: Digital Multiplexer and storing and comparing digital inputs on: March 02, 2011, 12:56:05 am
hmm, i feel somewhat in the dark about your intended goal

in multiple instance similar to yours, i have simply created an array of assigned values to slots. they are binary numbers in decimal representation as well as a state. it will effectively work similar to a debounce, pressing any combination will provide you with a unique sum

Code:
int values[8] = {1,2,4,8,16,32,64,128};
int state = 0;
int current = 0;

void loop()
{
 // reset current
 current = 0;

 for(int n = 0; n < 8; n++){current += digitalRead(n) == LOW ? values[n] : 0;}

 if(state != current)
 {
   /*
      do something here to execute on value change
   */
   
   // set state to current
   state = current;
 }
}

my two cents
38  Using Arduino / LEDs and Multiplexing / Re: Sparky RGB LED Controller: Update on: February 16, 2011, 06:59:26 am
Configurator Running


Results
39  Using Arduino / LEDs and Multiplexing / Re: Sparky RGB LED Controller: Update on: February 11, 2011, 10:26:53 pm
As a short explanation. The are large community of MAMe cabinet builders who look for RGB LED controllers for their setups. It's a standalone controller for those within that community and the arcade fight game community
40  Using Arduino / LEDs and Multiplexing / Sparky RGB LED Controller: Update on: February 11, 2011, 04:19:37 pm
So we have been up and running for a while now.
Entered the MAME community, gaming community and modding community.

You may or not remember the Sparky Jr threads in the old forums.
Here is the link http://sparky.32teeth.org/


We have improved our configurator (written in processing) to accomodate a Serial Port selector.
see the video here:


All that being said, we are releasing the PWM version of this board later this month.


The PWM version is built for novice modders (no soldering required) as you see the headers all have 3.5mm screw terminals as an option,
or if you still wanna solder, we left the standard headers there as well. The PWM will be available with and without screw terminals

in appreciation to those with a current install of the Sparky Jr. Here is a tutorial on how to convert your current Sparky Jr into a Sparky Jr PWM
http://sparky.32teeth.org/howto.html#HardwareModding

thanks again all for the support.
41  Using Arduino / Programming Questions / Re: Question about detecting Serial and branching. on: January 30, 2011, 11:03:24 am
Thanks all for the responses. So it seems that if I am using all only including analog as digital 14 - 19 sounds like there is no easy way to detect if serial available is connected or f the arduino is just receiving power supply and ground. I thought for sure there was some trick.

42  Using Arduino / Programming Questions / Re: Question about detecting Serial and branching. on: January 29, 2011, 08:56:56 pm
not too sure i understand the PC part.
allow me to elaborate.

currently, the USB device is a gamepad. the standalone arduino simply read the inputs from the gamepad with wires soldered from the dpad and buttons to digital inputs...  ...but. there are enough input lines that i needed to use D0 and D1 so the RX and TX lines are tied up during USB mode, but when in FTDI programming mode i would like the USB mode code not to run so i can interface with Processing.

Hope that clears things up.
43  Using Arduino / Programming Questions / Question about detecting Serial and branching. on: January 29, 2011, 08:12:37 pm
Hey all,
quick question came up in discussion.

here is the example.
i have a standalone device that can run off an FTDI for programming, and also off USB VCC / GND.

is there a way in the Arduino IDE to detect if the Serial is available or not. Meaning, if i have an FTDI plugged in, turn and RGB led green, and when i am only in USB to turn it red.

i am familiar with how to run the leds and such, my question is more about detecting if the FTDI is plugged in, or if the USB for VCC/GND only.

thanks in advance
44  Forum 2005-2010 (read only) / Syntax & Programs / Re: 74HC595 lag using pushbutton as inputs on: April 17, 2010, 06:15:04 am
thanks for the help
the link provided was very helpful

the buttons are still there in the image
they are 2 foot buttons now available in fritzing since last update

also for the LED i do not require the resistors on the breadboard since the resistors are on the PCB of the LEd carrier see image


i managed to get things going thanks to the links provided, i added the resistors and the code ran smoothly

i ended up changing the arcade buttons from the cheapy suprplus store to the sanwas


45  Forum 2005-2010 (read only) / Syntax & Programs / Re: 74HC595 lag using pushbutton as inputs on: April 16, 2010, 02:38:26 pm
thanks for the reply

does this one make more sense
the arcade push buttons are only 2 wire ground and signal

Pages: 1 2 [3] 4 5 ... 7