Archive for the ‘php’ Category

Programming Arduino on the cloud: codebender

Wednesday, July 4th, 2012

codebender is web-based IDE, mainly built with HTML5 and Javascript, that focuses on the development for the Arduino platform. Since it is going to be used directly from the browser (note that currently codebender is still beta), it will further simplify the whole development process, avoiding the installation of software and libraries on the local machine.

From the home page of the project:

We want to lower the barrier to entry, which is necessary to help everyday people start their first project, become makers and advance technology instead of using it. codebender requires no installation, so you can get started with Arduino programming the minute you get one in your hands! And with the development tools we provide, you can do so faster and easier! codebender also stores your code on the cloud, so it’s safe and accessible from anywhere, anytime.

Several nice features will be available soon, such as remote flashing: together with an Ethernet shield flashed with a properly designed TFTP bootloader, you will be able to upload a sketch remotely, over the internet! Another nice feature regards its integration with the open documentation available on the Arduino website, which will be accessible directly from the IDE by selecting a piece of code and, then, by pressing ctrl+space.

More information can be found here.

[Via: HackADay and codebender's website]

Arduino Candy Grabber, Web Controlled.

Thursday, March 31st, 2011

A step-by-step guide on controlling physical things (like grabbing candies with a mechanical arm) via Internet (please, try!).

In this instructable you will learn how to connect to your arduino and control it over the net, set up a video stream, and how to control stuff with your arduino all in realtime. I’ll try to show you on a concrete example how this could be done, but the code I used and wrote is going to be generic so you can use it for your projects. Note that I haven’t discovered anything new but rather used code that I found lying around the net, built from it and changed it fit my needs.

(…) So how should it work? The idea is that there is a Flash AIR app on my home computer that when a remote client connects to it starts the video broadcast. The communication between the client and the AIR app would be through a PHP socket because it can instantly push messages from one to the other. The socket will handle all the clients and the queuing. The Red5 server is used to handle the video broadcast, stream the video and send the arduino commands from the client that is first in the queue to the AIR app (although it could do so much more… we’ll talk about that in a later step). Finally TinkerProxy is used to send commands from the AIR app to the arduino that is connected to the same computer.

Thanks to Mario for the link!

via [Instructables], grab the thing [here]

Hacked Toy Internet Alert Circuit

Tuesday, October 12th, 2010

 

 

Roth Mobot shared a nice project about an “interface between the Internet and a common circuit bent toy.

We decided to create a circuit that would activate a toy whenever someone logged into Roth Mobot’s web site. We designed a simple and elegant solution using an Arduino, a home made Vactrol, a common electronic toy, and three simple scripts written in different programming languages. We’d like to thank William Swyter for lending us his Arduino, and Factory Smoke for his Vactrol suggestion, which stopped us from creating overly-complicated custom circuitry with transistors and diodes, and made the programming a piece of cake. The result was an elegant circuit that electrically insulates the toy from the Arduino (and the computer) by “optically coupling” them with light.

(more…)

Hacked Toy Internet Alert Circuit

Tuesday, October 12th, 2010

 

 

Roth Mobot shared a nice project about an “interface between the Internet and a common circuit bent toy.

We decided to create a circuit that would activate a toy whenever someone logged into Roth Mobot’s web site. We designed a simple and elegant solution using an Arduino, a home made Vactrol, a common electronic toy, and three simple scripts written in different programming languages. We’d like to thank William Swyter for lending us his Arduino, and Factory Smoke for his Vactrol suggestion, which stopped us from creating overly-complicated custom circuitry with transistors and diodes, and made the programming a piece of cake. The result was an elegant circuit that electrically insulates the toy from the Arduino (and the computer) by “optically coupling” them with light.

(more…)

Control Your Arduino via Mobile Phone Through the Internet

Thursday, October 7th, 2010

 

[Bilbo] forum user shared a nice piece of code to communicate to Arduino via Twitter (and Php, and Python, and offcourse a PC hooked up to the Arduino). If you need to get rid of shields and stuff you may want to follow his post:

Alright now I know that there have been lots of threads on this, but I think this is a different approach. I wanted to be able to control my arduino from my cell phone, and without a cell shield or ethernet shield. Thus, i did it through twitter through my computer.

via [ArduinoForum]

 

 

 

 

Control Your Arduino via Mobile Phone Through the Internet

Thursday, October 7th, 2010

 

[Bilbo] forum user shared a nice piece of code to communicate to Arduino via Twitter (and Php, and Python, and offcourse a PC hooked up to the Arduino). If you need to get rid of shields and stuff you may want to follow his post:

Alright now I know that there have been lots of threads on this, but I think this is a different approach. I wanted to be able to control my arduino from my cell phone, and without a cell shield or ethernet shield. Thus, i did it through twitter through my computer.

via [ArduinoForum]

 

 

 

 

Arduino, Php, Lcds, Xbees: Tactical Texting In Public Spaces

Friday, September 17th, 2010

It’s been quite a long time since I’m following this project. Now [Michael] came to a certain level of stability and shared his thoughts (and codes) for our personal benefit:

While the adventure in working on this project began months ago, I’ve finally sorted through the mess of files I made and put it all together in a nice handy zip folder. Using Arduinos, XBees, LCDs, and PHP, this project was challenging from a technical stand-point, but I think the project is now at a place where it can act as a foundation for a number of other projects I’m hoping to take on.

While the most-recent installation of this project was on view as part of SRSI, I’m already looking at the Arduino-TVOut library dreaming of what to do next.

I have to find some time to read back again all the project.

via [BrockenCityLabs]

 

 

Arduino, Php, Lcds, Xbees: Tactical Texting In Public Spaces

Friday, September 17th, 2010

It’s been quite a long time since I’m following this project. Now [Michael] came to a certain level of stability and shared his thoughts (and codes) for our personal benefit:

While the adventure in working on this project began months ago, I’ve finally sorted through the mess of files I made and put it all together in a nice handy zip folder. Using Arduinos, XBees, LCDs, and PHP, this project was challenging from a technical stand-point, but I think the project is now at a place where it can act as a foundation for a number of other projects I’m hoping to take on.

While the most-recent installation of this project was on view as part of SRSI, I’m already looking at the Arduino-TVOut library dreaming of what to do next.

I have to find some time to read back again all the project.

via [BrockenCityLabs]

 

 

(Really) Cheap RFID door opener

Friday, May 21st, 2010

[Ethan Zonca] explain is final project using Arduino, RFID, and an old PC.

Well, the school year is over, so I thought I’d post up some information about my (extremely cheap and junky-looking but functional) door opener.

The door handle is turned by one 24v globe motor (which have encoders that I’m sadly not using at the moment), and is pulled open by another identical motor. A very affordable ($30) SparkFun RFID reader is attached to the back the door so cards can be scanned from the outside. An arduino controls the process, and drives motors and a cooling fan with 3 darlington transistors.

The arduino was attached to an old Dell laptop, which ran the Apache webserver. A small password-protected php web interface was created to allow door opening from anywhere on campus. KDE4 widgets allowed door opening from computers inside the room, letting my roommate and I avoid walking less than 8 feet (or less) away to open the door for someone.

Any chances to get the code? More pictures?

via [protofusion]

XBees, Arduinos, Serial Data

Thursday, May 20th, 2010

Some update (and wireless inhancement) of the arduino+php+lcd project of [justin] from [brockenCityLab]

I made some huge progress over the last week or so on this ongoing Arduino / LCD project — it’s finally gone wireless!

With some more silly mistakes behind me, I’m finally getting a better handle on how to break down the problems I run into and solve them a lot faster. I remember back in February, it seemed as though it was going to be impossible to actually get this wireless part happening, so I’m super relieved to know it’s at least partly working.

Also, there have been people asking for the code used in this project (in terms of PHP and Arduino scripts), I will upload them! I just haven’t had the time to go through and appropriately clean them up and comment them, so I’m not sure how useful they would be at this point. I just wanted to note that I will indeed be doing that soon though!

allloooot of pictures.

via [brokencitylab]

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy