Raspberry Pi Projects - Raspberry Pi General

If you're anything like me, you've probably got your Raspberry Pi sitting around, looking for some uses for it! Or perhaps you're waiting on delivery, and trying to think of cool stuff to use it for!
If so, here's a place you can post any ideas for what to do with it...
Right now, I'm in the process of setting it up as a RADIUS server using FreeRadius, so that I can connect it (hopefully) to my Wireless router's USB port (for power - it can power USB 3G dongles, so I imagine a headless Rpi with no USB devices might be possible), and use WPA2-Enterprise encryption on my network.
One of the challenges in this situation is that it won't be powered off "cleanly" when the router is turned off, so I will be setting up the filesystems as read only, with a tmpfs for /var and anywhere else requiring write access during normal operation. Currently I've got it running on a clean ArchLinux install, and just need to work on setting everything up to ensure FreeRadius is started on boot, and that it actually works with my router... Then write a few scripts to generate certificates for clients, wire them up into a WebUI, and I've got a nice, usable system to manage network certificates (from what I understand, the certificates do not need stored on the radius server - if the certificate is signed by the trusted CA key, it will work). And thus there is no need for writes to the SD
What other uses have people come up with for Raspberry Pi's so far?

I set up some init.d services to turn on and off the GPIOs. I will post that stuff later. You basically use a terminal to say service LED1 start or stop and it turns the LEDs on or off. Its great for headless status.

AdamOutler said:
I set up some init.d services to turn on and off the GPIOs. I will post that stuff later. You basically use a terminal to say service LED1 start or stop and it turns the LEDs on or off. Its great for headless status.
Click to expand...
Click to collapse
Oooohh... Oooooooh...
That's brilliant actually! I'd love something like that, so I can indicate activity of the system via the led
I envisage an LED that lights when a request to generate a certificate is started, and then when it completes

At the moment it's lying around and just giving my other gadgets time via NTP... I'm thinking about using it as a platform to learn assembler or let it communicate with my Arduino

Not much of a hack but I stole my mates one and made a screen for the front of my case that monitors the internals
just a simple java interface using the composite out to an old Car DVD screen that i tore apart.
but this is how it looks so far -
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
it uses openHW monitor on the main pc to output the info to the pi then the pi runs the java app. openHW monitor cant see all my fans cause of a dodgy hack from asrock apparently... so it is half done atm gonna add an arduino into the mix too and a flow sensor and do the fan controlling ect. from the pi via the arduino depending on CPU temps ect.
when the PC is off it still gets power from the USB and it goes to a full screen clock and gets rid of all the graphs
Yes this is a bit overkill but i had to cut holes in my case to fit the new water cooling so I thought i'd go all out
case used to look a like this.
http://www.thermaltakeusa.com/product.aspx?s=1124&id=1440
it is quite old...
Pvy.

I've got a few laying around & when when Solidoodle (3D printer) arrives, I will be using one to control it
It will save me from leaving a PC on while it prints -should be fun
Here's what you need
EDIT: Forgot I have one for XBMC

I plan to use mine with XBMC powered via the usb on my TV once the next stable version of Rasbmc is released. I'll have to look into setting up MythTV or some other PVR backend as well tho I'm a bit reluctant to set up a PVR now given that the FCC just announced it will allow cable providers to encrypt all their cable signals and since everything I care about might soon be available on the Internet I'll wait to see what happens.
I'm also going to help my buddy set up a brewing controller following the instructions at BrewPi.
UPDATE:
After reading what some other member wrote I decided to give OpenELEC a shot. I like it better than Raspbmc already! Thanks to everyone who mentioned it in the thread!

I am currently trying to set mine up to work with my GoogleTV. Both as a file server and to have VNC for remote streaming (however rendering online video has been shown not to be so hot on RPI).

cool a RasPi forum here on xda! ive been messing with mine a fair bit of course one of the first things i did was get adb running, it gripes about my udev rules at startup but it still seems to work fine, but since i got my ADCpi and a bucketload of sensors and such ive been playing a little more, im still a baby when it comes to modern coding (48k basic was probably my last real language) but ive made a gamepad on a breadboard (and wrote a simple text based game to control with it, which is going to develop into a text based version of the old hero quest board game eventually) made a battery pack that runs it off AA batteries (off a cheapo set openelec ran for around 3 hours playing a variety of hd and sd content) messed with LDRs and temp sensors and yesterday i even got a cheapo ultrasonic sensor working,
im not sure exactly what ill do in the end, maybe some sort of game that changes depending on real world environment variables or maybe something else, who knows, the possibilities are pretty limitless really. for those talking about using it for xbmc, i know its all really a matter of personal preference but i found openELEC a little smoother an experience than raspbmc, its worth a look if you dont mind compiling it yourself

I've got mine set up in a headless configuration with my 1.5 tb hdd connected via USB. I got a case made by a friend who's got a membership at one of the raspi clubs in LA so he got some acrylic sheets and used the club's laser cutter to make the case for me. Pretty neat stuff.
My raspi is used for:
torrent client/seedbox (I seed a lot and didn't wanna keep my main computer with a 750W PSU wasting electricity on seeding)
irssi lurker (to lurk on #teamacid )
NAS (since I make backups via rsync to the external hdd)
LAMP server (nice for smaller projects since it can handle smaller php files just fine)
vim box for editing said smaller php files
Those are the things I've thought up of so far. I'm probably gonna buy myself a new raspi with the 512MB of ram upgrade and use it instead of my main box for a good while. My coworker's got his set up using lxde and it's very usable for minor web browsing and other simple tasks.
I've got a USB hub coming in the mail in addition to an HDMI to DVI cable since the HDMI to DVI adapter I have is too boxy and when I try to hook up an hdmi cable to it it becomes too long and I can't get the whole thing to fit correctly behind the monitor stand. Annoying.

My intentions for my Pi is to have it as a music center.
I have most of my music on my NAS now (moved it off my pc to free up space), so I will set up the Pi to access the music on the NAS and play it.
This way, I can have an always on music device that doesn't require me to turn my pc on.
Will probably use Rasbmc as it has nice smartphone remotes, supports airplay, Readydlna etc

monty13 said:
My intentions for my Pi is to have it as a music center.
Will probably use Rasbmc as it has nice smartphone remotes, supports airplay, Readydlna etc
Click to expand...
Click to collapse
openELEC does all that too, dont be afraid to give it a try, the compile is very easy
http://wiki.openelec.tv/index.php?title=Building_and_Installing_OpenELEC_for_Raspberry_Pi

Putting Raspbmc on it and overclocking it to max 1 ghz
shouldn't be so difficult and should work fluently :fingers-crossed:

Mine is currently setup as a small-scale PBX running Asterisk 1.8, which integrates to Google Voice. It also runs a TFTP server (to serve up configurations to my Cisco IP phones) and runs lighttpd to serve up services to the Cisco phones (contacts/weather display during idle/etc).

"What other uses have people come up with for Raspberry Pi's so far?"
XBMC using openELEC ofcourse. But it would be awesome to see some android love.

I'm hoping to get one ordered soon. I might use it to add some functionality to my TV. I don't use it much, and it's pretty much taking up space. I was thinking of putting a remix of Fedora 17 on it (Until Android is compiled) and using XBMC and some other applications to watch TV, being that I don't have cable or satellite, just over-the-air PBS. Does anyone know of a plugin or something to let me watch internet TV on XBMC or Linux?

SqueezePlug for Raspberry Pi
Ordered my Raspberry Pi to run SqueezePlug for Slimserver and MiniDLNA for my USB connected disk full of MP3s. If it really runs Crashplan I will be one happy puppy.
Google squeezeplug
SqueezePlug is a platform for different Media-Servers:
- Logitech Media Server (f.k.a. Slimserver, SqueezeBox Server)
- MiniDLNA
- MPD
- Mediatomb
- Twonky
- Forked DAAPD
And SqueezePlug is a platform for different Media-clients or players:
- SqueezeSlave
- SqueezePlay (experimental)
- Shairport
- Omxplayer
And SqueezePlug offers some other services
- Crashplan
- Owncloud

I use my pi as a LAMP with an owncloud with ssl encrytion and dyndns.

I have one Pi running a ssh server, and a mumble server.
And the other I use with Samba to give me an NAS

Only god knows when I will put my hands on the 512 MB model.
But as soon I get one, I pretend to use it as a seedbox and NAS.

Related

PocketPC MPD Client -- Control your music server (Updated July 23)

Here's my first attempt at pocketpc development -- an MPD client. It's a fairly niche application, but maybe someone else out there will enjoy it.
First off, you'll need an MPD server. MPD is a small simple daemon that plays music. It has no UI of its own-- it relies on various clients to connect to it for control.
My application does not actually play music. It's more like a remote control. It connects to your MPD server and tells it what to play. But if you combine this with icecast on the server and TCPMP on your phone, you CAN actually stream the music to your phone. The effect for me is having my entire 80G+ music collection available to my phone anywhere I have EVDO access.
If you've made it that far, here's a few features my client offers:
Automatic album art from Amazon
A today screen plugin showing the current song
Gestures for easy control
Kinetic scrolling lists
Here's a short youtube demonstration of some of the UI elements.
The application requires Windows Mobile Professional with the .NET 2.0 framework. It's available from http://code.google.com/p/pocketpcmpdclient/.
Special thanks to dosfan and gingercat from this thread. I used a lot of their code for kinetic scrolling in my lists.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
THis looks incredibly intruiging...of course now I have to go fiddle with my server and set up the MPD/Icecast bit, but it seems worth it to have something like this working...I will get back to you this weekend after i figure all this stuff out. Also this is quite cool for a first program!
That looks great! I particularly love the gestures! Any chance of implementing them in a non MPD dependant music player?
Thanks for the encouragement. This has just been a "hobby" project for me to work on over the weekends for a while now. I usually write boring framework code without any GUI for my day job, so this has been a lot of fun.
As for the gestures, it's written in c# and I wrote it to be easy to add to other projects. Just declare an instance of the class within your form (or usercontrol) and tell the class what it's parent is. Then the class will raise events whenever a gesture is recognized.
So if someone wants to steal my code like I stole dosfan and gingercat's, help themselves! And if they have any improvements, let me know
Dromio said:
Thanks for the encouragement. This has just been a "hobby" project for me to work on over the weekends for a while now.
As for the gestures, it's written in c# and I wrote it to be easy to add to other projects. Just declare an instance of the class within your form (or usercontrol) and tell the class what it's parent is. Then the class will raise events whenever a gesture is recognized.
So if someone wants to steal my code like I stole dosfan and gingercat's, help themselves! And if they have any improvements, let me know
Click to expand...
Click to collapse
Hobby projects are fun!
Not sure if you've implemented something like this, but in dosfan and gingercat's dll, there was no support for hardware buttons. I've added that today, and can give you the code if you want.
Being able to capture gestures would be awesome!
Keep up this project! And lemme set up an MPD!
Oh yeah, using hardware buttons on the lists was on my "To-Do" list. I'd be interested in seeing what you did.
Dromio said:
Oh yeah, using hardware buttons on the lists was on my "To-Do" list. I'd be interested in seeing what you did.
Click to expand...
Click to collapse
Basically, I added some keypress even handlers, and then made those do the same as moving the mouse. I also had to edit the MaxXOffset and MaxYOffset to allow the list items to get to the top of the page...
Attached is the code for the KListControl dll.
If my lack of comments needs some explaining, do ask!
It seems pretty straightforward. Thanks.
any mpd for windows? *hoping*
flippy said:
any mpd for windows? *hoping*
Click to expand...
Click to collapse
Sorry, I don't think there's a good, simple way to run MPD on a windows server. From the MPD wiki, it looks like the only real working option is to run it under coLinux or andLinux.
It's another reason I said it's a bit of a "niche" application
don't know if this is related but, how about a remote control for UPnP clients, like roku, etc.
on Nokian770 and n800, there is a program called media streamer that does just that. wondering if there is the same for ppc.
I've thought a bit about abstracting away the music "engine" and using plugins to allow the UI to interact with different backends like MPD, windows media, or others. But for a guy who's working on this an hour a night after putting the kids to bed, that seems pretty ambitious
Awesome project. I have MPD setup on my desktop, and usually I'd just carry around my IR remote and control it via that, but controlling it with my phone over wifi is so much better!
Just installed it and I must say for a hobby project it's pretty nice! It just crashed on me, but I think that might be due to me not being able to scroll correctly
aqtrans said:
It just crashed on me, but I think that might be due to me not being able to scroll correctly
Click to expand...
Click to collapse
I'm sorry about the crash . If it happens again, could you open an issue containing the detailed text from the crash? It would help me to hunt down the issues.
Lately the only crashes I've had is when my data connection cuts out. The MPD library I used doesn't handle that very well. I really need to find an elegant way to tell the user the connection was lost.
Dromio said:
I'm sorry about the crash . If it happens again, could you open an issue containing the detailed text from the crash? It would help me to hunt down the issues.
Lately the only crashes I've had is when my data connection cuts out. The MPD library I used doesn't handle that very well. I really need to find an elegant way to tell the user the connection was lost.
Click to expand...
Click to collapse
"MessageBox.Show("HaHa ")"
Crude but functional!
I used to do the same using Shoutcast in combination with Jetcast to stream WMA. Then control the server using Cygnus.
also very niche, but it proves there's people that might like this.
Your program has inspired me to take an old computer outta the closet, put ubuntu on it, mirror my music collection, and install the icecast, mpd, and gimmix packages. I'm pretty new at this, so I was wondering... if you have the time, do you think you could write up a quick guide where to go next? I'm kind of at a loss...
I'd start just getting mpd to recognize your music and output to the soundcard or something. Setting up icecast is another layer of complexity to tackle next.
The best resource seems to be the wiki . If you have any specific problems I'll try to help.
Great project...
I submitted it to Digg, maybe it will get some love. It's time to rectify the overblown iPhone hype machine and show people what WinMo can do.
Very nice work!
I was thinking, why not doing it compatible also with uPnP (very similar to bonjour protocol), which is compatible with Windows (see www.tversity.com).
Thanks and keep up the good work

[s3C6410] Questions on Best tools to use.

I have a S3c6410 base development board that i want to work on. One of the tools that came with the board is dnw.exe. I was wondering if anyone knew of a better program to use. Either Linux, or Windows- Preferably Linux.
I have had a problem with connecting to the target device. I am using windows 7 and it doesn't seem as recognize the board. My next attempt will be with Windows XP, as that is what the instructions uses.
I have researched a number of other programs to include and xdnw (linux version of dnw). However, there is no user manual that i can find for it.
Arm's DS-5 suit is my next step. While I am working on that any advice would be appreciated.
Any solution which utilizes USB OTG as a connection is preferred.
What i am working with:
OS Dual Boot-
Ubuntu 11.04
Windows 7
Development Board:
Real6410 -
Samsung S3c6410 SOC base board.
When Adam posts new UBM supported devices, he usually puts the following links at the bottom:
http://tinyurl.com/dnw-how-to
http://www.arm9board.net/wiki/index.php?title=Flash_using_OpenOCD_and_DNW
http://www.boardset.com/products/mv6410.php
I found quite a bit just by searching: http://lmgtfy.com/?q=samsung+dnw
bhundven said:
When Adam posts new UBM supported devices, he usually puts the following links at the bottom:
http://tinyurl.com/dnw-how-to
http://www.arm9board.net/wiki/index.php?title=Flash_using_OpenOCD_and_DNW
http://www.boardset.com/products/mv6410.php
I found quite a bit just by searching: http://lmgtfy.com/?q=samsung+dnw
Click to expand...
Click to collapse
Thank You for your help. I have ran across the sites on my own search but was unsuccessful with the results.
I still haven't found an answer to my problem but i figured out a temporary answer for now. I will try loading android with a SD card and then use the adb. Hopefully this works.
Any other information is appreciated.
vmarcano718 said:
Thank You for your help. I have ran across the sites on my own search but was unsuccessful with the results.
I still haven't found an answer to my problem but i figured out a temporary answer for now. I will try loading android with a SD card and then use the adb. Hopefully this works.
Any other information is appreciated.
Click to expand...
Click to collapse
Rebellos and I prefer smdk-tools. We have a repository set up for working with OM5=HIGH at this location. http://code.google.com/p/hummingbird-hibl/
Rebellos worked with dnw and wrote dnw command line. Take a look at that site.
Your problem may actually come out of lack of good Windows driver to support this download mode. For this I still recommend using Linux, even in VirtualBox.
//edit:
Attached experimental windows version of dltool
Rebellos said:
Your problem may actually come out of lack of good Windows driver to support this download mode. For this I still recommend using Linux, even in VirtualBox.
//edit:
Attached experimental windows version of dltool
Click to expand...
Click to collapse
Yea, I prefer Linux. Getting the proper tools is a mission.
I have the xdwn for the push/flash. What can i use to get the messages/status form the board. I have read about a program called mimcom? Do you guys think that would be sufficient?
Also, Just to verify, xdnw does support usb otg for flashing? I may need to order another usb cord because it does not connect.
I'm not familiar with that tool. Do you have a link?
You can use minicomputer for UART. 115200bps 8n1 no flow control. You need some sort of UART device. Do you have the debug board or where are you getting the info?
AdamOutler said:
I'm not familiar with that tool. Do you have a link?
You can use minicomputer for UART. 115200bps 8n1 no flow control. You need some sort of UART device. Do you have the debug board or where are you getting the info?
Click to expand...
Click to collapse
minicom
sudo apt-get minicom
But it utilizes serial, not usb.
I don't have a Debug board. Should i get one?
This is my first dev board. Most of my prior experience has been software only. That's why i am alittle confused with the connection method.
I will just utilize the Serial/UART method for now.
I am going to skimmed through the different links that are on this thread. Feel free to add any additional info that would help me. Thanx
You have to get USB<->UART converter or level converter for RS232<->UART if your PC has got RS232.
All low level messages in debug boards are sent through UART, not USB.
Why? Cuz UART is much more simple hardware than USB, initialization and handling of UART controller is literally few lines of C/ASM code, while proper handling USB connection on Sammy S3C/S5P takes at least 20KB of pure C code.
Then you can connect to board's TX and GND to get debug messages from bootloaders/kernel only. You can also connect to board's RX with PC's TX, and you've got two direction communication - this allows you to upload firmware through UART also (though it's better to do it through USB if you can - much faster)
I was asking for a link to the tool you are using to upload firmware via USB.. I also want a link to the board you are using.
Rebellos said:
You have to get USB<->UART converter or level converter for RS232<->UART if your PC has got RS232.
All low level messages in debug boards are sent through UART, not USB.
Why? Cuz UART is much more simple hardware than USB, initialization and handling of UART controller is literally few lines of C/ASM code, while proper handling USB connection on Sammy S3C/S5P takes at least 20KB of pure C code.
Then you can connect to board's TX and GND to get debug messages from bootloaders/kernel only. You can also connect to board's RX with PC's TX, and you've got two direction communication - this allows you to upload firmware through UART also (though it's better to do it through USB if you can - much faster)
Click to expand...
Click to collapse
Thanks for the clarification. I thought i was doing something wrong.
AdamOutler said:
I was asking for a link to the tool you are using to upload firmware via USB.. I also want a link to the board you are using.
Click to expand...
Click to collapse
Sorry, I must've mis-understood you.
I am using xdnw (http://code.google.com/p/xdnw/). It is the Linux version of dnw. I had a hard time compiling it due to the lack od dependencies, but I got it to work in Ubuntu 11.04.
I purchased the following board, from the following site, - http://www.cutedigi.com/product_info.php?products_id=4398.
The documents for the board are at the bottom of the page. I can upload them to the thread if you like. I am not at my home computer but i can do it when ui get home.
I also found another pdf while serach online that i have at home that i can upload.
I appreciate the help and information guys.
I see what's going on. You won't need a debug board. I was imagining something like the KIT-S5PC110 where a debug board was required.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You just need to hook up serial into the UART then use
Code:
minicom -D /dev/ttyS0
Set up the settings by hitting ctrl-a then o, and use the settings above for flow control Everything else should be setup proper.
As soon as you reboot the device, you should start seeing UART. Try both UART0 and UART3. I'm used to seeing UART2 as the main UART, but I'm betting UART0 would work the same as I'm used to.
If you could please, find out the functions of that red bank of switches. We need that information. There should be a table somewhere.
You can also use another tool called cu from the taylor-uucp package:
Code:
sudo apt-get install cu
sudo adduser <you> dialout
Logout and back in to get access to the /dev/tty{S,USB,etc}* without having to sudo to run cu.
Code:
cu -lttyS0 -s115200 -E!
I use '!' as the escape sequence, as the default is '~' and that conflicts with ssh.
AdamOutler said:
I see what's going on. You won't need a debug board. I was imagining something like the KIT-S5PC110 where a debug board was required.
If you could please, find out the functions of that red bank of switches. We need that information. There should be a table somewhere.
Click to expand...
Click to collapse
The red switch controls boot. Default is 2 being positive to boot from sd card while using WinCE as the installed OS. Its another configuration when android is installed in NAND.
I tired to upload the document but it was too big. It can be found on the same page as http://www.cutedigi.com/product_info...oducts_id=4398 at the bottom under 'LS6410 S3C6410 ARM11 Development Board Hardware Design Document'
I am using a laptop for this project so i have to purchase a usb to serial. I have read that i need one compatible with my current kernel. So, i guess ill be researching that.
Out of curiosity. If I decide i want to take my project to the next step, go to design services, have them design me a mobile motherboard, and have a company fabricate it will i need them to add a serial connection?
Can you post a proper link, or upload the manual to Mediafire.com? The link you posted is invalid.
In order to make a completed device:
1. Program your firmware
2. Make a list of which features you are using and which ones are completely unused
3. *optionally* draft out a case and a form-factor for the device. This is optional because I'm sure linksprite.com can handle this.
4. Contact http://www.linksprite.com/ to hash out the details
Development boards are generally sold to promote sales of a product. They make the boards as generic and moldable as possible so that people can experiment, find out what works, then make their own version. The development board manufacturers generally also handle production of completed projects.
If you do not have a serial port, it would probly be better to utilize the on-board UART. Serial and UART use different voltage levels. UART generally is 3-5v max. Serial is 12V. You can burn out both devices by connecting the wrong one. I'd use the UART on the board before the level conversion for the serial port.
See some of my posts on UART on Galaxy S devices for more. You can use a number of devices, however i'd recommend using an Arduino MEGA as they have 4 UART ports.. One is UART to USB and the other 3 can be connected up to 3 uart ports on your device. I've programmed an Arduino MEGA sketch for using the device as a USB>UART with 3 separate UART inputs. Let me know if you need it.
Btw, UART0 and UART3 are RS232 connectors on photo, so it seems these are already level converted into serial port voltage level and can be connected straight to PC's RS232 (and cannot be connected to UART interface, as this probably would burn it) to make sure get multimeter, boot board and check maximum voltage between pins of connector and board's GND. If max would be around 3V, it's TTL (Transistor to Transistor Logic) level and it's pure UART. If max is over 5V - it's RS232 and must not be paired with pure UART devices.
AdamOutler said:
Can you post a proper link, or upload the manual to Mediafire.com? The link you posted is invalid.
Click to expand...
Click to collapse
http://www.mediafire.com/?a45h90ce29c7fsf
you may want to get in touch with tom3q over at samdroid forums. he's the champ of samsung spica i5700 running this CPU.
go with smdk-tools.

Raspberry PI3 with temperature/humidity sensor , further monitoring via android app

Hi there,
I would like to make my first project related to Raspberry PI3, where the sensor would collect data and send it to the app, thus I would be able to monitor temperature from my phone. My plan is to set up a PI with one or two sensors, in my case temperature and/or humidity sensor. Collect data and send it to the Android app (which I could also develop, simple as possible).
It's time for me to buy all necessary tools for this project.
In terms of costs would you suggest to buy them separately or just at once from one vendor?
As far I know based on reading, I need following:
1. Raspberry PI3
2. Raspberry PI3 - micro USB power supply 2000mA (not 100% sure about mA number?)
3. Micro SD (what class, size, brand ?)
4. Screen (so I can see what I program, or there is another magical way to see it)
5. Breadboard and cable (so I can attach sensors and so on)
6. Resistors (what kind of?)
7. Relays (what kind of?)
8. Jumper cables
9. Analog to digital converter (is it necessary?)
10. Sensors - DHT11 or DHT22 (as DHT22 is more accurate?)
Is there something else I should add?
hi!
found this while googling "android for raspberry pi"
As for your project :
*where to buy... no clue,I got my stuff from 10+ different places
* 2,5A is better for raspberry pi3 (2A works as well,yet under full load,Im not sure)
* MicroSD at least 16GB ,better 32GB (if your using noobs / other os´s)
* screen :
the Pi has hdmi out,so just attach it to your desktop monitor.
You can code via ssh,or use the build in VNC viewer to use the LXDE desktop.
But to be honest,to really get things done on a pi,you only need a ssh terminal ,and do everything in the
commandline,at least thats what I do.
You can even set up a pi without the need ever to attach it to your monitor.
just put the wifi configuration (wpa_supplicant.conf) and an empty "ssh" file in the root directory of the boot partition of your microsd.
The pi will connect to the wifi,and you can login via port 22 and the pi´s ip address.
* if your only using temp/humidity sensors,you dont need a breadboard/resistors/JumperCables/A2D converter.
get a DHT22 sensor module (NOT just the sensor,buy the MODULE,it comes with cables,AND build in resistor).
THis is a digital sensor,you just attach it with 3 cables on the raspberry pi´s pins.
Install wiringPI and lol_dht22 ,its really simple to read out the sensor data and with further commandline tools you can do anything with the data you want.
Final/futher conclusions :
you dont really need a pi3 for temperatur monitoring.
get a pi zero W. it has everything you need for your task / it uses WAY less power than a pi3,even battery driven projects are possible,its smaller,I just love it. (and YEAH the W stands for wifi just in case your wondering... it has wifi and bluetooth build in)
I use 10 of these tiny pi´s for all kinds of stuff.
Also,you dont need an android app to code,just to get the temperature data... use automagic on your android phone/tab.
It can connect via ssh to the pi,and read out the sensor data.
You can create custom widgets to show the temperatur/humidity on your desktop.
check the screenshots,you can create widgets any way you like,there are very few limits.
I can view my piZero camera´s pictures,read temperatur/humidity from several piZeros,and also control the relay modules on two pi zeros.
Btw.. each camera view is a widget on its own,you can refresh all,or just the view you like.
you can get a full quality image ,or a quick/smaller low quality image. the filename includes the date/time it was shot,so you see if the view is old/new.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is very helpful! Thank you! For the ssh terminal I could use putty. I would like to learn what OS should I put on the card and also how to correctly put wifi configuration, but there is a lack of tutorials, or my searching skills? Could you advise on this?
managed to connect and see data on SSH.
now wondering if there is actual chance to make an android app (or find the code), so data can be seen on the app instead (not automagic)
hi!
sorry for not checking earlier if someone replied.
I use putty on the computer,its really cool.
you can even make shortcuts to commands.
I use jessie lite on my raspberry pi (2017-03-02-raspbian-jessie-lite)
its terminal only,it boots fast,and its very stable.
You can even activate a watchdog,so if the pi ever gets unstable,the watchdog reboots it.
as for the wifi configuration,thats easy
just flash the image to the sdcard,and after your done,simply put a file named
"wpa_supplicant.conf" into the fat partition (which is actually the boot partition).
the file contains the wifi configuration.
i.e.
Code:
country=AT
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="rasperrypi"
psk="passwordINhere"
}
also put a file named "ssh" (0byte/nothing in it) onto the fat partition.
when first booting your pi,the wifi configuration will be used,and a ssh server awaits connections @port 22.
you should /MUST change your ssh password/port after first use !!!!!
just edit : /etc/ssh/sshd_config for port change
and use raspi-config to change user password !
its a bit time consuming,but ALL TUTORIALS are available out there.
just let me know what you still need,and I will lookup the links and post them here !
I also just googled me into understanding linux/raspberrypi. needs time,but the feeling when you figure something out yourself.. its priceless
@androidapp:
i dont like coding/so I have no clue about that.. but think wider => coding an app,takes time,you have to know your target plattform (android versions/api/...).
while using automagic,your beyond all that,you can modify the flow very easily,and there are PLENTY of options,and ways to customize the way data is presented.
My widgets.. are custom designed,and do not reflect automagic.. meaning=> your widgets can look totally different.

Linux on tv box

I'd like to use some sort of linux distribution on an old tv box. The box is based on the Amlogic AML-8726-m3 processor and has four USB ports and a cardreader. I was not able to find something about a ported os, but maybe you can help me to port it on my own.
I applaud that you want to recycle something and I don't want to be a party pooper, but wouldn't you be better off with a Raspberry Pi?
The Amlogic is an old single core processor. OTOH, availability of RPi is poor now.
Sure, but I don't want to pay 60-100€ for a RasPi Zero 2w. And I think, the processor would be powerful enough for simple office usage.
The Raspberry Pi Zero 2W lists for $15.
Micro Center used to sell in-person, limit one, Pi Zero for $5, Pi Zero W for $10.
Since I lived nearby I used to buy one every time I dropped in.
Since you're quoting in Euros, I'll presume that you're not in the US.
If you were I might be inclined to drop you an RPi in the mail.
I'm living in Germany. The Raspberry Pi is out of stock in every shop. You could only buy it on Amazon for very high prices (https://www.amazon.de/Raspberry-Pi-Zero-2-W/dp/B09KLVX4RT/). I hope that the prices are dropping soon, but since they are very high at the moment, I have to use alternatives, like my old tv box.
Hi, it is possible to use the app Termux to install Qemu package to then be able to install a Linux distro. I wish it was easy as said, done, but if you have time I wrote a guide that could help to teach the basics of gettting qemu up and running. I haven't made a preinstalled linux machine yet but have a couple windows machines built on there as demos.
The guide is structured using Nox android emulator, but would work on most android devices that can run termux https://forum.xda-developers.com/t/...r-android-devices-windows-10-nox-lab.4481613/
Also note that there are lots of premade linux distros for termux, my guide is for those that want to program their own. If you want to save yourself the time though you could search for prebuilt termux linux machines
This sounds good, but I would like to install linux directly to the flash chip, because of the better performance. However, the device is running only Android 4. If it is not possible, to port linux to the device, virtualization would be better than using Android.
I completely understand, I too am trying to learn how to flash directly onto my shield's drive! In my limited knowledge, it would seem that our major limitation would be with the bootloader that is on current and past android devices, it doesn't have efi or the uefi capabilities.
Tianocore is an open source project that a lot of great minds have come together to make the technology readily available to the public, but I'm too novice to be able to successfully implement anything worthwhile yet.
What is TianoCore?
www.tianocore.org
If you're curious about edk2 i posted a bunch of nonsense I learned about it on page three of this guide. It's a bunch of relevant links or at least a starting point.
Root Nvidia Shield TV Pro 2019 Version
THIS IS OUTDATED https://forum.xda-developers.com/t/bootmod-root-your-shield-in-1-minute-2015-2017-2019.4524873/ REPLACES THIS IF YOU WANT ANDROID OR USE THIS GUIDE...
forum.xda-developers.com
I believe I read that edk2 will be implemented into later android firmwares, but if we could figure it out properly, we could add the efi driver to any android firmware and in theory install any OS
Replacing the proprietary bootloader sounds good, but sadly I have absolutely no idea, how I should do that (maybe it would be actually too much effort for an old TV box). So, I think, it would be better to work with the existing one. Wouldn't it be possible to flash the image, using adb?
I think possible yes, anything is possible, but the limitations is going to be with the iso or image you are using, how it unpacks the boot sector or the efi. You can flash any image over, but to get it to boot is the other problem.
Hypothetically, I would think if you were able to edit the image to the point where it was just the linux distro's system files or the system structure unpacked , it could be possible to fastboot flash the image as system.img, as thats kinda how android is structured with the separate system image and boot image, but I don't think the public knowledge is there to be able to do anything easily without developing it yourself.
That's not very optimistic.
A few months ago I downloaded the Android image from the manufacturers website. After I asked them for some information about the TV box, they deleted the whole support webpage for the device. But right now I've found a copy of the file on a USB flashdrive. The file also contains a PDF document with an instruction, for installing the image. May I could use this "update app" instead of adb for my own image?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Oh for sure! It looks like they have their own built in firmware installer, which will save you the headache of using adb fastboot flashing. I hope it works out easily for you! I'd totally throw a copy of that firmware on the cloud and link it somewhere too. You'd surely be helping someone out there some day with that!
That's a good idea! Which cloud would you refer?
I already searched in the internet for images for this device and arm architecture (ARMv7), but I was not able, to find something. Could I also only compile Debian or Ubuntu or anything else for this arm architecture, or do I have to do driver development?
I use google drive now its free and super fast. For me I can download 5gb isos in 5-10 mins. Plus you can keep making google accounts if you go over 15gb limit if you know what I mean.
Personal Cloud Storage & File Sharing Platform - Google
Learn about Google Drive’s file sharing platform that provides a personal, secure cloud storage option to share content with other users.
www.google.com
I think as far as your second question you could do one or the other. You could explore learning how to compile any linux distro you choose, since in theory (my semantics may be wrong here) they all run the same basic linux kernel, the same as any android distro does, so you can choose to explore any distro to recompile into a system.img for flashing.
Else choose to learn driver development to bypass choice 1, if that makes sense. It kinda gives you the freedom to learn whatever sounds most interesting for the time. Hopefully enough of us will start learning this we can create our own solution to what would seem to be a trivial problem but definitely isn't right now XD
Hello,
Here how to make it, with an android box X96 mini :
Blog WiFi / 3G / 4G / Hotspots – Box Android X96 sous Linux
blogwifi.fr
good luck
fabien philipp said:
Hello,
Here how to make it, with an android box X96 mini :
Blog WiFi / 3G / 4G / Hotspots – Box Android X96 sous Linux
blogwifi.fr
good luck
Click to expand...
Click to collapse
Thank You For Sharing This Sir~! Amazing!!
Good evening everyone and Happy New Year!
I have a counter question.
I decided to buy a TV box with Linux OS and made a choice on https://www.edision.gr/en/detail/ping
I would like to install some applications, but how much I did not dig and nothing happened.
Can anyone advise where and how to start. Thank you in advance.

All this hardware must be put to use one way or another

Hi everyone!
I read that this forum was specialized in providing the kind of knowledge I am having a hard time finding on my own.
Here is the situation: I subscribed a contract with an internet provider which included all the material included to use internet and tv.
The hardware was part of the contract so upon purchasing the membership I also paid for the tv boxes and a router.
The thing is that I moved to another country, and I am now with these things in a box, rotting without a prupose.
Now, I know my way around computers and some tech stuff to a certain extend, but this things involve a whole new level of knowledge and skills that I do not have.
I would like to ask engineers or any developer what could be done with these old tv boxes. Based on what is provided on the market, I do not think they are of much value knowing that a random cheap android box costs about 30 USD.
Is it possible to install some kind of arcade game interface on the motherboard for exemple? Or use it as an emulator for vintage
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
console?
Thank you for your time and any help or tip that you would be so kind to provide.
Have a great day!
Regards.
Jimmy
im not realy knowlageable in this stuff but perhaps just google the manufacturer of the tv box with its model and linux at the end and something will come up?
i did some research and it seems that the tv boxes are android based. could you plug one in and make a photo of what it displays?
Thank you for your fast reply.
Here are some pictures. One is the loading screen and the other is the first step navigable with the remote. There is no point in trying to connect it since it's another country and I just would like to access it and reboot it.
I unmounted it but i could not say if it could some kind of raspberry. There is a USB port though that maybe be used to plug in a bootable key?
Have a great day.
Your old TV boxes and router, which you received as part of your internet and TV subscription agreement, appear to be unnecessary now that you have moved to a different nation. You are interested in finding a new use for these gadgets, but you are unsure of where to begin.
One choice would be to try selling the gadgets online, either through an auction site like eBay or a website for local classified ads. The bother of trying to sell them might not be worthwhile, as you said that these gadgets could not be worth much.
A different choice would be to try giving the equipment a new purpose. You may, for instance, attempt to use them as media servers or streaming
Hi there and thank you for your feedback.
Indeed, I would like to find a new use for them but it seems that they are stuck on the first step of the booting. I cannot get past that as it is not like the usual OS where I can bypass the initial boot.
Would you know any way to create a bootable key or anything else to install a new OS or even wipe out the existing one?
Thanks in advance.
Your IP1400 devices are AOSP based. That means no playstore. But you could try sideloading apps via ADB. In most cases, the firmware and software of Set-Top Boxes are tightly controlled by the manufacturer and may not have an active custom development community or custom recovery options available. The device contains digital signatures.
option1: Stick with your device default os and sideload apps via ADB... someone did this on JioFI STB(similar to yours by following this hack... this particular model was Amlogic not Arcadyan, but this hack might work on yours by some digging around https://www.xda-developers.com/how-to-unlock-jiofi-jio-stb/] This way you get to keep your remote and other accessories and wifi and bluetooth will work. There are risks to consider.
Option2 [second best?]
If you can enter the bootloader by entering recovery (in a jio set top box, same manufacturer (one of the many)as your devices- Arcadyan with Synaptics chip, it involves long pressing reset button while the device is ON.), you can install any Linux/windows os that supports your device.
I recommend Alpine Linux since it supports ARM and is targetted at routers and embedded systems.
1st thing to do is to unlock bootloader if it is locked i.e. the option isn't there in recovery to reboot to bootloader. Try enabling dev options in the about menu of the device the same way as on android phone. [But it may not be that easy if the Manufacturer has covered the default settings menu of android with a custom UI as was the case with JioFI STB in the hack provided above. Some help from a friend in college(CSE/electrical branch) for a Mango Shake or a freebie (if a device is extra) could get you help, if more digging is needed.(looking up device specific info in the right place/using a development board or specific software etc...]
Alpine Linux:
this will make your device into a linux box. 1st step is to backup your device's system image. You would use clonezilla, a tiny linux distro that is designed to run off a usb thumb drive and backup a system image to any drive (typically the thumb drive itself) Installation and usage instructions: https://clonezilla.org/clonezilla-live.php
then you would want to make a bootable usb drive of Alpine linux and install it. An internet connection is recommended in order to install windowmanager and drivers and packages. You could use a LAN Cable. Below are the links to installation instructions.
Alpine Linux
wiki.alpinelinux.org
Requirements - Alpine Linux
wiki.alpinelinux.org
https://wiki.alpinelinux.org/Installation
You can install desktop environments (too heavy) or window managers (better and lighter ) use it as a pc(low end). I have other recommendations: you could connect SSD or an external hard drive ( to the USB 3.0 port) and configure it as a personal media server to store and retrieve via SSH your photos and videos from anywhere in the world as long as it is up and connected. Of course, you may not be able to share it since the ISPs generally have usage restrictions to avoid abuse of bandwidth. You could use it as a gateway for static or even dynamic to a degree/websites within an organization (public websites would break it since the device cannot handle that much traffic but given it is a media streaming device, it can take at least up to one Gigabit per second I guess, some are even designed for 1Tbps I saw this Tbps in the jioSTB documentation attached)
https://wiki.alpinelinux.org/wiki/Gaming_on_Alpine
remember driver support may be there or not... but it is worth a try.
There are distros specifically meant to be used as media center (like lIbreELEC and CoreELEC) but I couldn't find your device listed there.
Also during this process, you may need a USB hub to play around with IP1800 since I see only a single USB port on it in the photos provided, If a keyboard works.. if in recovery mode your STB remote isn't detected, you may need other input tools: Keyboard/mouse etc, if they are detected...[That's the thing. we are dealing with highly customized hardware and may not be able to use it as a PC, since it wasn't designed to be used as such...but it may work]

Categories

Resources