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
Sweevo
Nov 8, 2007

i sometimes throw cables away

i mean straight into the bin without spending 10+ years in the box of might-come-in-handy-someday first

im a fucking monster

Doc Block posted:

looks like UnrealEd supports OS X now.

very interesting...

all real game developers already use windows/linux toolchains, so all osx support means is more terrible amateur games, probably about slenderman

Adbot
ADBOT LOVES YOU

Doc Block
Apr 15, 2003
Fun Shoe
hmm, yes, let me develop my ios game on windows.

NOT
-borat

Luigi Thirty
Apr 30, 2006

Emergency confection port.

if i wanted to buy a AY-3-8910 off the internet, how can i reduce my chances of buying a fake chinese knockoff?

CamH
Apr 11, 2008

posting from an idiot spare time project

coffeetable
Feb 5, 2006

TELL ME AGAIN HOW GREAT BRITAIN WOULD BE IF IT WAS RULED BY THE MERCILESS JACKBOOT OF PRINCE CHARLES

YES I DO TALK TO PLANTS ACTUALLY
cryengine for $10/month now, no royalties

http://www.cryengine.com/news/crytek-announces-its-cryengine-as-a-service-program

loll unity broke the market

01011001
Dec 26, 2012

rock bottom, here we come

Sweevo
Nov 8, 2007

i sometimes throw cables away

i mean straight into the bin without spending 10+ years in the box of might-come-in-handy-someday first

im a fucking monster

Luigi Thirty posted:

if i wanted to buy a AY-3-8910 off the internet, how can i reduce my chances of buying a fake chinese knockoff?

the chinese knockoffs generally do work. whether they last 20 years of 24/7 use is another thing, but i guess it depends what you want it for. otherwise a lot of the new-old stock chips are real 8910s with the registers at different addresses that were made for OEMs back in the day. if you're modifying/writing your own software then these are perfectly fine.

otherwise the yamaha clones like the YM2149F seem to be easier to find

Sweevo fucked around with this message at 16:55 on Mar 20, 2014

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag

Sweevo posted:

all real game developers already use windows/linux toolchains, so all osx support means is more terrible amateur games, probably about slenderman

thanks for this, i'll be sure to let our guys know that we're doing it wrong

Sweevo
Nov 8, 2007

i sometimes throw cables away

i mean straight into the bin without spending 10+ years in the box of might-come-in-handy-someday first

im a fucking monster

i mean actual games, not fart apps and angry birds knockoff #2957

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
burp AND fart, if you please

Pittsburgh Fentanyl Cloud
Apr 7, 2003

Re-doing my suburban house to make room for a bigger driveway, a couple of car ports, and a handjob station operated by me

Werthog 95 posted:

*in coach z voice* i had that once

lol

Polo-Rican
Jul 3, 2004

emptyquote my posts or die
Another goon and I wasted a few months of our lives making an episodic, slightly-twin-peaks-inspired murder mystery typing game, using the universally-respected web platform Adobe® Flash®.

http://www.holywowstudios.com/worldoftyping/

GameCube
Nov 21, 2006

mistakes were made

sinekumquat
Jun 12, 2005

the most dangerous philosopher in the west
College Slice
i've heard that smoking weed can trigger latent schizophrenia and now i've read it in person

spankmeister
Jun 15, 2008






smoke a weede

spankmeister
Jun 15, 2008






just not too much

Doc Block
Apr 15, 2003
Fun Shoe
it's almost like if you do and/or ingest too much of something it can be harmful!

spankmeister
Jun 15, 2008






Doc Block posted:

it's almost like if you do and/or ingest too much of something it can be harmful!

boulderdash!

Luigi Thirty
Apr 30, 2006

Emergency confection port.

Sweevo posted:

the chinese knockoffs generally do work. whether they last 20 years of 24/7 use is another thing, but i guess it depends what you want it for. otherwise a lot of the new-old stock chips are real 8910s with the registers at different addresses that were made for OEMs back in the day. if you're modifying/writing your own software then these are perfectly fine.

otherwise the yamaha clones like the YM2149F seem to be easier to find

oh yeah i forgot yamaha made a licensed version. i just want to hook it up to a breadboard and make sweet square wave beeps and boops.

echinopsis
Apr 13, 2004

by Fluffdaddy

Doc Block posted:

it's almost like if you do and/or ingest too much of something it can be harmful!

u cant do too many mushrooms unless you have a serious eating disorder













righto - electronics
so ive got this led driver ( led+driver ) to power. its minimum voltage is 8v. ive got an arduino. its also got a couple of fans ( fan ) to run. ive got an lcd sheild with a few buttons so in a later revision of this ill be using that so how to pin out while that shield is on is a different challenge but im not there yet

the fans are video card coooler fans so i think they are 12v but they seem to work fine with 5 or so


so im wondering in general the best course of action for powering this from mains


as far as i know the arduino cant handle da current to power these things directly
so i need a power supply that can power the fans, led driver and the arduino.
if i get a 12v power supply i foresee that i can plug this directly to aruidno amiright? then use bipolar transistors (i dont have any mosfets and poo poo loads of trannys) for switching the fan and the led driver, both of which can take 12v


i doubt i will be using many amps. powersupply are those kinds of pwoer supplies ok? i cna connect them to mains power huh (240v)

i appreciate you helpin my noobness



e: alternatively i could use something like this http://www.fasttech.com/products/0/10000007/1147900-4-channel-ac-dc-relay-module for switching and be lazy

echinopsis fucked around with this message at 20:20 on Mar 21, 2014

Dr. Honked
Jan 9, 2011

eat it you slaaaaaaag
what are you trying to make?

Jonny 290
May 5, 2005




[ASK] me about OS/2 WARP

echinopsis posted:



righto - electronics
so ive got this led driver ( led+driver ) to power. its minimum voltage is 8v. ive got an arduino. its also got a couple of fans ( fan ) to run. ive got an lcd sheild with a few buttons so in a later revision of this ill be using that so how to pin out while that shield is on is a different challenge but im not there yet

the fans are video card coooler fans so i think they are 12v but they seem to work fine with 5 or so


so im wondering in general the best course of action for powering this from mains


as far as i know the arduino cant handle da current to power these things directly
so i need a power supply that can power the fans, led driver and the arduino.
if i get a 12v power supply i foresee that i can plug this directly to aruidno amiright? then use bipolar transistors (i dont have any mosfets and poo poo loads of trannys) for switching the fan and the led driver, both of which can take 12v


i doubt i will be using many amps. powersupply are those kinds of pwoer supplies ok? i cna connect them to mains power huh (240v)

i appreciate you helpin my noobness



e: alternatively i could use something like this http://www.fasttech.com/products/0/10000007/1147900-4-channel-ac-dc-relay-module for switching and be lazy

yeah those PSus are what you need

be lazy. thats what you need to get here. you could roll your own but you'd end up building that board, basically

echinopsis
Apr 13, 2004

by Fluffdaddy

Jonny 290 posted:

yeah those PSus are what you need
awesome, i was hoping so

quote:

be lazy. thats what you need to get here. you could roll your own but you'd end up building that board, basically

good to know, thanks :)




i really love this poo poo, but i cant just go and make something for no reaons. now i have a 'secret' project and am inspired again


Dr. Honked posted:

what are you trying to make?

echinopsis
Apr 13, 2004

by Fluffdaddy
its a special christmas present but i dont want anyone to know what it is exactly

Luigi Thirty
Apr 30, 2006

Emergency confection port.

electronics scares me and i don't want to blow up another arduino

i have a 5V output pin, a 3-terminal normally open microswitch, and an input pin

how do i wire it so i can detect that the switch is closed?

I also have 3 more microswitches and a parallel to serial encoder but i'm not quite there yet

Jonny 290
May 5, 2005




[ASK] me about OS/2 WARP
two connections to the arduino pin:

+V to the pin through a 10k resistor or something close
wire to one side of the switch


connect the other side of the switch to ground. set it as an input pin. if it's high the switch is open, if it's low the switch is closed

GameCube
Nov 21, 2006

Luigi Thirty posted:

electronics scares me and i don't want to blow up another arduino

i have a 5V output pin, a 3-terminal normally open microswitch, and an input pin

how do i wire it so i can detect that the switch is closed?

I also have 3 more microswitches and a parallel to serial encoder but i'm not quite there yet

Sagebrush
Feb 26, 2012


professor lumpy balls, they call me
wire the microswitch between ground and the input pin

in your arduino code do this

code:

#define SWITCH whatever

void setup() {
  pinMode(SWITCH, INPUT);
  digitalWrite(SWITCH, HIGH);
}

void loop() {
  if (digitalRead(SWITCH) == LOW) {
    //do a thing cause the switch is closed
  }

}

this sets the pin as an input but also sets the internal pull-up resistor on it so it stays high by default and doesn't float. closing the switch brings it low. this is the proper way of reading switches (at least it's more common than using a pull-down and putting vcc on the switch)

GameCube
Nov 21, 2006

yeah do what sagebrush said, it's the same thing except it's already built in for u. but my beautiful schematic demonstrates what's goin on

Sagebrush
Feb 26, 2012


professor lumpy balls, they call me

Jonny 290 posted:

two connections to the arduino pin:

+V to the pin through a 10k resistor or something close
wire to one side of the switch


connect the other side of the switch to ground. set it as an input pin. if it's high the switch is open, if it's low the switch is closed

very good, jonny, but AVRs have internal pullups :ssh:

GameCube
Nov 21, 2006

how did u explode an arduino anyway

Luigi Thirty
Apr 30, 2006

Emergency confection port.

Werthog 95 posted:

how did u explode an arduino anyway

shorted something in wiring and melted the atmega and a shift register

since then i've been spending a lot of time writing an in-band command set for this lcd shield i have or basically anything not involving wires

Sagebrush posted:

wire the microswitch between ground and the input pin

in your arduino code do this

code:

#define SWITCH whatever

void setup() {
  pinMode(SWITCH, INPUT);
  digitalWrite(SWITCH, HIGH);
}

void loop() {
  if (digitalRead(SWITCH) == LOW) {
    //do a thing cause the switch is closed
  }

}

this sets the pin as an input but also sets the internal pull-up resistor on it so it stays high by default and doesn't float. closing the switch brings it low. this is the proper way of reading switches (at least it's more common than using a pull-down and putting vcc on the switch)

i can program the thing in C just fine, it's electricity that scares me :ohdear:

GameCube
Nov 21, 2006

Luigi Thirty posted:

shorted something in wiring and melted the atmega and a shift register

since then i've been spending a lot of time writing an in-band command set for this lcd shield i have or basically anything not involving wires
oh dear. did not realize that was possible

quote:

i can program the thing in C just fine, it's electricity that scares me :ohdear:

nah that code specifically is how u set up the internal pullup resistor. the avr has the circled part built in and that's how you enable it

GameCube
Nov 21, 2006

get used to seeing this pic. u know how pagancow posts those goddamn gifs from his video all the time? that's gonna be me with this mspaint schematic

echinopsis
Apr 13, 2004

by Fluffdaddy

Werthog 95 posted:

u know how pagancow posts those goddamn gifs from his video all the time?

Deacon of Delicious
Aug 20, 2007

I bet the twist ending is Dracula's dick-babies

some kinda ballchinian or something

Luigi Thirty
Apr 30, 2006

Emergency confection port.

okay i did it i'm a genius! what i want to build is a 4x4 input matrix, though currently i only have enough parts to build a 2x2 matrix. or i could figure out how to use the parallel to serial converter i have

GameCube
Nov 21, 2006

check to see if there's an arduino library for that. as an idiot child i wasted days writing an hd44780 implementation before realizing one was included with the arduino ide

Luigi Thirty
Apr 30, 2006

Emergency confection port.

I told you i'm using atmel studio, not arduino ide. i found a C hd44780 library but i couldn't get it to work right so i wrote my own :smug:

i know a lot more about software than hardware

Adbot
ADBOT LOVES YOU

GameCube
Nov 21, 2006

lol as if i'm gonna read a post :rolleye:

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