The purpose of this blog.

We are student form Brooklyn International High School (BIHS). We are working on a project group of 4-5 to people that called Digital Poetry Machine. It’s a digital fabrication, programming and art project using Arduino, I2C EEPROM chips and a laser cutter to make a digital poetry machine. There will be words you can chose and create your own poem on a wall. The, if you press a button, you can post it in online. For this project we are working in Science and English class. In English class we learn how to write poems using simile and metaphor. And in science class we learn about moss and we was going to use moss but it didn’t workout. For this project we got special help from Mark who work with Beam Center. He teach us how to program the chips and we use the laser cutter with him. Also we learn Scratch in order learn programming. It’s one of the biggest project we ever doing and will be done. This link shows the big steps of the projects.

Preparing the Small Boards

We making the biggest project ever in our science and english class and this project is all about technology and poetry. We used a laser cutter to cut a lot of different type of words and we going to put them together to make a story and we going to post the story in a  board that make out of wood, but before posting the story we have to prepare the big board and now I will tell you how we prepare the big board.

First of all to prepare the big board we have to cut it straight.

Screen Shot 2014-12-15 at 2.12.30 PM

In this picture the longboard is what we using to post the words so we have to make sure we cut it straight, so to cut it straight we have to use this big flat board you see as a guide to put the longboard and we make it stay on it with a clamp so it won’t move and so we can cut it straight.

Now after cutting the the longboard straight we have to paint the board.

Screen Shot 2014-12-15 at 2.14.48 PM

This picture shows you how we paint the board that we going to put the words on.

Finally this is all we did to prepare the big board.

by: Gerdine

Fixing Hardware with Software

When you make something for the first there is 100% of chance that there will be some kind of problem. No matter how how hard you try not to get into problem you will get problems in your project. It could could be something that you can fix by just looking at it, also it can a problem that might affect your whole project or will take more time than it will take to complete the whole project. Problems will appear because you are doing it for the first time and you don’t know how to do it perfectly. There is no instruction to follow. So problems will be in you way and you need to solve it. In our poetry machine project the numbers of problems we had was infinity. Some problems took a minutes to fix others took days to fix. Even when you solve a problem another problem appears. There was some problem appears at the end of the project. Some of the problem we had was cause by the another problem. Some of the problems we had was the big board was too flat, behind the board too much of wires, then too much copper and last the big problem was the I2C connection. Some of those problem was easy to fix and some was hard and took lots of time such as the I2C connection. The board being flat we just put wood behind the board to make it straight. Then there was too much much wires behind the board and we had to solder it carefully because if there was one wire solder it not in the right place the word won’t be able to read. Then also some of the cooper had bad connection with each other. It wasn’t touching all four side of the magnet. On the board we put paper then cover it with the more copper to fix it. Also solder it carefully. The last one is the I2C connection which is one of the biggest problem we had. Connection between the I2C it would failed. Sometimes it would fail because of there other problems such as board being flat and too much copper. After we fix the other problems the word would read all the time but the connection it would failed. It took us long time we also fix that by using the watchdog program.

In that program two things are very important. The timer and the loop to read the word.  First lets look at loop. Loop is when you have a condition and when the condition is true the code will run or do what you told it to do. Lets look at the first part of the loop:

Screen Shot 2014-12-14 at 7.09.01 PM

In the first line of the code you have a array of string that will hold the poem or 16 words. Now you might as yourself there is only 15 words can go because the value is 15. How can it hold 16 words. Well first word will count as 0 and the next one or the second one will be 1. So 16th word will be 15. Our board can hold 20 word so the value will be 19 and now only 16 spots are working so we have 15. Then the for loop put it into a order by order or word after word. It read the first word then put it into the 0 spot then the second word into the 1 spot and it adds on until 16 word and put them into a line. Then the next part is:

Screen Shot 2014-12-14 at 7.10.01 PM

In this part of the code it check the words and correct them. It reads each words 30 times to see if there is a mistake. For example the word you put on is “Bright” and then the first time out of 30 times. First time it might read only 5 letters from “Bright” light “Bight”. Then the second times or some other time out of 30 times it will read the full 6 letter like “Bright”. So the first time they read 5 letters now it will replace with 6 letter because 6 is bigger than 5. So that part of the loop double check the word and if there is a mistake it will replace it with the right one.

Also another big part of this code is the timer. First thing to do in timer is beginning of the code you need to include the timer library. And the code for that is: Screen Shot 2014-12-14 at 7.11.22 PM After you include your timer you need to setup your timmer. The code you put for that is:

Screen Shot 2014-12-14 at 7.12.00 PM

When you everything is connected it show in the screen “Push button to read poem….”. So after press the button it will start your timer. The timer you will start at 4 second and then count down. Now if the loop doesn’t run in 4 second that mean it crash. If your loop doesn’t run in 4 second it will give you chance to reset the whole Arduino. Screen Shot 2014-12-14 at 7.12.50 PM  When it doesn’t run you can reset the whole thing again and run you poem again to post on the twitter.

This is where you can get more help about the Arduino.

by: Tareq

How to Cut the Wood

Screen Shot 2014-12-14 at 6.56.21 PM

First you have to do Various blades might be fitted to suit different types of solid wood, such as plywood, chipboard as well as hardboard.It can create straight or curved cuts.When generating a cut, position the wood on the bench and make sure the cutting area is clear to make certain you don’t cut through anything you don’t want to.

Screen Shot 2014-12-14 at 6.57.26 PM

Next you have to do Cuts are made as the sharp edge rises upwards through the timber. Which means neatest side will be on the underside. Bear this in your mind while placing the particular timber for a cut, specially if chopping solid wood which  has a coated or melamine surface.Jigsaws often have adjustable rates of speed and are available having a airborne dirt and dust removal ability and also variable base dish perspectives.

Screen Shot 2014-12-14 at 6.58.06 PM

Then you have to do These are used for cutting timber, MDF, block board and ply board. It makes direct line cuts. Like with a jigsaw, the actual cut is done as the cutting blades rise upwards through the timber, so the neatest side will be on the underneath .When making a new cut, place the actual timber coated surface upon a bench and make sure the cutting area is clear to make sure you don’t cut through what you don’t mean to.

Screen Shot 2014-12-14 at 6.58.45 PM Screen Shot 2014-12-14 at 6.58.53 PM

Then you have to do Circular saws generally feature varying chopping capabilities, adjustable speeds, a variable line of cut indicator, a depth adjuster, a remote lower guard lift lever, a dust removal facility and safety switch. Various attachments as well as blades usually are obtainable.

Screen Shot 2014-12-14 at 6.59.43 PM

Then you have to do fast Circular saw accessories are also available, Which may be fitted to the top of your electric drill.

by: Alifa

Designing the Word for Laser Cutter

Screen Shot 2014-12-14 at 6.54.09 PM

First you want to learn.A technique for making such necklaces or laser-cut cut outs from other line art, a mechanism for uploading your design to a fabrication site and recommendations for how to get it fabricated effectively and cheaply.My screen shots will be using AI CS4.  They should be generally applicable for CS2 and beyond.  Illustrator is TRICKY, so don’t get discouraged if you find yourself stuck.  This procedure should avoid some of the most common pitfalls.  If you hit a wall.I am NOT affiliated with any fabrication site. I have used Shape ways for 3d printing and Panocha for laser cutting and found pros and cons for each.  The speech bubble design in the photo is something simple that I made, a similar version of which could easily be created using this technique …..

by: Alifa

Connect and Testing the I2C on Arduino

Poems are made by words and those word have order. Which goes first and which goes to the last. In our project there will be 80 words. You can choose from those 80 word to make your poem. Using the different word you write a poem in the big board. Each word is attach to one small board. But out those 80 word how does the computer will know which is which word. In order to post your poem the Arduino have to read the word you attach it with the board. This is one of the most important part in the digital poetry machine. First you need to attach four magnet to the back of the board. One to each corner of the board. Then you need to cover the magnet with about 5 inches cover.

Screen Shot 2014-12-07 at 9.05.20 PM

Soldering the wires in the copper tape.

After you cover all the corner with the copper you need to cut 4 wire that can reach from the copper to the middle of the board. Four of that wire have to be different color. Blue, black, white. and red. Then you take a chip holder and hold it perfectly. Then you take the black wire and solder to all the four side of the left. Then on the right side of the holder the top one you solder it with red, then you skip one and solder the white and to the last one solder the blue one. After you solder the wires to the chip you need to solder it to the back of the board. You need to solder the black wire to the lower left cooper, then red to the upper left, then white to the upper right, and the blue to the lower right side of the copper.

Screen Shot 2014-12-07 at 9.06.41 PM

This is how you solder the wires to the board.

Then you plug the I2C chip into the chip holder to test it on Arduino if the word that they programed in the chip is working or not. Plug the Arduino to your computer, connect the wires from Arduino to the back of the big board with the same order of colors as the chip holder.

Screen Shot 2014-12-07 at 9.07.35 PM

Then you open the Arduino on your computer and use a program called “I2C eepromwrite” to test the chip. If the chip is working, Arduino will read and show it on I2C eepromwrite’s window.

Screen Shot 2014-12-07 at 9.08.18 PM

You word should show on the screen.

by: Tareq

Writing Imagery and Metaphor

The big project we doing in our science and english class is all about poetry and technology,There’s two different literary techniques we practiced in class which is “Imagery and metaphor” I’m going to tell you how they different from each other.First of all they different from each other because you use them differently and you use different word.In the other hand when you writing an imagery poem you have to make the readers imagine or see a vision of what you telling them and when you writing a metaphor poem you comparing two things to each other or using ironique which is when you say the opposite of what you wanted to say and metaphor is a great method to use when you want to liven up you’re poetry and make the readers think more and deeply about you’re poetry.Finally imagery is different from metaphor because you use imagery to make the readers have a vision or imagination about what you write and metaphor is when you want to compare two things so that the readers their similarity in a different way that’s not direct.if you want to know more about metaphor and imagery.

An Example of Metaphor is: When my dad’s football team lost he was a big baby.

This Example is a Metaphor because it Compares my dad to a big baby.

An Example of Imagery is:my five dollars is long, green,and big.

 

By: Gerdine

How to Make a Game in Scratch

We making a big project in our English and science class. and we using a lot of different type of technology in the project, and Scratch was one of them.Now I’m going to tell you about how to make a game in scratch. is very easy only you need to follow the rule in Scratch like put letter together but need to make sense i gonna show you a picture to make a game.

Screen Shot 2014-12-01 at 2.04.14 PM

You can see they give you a piece to get the idea so you can finish the sentence. The game work if the ball touch the red line you lose and you got two black line one of the black line move is the little one this  line touch the ball and the ball go to the other black line the big one and this black line throw the ball back if you don’t move the little black line you gonna lose i gonna show a picture how the game is.

Screen Shot 2014-12-01 at 2.05.21 PM

This is how my game look like.

Many people get confused when they want to look for something to move is very easy each subject has a color different color.

Screen Shot 2014-12-01 at 2.06.38 PM

You can see Blue color you can find in emotional because Motion is blue if you want to find yellow you look the corner and see with world is yellow  and you go to control is easy to make only you need to follow the step that you need to do. If you don’t find something that you want to put it you can make what you want you can make a background you can make a picture also you can make a animation i gonna show you how to make and where you need to go to make.

You go to Date and than they gonna show you something that say make a variable and make a list, to make a animation you press variable is you want to put a name in the game you go to list. let me show you a picture.

Screen Shot 2014-12-01 at 2.10.54 PM

To make a background or drawing something you go to costumes press costumes you can draw something that what you want.

Screen Shot 2014-12-01 at 2.11.54 PM

This is the link to my game.

BY: Yelfry

How to Fade and Blink in Scratch and Arduino

When you fully understand and know how to program the possibility of making cool think are infinity. But first you have to learn the basic of programing to becoming pro. One of the basic thing I learn when I started Scratch and Arduino is how to blink and fade. I will show you how I did blink and fade in both Scratch and Arduino.

Blink

In Scratch blink can be easy for some people, but it’s good practice when you join Scratch for the first time.

Screen Shot 2014-11-26 at 8.03.52 PM

This is the code to blink.

First you create a sprite in Scratch. It doesn’t matter what it is. Then you could give a condition when to to do it, in this case it will blink when you press the space key. Then I put it into a loop so it will do it forever and thats what the loop does repeat. Then I said to show on the screen and wait for  half a seconds. Then it will hide or disappear and wait for half a seconds. Then it will repeat that forever until you disconnect. Now your spirit will show and hide like it blink. And thats how you make something blink in Scratch.

In Arduino the way to blink is connecting a LED. Turns on an LED on for one second, then off for one second, repeatedly. To do that you have program you Arduino.

Screen Shot 2014-11-26 at 8.05.25 PM

This is the code to blink in Scratch.

Screen Shot 2014-11-26 at 8.05.59 PM

This picture shows where you will put your LED.

When you connect your LED to the way that is shown above you have to program your circuit in order to blink. The code for it to blink is in the picture above. First part of the code is you have create a variable shows where you put your LED. Screen Shot 2014-11-26 at 8.06.58 PM  int meant that it’s a integer and the value will be a number. I named the variable LED, but you can call it whatever you like. The value of this variable is 13 because that is where you are plug in your LED. Then the setup routines runs once when you press the reset. Screen Shot 2014-11-26 at 8.07.49 PM  In this piece of code you are initialize the digital pin as an output. What it means is that the LED will be an output, the power will go out from the computer to Arduino. After that you will write the loop to run your program over and over just like in Scratch.

Screen Shot 2014-11-26 at 8.08.53 PM

This is the loop for your LED.

In that loop “digitalWrite” is something that write a HIGH or a LOW value to a digital pin. High mean high voltage and on, Low mean no voltage and off. First it turn on the LED (HIGH) and delay for 1 second. One second is divided into 1000 milliseconds so every thousand is one second. Then it turn off your LED (LOW) and wait for one more second. And then it will repeat that forever until you reset and it will blink.

Fade

Screen Shot 2014-11-26 at 8.10.01 PM

This is the code to fade in Scratch.

Another word for fade would be brightness. In order to fade out and in forever the code above in the picture could be useful. First you want to use the forever block because I want the sprite to fade out and in forever. Then I use the repeat block and I want to repeat it for 100 times. Then I went to looks category and use this block Screen Shot 2014-11-26 at 8.10.51 PM  But the problem is that in that block it said change (color) effect by 25. But I don’t want the color to change, I want to change the brightness which would be fade in that case.

Screen Shot 2014-11-26 at 8.11.47 PM

I clicked that small down arrow key and it bring the section where you can change the different thing in your sprite. So then you have to choose the brightness. Then that block will say “change (brightness) effect by (25)”. But if I change the effect by 25 it will go so fast you might not be able to see. So I change to 1 so you can see that the brightness is changing. Then that loop will say that change the brightness effect by (1) 100 times. This will make your spite so bright you will not be able to see it. So you want to fade out. In order to do that you have to write that repeat loop again, but you to change something:

Screen Shot 2014-11-26 at 8.12.36 PM

But now you have to say change the brightness by (-1) so it will fade out and will be able to see it the screen. And you write that two loop inside of the for loop so your sprite will automatically fade in and out forever until you reset your program.

In Arduino if you want to fade something such your LED you have to build a circuit. In order to build that circuit that will fade in and out you need some hardware required such as Arduino board, Breadboard, a LED, and a 220 ohm resistor.

Screen Shot 2014-11-26 at 8.13.38 PM

This two picture shows how to build the circuit.

After you build your circuit you have to program you code and the code for it is:

Screen Shot 2014-11-26 at 8.14.25 PM

When you program your circuit first thing you need to do is make couple of variable. First variable you need to make is Screen Shot 2014-11-26 at 8.15.13 PM This variable shows that the pin that the LED is attached to. Then Screen Shot 2014-11-26 at 8.15.20 PM This one shows how bright the LED is. Last  Screen Shot 2014-11-26 at 8.17.24 PM  This one shows how many points to fade the LED by. After that you have to set up the routine that runs once when you press reset. Screen Shot 2014-11-26 at 8.18.11 PM This declare pin 9 to be an output. That the power will go out. Then you have to write the loop routine runs over and over again forever. Screen Shot 2014-11-26 at 8.19.28 PM This sets the brightness of pin 9. Then you have have to change the brightness for the next time through the loop. Screen Shot 2014-11-26 at 8.20.10 PM Then you reverse the direction of the fading at the ends of the fade. Screen Shot 2014-11-26 at 8.20.49 PM  So if the brightness is 0 change it by 5 and when it reach to 255 then change the brightness by -5. But then you have to Screen Shot 2014-11-26 at 8.21.37 PM  You delay for 30 milliseconds to see the dimming effect. Now you LED should fade in and out as long as you don’t disconnect it.

For more information about Arduino you can check out this website. And this project I made in Scratch show how to fade and blink in Scratch.

by: Tareq

 

 

What is the Laser Cutter Good For

We making a big project in our science and english class, Laser cutter is one of the most powerful tools that we using to make that project. To start laser cutter is a technology that uses laser to cut materials.and it is one of the useful tools in a modern shop. Now I’m gonna tell you what is a laser cutter used for.

Laser cutter typically used for cutting things such as wood,and some laser cutter that used in factories can cut material.Laser cutter also used to cut words on flat-sheet.just like us in the big project that we doing we used the our laser cutter to words.

Screen Shot 2014-11-26 at 7.52.29 PM

This picture shows that we are cutting the cork with laser cutter.

This picture is showing you how the laser is cutter word through the cork we used to make our words. If you want to know more about what is it laser cutter cutter used for go to this Website.

By; Gerdine

How to record in scratch

One useful thing you can do in Scratch how to record and play sound. First you have go to the sounds tab. You have to record your voice . You have to click the circle the speak loud.

Screen Shot 2014-11-26 at 7.43.34 PM

The circle is the record button. This shows the the volume too.

Then go to scripts tab. Then go to sounds and choose play sound recording2. Then I go Events and use when space key pressed. You can use the space key to play a sound.

Screen Shot 2014-11-26 at 7.45.53 PM

I want toke about play sound in Scratch .In this play sound recording2 and Move 10 steps how define …

Screen Shot 2014-11-26 at 7.46.33 PM

If you go to sound . take set volume to 100% you can gave 10, 50,60 ,

Screen Shot 2014-11-26 at 7.47.32 PM

This two block how define if you fast make play sound recording2 and move 10 steps , then make play sound recording2 until done and move -10 steps.

Screen Shot 2014-11-26 at 7.48.55 PM

By; Alifa