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
ante
Apr 9, 2005

SUNSHINE AND RAINBOWS

Talaii posted:

Hostapd is what you want. It's a software base station for linux - it will let you set your RPi up as an access point, and then connect your devices through it. It does, however, require using a wireless card with drivers that support being put into AP/Master mode - look up your particular driver to see whether it supports it. I was running this at home with an atheros card when my router was being replaced.

Once you've got hostapd set up it'll show up as a wireless access point you can connect to. You'll then need to set up a DHCP server to hand out IP addresses to the connecting computers/phones. I've used dnsmasq in the past - it's easy to get set up. Then you should be able to join the network, get handed an IP address and start streaming.

Did you just make dedicated wireless routers obsolete?

Adbot
ADBOT LOVES YOU

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
Newark?

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS

Hadlock posted:

I just want to control four or five servos, to do a sort of robot arm thing with some sensors on the end. I think an Arduino board with a servo expansion shield runs about what a RPi costs. How many servos can you control off a single pi board?

None, same with the Arduino. Running servos directly off the Pi/Arduino pins will likely fry them.

An Arduino with some sort of motor driver shield is more well-suited to what you have in mind.

edit: So yeah, I'm just confirming what you already suspected

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS

armorer posted:



I don't live in the sates you mentioned, so setting up something to water my plants might not carry the intended humor value. (Assuming that's where you were headed!)


Some dude on the forums is making a twitter-enabled bong

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
Are there any low-effort methods right now to hook up a capacitive touchscreen to get an almost-tablet form factor?

I could probably design something like that from scratch, but that'd be a project all to itself.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
Where in Canada?

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS

Geektox posted:

Vancouver

Lee's Electronics on Main is selling them for $45

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
Are there any $3 chinese ebay cases or something out there? I can't find anything less than $10 shipped to Canada and that's just too much

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
You mean the Pi will be in the pipe? Do you know the diametre of the pipe? Because you could measure the movement of wheels on opposite sides of the robot, bracing against the walls.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
I like the case-chat. I haven't got my Pi yet, so I didn't know about the box. That sounds great until I trash it, then I'll move onto Lego. Thanks, guys. Sparkfun is pretty out of the question because they have some pretty stupid shipping options to Canada.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
Yes, but you won't be able to run the motor directly from the Pi. It draws too much current and will burn out your board. Get a little motor controller board from eBay, like $2.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS

bobua posted:

Auh, good call. Didn't think about 'giving' the money somehow. Card readers can be had for cheap though http://www.digikey.com/product-detail/en/V3A-4K/Z2064-ND/503130 ($22)

Yeah, but as mentioned, he just needs a photo interrupter switch. Like this:



If he takes apart a printer to get the rollers/motor assembly to feed the user money, he'll also find a whole shitton of those switches.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS

keyvin posted:

This thread is too quiet. Anyone doing anything cool with their PI? I am making a kit for deaf people that convert their standard doorbell into a doorbell that sends a text when it is pressed. It uses an AC optocoupler and the python software just polls a gpio pin. The rest is just sending a http request to an sms gateway via mechanize.

I was making something using the gPhoto2 libraries to make the Pi send a liveview from my DSLR to my phone via Bluetooth. I got the Pi talking to my camera, but then before I could fully figure out Bluetooth, my phone's Bluetooth seems to have died and doesn't work for any kind of file transfer now.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS

Jeesis posted:


Also, I want to be able to SSH into the pi without it connected to a router. Would I have to set it up as its own AP or is it possible to set this up over bluetooth via a dongle or some other way?



Give the Pi a static IP, plug it into your computer with an ethernet cable. Enable internet sharing so the Pi can get online through the cable.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
Yeah, pretty straightforward. Assuming you have some sort of sensor to detect the water?

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
65 pounds is still pretty expensive for something marketed as a low-cost computer.

There's stuff like this: http://hipstercircuits.com/finally-a-working-4-3-hdmi-compatible-lcd/

It uses a $20 screen you can get off eBay and maybe $10 worth in parts (but if they were to sell it, it would probably be closer to $20).

I recently bought a $6 Nokia cellphone replacement screen, and I should be able to get it working with the GPIO.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS

Install Windows posted:

When the average computer bought costs $400? Really?

Who said anything about an average computer? The entire ethos of the Pi was, "hey, it would be great if we could send a whole bunch of computers to developing nations and kids under the poverty line. Let's try reeeeaaally hard and get the price down to $35 (crazy cheap)."


It's pretty obvious that the creators of that display's kickstarter have no such intention. I'm saying that even without economies of scale, it's very possible to get a display for less than the price of a Raspberry Pi.


The displays I pointed out have lower resolution yeah, that one is a fair point, but I don't know how important that is. Most people probably aren't using that screen to watch movies.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
I'm planning a project that might be a little ambitious.


I want to have a Raspberry Pi(the basestation) hooked up to a LAN-only wireless router. Elsewhere in my house (probably multiple spots, actually), I'll have a Pi(the node) hooked up to wifi adapter and a 3" touchscreen LCD (both digitizer and LCD from a Nintendo DS - you can get these together for ~$10).
On that screen, you will be able to navigate the filesystem of the basestation, and select a media file, which will then start playing through the speakers/media centre/whatever is connected to the node.

Ideally, the node's interface displays the song's album art, and you can skip the track by swiping, that kind of thing.


So of these goals, is there anything I need to know? And pitfalls or open-source projects that will make life easier?


I haven't been able to find any evidence of people getting the DS LCD to work with a Raspberry Pi, but I'm prepared to design my own converter board. Hopefully I've just missed it, though. People have gotten the touchscreen to work with both Arduino and Windows.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS

mod sassinator posted:

This might help, someone has written Linux framebuffer drivers for some small LCDs: http://www.adafruit.com/blog/2013/11/22/raspberry_pi-piday-raspberrypi-46/

I don't think they cover the DS LCD, but the code is probably a good start for looking at how to make a framebuffer driver.


evol262 posted:

Ardiuno is helpful. You're basically looking at fbdev+mplayer+mpd (either/or works, but mpd for playing/playlists/whatever and mplayer for art/graphics/fbdev support would be easiest) and writing a small plugin which says "MOUSEDOWN+left x pixels" -> next. It'll be ambitious for sure

Thanks guys, I think both of these provide literally everything I need (along with the NDSi LCD datasheet I found)

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
Tbqh a CNC controller isn't exactly rocket science.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
Pretty sure CNC control and FPGAs don't intersect why are we even talking about this?

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
If you treat an Arduino as a less-powerful computer than a Pi, then yeah, it doesn't seem worth it.

Think of it more as instead of having a cheap computer that can do everything kinda well, it's a development package to make as many $2 chips as you want do one thing really well and have guilt-free permanent deployment.

From that perspective, the Arduino is actually really good value for money.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
http://www.overclock.net/t/1366419/solved-how-can-i-go-about-reclaiming-lost-space-on-sd-card#post_19416298

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
gently caress all that specialised distro poo poo.


Get N00BS or Raspbian or whatever, do a general linux python tutorial and then write something to check tweets every hour and email you about it or randomly change your facebook status to a charles manson quote or google image search dicks and post them to instagram or whateverthefuck you want.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
Absolutely, but the switches would be read after boot.


An easier way would be to use a breakout board for the SD card, and switch between two different SD cards.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
I don't know anything about that. Many people use microSD cards with adapters so they don't have to mess with the card itself, though.

I snapped the connector on mine, but that's because I had it naked kicking around in my backpack for four months. Just get a case that somewhat supports the card and don't abuse it and you should be fine.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
My $1 tiny-form-factor eBay wifi adapter worked fine (with a powered hub).

My $1 tiny-form-factor eBay BT adapter worked fine without a powered hub.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS

Jago posted:

Wow! Thanks for the two worthless bits of information!

You're pretty special.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
I wonder what gets destroyed when you plug it into the laptop. The laptop, the Pi, or both?


edit:

I can't think what I'd use it for, but I think this is pretty badass, for the record. It's an even smaller, deployable Pi with an included dev board.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
I was actually just thinking last night that I really need an IR sensor for home theatre Pi.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS

What do I look like, made out of money?

eightysixed posted:

What am I missing here? Why not just use your phone? xbmcRemote is a great app.

I used to do this with a different app at my last apartment when I had everything running to my desktop. I usually ended up just getting up to do it on my computer because it was a lot of work to pull out my phone (which I don't even necessarily have on me when I'm home), type in the password, load up the app, and wait for it to connect. Just to turn down the volume a little or whatever.


peepsalot posted:

Are you sure you can't just use your TV remote? libCEC worked great for me out of the box with raspbmc and openelec.

I totally forgot that this was a thing, I meant to look into this :coal:

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS

keyvin posted:

The Banana Pi got me looking around, and there are a ton of cheap, small form factor arm desktop replacements. Some boast quad core 1.7ghz Exynos processors and 2gb of ram and they manage to do it at a cheaper price point than the Banana Pi. A few have GPIO and other interfacing headers. This looked pretty cool for the price .

That looks amazing.

Other than the microHDMI :(

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
Which means no hub for some applications.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
I don't think analog pins (other than audio, I guess) are much of a thing for SoCs. They'd have to add special chips, which adds cost.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
It's definitely microcontroller stuff and not really full-computer stuff, and realtime interrupts are not really trivial programatically. I mean, it's a great goal, and probably a really good project to cut your teeth on programming, but it is fairly ambitious for a first project. Don't expect to be done in a weekend.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
ATMegas should have internal pulldowns (or maybe pull-ups?)


This thread is getting kinda over-engineery and funny. I like it.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS

Kodilynn posted:

Kind of a strange question, is there an option in any of the distros that I could use on the Pi that would allow a screen rotation? Like you're looking at the display normally and you can type something to flip the display upside down?

Edit: the very odd goal would be to allow a toggle switch to flip it 180 degrees if two people were sitting on opposite ends of it. So a command line that could be mapped to a button or something.

http://www.faqforge.com/linux/rotating-screen-in-ubuntu-and-linux-mint/

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
I'm sure you'll still be able to find the regular ones. If the form factor is significantly smaller, then it is a worthwhile improvement.



Yes, the extra pins are more GPIO. The old Pis have them too, they're just located in a different position and don't have headers soldered into them from factory.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS

CygnusTM posted:

And, thus, he has presented scales that should be recognizable anywhere.

Nice.




Has anybody used the Compute Module at all? I really want to see how small it is in person.

I, uh, may have designed a wiring harness for it in Altium while at work. With that done, it should be trivial to make a board with pretty much anything on it.

I'm drawing a blank, though. Currently I've got a touchscreen controller chip and connector, and I'm going to see how a lot of TFT screens interface with the Pi.

Other than that, I really want to make something cool, but I have no idea what.

Adbot
ADBOT LOVES YOU

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
You can buy them individually now through the usual channels.

And yeah, no idea why it's so expensive. The cost of components are, like, $30 maybe.

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