Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer
My wife got me this one for my birthday at the beginning of December:

http://www.makershed.com/Ultimate_Microcontroller_Pack_p/msump.htm

I've done a few of the intro guides, but haven't really had the time to get too far into it due to work and the holidays.

She also got me this kit for Christmas, which has a lot of other assorted parts that will work nicely with the Arduino:

http://www.thinkgeek.com/product/b80b/?srp=1

Adbot
ADBOT LOVES YOU

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer
I'm building a gun safe monitoring system using my Arduino. Created a thread in TFR: http://forums.somethingawful.com/showthread.php?threadid=3548329

Figured it would be of interest in here, and not everybody frequents TFR.

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer

extravadanza posted:

I wake up early to get to work (up at 5:15am, work starts at 6:30) and the sun doesn't peek above the horizon until I'm at work. I was looking at investing in one of those Phillips wakeup lights that slowly get brighter over 20 minutes or something and birds slowly start chirping louder and louder until it's your set alarm time, in which an alarm would go off to wake you up. Those things cost like $60-70! I have a perfectly good arduino uno sitting around unused which could *hopefully* do this cheaper.

I was looking at making the arduino control my bedside lamp, but it looks like buying or making dimming modules for wall outlet power is really expensive!
http://www.inmojo.com/store/inmojo-market/item/digital-ac-dimmer-module/

So, my next thought is to power some kind of low voltage LED array (I think the arduino supports 5v and 12v, maybe?). I'm not looking to light up the room, just enough to try to trick my Circadian Cycle into thinking it's morning at 5:15am so I'm not a drowsy mess in the shower and getting dressed. I'm looking to not spend more than $15-$20 bucks on this. Does it sound possible? Can an arduino uno accurately keep time on it's own through programming? I see there are clock modules available. I'm pretty much totally new to this.

Supplies I have available are Arduino, project wires, breadboard, assortment of resistors/caps etc.

I ended up building this kit last winter after spending lots of time pondering how to do thus last year. Combined with a cheap outlet timer, it works great. http://www.amazon.com/gp/aw/d/B001IRQDRS

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer

extravadanza posted:

Did you think about using LEDs instead of a traditional light bulb? I figure I don't need it to be like a sun-in-my-room bright... but LEDs aren't the best at filling a room with light. I worry LEDs won't be bright enough. It looks like those controllable dimmer boards may be a necessity if I wanted to go the full lightbulb route.

I did look at LEDs, but I did this before I got into and really understood stuff like Arduinos. I also realized the same things about LEDs, you've got to have a lot of them, and the color can be a bit harsh with white LEDs. The lightbulb is a lot more warm yellow/Orange and sunrise like than a single color led setup would be. You can also tweak the total brightness of the light by changing the wattage of the bulb.

Of course, I might end up having to scrap it and go with an LED setup eventually as incandescent bulb availability goes away...

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer

MiNDRiVE posted:

Have you thought about diffusing the light from the leds?

I was talking more about the color temperature of the light produced, not so much about the individual points of light that LEDs create.

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer
I would probably do that now, but at the time building the programmable dimmer kit was about the extent of my capabilities. Hell, I should probably bust open the project box and redo a few of my solder joints.

Now? An Arduino, a couple meters of RGB LED strip off ebay for $15, and a couple mosfets.

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer
This article is pretty timely: http://makezine.com/video/sunrise-alarm-clock/

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer
Adafruit also makes these 24 channel PWM expansion breakouts that use SPI:

http://www.adafruit.com/products/1429

A bit pricey if you're looking at that many LEDs though.

EDIT: And this 16 channel one that uses i2c

http://www.adafruit.com/products/815

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer
Here's the Arduino controlled LED light thing I've been working on recently:

https://www.youtube.com/watch?v=fleFgcl8dNo

Here's the description from the video, which explains everything pretty well:

quote:

Arduino controlling an analog 5050 RGB LED strip, using one button and one pot for manual control, and a MSGEQ7 to input the audio. Controller has 7 modes, which are cycled through by pressing the one button.

1) Audio visualization. Uses audio input from a headphone jack to change the value of the red, green and blue LEDs based upon low, mid, and high EQ values.
2) Solid color. (2:25) Uses pot to cycle through colors, varying RGB values based upon position.
3) Pulse. (2:47) Pulses last color chosen during setting 2, at a speed based upon pot position.
4) Color cycle. (3:12) Automatically cycles between red, green, and blue, and all the colors in between. Speed of cycle is based upon pot position.
5) Random color cycle. (3:35) "Random" values of RGB are chosen, then transitioned to.
6) Campfire mode. (3:53) Color and flicker programmed to simulate campfire. I still think it's a little too orange, but still tweaking.
7) White. (4:05) Sets red, green and blue to the same value to generate "white" light. Brightness is set by pot position.
8) Off. (4:22) All LEDs set to zero.

Once the button is pushed again, the controller cycles back to the first option.

Will post the code and schematic later.

It's going to go into a rolling sound system a coworker has made out of an Igloo Ice Cube cooler. He's upgraded the wheels to 10" pneumatic tires, has a 12v battery from a riding lawnmower and small automotive amp inside.



I've just got to figure out what I'm going to do for an enclosure, move everything to a PCB, and get it installed.

Here's a poorly done fritzing diagram for those interested:

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer
I have never seen them individually for sale in the US though, but I've seen quite a few of these 4 bottle dispensers for sale.

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer

TwystNeko posted:

I'd like to have a fake Vu-Meter,

Why do fake? Get a MSGEQ7, they can be had for $2 or so on ebay, and using them is pretty simple.

http://nuewire.com/info-archive/msgeq7-by-j-skoba/

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer
The MSGEQ7 actually creates a much better effect than just trying to FFT a microphone on an analog pin. Plus, you can use it to target only a particular frequency range of audio.

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer
I've got 10 MSGEQ7s that should be getting here next week. If they actually do come in, you're welcome to one for the cost of shipping, and it should make it to you before Halloween. You could even use your mic breakout with it.

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer
I wouldn't be concerned about a book, when there's a ton of free material online that's really quite good.

https://learn.adafruit.com/category/learn-arduino for example.

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer

ReelBigLizard posted:

EDIT: Actually I have a question. Anyone have any tips, tricks, go-to modules about getting safe, smooth power to an Arduino in an automotive application? I have a spare Arduino mini clone someone gave me and I think I'm going to pot it and throw it on my motorbike to monitor battery level, maybe fuel consumption and stuff.

Depending on what board it is exactly, you might be able to feed it straight 12v, and it'll convert on-board.

Otherwise, the quick and dirty using parts that you could probably source at a Radio Shack* would be a 7805 and a couple filter caps.

*Assuming all the ones in your area didn't close, and actually still have some stuff in stock. Even so, they used to fairly reliably have at least a 7805 and some capacitors.

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer

TheresaJayne posted:

I had dreams when younger to replace my car dash with a touch screen that was reconfigurable like the Consoles on Star Trek the Next Degradation.
Now i am bitter, twisted and writing code for pokemon on minecraft....

All you need for that on modern cars is a bluetooth OBDII reader and an Android tablet.

Here's an Android tablet that's got a dash cam, GPS, radar detector, and a bunch of other stuff built in. http://www.dx.com/p/7-capacitive-screen-android-4-1-car-gps-navigator-table-pc-w-wifi-car-radar-detector-car-dvr-353416#.VRYozC7ZWXk

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer

Combat Pretzel posted:

--edit:
And what's this Arduino.cc/Genuino vs Arduino.org business about?

Here's a rundown:

http://hackaday.com/2015/03/12/arduino-v-arduino-part-ii/

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer
Why not just use a regular, $50 USB KVM for the primary monitor, and then a second, $10 switch for the second monitor?

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer
Threw something together for my front porch on Halloween. Going to get either a black light or other colored bulb for the scream light, and I think I've got a paper lantern for the "normal" light to make it look more like my normal porch light. Using a PIR sensor for motion, and the audio is playing directly off a PWM pin on the Arduino.

https://www.youtube.com/watch?v=ccAL11wI_5s

Adbot
ADBOT LOVES YOU

n0tqu1tesane
May 7, 2003

She was rubbing her ass all over my hands. They don't just do that for everyone.
Grimey Drawer

Cardiac posted:

Back again with a newbie question.
I have a nano mounted on a breadboard with a very basic setup.
Which is a led to one pin out and one 433 MHz receiver with data, ground and vcc. The led should blink when receiving a signal through 433 MHz.

This all works when i connect the nano to the computer, but when I try to run it using a usb power supply, the led just blinks once (as it should in void setup) and nothing more.
I tried connecting to another working nano setup to rule out cable issues and that didn’t solve it.

It seems like a newbie thing. Can the serial of text output be an issue?

Have you tried a different USB power brick? If you're using a cheap or old one, it could be putting out noisy power that interferes with the receiver.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply