Raspberry Pi USB HUB+Power Supply in one. - Raspberry Pi General

Introducing the PiPUB (Powered USB Board).
The all-in-one Raspberry Pi power supply and USB hub.
Hey all,
Just wanted to gather interest for something that I am working on.
See attached photos...
What it is/has:
A x4 Port, Powered USB Hub
A Power supply for the Raspberry Pi with overvoltage protection built in.
A Power Switch that completely removes power from the Raspberry Pi after initiating a safe shutdown
An IR receiver
A Remote On/Off switch for any single IR command "learnt" from a remote of your choosing
And IR extender - Gives you the ability to stick the Pi to the back of your TV and have the IR receiver discreetly mounted to the bottom of the screen.
All of this and the ability to fit within your current Raspberry Pi Case
Let me know what you think. Would any of you be interested in one?
Edit:
Kickstarter campaign started: https://www.kickstarter.com/project...b-and-power-control-for-raspbe?ref=nav_search

So, it's actually just something like this?
Improved schematic:
Sent from my GT-P5210 using Tapatalk

Not really.
Your schematic shows bypassing the raspberry pi protection circuits. Although this is fine if you know 100% that you have a decent power supply. However, I don't consider this ideal.
My board does away with the microUSB port used to power the Raspberry Pi. Instead it has its own standard DC 5V power in (see picture) which has its own protection circuit equal to that of the Raspberry Pi. It then splits the power supply to the hub and Pi, dedicating constant 5V supply to the Pi through the GPIO. This means when you plug in your USB powered HDD into the PiPUB, the sudden current draw does not effect in any way the power supply of your Pi and your Pi is protected from power surges.

Pretty neat stuff! I need this kind of setup!
Sent from my SCH-I545 using XDA Premium 4 mobile app

I am the co developer of the PiPUB and have a few more technical and operational details to add.
The hub controller is a Multiple Transaction Translator type meaning all 4 ports run at their maximum speed regardless of the generation of USB device that is connected. Some hubs are slowed down when earlier generation devices are connected.
The PiPUB plugs into one of the existing USB ports by a small, near flush PCB connector. For the keener DIY’er you can solder the USB data lines to the back of the Pi’s USB connector.
All upstream and downstream USB ports are protected against ESD by high speed, low capacitance TVS diodes.
5V power is inputted via a standard 5.5x2.1mm DC connecter through a 3A poly fuse and large TVS for over-current and voltage protection. Power to the Pi is then split off through a 1.1A poly fuse to the GPIO pins, similar to the existing power distribution on the Pi. We have loaded up all USB ports to 500mA and had the Pi running with negligible voltage drop.
You can use either the on board IR receiver or plug in the IR extension. They both work at 38Khz which is fairly common amongst remotes. These pass IR from your remote to the Pi via GPIO 18 and also to the microcontroller to control the power to the hub and Pi. You can map your particular remote to control XBMC.
There is a power button and LED that sits to the left of the audio jack above the Pi’s status LED’s.
If the Pi is OFF, pushing the power button or the learned IR remote button turns the power ON. If power is ON and the power script is installed or the XBMC addon we have created is installed, our board will initiate a safe shutdown. If neither is installed power will be switched off straight away. GPIO 23 and 24 are used for this.
On board is an open collector transistor that allows you to switch loads up to 250mA from GPIO 25. The intent of this is to allow people to control their own peripheral like a fan if desired.
It fits into the Black Multicomp and ModMyPi Cases without modification. It is then up to you to drill and cut the holes you want. We recommend the Black Multicomp case as it is an easy plastic to work with, it is the cheapest and certainly looks the part! In the future we hope to design a 3D printable case and a laser cut acrylic case similar to the Adafruit version for people to make.
If you have any suggestions on how we could improve the design and function it would be much appreciated.

Great little board, where do I get one?
Sent from my GT-N7105 using XDA Premium 4 mobile app

Thanks! We will be running a little Kickstarter campaign in the next week or two. Will let you know.

Great board! I was looking for a solution to shutdown the Raspberry Pi with a remote control.
Will this board work with the new Raspberry Pi B+? (Just ordered one to get rid of my hub...)
I've got 2 suggestions:
1. add a radio control-module (receiver and sender), so you will not only be able to shutdown the Raspberry Pi but also devices like an external HDD or the TV pluged in a radio controlled power outlets.
(background: I'm using my RPi as server with an external HDD and a printer as well as a wifi-router and when i'm leaving home, I don't use it, so I'm looking for a convenient way to shutdown all devices.)
2. offer a case suited for the Rpi+PiPUB (perhaps as stretchgoal in your kickstarter-campaign?)

Unfortunately it won't work with the B+ as the power button sits where the new set of USB ports are. We may look at producing a B+ version if our Kickstarter is a success (starting in the next 24hrs).
1. If the other devices you are looking at controlling have IR then the PiPub has AUX pads which you could solder 2-3 IR LED's to in series. It is connected to GPIO25 with a transistor so the LED's can be powered correctly. Using LIRC and a script I can see no reason why you couldn't get it to shutdown/power-up your other devices when the learnt IR button for the PiPub has been received. I haven't tried this but it seems more than plausible.
But it sounds like you are using RF controlled power outlets which I'm unsure how you could interface.
2. Like you suggest we would love to offer a case as a stretch goal. Most likely just a laser cut acrylic or 3D printable design. However it would be awesome if we could get Multicomp to modify their design to suit the PiPub!

Kickstarter up and running...
Hi all,
Kickstarter campaign is up.
https://www.kickstarter.com/projects/22555674/pipub-powered-usb-hub-and-power-control-for-raspbe?ref=nav_search
Please spread the word and help us make this a reality.

Ah, great! Perhaps, shutdown the RPi via IR is enough. I'll see
I got some new questions...
1. As I understand, the PiPuB has an external power supply. Does this power supply power the Raspberry Pi as well, or does the RPi "still" need its own power supply? (could save one power outlet)
2. Is this IR expansion cable anything special, which can only obtained by you? Would be nice to buy it afterwards if neccessary.

Yup. One of best things about the PiPub is that it removes the need for heaps of cables. The single 5V 3A power supply poweres the USB hub and the Raspberry Pi.
The IR extension is nothing special. You can find these on the internet or even a local electronics store. We tested a few and found some to be less ideal than others in terms of practicality. The one we're offering is what we deemed to be the best option but you may very well find something better...

Thanks!
One last question comes to my mind:
How can I use an IR remote with XBMC? In your video, you showed how to program one button of the remote. But what about the rest? I.e. the Flirc USB stick comes with special software to provide this functionality.

phoenix0_4 said:
Thanks!
One last question comes to my mind:
How can I use an IR remote with XBMC? In your video, you showed how to program one button of the remote. But what about the rest? I.e. the Flirc USB stick comes with special software to provide this functionality.
Click to expand...
Click to collapse
XBMC can be configured to receive IR commands through the GPIO port. The PiPub has an on board IR receiver that is connected to GPIO 18 and also an optional external IR receiver that can be connected. You have to run through a bit of configuration to learn your remote and assign the buttons to a function. Some good info about it here.
wiki.openelec.tv/index.php/Guide_To_lirc_rpi_GPIO_Receiver
druss.pp.ua/2012/08/raspbmc-lirc-gpio-xbmc-en/

ah, I see. Thanks again. I also found some how-tos in german.
So, I backed your project by pledging for a PiPub + power supply. Would be a nice "toy".
BTW, I found a similar kickstarter-project (but without IR or a switch). It's called "Raspiado". (because I'm new in this forum, I can't post a link, sorry.)

phoenix0_4 said:
ah, I see. Thanks again. I also found some how-tos in german.
So, I backed your project by pledging for a PiPub + power supply. Would be a nice "toy".
BTW, I found a similar kickstarter-project (but without IR or a switch). It's called "Raspiado". (because I'm new in this forum, I can't post a link, sorry.)
Click to expand...
Click to collapse
Thanks for the support.
Yea, unfortunately the Raspiado beat us to it with the KickStarter. I think the Raspiado is nice, but does not solve many of the Pi's issues. I don't understand the purpose of thes long custom USB cables if you're trying to reduce clutter.
What we wanted to focus on is the main issues faced by users of the Raspberry Pi in MediaCentre applications. This being said, the PiPub is still very useful in other applications. Just the power switch alone is massive capibility addition. See: https://www.modmypi.com/pi-supply. This sells for $23USD. Our PiPub is $33USD and does this while still fitting inside your Raspberry Pi case!
Thanks again for your support. :highfive:
Please repost this elsewhere and help us spread the word.

I just made the announcement in a german Raspberry Pi-forum and in the OpenELEC-forum. Perhaps it will help...

phoenix0_4 said:
I just made the announcement in a german Raspberry Pi-forum and in the OpenELEC-forum. Perhaps it will help...
Click to expand...
Click to collapse
Thanks for that.

Josh.5 said:
Thanks for that.
Click to expand...
Click to collapse
you're welcome.
Do you know any htpc-forum, which could be another good address?

Alternative
Now that this project did not happen, there is an alternative add-on board available, called RemotePi Board (msldigital.com), it has similar functionality, the IR receiver and power controller but no additional USB ports. Because they have a version for the Raspberry B+ which has 4 USB port this may be a non-issue.

Related

Looking for a USB "controller" like Arduino ...

I am looking for something specific, but don't know what … maybe you guys can help me out.
Let me provide some background first. There are special controllers for espresso machines available which act as a PID controller for temperature regulation. To simplify things: They read the temperature of the water and regulate the heating element to a specific temperature with much greater precision than the integrated "mechanical" thermostat is able to.
Today there are kits for various espresso machines available, but they are rather expensive. So I was thinking: Well, what about some homebrew stuff (no pun intended)? I could fit more functionality in there and – here comes the interesting part for the XDA community – connect the controller to my Galaxy Nexus!
My first idea was grabbing some development platform (e.g. Arduino or IOIO), but I'm not sure if this is the right approach. Let me explain what the perfect board can do:
- read two or three temperature probes
- read a water level sensor
- read and control four switches
- provide some kind of CPU for acting as a controller
- provide a clock to "wake" the machine in the morning
- provide a USB connection for controlling from Android and programming/flashing from OS X
- optional: Bluetooth functionality for wireless Android control
I can figure out how to wire the stuff together and how to write some PID software. But the most interesting part will be the Android connectivity, but I have no idea what platform I can use …
It would be awesome to plug a USB cable in (or connect via Bluetooth) and read the live temperature data, start/stop the brewing process and so on. The PID has to regulate the machine without the phone – depending on the switch state (i.e. "pull a shot" or "make steam") the heating element would be regulated.
Of course there are even more interesting applications, like sending a tweet ("I just brewed a coffee!") or a pressure readout …
As far as I understand, I just have to look for a single-board microcontroller with some analogue and digital inputs, some digital outputs and a USB connection. Is this possible with something like an Arduino? Or do I need something more complex?
Hey! Nice to see another homebrewer! They sell chips like that already. People have converted freezers to kegerators, and the chip manages the temp, turning on the freezer around 55 degrees F.
Sent from my SCH-I535 using xda premium
I would suggest you toying with Android ADK
This is a board you could use is: arduino.cc/en/Main/ArduinoBoardADK it's a bit pain in the ass to set it up for the first time but once you get used to it it's pretty simple
Freezer? 55 degrees? I'm talking about brewing espresso … The problem there is temperature stability within 1° Celsius.
I already learned more about the Arduino platform and I think it is the right idea for my small project.
As far as I know a bluetooth connection via Android can be established, too.
You should definitely check out a book called;
"Programming Your Home: Automate with Arduino, Android and Your Computer"
Author is Mike Riley.
Publisher is The Pragmatic Bookshelf, Dallas Texas - Raleigh, North Carolina.
I'm pretty sure it's available as an e-book and is full of projects combining these technologies.
The first project has a ball float incorporated in it so I think it's perfect for your idea.
I'm working on a sous-vide immersion circulator at the moment, but it isn't too complex.
A PID controller does all the hard work.
PS
No barista in their right mind would let a machine steam milk!
---------- Post added at 05:48 PM ---------- Previous post was at 05:41 PM ----------
...almost forgot - ISBN-13: 978-1-93435-690-6
You can pretty much do everything including put the PID into the Arduino. You though will need to create the shield board with the extra sensors you need. Once that is available talking to the Arduino from Nexus is a cake walk. The USB Host and well as USB Accessory mode API is pretty straight forward and you can use either depending on how you want to interface the two. If you use some other microcontroller board other than Arduino then you will probably not be able to use Accessory mode but will have to use the USB Host with the microcontroller board exposed as a CDC class device using the USB as virtual serial port (Atmel, MicroChip controllers provide this interface). Also you will need to hack your Nexus to provide additional power supply (probably using Pogo pins) as USB port will be powering your controller board.
Best of luck!
pankaj013 said:
You can pretty much do everything including put the PID into the Arduino. You though will need to create the shield board with the extra sensors you need. Once that is available talking to the Arduino from Nexus is a cake walk. The USB Host and well as USB Accessory mode API is pretty straight forward and you can use either depending on how you want to interface the two. If you use some other microcontroller board other than Arduino then you will probably not be able to use Accessory mode but will have to use the USB Host with the microcontroller board exposed as a CDC class device using the USB as virtual serial port (Atmel, MicroChip controllers provide this interface). Also you will need to hack your Nexus to provide additional power supply (probably using Pogo pins) as USB port will be powering your controller board.
Best of luck!
Click to expand...
Click to collapse
If you have a device that supports OTG/USB Host, a USB-enabled microcontroller is MUCH cheaper than ADK (which requires the accessory to act as a host).
ADK should be described as "DDK" - Dock Development Kit. The requirement for the "accessory" to act as a host and to provide power makes it limited to dock-style devices. True accessories should be powerable from the device.
Adafruit's ATMega32U4 board is a great one to work with - https://www.adafruit.com/products/296
Another option, much more expensive but allows your device to be network-enabled easily (built-in Ethernet) is the BeagleBone. Lots of GPIOs on 0.1" headers and Ethernet.
I would tend to lean towards arduino. It is certainly powerful enough. All the research I have done makes conecting bluetooth really easy. Although serial to android seems a bit more difficult. For the task you are trying to do I would expect a standard arduino (or clone) and a bluetooth module off of ebay (make sure you choose one that can handle 5v) should be a good starting point.
I have only every made diy arduino buy purchasing the usbisp cable and pl-2303 style usb>serial ttl adaptors. If you search on ebay some of them have the dtr line on one of the pins making auto reset easy. They are a bit more rare, but are worth searching for and paying a few dollars more.
I have never done brewing, but fiddle with arduino (atmega8 atmega168 atmega328 atmega644p atmega1284p). Feel free to ask questions.
arjag said:
I would tend to lean towards arduino. It is certainly powerful enough. All the research I have done makes conecting bluetooth really easy. Although serial to android seems a bit more difficult. For the task you are trying to do I would expect a standard arduino (or clone) and a bluetooth module off of ebay (make sure you choose one that can handle 5v) should be a good starting point.
I have only every made diy arduino buy purchasing the usbisp cable and pl-2303 style usb>serial ttl adaptors. If you search on ebay some of them have the dtr line on one of the pins making auto reset easy. They are a bit more rare, but are worth searching for and paying a few dollars more.
I have never done brewing, but fiddle with arduino (atmega8 atmega168 atmega328 atmega644p atmega1284p). Feel free to ask questions.
Click to expand...
Click to collapse
I will have to agree on that one, but only by experience.
those chips are a pleasure to deal with.
I even got my tablet talking to mine before I screwed it up!
Hit me up here or on #arduino on freenode (or anyone else there for that matter) if you want any hints or help if you decide to go that route, I'd be happy to help!
DW
You should try Arduino board, it's not that difficult to use and they're plenty of resources on the Internets.
Also, you could develop an Android app for controlling it. My team had successfully developed an Android controlled RC-car via Bluetooth.
You could find the source code of the Android app here on Github!
Another approach might be to get an ethernet shield for arduino and hook it up to your homw network. Then you could use a browser to control it, so you are not just limited to your Android device.
Ethernet setup is really simple, start with the demo code and modify to your needs.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
check out the andropod
Not 100% what you described, but this is absolutely rad nonetheless...
i just saw this the other day: http://www.ftdichip.com/Android.htm
with a standard UART to android usb host in one cable, you can do regular old RS232 or TTL-voltage RS232 comms with practically any of the simplest of the simple mcu's out there.
UART interfacing hardware with your phone? it'd be super easy to write java or shell interface wrappers to do tons of cool automation stuff, plus if you have an old beater phone lying around, it's a super robust DAQ unit in the making...
booooiiinnnniiiiiinnnnnggggg I want...
http://code.google.com/p/tc4-shield/
It's already got a four-channel ADC intended for thermocouple use, as well as GPIOs to drive the SSRs. People have already worked out zero-crossing detectors if you want finer control.
The water probe is a little problematic; I'd stick with the existing Gicar or equivalent.
I'm in the process of using it for thermocouple and power-relay interface to a Raspberry Pi to run a La Marzocco GS I'm restoring.
The Arduino is disappointing in its computational power. Its enough to run a PID, but can't really deal with a TCP stack and a webserver too.
Please note that Arduino can use Bluetooth connectivity to Android. It is easy on Arduino and very convenient.
Arduino can be battery powered for a long time if you program its sleep mode correctly.
http://tvwbb.com/showthread.php?35674-HeaterMeter-v4-0-for-RaspberyPi-Standalone
Shouldn't be a far leap from a fan/heating element to a water heating element. Plus: "HeaterMeter is also reportedly suitable for connecting to a solid state relay and controlling a sous vide heater if you prefer your food float around in fancy water instead of smoke and fire."
Arduino (or Msp430 Launchpad, or Microchip Pic or whatever) + a cheap, 6 dollar Bluetooth Serial adapter, + coding an app for android is all you need. Don't mess with usb or ethernet/wifi. Bluetooth Serial is all you need.
also use Android Suit

Using a GPIO to transmit FM music

Could this be done with a nook? More info
http://www.icrobotics.co.uk/wiki/index.php/Turning_the_Raspberry_Pi_Into_an_FM_Transmitter
The code that handles interacting with the GPIO pins in the link you provide is specific to the Raspberry PI. From the link: "It uses the hardware on the raspberry pi that is actually meant to generate spread-spectrum clock signals on the GPIO pins to output FM Radio energy."
If the GPIO hardware on the NST can do something similar, a knowledgeable person could potentially port the code. Unfortunately, as far as I know, the only GPIO pins on the NST are the power and nook "n" buttons. This means that to get it to work, you'd probably have to open up your NST case and solder a couple wirers, disabling the power and "n" buttons. Not ideal.
Basically, no. That's not really possible on the NST, as described in the article. It might be possible with some other approach though (such as with USB host)
Ok, the questions is, is there PLL in the nook that can be used in the same way its being used in the Raspberry pi?
That kind of hack requires something that you can deterministically control,
like a microprocessor without an OS.
There are probably more GPIOs that you can snarf if you can connect to them.
The other four hard keys work off the matrix scanner.
That could undoubtedly be expanded.
There are also a few UARTs that are unused.
I'm not sure how many (at least one does) of them appear on (non-existent) connector J163.
(I just soldered in connector J163 on my Nook).

I think I went insane

After seeing a video where you can control a parrot AR.Drone 2.0 with the shield I started thinking up ways to control a real car with it.
Probably wont attempt this but I like the idea.
chevyowner said:
After seeing a video where you can control a parrot AR.Drone 2.0 with the shield I started thinking up ways to control a real car with it.
Probably wont attempt this but I like the idea.
Click to expand...
Click to collapse
main problem i see is when shield's battery runs out.
and i wouldn't want to try it until its out beta, otherwise it might lose wifi connection lol
glitchhawk said:
main problem i see is when shield's battery runs out.
and i wouldn't want to try it until its out beta, otherwise it might lose wifi connection lol
Click to expand...
Click to collapse
most cars have a 12V socket in the cabin somewhere.....
Otherwise, this is doable.
Dependant on the age of the car and its level of security (engine electronics wise) you could either tap into the engine management units, braking and power steering (power steering alone can actually steer the car with no user input, IF the system allows it or can be modified to be controlled externally in that way, same goes for many other areas of the car) or take a direct hardware approach. Some actuators bolted to the pedals and steering wheel could easily be controlled with an arduino which can then pair via bluetooth, wifi or USB to the shield (USB would be cheapest but would prevent charging from the car lighter socket and of course mean you would have to sit in the car and might aswell drive anyway).
Cars controlled via other means have been done frequently anyway. Your only changing where the input comes from. Your idea isn't really that insane, but I wouldnt want to try it.
As for loss of power/signal. You would require some sort of "computer" aboard the car anyway. Even if its just a simple 8 bit arduino, in fact let us assume that it is an arduino UNO R3 for some reason, even that measly little 8bit CPU can be setup easily enough to detect the loss of communications with the Shield and cut the engine, engage brake etc etc.
I have a either a pandaboard es or a rasperry pi model b I can use. I am not planning on being in the car I am planning on mounting a camera about where the drivers head would be and streaming the video form that to the shield.
As for the car I am think about using a gutted 97 camaro for that, and adding a carburated 350 and some automatic trans. the most advanced computer on the car will the one to radio control it.
As far as usb power is needed there are 5 volt dc-dc regulators for cars that supply 1+ amps.
edit
Yes I know I would need to avoid running myself over.
Either one would be adequate.
I'm not a car wizard so couldnt say whether or not that camaro could have its systems directly tapped into by the pi/panda but either one could control actuators mechanically connected to the steering wheel and pedals.
As for the auto transmission, I despise the very idea of an automatic transmission and have never set in the drivers seat of an automatic vehicle let alone driven one (unless you count a 50cc scooter with a CVT). But in the case of a small computer controlling the car, probably a good idea to reduce the amount of things it has to do.
I have a twin USB adaptor in my car, max 2A shared between both sockets although that does appear to mean (with my non scientific tests as I dont own a multimeter, really need to get one actually) that with only 1 port active it can supply 2A to that port. I think it may just be a straight 12v>5v @2A converter with 2 USB's in parallel.
There are plenty of linear actuators available, for the steering a windscreen wiper motor from a truck, a pulley and some sort of feedback mechanism would be possible.
Would be a cool project, if somewhat dangerous if you don't know what your doing But get online, its been done.
SixSixSevenSeven said:
I'm not a car wizard so couldnt say whether or not that camaro could have its systems directly tapped into by the pi/panda but either one could control actuators mechanically connected to the steering wheel and pedals.
Click to expand...
Click to collapse
the car currently has no interior at all
no engine
no transmission
no hood
no side windows
no steering colum
no pedals
it maybe missing some brake parts.
it is gutted.
SixSixSevenSeven said:
As for the auto transmission, I despise the very idea of an automatic transmission and have never set in the drivers seat of an automatic vehicle let alone driven one (unless you count a 50cc scooter with a CVT). But in the case of a small computer controlling the car, probably a good idea to reduce the amount of things it has to do.
Click to expand...
Click to collapse
The car had a manual trans but it is gone now.
SixSixSevenSeven said:
I have a twin USB adaptor in my car, max 2A shared between both sockets although that does appear to mean (with my non scientific tests as I dont own a multimeter, really need to get one actually) that with only 1 port active it can supply 2A to that port. I think it may just be a straight 12v>5v @2A converter with 2 USB's in parallel.
Click to expand...
Click to collapse
5v 10a this is more of what i am thinking.
http://www.miniinthebox.com/dc-24v-...own-regulator-car-led-power-buck_p394573.html
Guys who might be able to help you best are probably over at letsmakerobots.com
I am a regular on there although only with 1 submission, 2nd on its way.
I'm no guru and with a project with a potential for some danger I think its probably best to not take anything I say as gospel, other than that it is possible and that the raspberry pi can probably do it (I have already used the pi for running 2 motors with speed control, a servo and ultrasound module with no issues, python plus RPIO).

			
				
should i make this
or this
then?

Home Automation [Ard vs Rasp vs IOIO]

Hello,
I would like to hear some opinions about my personal want-sth-to-do project. I want to use NFC to open my house doors, including the front door, garage and bedrooms door. In addition, I want to be able to control my air-conditioning system, TV and audio system. I want to integrate some sort of IP/CCTV cameras into my personal system. Just to improve the system, I will develop a Android App to control it via an API.
So, to make this project possible, come to my mind three ways:
1. [Arduino]
- Using the Arduino and its shields to develop the entire system. It will take a while and be hard in some points such as IPCAM recording.
2. [RaspberryPi + Arduino]
- Using the RaspberryPi connected to some Arduino shields using the GertDuino (GPIO expansion boards that make RaspberryPi compatible with Arduino Shields).
- This options seems to be the best option for now, but I dont know if RaspberryPi is able to handle the entire system.
3. [IOIO-OTG]
- IOIO-OTG is a board that make any android device as the heart of the system, making you just program in Java and control the GPIO and UART.
- The benefit is that I can develop it using some Android Stick, however, I need to search about available shields for it.
In addition, I need to think how to separate the core of the system from the sensors such as nfc readers. I do not think that wiring over the entire house is the best way... but I didn't found any wireless sensors...
Someone want to give some opinion? I will update the thread with the sensors I'm looking around and so...
I'd go the arduino (maybe more than one) + raspberry-pi (maybe more than one) way.
the ioio seems to be some µc that runs a firmware that connects to android and provides all i/o pins to android... so nothing you couldn't do yourself with an arduino or something similar.
I'd start with the devices you want to connect. Air conditioning might be controlled using Infrared emitters - would that work?
NFC Readers can be built from an arduino AFAIK, but you'll need some sort of field bus or wireless connection between all the parts...
SkzBR said:
Hello,
I would like to hear some opinions about my personal want-sth-to-do project. I want to use NFC to open my house doors, including the front door, garage and bedrooms door. In addition, I want to be able to control my air-conditioning system, TV and audio system. I want to integrate some sort of IP/CCTV cameras into my personal system. Just to improve the system, I will develop a Android App to control it via an API.
So, to make this project possible, come to my mind three ways:
1. [Arduino]
- Using the Arduino and its shields to develop the entire system. It will take a while and be hard in some points such as IPCAM recording.
2. [RaspberryPi + Arduino]
- Using the RaspberryPi connected to some Arduino shields using the GertDuino (GPIO expansion boards that make RaspberryPi compatible with Arduino Shields).
- This options seems to be the best option for now, but I dont know if RaspberryPi is able to handle the entire system.
3. [IOIO-OTG]
- IOIO-OTG is a board that make any android device as the heart of the system, making you just program in Java and control the GPIO and UART.
- The benefit is that I can develop it using some Android Stick, however, I need to search about available shields for it.
In addition, I need to think how to separate the core of the system from the sensors such as nfc readers. I do not think that wiring over the entire house is the best way... but I didn't found any wireless sensors...
Someone want to give some opinion? I will update the thread with the sensors I'm looking around and so...
Click to expand...
Click to collapse
I find your ambition high. But as someone running an Insteon Smart Home with an ISY994i, I can't help but feel you are trying to make a fairly cost effective and secure option more expensive and less secure. Mobilinc integrates with tasker, so you could set it up to unlock doors and stuff pretty easy with NFC.
Best of luck with your search.
me likes
DThought said:
I'd go the arduino (maybe more than one) + raspberry-pi (maybe more than one) way.
the ioio seems to be some µc that runs a firmware that connects to android and provides all i/o pins to android... so nothing you couldn't do yourself with an arduino or something similar.
I'd start with the devices you want to connect. Air conditioning might be controlled using Infrared emitters - would that work?
NFC Readers can be built from an arduino AFAIK, but you'll need some sort of field bus or wireless connection between all the parts...
Click to expand...
Click to collapse
I agree with DThought. Including a Raspberry Pi would allow some pretty intense processing power.
If you want to limit the amount of wiring you do, you could actually use a USB wifi dongle on the Raspberry Pi. You could then make some simple protoboards/PCBs with an Arduino with a wireless shield for each thing you want to control. This would likely be a more expensive solution than plain wiring but it would allow a lot of flexibility. Especially if you had each of the Arduino clients very similar so that they are interchangeable.
You could also try using Xbee Arduino wireless shields in case you don't want to use regular wifi.
This sounds like a very good project. I hope it works out for you. :laugh:

[R&D] HandheldPi - Open Source Handheld Console

Hey there!
I am looking to start an open-source, non-profit project geared towards creating a handheld gaming/PDA device powered by the Raspberry Pi Compute Module. This device should be able to run emulators and games with input from an onboard controller, and should be customizable with different button configurations and different chassis with different screen sizes, battery capacities, and extended functionality. I am hoping that throughout this project I will be able to expand my knowledge of how electronics wor.
The main purpose of the project is to go over the basic design principles of a handheld device, along with engineering that goes into it. This includes PCB design, power management, engineering of components, etc.
As a basic idea, I am looking to design a base model with the following configuration:
- 3.2" or larger LCD
- Built-in speakers & headphone output
- HDMI and/or Composite Output
- 4000 to 6000 MaH Rechargeable Battery (Li-Ion/Li-Po)
- Ethernet connectivity and/or 802.11n Wireless
- Multiple controller inputs (for if it is connected to a TV for those looking to play multiplayer)
- (eventually) a Dock for hooking it up to a TV.
Obviously, I would like to keep everything absolutely open source. This includes the schematics, any customized source code for user interfaces, parts lists, etc. I am hoping to create a guide as to how the device was designed. This will go over the use of a PMIC, designing connectors for modular buttons and screens, placement of internal components, avoiding noise from power sources and signals, etc.
So far I've only realistically researched power management for the unit. The reason behind this is because overall, we only have to provide proper power outputs for the Raspberry Pi Compute module while still having features that would be required in a handheld device. Below, I will be compiling a list of components along with a list of their features that I believe is beneficial to the device.
This list will be updated as I continue to do more research.
Power Management: Texas Instruments TPS65800 PMIC (Single unit cost: $12 & $5.78 for 1Ku)
- 6x LDOs adjustable between 1.25V and 3.3V
- 2x Buck regulators fixed at 3.3V (one will be used to power VBAT, other to power 3V3)
- I2C interface (will allow for voltage adjustments and battery level indication)
- 3 GPIO ports (not sure what we'd use 'em for, but they're there!)
- Li-Ion and Li-Po charging up to 1.5A
Any help, ideas, or suggestions would be greatly appreciated. I'd like to note that I am fairly new to electronics design and am hoping this project will help to further my knowledge in the field.
So you want someone else to design and build it so you can collect money from a kick start for yourself?
5ft24 said:
So you want someone else to design and build it so you can collect money from a kick start for yourself?
Click to expand...
Click to collapse
Quite the contrary! I was looking for help in learning how to design such a device, not for someone to design it for me. If I did get a Kickstarter going eventually, I'd personally rather have the proceeds go to the Raspberry Pi Foundation so that others can learn how to do this themselves. As I stated, everything (including parts lists, schematics, etc) would be completely open source.
As a sidenote, I think a device like this would be very interesting for kids learning how to design their own games.
Great idea, I'd love a device like this running a well integrated retropie(Raspbian) operating system ! Unfortunately I can't help you with this stuff, but I'll spread the word

Categories

Resources