Posts | Comments

Planet Arduino

Archive for the ‘PHP’ Category

An engineering student at the University of Western Macedonia has just added another appliance to the ever-growing list of Internet enabled things. [Panagiotis] decided to modify an off-the-shelf bread maker to enable remote control via the Internet.

[Panagiotis] had to remove pretty much all of the original control circuitry for this device. The original controller was replaced with an Arduino Uno R3 and an Ethernet shield. The temperature sensor also needed to be replaced, since [Panagiotis] could not find any official documentation describing the specifications of the original. Luckily, the heating element and mixer motor were able to be re-used.

A few holes were drilled into the case to make room for the Ethernet connector as well as a USB connector. Two relays were used to allow the Arduino to switch the heating element and mixer motor on and off. The front panel of the bread maker came with a simple LCD screen and a few control buttons. Rather than let those go to waste, they were also wired into the Arduino.

The Arduino bread maker can be controlled via a web site that runs on a separate server. The website is coded with PHP and runs on Apache. It has a simple interface that allows the user to specify several settings including how much bread is being cooked as well as the desired darkness of the bread. The user can then schedule the bread maker to start. Bread Online also comes with an “offline” mode so that it can be used locally without the need for a computer or web browser. Be sure to check out the video demonstration below.

[Thanks Minas]


Filed under: Arduino Hacks, cooking hacks
Apr
16

Arduino web architecture, back to the future

Angular js, Announcements, Featured, forum, PHP, Rest Api Comments Off on Arduino web architecture, back to the future 

post

The last couple of months have been the most exciting of my entire career. Here at Arduino we are doing a big shift in terms of technology, user experience, and web improvements.

A new Arduino web ecosystem is arising, and the first hint of this new approach is visible in the Arduino Day website. This single-page website was the perfect fit to start experimenting with some new technologies we wanted to put in production. The Arduino Day website was a testbed for some new features of the new architecture we want to achieve.

Goals

  1. Website online and running 99.98% of the time
  2. Fast on every device
  3. Easy way to push updates online
  4. New theme with a single page app
  5. Clear division between presentation and functionalities (client/server architecture)
  6. Https whenever is possible
  7. Microservices

People

How did we achieve these results? It has been a challenge but, from November on, we started building a new Web team with a good mix of junior and more experienced developers. Putting together the team has been key, but we also needed to change some aspects of the way we work.

The team has been always under a tight schedule, at first we started fixing legacy bugs all around, many are still in progress, but we also started experimenting with new things. We started following the agile development methods, including a daily standup meeting to better coordinate our team of designers and developers, we create dedicated topic channel in our chat system to better tackle issues and follow the improvements roadmap, and we created clear todo lists organized by priority.

(more…)

Oct
06

Brewmonitor: The Arduino-powered, cloud-based homebrewing controller

arduino, control, DS18B20, homebrewing, mysql, PHP Comments Off on Brewmonitor: The Arduino-powered, cloud-based homebrewing controller 

IMG_20141002_155652-600x449

The Arduino and Cloud-based homebrewing controller by Martin Kennedy of TheBedroomLaboratory:

It’s just a basic site, based on this Scotch.io tutorial, which is currently plotting the temperature in my sitting room. It’s got a PHP backend (Laravel framework with RESTful API), MySQL database and an AngularJS frontend with (n3-chart/d3 for the graph). In the house, I’ve whacked together a quick breadboard circuit which comprises of an Arduino clone, a DS18B20 Temperature Sensor (with resistor for the i2c connection) and an ESP8266 module. Every minute, this wireless sensor POSTs the temperature to our REST API. This value is saved in the database and will appear in the graph whenever the page is opened. To hook it up to a fermenter, the sensor would just be placed in a thermowell in the fermenter bucket so we can see the beer temperature over time.

[via]

Brewmonitor: The Arduino-powered, cloud-based homebrewing controller - [Link]

screen-shot-2014-02-28-at-4-31-47-pmRaspberry Pi and Raspberry Pi Alamode join forces to control a Pinewood Derby race track.

Read more on MAKE

fishtankAutomation

People have been converting their old Power Macs and Mac G5s into fish tanks for a few years now, but [Hayden's] Internet-enabled tank is probably the most awesome ever crammed into an aquarium along with the water and the fish—and we’ve seen some fascinating builds this summer. After gutting the G5 and covering the basic acrylic work, [Hayden] started piling on the electronics: a webcam, timed LED lighting, an LCD for status readouts, filter and bubble control via a servo, an ultrasonic sensor to measure water levels, thermometer, scrolling matrix display, an automatic feeding mechanism, and more. He even snuck in the G5′s old mainboard solely for a cool backdrop.

The build uses both a Raspberry Pi and an Arduino Mega, which sit underneath the tank at the base. The Pi provides a web interface written in PHP and jQuery, which presents you with the tank’s status and allows changes to some settings. Nearly every component received some form of modification. [Hayden] stripped the webcam of its case and replaced the enclosure with a piece of acrylic and a mountain of silicone, making it both waterproof and slim enough to fit in the appropriate spot. Though he decided to stick with an Amazon-bought Eheim fish feeder, he disabled the unit’s autofeed timer and tapped in to the manual “feed” button to integrate it into his own system.

It’d take half of the front page to explain the rest of this thing. We’ve decided to let the aquarium tell you the rest of its features in the video below. Yeah…it can talk.


Filed under: Arduino Hacks, home hacks, Microcontrollers, Raspberry Pi
I’ve been busy since I last spoke about my lamp.  I’ve added code to put the lamp into various modes – so far I’ve implemented modes for ‘white’ (needs some calibration), randomly changing colours, randomly fading in and out with random colours, and of course just off. Modes are changed by sending characters to the …


  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook