Hi everyone!!
New to the forums, had my arduino for about 2 months now and for s**ts and giggles i decided to go for something difficult
I've built a car/boat/whatever lighting system using rgb led strips. it has 3 modes using a button and a pot.
1 is a solid colour using the pot to select which.
2 is random colour using the pot to select speed it changes
3 is changing the beat of the music, pot changing sensitivity (works great but would be much better if i could find an amp small enough to boost ~1.1v to ~2.5v)
its all going great working perfectly on the board but when i move it to a breadboard or the pcb i made for it to standalone in it will not work.
im using an atmega328p, 8Mhz int osc (changed the boards.txt to suit),12v through regulator down to 5v.
using my multimeter ive checked that the pot and switch ar both working the way they should, getting power and whatnot but for the life of me i cannot get the leds to trigger whilst off the board...
ive tried 2 different sets of 3 pins, analogWrite and digitalWrite, but with no avail...
also the board im using is called "Eleven" and arduino UNO equivilent made by Freetronics (easily available where i live) and im also using their 4 channel relay driver to switch the strips on cos they run on 12v...
if anyone could please help me it would be greatly appreciated!
pre-thanks to anyone who responds!
I thought the Freetronics Eleven was set up with a 16 MHz crystal hence the Uno compatibility. If you are transplanting from you breadboard with the internal 8MHz, the 16MHz crystal on the Eleven board will confuse the Atmega unless you disable it. I am not sure if there is a low fuse setting that would turn off all XTAL1 and XTAL2 input and only go off of the internal 8MHz.
i used a fuse calc to set the fuses for 8Mhz int
ive also tried this on an ATmega8-16pu but couldn't even load the bootloader onto it...
i cannot confirm the atmega is running and i dont know how to check :\
Okay, here is what I got. I set up a breadboard Arduino set to 8MHz internal and it works with a 16MHz external. It is still running at 8 MHz perfectly ignoring the external signal. Fuses are lfuse 0xE2, hfuse 0xDA, efuse 0xFF (should be FD, but I turned the brownout detection off).
Next troubleshooting should be the boards. Does the blink sketch blink D13 on the Eleven board?
I feel like a bit of an idiot now...
I realised I'm not reloading the boot loader to change the fuses... I just uploaded the sketch...
I'll fix it this Arvo and get back