laser paining by Sebastian Morales

PERSISTENCE OF LIGHT, LASERS AND COMPUTER VISION


Imagine being able to paint anywhere and on any surface, no matter how big the canvas is or how far it seems to be! This robotic controlled laser lets turn any landscapes into canvas.

The idea is simple, as they usually are (at least in the beginning). Being fascinated by light painting, I decided to venture using the tools I have today at my disposal.

The idea was to be able to grab any image and then draw a simplified version of it on a wall. Processing code would do all the analysis and then spit out angles for the Arduino to command the servos. This project has gone through three different iterations.

Previous Revs

Hardware Evolution

After quite some changes on the coding department, I found a better way for the laser to follow a more clear path. The next problem turned out to be on the hardware side. Since the angles the laser had to move are so small, the servos couldn't really get so precise and the first pictures turned out to be very... pixelated? I realized that unless I had better servos I would need to gear down the servos. I designed a gear box mechanism to give a 3:1 ratio to the laser, meaning that I would move the servos 3X more to get the same result, this in theory would give me 3X more resolution.

And it did!

Zero One Mechatronics

And then I found these guys... Talking to Paolo Salvagione (Incredibly amazing person) he told me about these servo controllers he had found... Prepared to be amazed just as I was back then:

The modified controllers, or SUPER modified controllers I should say, fit inside most stander servos, they replace the board and the potentiometer, in exchange they offer:

  • Includes 15bit absolute position encoder
  • Profiled movements (control acceleration and velocity through movement)
  • Control loop running at 9,765 KHz !
  • Multiple bus interfaces including RS-485, multi-node uart, I2C! Up to 128 nodes on a single bus !
  • 5 to 24V, 5Amps continuous
  • Multiple software interfaces: Stand alone application, MatLab dll, Arduino library and more

Need to say more?

The modified controllers can connect through I2C, meaning that you can connect more than 100 devices to the same arduino port and control them simultaneously. To do this however you will need to change the address of each new controller. Fortunately ZeroOne Mechatronics have done a great job documenting and I go more in detail here.

Isadora

Lets be honest, looking at a little green dot move on a wall is not very exciting, unless we are able to see the past in the present. This is a concept that I find particularly interesting, we can be presented with information and instances after we can no longer recall it. It would be extraordinary for a person to be able to tell what the laser is drawing just by seeing it move.

The traditional method to see the result of light painting is by taking a long exposure photo. This however is not a fast since you have to wait for the painting to finish in order see the results. This is also a very static process, the result is a single image when the process was full of fluid movement. Finally this method only works in great darkness, which makes the entire process very limiting.

I won't go too much into details here but Isadora is an amazing piece of software that will allow you to process video live, you can add effects and do so much that I don't know yet.

It is node based which makes it easy to play with and immediately see what works. Check it out! I can't wait to use Isadora on many of my future projects.

In this case I am using it to track the color of the laser instead of the light, which means that it doesn't have to be dark for the "long exposure" to work!

Ann and the Flocks by Sebastian Morales

ANN AND THE FLOCKS

Dancing Flock at 1871 Chicago

Ann and the Flocks is our interpretation on how the internet is infiltrating our lives and how we might communicate with machines in the future.

A five week "side" project

It all started through MonkeyBars a startup who for the past couple of years has partner with amazing companies to create Hackathons in Chicago. In this occasion they where partnering with Cisco for their Internet of Things World Forum Hackathon (IoTWF). Taylor Harvey, one of the founders of MonkeyBars approached Neil and me with the opportunity to do an installation for the event, this is such installation.

Renderings and Ideas

Few things will ever capture your emotions as the mesmerizing flight of thousands of birds in chaotic synchrony. Individuals flying collectively in close proximity, all processing information from their neighbors alone, resulting in a powerful creature able to protect itself and its members.

 Initial sketches- planes with movement

Initial sketches- planes with movement

Swarm behavior is so efficient it constantly emerges in nature across multiple species, but more amazingly, through all living elements. As the Internet infiltrates our lives, we are no longer limited by physical proximity, allowing for swarm behavior to emerge more efficiently based on interests and needs. Instead of powerful breathing flocks of birds in the setting sky, powerful concepts and solutions are created by the agglomeration of individual ideas resulting in a whole much greater than the sum of its parts.

Similarly, as the Internet permeates machines, they also begin to behave as flocks. Machines communicate with each other and then take action based on the information shared. Smarter systems are born as known boundaries crumble.

 Early Conceptual Renderings

Early Conceptual Renderings

The Flocks is our interpretation of the Internet infiltrating our lives.  How systems that at first were disconnected start working together. Information is everywhere and the Flocks have multiple channels to decode these overloads of data to later communicate it through its network; listening to tweeter, searching motion, monitoring the weather, observing WIFI usage are just some examples.

ANN- ARTIFICIAL NEURAL NETWORK

Since the beginning, we knew that 5 weeks to do an entire project (outside of working hours) was going to be really challenging. We knew that although the project had to be achievable, the greater vision behind it could extend into the future. 

In our vision, the Flocks would be able to absorb information of their surroundings, interpret the data, react accordingly and communicate with other flocks. In many ways the Flocks would be affected by events occurring to other Flocks. Communicating information from one to another, to the rest. 

Five weeks is not enough to create a swarm, so we created Ann, the centralized brains behind the flocks. Ann decodes these overloads of data to later communicate it through its network to the flocks.

Neil Gupta was the awesome engineer behind the network and the personality development of each flock, all designed to behave a little different than the rest.  Through a Raspberry Pi and Xbee Radios, ANN is able to communicate with each flock remotely.

MODELING BEHAVIOR

 

The brainstorming then evolved into a study of emotions. The question was how do we map movement to human emotions? It is easy for us to communicate and identify emotions based on posture of other human beings, even animals. More so, we are also capable of transmitting emotions through form. In the sketches above, each line represents the position of a corner of the base and the way they are moving.

With no more time to spare, it was time to start making things.

FABRICATION

The Cubeoctahedron

Cubeoctahedron formation

The cubeoctahedron, popularly known as 14hedron for it's 14 sides, is an Archimedean solid, a semi-regular polyhedron with eight triangular faces and six square faces. It is the intersection between a cube and an octahedron, hence the name. 

The cubeoctahedron has some cultural relevance and it appears in architecture all around the world. I however, am not so interested in its magical properties but in its interesting symmetrical geometry. When seen from different angles one can observe clear distinct symmetrical views. This was ideal for the project since the multiple shapes could break uniformity within the Flock with one single geometry that could be made in a two part mold.

Symmetrical planes

Making 100s if Cubeoctahedrons

Needing more than 200 made, many manufacturing processes where out of the question. Each cubeoctahedron is suspended by a fiberoptic cable which allows for control on each unit's color and light intensity. After giving it some thought, the easiest way to make 100s of these was by casting them out of a clear resin. After a couple of attempts I realized that the best way to do this was to 3D print a mold and then vacuum form a PETG lining on top of the mold. The 3D prints had to be ABS since PLA would start deforming with the heat of the vacuum former. Once the method to create one was perfected I was able to move on to mass production.

"Mass" production

nce the method was established, the process went relatively fast, multiple PETG molds took only minutes to make and in a couple of hours I was able to make more than 200. Figuring out the method took much longer than that though. 


The Base

Creating the bases was a challenge of its own, after several tests and iterations, I decided that the easiest way to make them was in the CNC machine. 

The plan also consisted in giving two flocks to Cisco for their national conference, a couple of weeks in advanced we sent the drawings so they could prepare the process and the space to mount them. 

Lights and Movement

Each optic fiber is connected to an individual an addressable RGB led on one end, on the other to a cubeoctahedron. Each base is supported by three NEMA 23 Stepper motor allowing for a very wide range of movement, including tilting, lifting, lowering, vibrating or creating oscillations and waves.  

I have always found the lathe quite relaxing, no matter how large the pressure to finish in just a couple of hours. 

RGB testing Sequence 

Mounting and Install

Testing soon after installing at the Grand Ball Room. Going through a dancing sequence.

Ann and the flocks lived at 1871, Chicago’s entrepreneurial hub for digital startups, for several months after the installation. They celebrated every time the hub earned a new twitter follower and danced every time they were mentioned through the internet.

Sofia by Sebastian Morales

Spring 2013- MMAE 433- Academic project

Sofia is an electromagnetic levitation clock capable of making small objects float in thin air.  Like a regular clock, Sofia keeps track of time, but instead of having revolving hands, she orbits the object under her glow. Perhaps a metaphor for time, space and gravity.

X ray view inside the clock

Over the centuries, mankind has always been fascinated by the idea of tracking time. From looking into the stars to state of the art atomic clocks time keeps captivating our attention.  In modern days, timepieces are transforming, adapting their functionality, serving less as time tracking mechanisms and more as ways to express ourselves.

A little theory

The following formula is one of my favorite ways to introduce the system:

We can closely approximate the force applied on the levitating magnet by the electromagnet. Notice how the driving factor in the equation is the distance (d^4), meaning that a small change in distance will cause incredible changes in the current (i) required to levitate the same load (f).  K being a constant dependent of the geometry of the system.

In other words, levitating a magnet more than a few centimeters is extremely challenging, not only because the electromagnet has to be powerful enough, furthermore, the system has to be fast enough to react to small disturbances.

The diagram below illustrates the system, R is the resistance through the electromagnet, L is the inductance of the coil, v is the voltage through it; mg is the mass of the magnet and gravity, d is the distance from the coil to the magnet and  e is the voltage across the hall effect system.

 

So How does it actually work?

In simple terms, the hall effect sensor between the magnet and the coil is constantly measuring the magnetic field. If it detects the magnet getting too close it will reduce the voltage to the electromagnet, if it detects the magnet getting too far, the controller will increase the voltage to the electromagnet. This loop happens at a very high frequency, so fast that the magnet appears to float statically.

Process

Humble beginins. After mathematically proving that what we wanted to accomplish was possible we had two short weeks to create a working prototype. It didn't need to be pretty, it just needed to work. 

Fabrication Process

The process was elaborated, starting by laser cutting the body of the clock and the sanding it until it was perfectly smooth. Priming then painting, we used an automotive class primer to prepare the surface for our stainless steel paint.

In the end

Time is much more than the numbers on a phone’s screen, sometimes we seem to forget that. With Sofia we wanted to step back and communicate time in a different way. No screens, no overloads of data. Look up as our ancestors did, discover time.


Design Team

This project was originally a final capstone design project for the Mechanical Engineering Undergraduate Degree at the Illinois Institute of Technology.  

Participants: Sebastian Morales, Pablo Criado-Perez, Ahamad Khalil, Brandon Slack, Christopher Anene, Eizaaz Zakaria and Haochen Wang.

 

Special thanks to:
Mathew Spenko Ph.D.
The class of 2013


References:

Lilienkamp, K., Lundberg, K. Low-cost magnetic levitation project kits for teaching feedback system design. American Control Conference, 2004. 0-7803-8335-4

Wiboonjaroen, W., Sujitjorn, S. Real Time Implementation of the State-PI Feedback Control Scheme for a Magnetic Levitation System, International Journal of Mathematical Models and Methods in Applied Sciences 978-1-61804-164-7

Zeltom, 2009. Electromagnetic Levitation System. Available online: http://www.zeltom.com/documents/emls_md.pdf

Zschokke, S. 1996. Early stages of orb web construction in Araneus diadematus Clerck. REVUE SUISSE DE ZOOLOGIE, vo!. hors serie: 709-720; aoilt 1996

Invisible Cities by Sebastian Morales

People move with hurry in their strikes, their mind elsewhere. I often think they have forgotten what the sky looks like. In their mind, I can only see broken pieces of blue, a panelized reflection of what exits above us.

More buildings, more glass, more beauty, more reflections.

People walk, rush, over and over the same streets, forming patterns of random repetition. The more they walk the less they notice the deeper they go into their thoughts.

Invisible Cities Pavilion

With this pavilion I wanted to show how our cities, almost in a physical way, turn invisible the more we live them. From afar, the panels on the structure are dark and reflective, merging to the world around it. As the spectator approaches, the panels gradually fade. Every step closer, the pavilion reminds you that it is not there, until the only thing you see is through it.

Modeling Behavior

The project started as a way to explore different modeling softwares. In particular, I was interested in modeling behavior so it was a natural choice to begin with processing. I started exploring agents based swarms, looking at how they react to attractors and repellers. Modeling Process: Processing, hand sketch, Blender, Rhino, Grasshopper, Keyshot

Inspired by the flocks I then started modeling a pavilion in Blender, continuing the learning curve I switch to Rhino where I was mostly interested in surfacing and penalization.

Rendering in La Defense, Paris

Design

Each panel has long range proximity sensors, detecting the people approaching

Using proximity sensors the pavilion can monitor the flow of people around it. As someone approaches, the elctrochromic panels react, becoming more and more transparent. The panels are connected to each other, all aware of their neighbor's state, in a way, behaving as a swarm.

Behavior Flow

Disappearing with proximity


Every step closer, the pavilion reminds you that it is not there, until the only thing you see is through it.