:::RHMT::: Real Home Made Turbo

Please login or register.

Login with username, password and session length
Advanced search  

News:

ApexSilver06MR/Jason YOU WILL BE MISSED, RIP (link)  :'(

Pages: 1 [2] 3   Go Down

Author Topic: Pretend to be JD/become the next Fred for 4.30$  (Read 12432 times)

Joseph Davis

  • Verbal Assault Technician
  • RHMT Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 34733
  • Eugenics prevents retards like widebody93
    • TURBO THIS
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #30 on: July 07, 2010, 10:48:11 PM »

RHMT... Fuck Yeah!

PhilStubbs

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 5882
  • Teh Secksy.....I has it
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #31 on: July 07, 2010, 11:07:49 PM »

If I knew how to build anything electronic and program it, I would order one. But as I am barely more than a redneck engine builder, I don't see how I could justify buying one.

I'm kind of the same way, but I really want to learn it. I figured even if I only played with it for 20min, I spent less than $5.
Logged
obd1>gtgtall

 fucking box started smoking and i saw a flame start up so i grabbed a bucket of water and splashed it on the breaker box.

Jorsher

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 8575
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #32 on: July 08, 2010, 02:02:08 PM »

I am ordering an Arduino tomorrow, after I decide which one to get ;D

Been reading the website, shit is pimp, and I already have a few projects I've been wanting to do for years but haven't known where to start...

Been seeing "Arduino" mentioned almost daily on the RSS feeds I watched, but never took a minute to see what the fuck they were.  Thanks for the suggestion.

EDIT: Already have a question :D

The board outputs 5v and up to 40mA draw...  I will be using it to control four 1w LEDs which has typical voltage of 3.6v and draw of 150mA.  I'm assuming this is a case where I'd use a relay?

16mhz GO!
« Last Edit: July 08, 2010, 02:28:00 PM by Jorsher »
Logged

Joseph Davis

  • Verbal Assault Technician
  • RHMT Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 34733
  • Eugenics prevents retards like widebody93
    • TURBO THIS
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #33 on: July 08, 2010, 02:49:51 PM »

Use a solid state relay - cheaper, faster, and they come in smaller IC format.

Jorsher

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 8575
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #34 on: July 08, 2010, 03:02:32 PM »

Use a solid state relay - cheaper, faster, and they come in smaller IC format.

Thanks holmes.  Timing is crucial so that sounds exactly like what I need O0
Logged

Joseph Davis

  • Verbal Assault Technician
  • RHMT Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 34733
  • Eugenics prevents retards like widebody93
    • TURBO THIS
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #35 on: July 08, 2010, 03:09:06 PM »

Agreed, the precise flashing of LEDs is absolutely crucial.

Jorsher

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 8575
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #36 on: July 08, 2010, 03:16:31 PM »

Agreed, the precise flashing of LEDs is absolutely crucial.

For this project, yes.

I posted a video of it years back.

Now, to find a way to produce consistent drops of fluid at a consistent rate...
Logged

Joseph Davis

  • Verbal Assault Technician
  • RHMT Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 34733
  • Eugenics prevents retards like widebody93
    • TURBO THIS
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #37 on: July 08, 2010, 03:47:23 PM »

You want to wave shit around in the air and make words?

PhilStubbs

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 5882
  • Teh Secksy.....I has it
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #38 on: July 08, 2010, 04:00:15 PM »

Pardon my electronic noobness, but if my understanding is correct this thing could be used as a sequential shift light. Right?
Logged
obd1>gtgtall

 fucking box started smoking and i saw a flame start up so i grabbed a bucket of water and splashed it on the breaker box.

Jorsher

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 8575
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #39 on: July 08, 2010, 04:07:17 PM »

Nosir, I want to levitate or reverse the flow of water while controlling its speed as trip-entertainment, eventually maybe even "syncing" it with music.

A consistent rate and droplet would make the effect more believable.
Logged

Jorsher

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 8575
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #40 on: July 08, 2010, 04:19:17 PM »

Pardon my electronic noobness, but if my understanding is correct this thing could be used as a sequential shift light. Right?

You can do whatever the fuck you want with it, basically.

You have inputs/outputs (both digital and analog)...  You use the Arduino software to code it using a pretty damn simple programming language that looks like C++

Pardon my noobness for not knowing what a sequential shift light is, but I assume it lights differently according to the RPM.  It would be as simple as using one of the pins as input, coding it to read that input, then light up whatever LEDs you want to light up using the outputs.

Fucking simple.
« Last Edit: July 08, 2010, 04:20:54 PM by Jorsher »
Logged

PhilStubbs

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 5882
  • Teh Secksy.....I has it
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #41 on: July 08, 2010, 04:55:03 PM »

That's what I figured. My electronic experience stops with ecu mods done with written instructions and tuning hondas. I'm parts changer for sure when to comes to electronics. My best troubleshooting consists of finding some swollen and leaking caps in my computer monitor. Fixed a $300 monitor for a few dollars. I am trying to read up on this stuff, but my serious ADD isn't helping.
Logged
obd1>gtgtall

 fucking box started smoking and i saw a flame start up so i grabbed a bucket of water and splashed it on the breaker box.

Jorsher

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 8575
Logged

92CXyD

  • Twincharged Smeghead
  • Global Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 6775
  • I look around and all I see is Smegheads

PhilStubbs

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 5882
  • Teh Secksy.....I has it
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #44 on: July 08, 2010, 06:13:51 PM »

damn, after looking at that, i am really getting excited about this. it looks like the only limits are the amount of inputs and outputs
Logged
obd1>gtgtall

 fucking box started smoking and i saw a flame start up so i grabbed a bucket of water and splashed it on the breaker box.

Jorsher

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 8575
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #45 on: July 08, 2010, 07:18:01 PM »

damn, after looking at that, i am really getting excited about this. it looks like the only limits are the amount of inputs and outputs

The Arduino Mega has 54 inputs/outputs.  Which seems like it'd be more than plenty for just about anything.

I'm excited too.  Ordered one of the basic ones to play with for now.
Logged

sushi

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 3299
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #46 on: July 08, 2010, 11:33:26 PM »

I'm no rocket surgeon so this is way over my head.
Logged

dvst8r

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 3737
  • Unobtainium
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #47 on: July 09, 2010, 12:09:45 AM »

I'm no rocket surgeon so this is way over my head.

I think this is more like brain science.   :D
Logged
There are two kinds of people: Sheep and sharks. Sharks are winners and they don'#039#039t look back '#039#039cause they don'#039#039t have necks. Necks are for sheep.

Joseph Davis

  • Verbal Assault Technician
  • RHMT Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 34733
  • Eugenics prevents retards like widebody93
    • TURBO THIS
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #48 on: July 09, 2010, 01:01:23 AM »

I'd rather fumble with bench top gear than change oil for a living, even if the pay were the same.  I suggest you guys step up - most of your are easily bright enough to learn this shit.  Few of you will master any appreciable amount of analog, but as digital chips become more sophisticated and pick up that end of things for the end user that will become less and less important for the majority of hobbyists, and even professionals. 

Jorsher

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 8575
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #49 on: July 09, 2010, 06:00:49 AM »

http://www.nkcelectronics.com/seeeduino-mega-fully-assembled.html

Just ordered that.  Smaller knock-off Arduino (still quality) with 70 inputs/outputs.

Also grabbed 60 UV LEDs for only $9 shipped, 2-pin JST to barrel adapter, 6.5vdc 2A adapter, small water pump, drip irrigation emitters, couple big slabs of perfboard, etc
Logged

PhilStubbs

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 5882
  • Teh Secksy.....I has it
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #50 on: July 09, 2010, 06:58:56 AM »

That seems like a good price with all of the inputs/outputs but I am glad I only spent $4.5 on the off chance this makes no sense to me. After what I read last night though, I see no problems.
Logged
obd1>gtgtall

 fucking box started smoking and i saw a flame start up so i grabbed a bucket of water and splashed it on the breaker box.

Jorsher

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 8575
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #51 on: July 09, 2010, 08:46:41 AM »

How much different are those other boards?

I need the inputs so grabbed this.

DealExtreme is the best for LEDs.  Looking at other places, the cheapest I could find them was $1.59 each.  DE had 20 for like $2-3.

TaydaElectronics has good deals on the other components.  Got 60 resistors for $0.01 each, and a ton of other buttons/switches/relays/etc for pennies...only because they had an order minimum of $5.

Perfboard I used JPMSupply.  Big 10"x4" sheets with interconnected rows for about $3-4.
Logged

Joseph Davis

  • Verbal Assault Technician
  • RHMT Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 34733
  • Eugenics prevents retards like widebody93
    • TURBO THIS
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #52 on: July 09, 2010, 09:03:01 PM »

bump

Jorsher

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 8575
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #53 on: July 10, 2010, 12:06:57 AM »

bump

Quote
void fadeAll();
{
  int maxDelay = 20;    // Max delay in milliseconds.
  int curDelay = 20;    // Current delay.
  int fadeRate = 10;    // Delay between incrementing the fade.
  int fadeCounter = 0;  // Counter for the fade rate.
  int fadeDir = 1;      // Direction of fade.
  for (i = 0, i < 24, i++)  // Turn all LEDs off.
  {
    digitalWrite(i + 1, LOW)
  }
  delay(curDelay);  // Delay before flashing LEDs.
  if (curDelay == maxDelay || curDelay == 0)  // If the delay is at its max or there is no delay, reverse the fade direction.
  {
    fadeDir *= -1;
    curDelay += fadeDir;
  }
  if (fadeCounter == fadeRate)
  {
    curDelay += fadeDir;
    fadeCounter = 0;
  } else {
    fadeCounter++;
  }
  for (i = 0; i < 24; i++)  // Flash the LEDs.
  {
    digitalWrite(i + 1, HIGH)
  }
}

Fading LEDs on a digital pin?  IT SHOULD WORK.

+2 internets to anyone who can explain how this will "dim" an LED on a digital pin that only has an on or off state.
« Last Edit: July 10, 2010, 12:18:06 AM by Jorsher »
Logged

SgtB

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 406
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #54 on: July 10, 2010, 01:05:58 AM »

Remember that you can buy mux/demux chips to expand your outputs and inputs for way less than a bigger board. I use shift registers to expand my outputs on slower projects. They cost about 25 cents each.
Logged

onlyflash944

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 2741
  • Jack of all trades, Master of none
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #55 on: July 10, 2010, 08:41:05 PM »

bump

Quote
void fadeAll();
{
  int maxDelay = 20;    // Max delay in milliseconds.
  int curDelay = 20;    // Current delay.
  int fadeRate = 10;    // Delay between incrementing the fade.
  int fadeCounter = 0;  // Counter for the fade rate.
  int fadeDir = 1;      // Direction of fade.
  for (i = 0, i < 24, i++)  // Turn all LEDs off.
  {
    digitalWrite(i + 1, LOW)
  }
  delay(curDelay);  // Delay before flashing LEDs.
  if (curDelay == maxDelay || curDelay == 0)  // If the delay is at its max or there is no delay, reverse the fade direction.
  {
    fadeDir *= -1;
    curDelay += fadeDir;
  }
  if (fadeCounter == fadeRate)
  {
    curDelay += fadeDir;
    fadeCounter = 0;
  } else {
    fadeCounter++;
  }
  for (i = 0; i < 24; i++)  // Flash the LEDs.
  {
    digitalWrite(i + 1, HIGH)
  }
}

Fading LEDs on a digital pin?  IT SHOULD WORK.

+2 internets to anyone who can explain how this will "dim" an LED on a digital pin that only has an on or off state.

PWM?



and no i didn't even look at the code
Logged

You read some forums? nbspnbsp Cool, I tune cars.

  Its your fucking car, if you want to hack it up fucking go for it.

Jorsher

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 8575
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #56 on: July 10, 2010, 09:28:05 PM »

Nah they only give the option of HIGH and LOW (on/off, 0/1) on those ports.  There's some PWM pins and some analog ones but not enough, this will work by flashing the LEDs to make them appear dimmer without your eye actually being able to tell it's flashing.
Logged

SgtB

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 406
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #57 on: July 10, 2010, 10:10:05 PM »

That's bit banged PWM. It's not as clean, but it works for LEDs.
Logged

onlyflash944

  • Certified OG
  • *****
  • Offline Offline
  • Posts: 2741
  • Jack of all trades, Master of none
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #58 on: July 10, 2010, 11:09:06 PM »

this will work by flashing the LEDs to make them appear dimmer without your eye actually being able to tell it's flashing.

so it's PWM
Logged

You read some forums? nbspnbsp Cool, I tune cars.

  Its your fucking car, if you want to hack it up fucking go for it.

92CXyD

  • Twincharged Smeghead
  • Global Moderator
  • Certified OG
  • *****
  • Offline Offline
  • Posts: 6775
  • I look around and all I see is Smegheads
Re: Pretend to be JD/become the next Fred for 4.30$
« Reply #59 on: July 11, 2010, 11:52:22 AM »

could this gismo work to control some valves opening and closing at 1ms or less?

Pages: 1 [2] 3   Go Up