Show Posts
Pages: [1] 2 3 ... 91
1  Community / Exhibition / Gallery / Re: EEPROM Management on: March 22, 2014, 08:12:11 am
One of the problems is that Arduinos are configured to erase the EEPROM every time you upload a program.

That makes it difficult to develop this sort of code. How exactly do you put data in EEPROM instead of flash? You can only do it by changing fuse bits, something that most people can't do.




oh no they don't!
just use the standard EEPROM.h library
2  Using Arduino / General Electronics / Re: Problem with internal pull-up resistor? on: March 13, 2014, 05:51:11 pm
Did you set them all as input?
Maybe one is output
Post your code?
3  Using Arduino / General Electronics / Re: desoldering headers on: March 10, 2014, 03:54:48 pm
I use the same technique
Excellent
4  Using Arduino / General Electronics / Re: Alternative to reed switches in camera control project on: March 05, 2014, 03:20:00 am
reed switches are faaaaaaaaaaaar too slow
opto-isolator
works every time
separates the electronics in the camera from any mayhem in your box, too!

your second link uses an opto-isolator!
5  Using Arduino / Project Guidance / Re: [solved!]: schematic and board check please on: March 05, 2014, 03:16:40 am
I dunno, you just can't get good help these days.

Quote
changed the clock divide from 8 to 1
That's why I asked about the fuses before.

______
Rob

yup
it was your post that eventually sunk in!
6  Using Arduino / Project Guidance / Re: [solved!]: schematic and board check please on: March 04, 2014, 02:39:23 pm
Quote
ATmega328 (28 pin DIP) instead of 328p (32 pin SMD)
Don't see why that would matter - the die is the same no matter what.
If the wrong board type was selected, Uno vs Nano, you'd just lose the A6/A7 funtionality. I don't think the bootloader is involved in that, is it?

I'm guessing the pin vs. chip numbers are different
but it seemed to make a difference
and it's working now so I'm happy

actually more in-depth answer, the programming also changed the clock divide from 8 to 1, so maybe that was the real fix

anyhoo - I'm up and running now smiley
7  Using Arduino / Project Guidance / [solved]!!: schematic and board check please on: March 04, 2014, 10:13:53 am
ok, I re-read all the suggestions...... and found the fault

some idiot (cough) installed the bootloader for an ATmega328 (28 pin DIP) instead of 328p (32 pin SMD)
I have fired the individual in question, installed the correct bootloader (thanks again to Saint Nick Gammon)
and I have 4 out of five boards working AOK

the 5th board, the FTDI side is fine, but I can't even read the fuse bits
so looks like I may have set the "don't allow programming by SPI" bit
without a high voltage programmer - that one will have to stay in the isolation ward for a bit

so thanks to all for
a) listening
b) offering advice
c) leading me (kicking and screaming) to a result

I love this forum smiley
8  Using Arduino / Project Guidance / Re: schematic and board check please on: March 03, 2014, 04:22:35 pm
am I right in assuming that the chip must be fairly intact if I can install the bootloader and pin 13 flashes on startup?
9  Using Arduino / Project Guidance / Re: schematic and board check please on: March 03, 2014, 03:40:53 pm
I've always tied it LOW on a FTDI cable.
I'll try to compare your board to the schematic.
you had me going there for a second
tied CTS low, but no change
I also tried a couple of "proper" FTDI boards with CTS open - they work fine
I guess it defaults low, and you have to drive it high
I also wired up just the FTDI part and it talks nicely to other boards, so I think FTDI is in the clear (for now)
but thanks for looking smiley

What are you measuring for the supply voltage on the Mega?
a gnat's over 3.3 volts - just as I expected

A shortcut on the pcb ?
nice try, but no smiley-sad
I buzzed it through every connection
clean as a whistle smiley

I've looked at everything and I can't see a problem. What about fuse settings, have you selected the external clock for example?

Have you looked to see if the oscillator is oscillating?

______
Rob
Rob,
I put a scope on the oscillator and its ackling nicely
also I can install optiBoot, and pin 13 flashes 3 times as it should
so I'm guessing fuses and clock are ok

could be a faulty mega, but I can't believe I have 4 like that!
10  Using Arduino / Project Guidance / Re: schematic and board check please on: March 02, 2014, 06:34:58 pm
Ignoring it!
It's what I usually do
11  Community / Gigs and Collaborations / Re: Help with a Sharp IR distance sensor and water tank - Will pay on: March 02, 2014, 06:14:51 pm
Mike. I sent you an email friday. smiley I guess you never got it. Pm me.
'tis done!
12  Community / Gigs and Collaborations / Re: Help with a Sharp IR distance sensor and water tank - Will pay on: March 02, 2014, 06:06:08 pm
We'll I am interested!
13  Using Arduino / Project Guidance / [solved!]: schematic and board check please on: March 02, 2014, 05:35:51 pm
ok I'm stumped
it's a simple enough board
FTDI chip and ATmega328p

the FTDI seems to work. I tried shorting TX and RX, open the monitor, whatever I type in gets echoed

the ATmega bit is more of a problem
I've installed optiBoot, LED 13 flashes 3 times so I guess that's ok

but I can't upload sketches

again, if I short D0 and D1, whatever I type in the monitor gets echoed
so it looks like everything up to D0, D1 is ok

I'm using a 16 MHz resonator instead of 8MHz

I have another board with identical MCU design, just laid out differently, it works

I tried bypassing the FTDI part (in fact didn't install the chip)
used a SparkFun FTDI Basic
it talks to the "previous" design, but not this one

I'm tearing what's left of my hair out

would be most obliged for someone to point out my stupid mistake:

thanks!

schematic:


board:


edit to change title to solved smiley
14  Community / Gigs and Collaborations / Re: Help with a Sharp IR distance sensor and water tank - Will pay on: February 28, 2014, 05:43:14 am
I'm interested
can you send me links to the parts you're using and I'll take a look
cheers
Mike
15  Community / Workshops and Events / Re: Free Hacktivism Workshop, Wed, Feb 19 Eindhoven on: February 25, 2014, 05:55:16 pm
Are you seriously running a spammers bootcamp?
Outrageous!
Pages: [1] 2 3 ... 91