Week9Week 15::Applications and Implications

Assignments:

propose a final project that integrates the range of units covered


Short
Presentation

what will it do?

This smart cradle aims to unite existing technologies in the market, it is a traditional furniture and interactive surveillance equipment. The main element, child toy, contains all the control electronics that allow us to monitor the baby through Internet-connected devices (PC, Smartphones, SmartTV, ...). Raspberry Pi will be the brains of these elements and provide a web server via a simple way to interact with the various devices that make up the project. Thanks to a Web application we can observe the baby activating the PICAM. We can remotely turn on the engine of child toy, turn on the lights or play sounds. To do this I plan to connect all device drivers input and / or output with a shield connect to Fabkit, this in turn will communicate via serial with Raspberry PI board and control the different elements.
Other items on the market offer similar features, but the great advantage of the smart cot is that it is modular can easily add functionality. Possible developments:
- Add interactive buttons, with the baby from 9 months to interact with existing (or new elements added): sound, light, movement ....
- The cot can be transformed into a small interactive couch, ideal for when the child is 12-18 months.
- All elements of the electronic part can be easily recycled when the child is older and can be used for new ideas and / or toys for the child.


beforehand who's done what?

So far today the furniture is made, the other elements are almost all designed. Although estña cot made with DM, I would do it in other prettiest wood (itis time question). Failure to realize the design of the shield connecting with fabkit to control or servo motor (I'm still not sure), control lights and sound (for sound I can use Raspberry Pi). Toy child support (which will also support electronic elements) have to cut into the milling machine, and mobile elements will print with the 3D printer. I try to print a small lamp (ceiling type) to one of the walls of the crib (I will study it acts as an emergency light for possible power outages). At the same time I have to work on the development of the Web application that will manage the entire system, including remote shutdown.

what materials and components will be required?

I need to finish the final design, I think we would need the following materials:
2 x wood board (244mm x 122mm)
1 x Raspberry Pi
1 x PICAM
1 x Servo or motor (doubts)
1 x fabKit (see details)
1 x Motor driver
1 x Relay
5-10 x clear leds
5-10 × resistors
1 Speaker
1 x Battery Holder
1 x small power supply (Raspberry Pi)
1 x FTDI Cable (Raspberry Pi-Fabkit)
PLA or ABS (For figures, ceiling and support toy) (doubts)
3 meters of cotton or nylon cord


how much will it cost?

wood: $ 50-250, depending on the material (dm, plywood, pine, oak, ...)
Raspberry Pi 2 - B model: € 32.87 (Price is before tax) www.element14.com
Raspberry Pi Camera Board (Pi CAM) € 22.5 - www.element14.com
Servo motor or Motor 360 or steep - €5-12 - (Inventory, various sources)
FabKit (Inventory)
FTDI Cable 5V (id: DEV-0971) -$17.95 www.sparkfun.com
Estimated Total: $ 200.00

what parts and systems will be made?

The furniture parts are designed and manufactured by me, part of the electronics (stepper motor driver board, or fabkit) will also be made for me, almost all printed 3D parts are designed by me (I downloaded some models Thingiverse), summarizing: Almost everything except the Raspberry Pi or motor, will be made by me with existing materials in the Fab Lab Leon (Dm, pla, electronic components, ...)

what processes will be used?

3D printing (all elements for child toy), laser cutting (some parts of child toy support), CNC milling (parts of bay cot), soldering (stepper motor driver, fabkit) and programming (Raspberry web server, some pyton scripts, some php scripts, fabkit and a some services for Raspbian O.S.) Design (3d and 2D for all proyect), output and input devices (motor, serial read, Picam), serial comunication (fabkit-raspberry pi) .

what tasks need to be completed?

Currently I am printing elements and preparing children's toy Raspbian operatic system and all necessary scripts for the Apache Web server and will use Bootstrap will use as a starting point for the web application. I am also painting the wooden parts of the cot. I need to test with PICAM and the new engine designed diver.

what questions need to be answered?

I have some doubts about how to program the application to reporducir sounds or music, do not know how to program the fabkit to correctly move the motor (currently I'm working on it).

what is the schedule?

on next 2 weeks:

  • 1 - finished printing all the pieces in 3D
  • 2 - painted wooden elements
  • 3 - prepare the operating system for the Raspberry Pi
  • 4 - programmed scripts and services necessary for communication between pi-fabkit
  • 5 - Establish communication protocols (App-Pi-Fabkit)
  • 6 - Programming motion motorcycle
  • 7 - Programming PICAM display in app
  • 8 - assemble all the parts of the project.

how will it be evaluated?

In the last review of the project, Neil advised me to focus on one or two of the planned goals (eg motor movement and camera display). I'm going to focus on finishing work to meet these requirements, leaving for the future the possibility of adding functionality control sound and light.