Customized Chip for Powering Electronics?

Status
Not open for further replies.

Thane

New Member
So, I looked around the forum but can't find a single thing! So now I'm hoping all you tech-savvy smart people would be able to help me! Haha :lol:

So, what I'm talking about is like what this guy in this video:
did with his AI Integration chip. It looks like the Cortana one, and still functions a purpose and was wondering how I'd be able to pull it off? Anywho, thanks!
 
Heya, it seems to be a pcb with a microprocessor like an arduino and some simple leds. To turn on the LED's and fans, the chip only needs to short two points of the data bus to let electricity flow to the electronics. It's nothing too complicated and if you need a simple connection diagram I'd be happy to provide you one tomorrow!
 
Heya, it seems to be a pcb with a microprocessor like an arduino and some simple leds. To turn on the LED's and fans, the chip only needs to short two points of the data bus to let electricity flow to the electronics. It's nothing too complicated and if you need a simple connection diagram I'd be happy to provide you one tomorrow!
Sure, that would be great! Thanks. :D
 
https://i.imgur.com/FQQIt20.jpg
PLEASE NOTE: I made an error: The ATTiny IC pin 1 should be IC pin 6

Here you go. Using an ATTiny is enough, and very cheap. You'll need a step-up boost converter for the fans in case it isn't 5v rated but rather 12v or 9v. Make sure the power source is 5V (like a powerbank) otherwise you'll burn the chip. You can just use the internal oscillator on whatever frequency you want, it isn't that intensive either way.

Since the ATTiny can only provide 80mA per pin, and you need to power a lot of leds with that pin for the pulsing effect (PWM- pulse width modulation) which require more amperage than that you'll need a pin protection circuit with either an optocoupler IC or a transistor. The leds can run on 5V. Don't allow the leds to burn out! Use a proper resistor after them. There are plenty of online calculators to calculate the exact resistance needed at a given voltage after a given amount of leds.

As for the arduino code to run on the attiny, it isn't anything too hard, so I've written it for you:

#define pwmpin 1 //Change this in case you used a different DIGITAL PWM pin other than IC pin 6
byte pulse = 0; //This'll keep record of the intensity
bool pulse_side = 1; //This variable will keep record of to count up or down
setup(){
pinMode(pwnpin,OUTPUT);//We need to set our PWM pin to output first
}
loop(){
pulse+=(pulse_side*2-1); //Simply count up or down depending on the side
if (pulse==0||pulse==255){ //If the pulse has reached one of it's limits...
pulse_side=!pulse_side; //Flip the up/downcount boolean
}
analogWrite(pwnpin,pulse); //Set the pulsevalue to the PWM pin to actually drive the leds
}

A nicer effect would be to use a sin-wave and it isn't too hard to write code for that either, but I'll leave that up to you for a challenge ;)
 
https://i.imgur.com/FQQIt20.jpg
PLEASE NOTE: I made an error: The ATTiny IC pin 1 should be IC pin 6

Here you go. Using an ATTiny is enough, and very cheap. You'll need a step-up boost converter for the fans in case it isn't 5v rated but rather 12v or 9v. Make sure the power source is 5V (like a powerbank) otherwise you'll burn the chip. You can just use the internal oscillator on whatever frequency you want, it isn't that intensive either way.

Since the ATTiny can only provide 80mA per pin, and you need to power a lot of leds with that pin for the pulsing effect (PWM- pulse width modulation) which require more amperage than that you'll need a pin protection circuit with either an optocoupler IC or a transistor. The leds can run on 5V. Don't allow the leds to burn out! Use a proper resistor after them. There are plenty of online calculators to calculate the exact resistance needed at a given voltage after a given amount of leds.

As for the arduino code to run on the attiny, it isn't anything too hard, so I've written it for you:

#define pwmpin 1 //Change this in case you used a different DIGITAL PWM pin other than IC pin 6
byte pulse = 0; //This'll keep record of the intensity
bool pulse_side = 1; //This variable will keep record of to count up or down
setup(){
pinMode(pwnpin,OUTPUT);//We need to set our PWM pin to output first
}
loop(){
pulse+=(pulse_side*2-1); //Simply count up or down depending on the side
if (pulse==0||pulse==255){ //If the pulse has reached one of it's limits...
pulse_side=!pulse_side; //Flip the up/downcount boolean
}
analogWrite(pwnpin,pulse); //Set the pulsevalue to the PWM pin to actually drive the leds
}

A nicer effect would be to use a sin-wave and it isn't too hard to write code for that either, but I'll leave that up to you for a challenge ;)

Siiiiccckk, thanks a lot dude. Ill try my best! ;)
 
Status
Not open for further replies.
Back
Top