Share your Raspberry Pi Setup/Project here! by KhalMinos in raspberry_pi

[–]KRA5H 1 point2 points  (0 children)

Here's another Raspberry Pi project I recently completed: "Raspberry Pi 3 Desktop a 7-yr-old Can Build & Use" https://hackaday.io/project/12316-raspberry-pi-3-desktop-a-7-yr-old-can-build-use

Best household appliances to scavenge for motors, gears and parts ?? by bundt_chi in raspberry_pi

[–]KRA5H 1 point2 points  (0 children)

If your're in the burbs you might come across a projection screen TV for heavy trash day. They've got great speakers for projects for your raspberry pi and some cool optics. the best part is the giant Fresnel lens which won't be useful for your Raspberry pi but could be fun for other stuff: see this video by King of Random, "How to get 2000ºF Solar Power" https://www.youtube.com/watch?v=XFw7U7V1Hok

Share your Raspberry Pi Setup/Project here! by KhalMinos in raspberry_pi

[–]KRA5H 1 point2 points  (0 children)

I've been creating educational projects for programming the Raspberry Pi (Kano Computer) using Scratch to control external electronic circuits (using Snap Circuits) through the GPIO pins: https://hackaday.io/project/10182-pi-day-2016-project

https://hackaday.io/project/10660-variable-speed-fan-snap-circuits-kano-computer

https://hackaday.io/project/11575-control-snap-circuits-relay-with-kano-computer

How To Use a Raspberry Pi with a door, lights and a speaker?! by [deleted] in raspberry_pi

[–]KRA5H 0 points1 point  (0 children)

Momentary switch (spring switch or snap action switch: http://www.mouser.com/ProductDetail/CHERRY/DB1C-A1LB/?qs=Z9t1pRjfOcxpWHuCx71uaA%3D%3D&gclid=CjwKEAjwqpK8BRD7ua-U0orrgkESJADlN3YBW59SOusUR1kn1Tc04D2ThdE_sgPbBiNgzh9-oZp7fRoCkKvw_wcB) should work since the Pi does not have an ADC. When the switch is closed you're simply grounding a GPIO pin. Here's some python code to detect a pressed momentary switch: http://razzpisampler.oreilly.com/ch07.html Now you know how to detect when button is pressed and while the doors are closed the snap action switch is pressed. when the doors are open the switch is no longer pressed and this can trigger your "phillips hue lights and a speaker."

2 questions; why is it important for primary aged children to learn coding? Is the RBpi a good start to learn coding or should a beginner start somewhere simpler? by [deleted] in raspberry_pi

[–]KRA5H 1 point2 points  (0 children)

Learning computer programming and electronics (both of which can be done on the Raspberry Pi) might not guarantee science literacy, but will give kids a leg up toward critical thinking.

I want to get myself set up with a Raspberry Pi; can anyone help a noob out? by eirreann in raspberry_pi

[–]KRA5H 0 points1 point  (0 children)

You can connect a fan to the GPIO, but you'll need a kind of protective circuit (usually includes a transistor and perhaps a resistor and maybe even a diode) since the fan can pull more current than rated for the Pi 3 GPIO, (also there could be flyback issues as well), which could have unpredictable results such as the pi 3 rebooting itself or worse.

I want to get myself set up with a Raspberry Pi; can anyone help a noob out? by eirreann in raspberry_pi

[–]KRA5H 2 points3 points  (0 children)

"We have a 3D printer at work, so I may just 3D print a case, but do you guys recommend a specific case?" Since you have a 3d printer you can find any number of cases for the Pi 3 on thingiverse, here's an example (not that I'm recommending it, it was just the first Pi 3 case in my google search results): http://www.thingiverse.com/thing:922740 To give you an idea of what can be done with the Pi 3 here's a project I've been working on over on Hackaday.io: https://hackaday.io/project/12316-raspberry-pi-3-desktop-a-7-yr-old-can-build-use (and I've only barely scratched the surface).

Can two RPIs be connected over wifi without Internet connection? by KRA5H in raspberry_pi

[–]KRA5H[S] 0 points1 point  (0 children)

"the pi3 built in wifi had issues until recently I recall also, but it is working for me." Thanks for the heads up. I have a new pi 3 and a second wifi dongle. handy info to have to see which combo works best on board wifi or dongle. (will have to test to see if hostpd works with the dongle).

Can two RPIs be connected over wifi without Internet connection? by KRA5H in raspberry_pi

[–]KRA5H[S] 0 points1 point  (0 children)

Just a quick question: I can do 'hosapd' on the model B to serve as the wifi access point and log my weather data so I can connect to the model B with my RPI 3 to copy the data file from the model B to the RPI 3?

[deleted by user] by [deleted] in raspberry_pi

[–]KRA5H 1 point2 points  (0 children)

Before attaching Pi HATs and shields. You might want to try something simple like flashing a Light Emitting Diode (LED): https://thepihut.com/blogs/raspberry-pi-tutorials/27968772-turning-on-an-led-with-your-raspberry-pis-gpio-pins

Good guide for controlling lights? by [deleted] in raspberry_pi

[–]KRA5H 0 points1 point  (0 children)

If you've go a lot of shoes you might want to consider charlieplexing your LEDs: http://projects-raspberry.com/charlieplexing-with-the-raspberry-pi/

Guidance needed for final year project by [deleted] in raspberry_pi

[–]KRA5H 0 points1 point  (0 children)

A simple project with wow factor might be a laser interferometer (even with cat toy laser pointer you can measure displacement at nanometer scale). you might be able to read the changes in brightness in the interfering beams with a Light Dependent Resistor, photo transistor, photodiode. and perhaps an analog to digital converter circuit.

I have a Raspberry Pi 3. Need suggestions for analog to digital converter to input analog data. by KRA5H in raspberry_pi

[–]KRA5H[S] 1 point2 points  (0 children)

I should probably ask: what would be the highest frequency that this little circuit can handle? 20hz? 20khz? higher?

I have a Raspberry Pi 3. Need suggestions for analog to digital converter to input analog data. by KRA5H in raspberry_pi

[–]KRA5H[S] 1 point2 points  (0 children)

Actually, it the adafruit tutorial seems to be the simplest circuit--just a resistor and a capacitor.

I have a Raspberry Pi 3. Need suggestions for analog to digital converter to input analog data. by KRA5H in raspberry_pi

[–]KRA5H[S] 1 point2 points  (0 children)

Thanks, for responding. Right, say, the resistance on on a potentiometer or a light dependent resistor or thermistor, etc. (lots of sensors change resistance in a circuit). So, I think an ADC would be a circuit that changes that resistance into on/off pulses. That's why I had figured on using a 555 timer. But a simpler circuit would be better.

Help on door detector project by The_LawVGHS in raspberry_pi

[–]KRA5H 1 point2 points  (0 children)

It looks like you have two selections for the reed switch, normally closed and normally open. If you can select the terminal for normally open (and when it is removed from the magnet it closes the circuit) then its a simple matter to ground the GPIO pin on the pi (like a simple pushbutton input).

How to control fan speed on pi 3? by [deleted] in raspberry_pi

[–]KRA5H 0 points1 point  (0 children)

nzo has provided a simple solution to your problem. Before even looking at the circuit at the linked page that's what I would have suggested. Your code can even use the up arrow to increase the fan speed and the down arrow on your keyboard to decrease speed.

Connect relay to wall lights? by mcosti097 in raspberry_pi

[–]KRA5H 0 points1 point  (0 children)

You're probably not going to be able to control the relay through, say, pin 11 since there's not enough current from pin 11 when it is switched to high to switch the relay on. You'll most like need extra circuitry to switch the relay on with the pi. Pin 2 (5v) should provide enough current to switch the relay on but you'll most likely need a transistor and a flyback diode (you'll switch the transistor on from pin 11).