With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Hello,I'm glad you liked it.To use this app with your external IP, you have to open port 80 of your router, but as you get a 'site' already, your router is probably using port 80 for his own configuration page, you could try to change the port of the app and the port of the server. But you than have to open this port to use it.This app + server aren't very safe, so there are risks connecting it to the internet.Laurens
I used a wired ethernet connection to connect the Raspberry Pi, but WiFi should also work fine.Laurens
Yes, this should work on an arduino uno.If you, like you said, change the pins for the LED's.Laurens
Hello,This instuctables covers how to connect an own written android app with a database stored on you raspberry pi.An app which is already written can't connect to it.Laurens
This remote uses the RC-6 protocol, which I didn't implement in the code.For the code to work, you'll need a remote which uses the NEC protocol.Laurens
You should put the folder TrinketHidCombo in:C:/program files (x86)/arduino/librariesLaurens
The problem with the remote is, I think, that it uses the RC5 protocol and the code I wrote only works with the NEC protocol. What type of remote are you using?I tried compiling the code supplied again using the 1.6.12 version of the arduino software, and it ran just fine. And I can't see an obvious reason in your log file.Laurens
You have to install the TrinketHidCombo library from adafruit.Laurens
Do the lights change when you go to:http://IPAddress/?led1=1On the browser of your android device.Laurens
Hello,If you have apache installed, it will run the index.php when you send a HTTP request to the IP address of your raspberry pi.Are you using the newest version of apache? If so, you probably need to place the file in var/www/public_htmlLaurens
What is the problem with the app? Is it crashing or is it not changing the outputs?What do you get when you open the IP address of your raspberry pi on a browser on your android device?Laurens
No, the android app, says to the server to run the php file when he sends the http request.I think you should change the name of your document from 'leafpad' to 'index.php'.Laurens
Here is a screenshot.
Click on my name and press the 'private message' button.Laurens
I think it's doable.I have an app, which can communicate with a HC-05 module over Bluetooth.I think that if you configure the on-board Bluetooth using rfcomm, you should be able to use the same app (back end communication). Or you could use a HC-05 module to the GPIO pins.If you want the app, you can send me a private message with your email address and I'll mail it to you.After you received the data, you would need some kind of code/software to change the data to your controls.Laurens
It's in step 3 of this instructables. The code I'm using is the PHP code.Laurens
As power supply for the project I used a usb wall wart.You can power it from a battery, but I don't think it will run for a long time. Because the leds and the arduino use quite some power.Laurens
Try changing this line in both files.name = "Arduino Mega 2560" to name = "Arduino Uno"Laurens
Yes, this protocol is a standard for internet communication, so WiFi, ethernet, ethernet over USB, etc.Laurens
The protocol I used in this instructables is HTTP.In this protocol you have 2 types: UDP and TCP, I used TCP.Laurens
It depends. Do you want to communicate over internet or bluetooth.As you're commenting here, I assume you want to communicate over internet.There are different methods to do this, but I think it easiest to use a webserver on the raspberry pi and use POST/GET requests to send your data.Laurens
This is because of an update of android studio. You can just remove the functions onCreateOptionsMenu and onOptionsItemSelectedThis should fix the error messages.Laurens
Yes, you can use an arduino uno.As power source I used a 1A USB charger, as there are only 3 led's on at the same time, which brings it to about 3*60mA = 180mA for the led's.If you want to have all the led's on at the same time, you should have a power supply capable of delivering 5A (84*60mA).Laurens
Yes, my bad. I've changed it.Thanks for letting me know.Laurens
Raspberry pi Zero as USB to HDMI
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.