Skip to main content

Posts

Showing posts from 2015

August 12, 2015

Today, we found a guide  that helped us figure out the reason why the claw bot wasn't moving. We connected the micro controller and joystick with the USB A-A cable and waited for it to pair up, which didn't take long. After it completed pairing up, we disconnected the USB A-A cable and plugged in the vex keys. The claw bot can move now!

August 11, 2015

We have decided to start with the claw bot from the vex kit, which took us a few hours to complete. We completed the building steps of the robot, but we couldn't figure out the reason why it wasn't moving.

August 10, 2015

Today, the vex kits arrived. As you can see, we received a lot of brand new parts. We cannot wait to start building soon! It is quite exciting!

August 5, 2015

Our order from Mouser arrived, so we searched up the datasheets about the two items we received for more information. In preparation to use the rfduino products in the future, we installed a few items onto the laptop and phone apps. During the afternoon, we were given a lesson by one of the stem members about circuit analysis and ohm's law.

July 21, 2015

The Robodyssey founder, David Piens, held a robotic's workshop in the stem lab on Tuesday afternoon. He's worked extensively as an educator, teaching younger students about robotics and working with teams competing in a multitude of competitions. Just heading into this ourselves, it was great to get an introduction to many of the interesting paths to pursue and resources available. Its given us a lot to think about going forward, from the various platforms to the variety of challenging competitions, especially as we get more advanced builds under our belt.  David Peins is on the left.

July 20, 2015

Today, we continued to learn about Python. We practiced with lists, functions, loops, if/elif/else statements, and so on. At the moment, our knowledge of what we've learned so far is put to the test by re-creating a game called Battleship within Python in code academy .

July 16, 2015

Today, we continued learning C and Python. For C, we learned about arrays, pointers and structures. For Python, we learned about dictionaries, lists, functions, and so on.

July 15, 2015

Today, we continued the learning process from yesterday on how to code in C and Python. Afterwards, we downloaded a text editor called Kate on the linux computer named Bob.

July 14, 2015

Today, we installed Visual Studio on the laptop. Then, we learned how to program in C and Python. We will need to know how to code in C for when we program our future robot with RobotC software. And learning Python now will benefit us in the long run.

July 13, 2015

We worked with Proccessing again. This time, we wrote a couple of programs so that Proccessing and the Arduino can simultaneously send and receive data. After that, we proceeded down to the machine to learn about Mastercam from Mark and ProEngineer Creo from our project leader.

July 9, 2015

We connected an accelerometer to the Arduino mega. With the help of a high-altitude balloon member, we then calibrated the accelerometer so that we can retrieve proper acceleration data in the x-axis and y-axis. Following this  tutorial , we recorded that data onto the computer through Processing. Programs written ListenToSerial ArduinoToProcessing

July 8, 2015

We messed around with a program called Processing; making shapes, adding color, and so on. Then, we begun our observations on the high-altitude balloon team; the items that we ordered from Mouser did not arrive yet and the parts that did arrive were already tested on. Since we do not have anything to experiment on at the moment, we'll observe and learn from the high-altitude balloon team for now.

July 7, 2015

Today, we worked with the Arduino shield wireless SD. Since we're missing a piece for the shield, we have decided to work with an SD card that we borrowed. We had to format the micro SD as it needed to be in fat32 format to work with the Arduino. Thankfully gparted on linux makes that an easy process. After getting that working and figuring out we had a loose usb cable we got the a basic program working. We're getting the correct wireless adapter to work with our shield, an xbee model made by Digikey which should get us going without cables. We also got a little demo of what the balloon project folks are working on in preparation for their upcoming launch. Particularly their tracking system composed of two SPOT GPS devices and a GPS transmitter working on the APRS frequency 144.39 MHz. The SPOT's can be tracked via web while the APRS transmitter can be located by ground stations located around the country as well as a receiver in a chase car. A lot of neat things happenin

July 2, 2015

We looked through the datasheets of our new equipment to understand how each component functions. We also used the  MaxSonar  ultrasonic distance detector. With it, we were able to measure the distance between the sensor and an object.

July 1, 2015

We just discovered that some of the parts that we ordered from Mouser  a while ago had already arrived last Friday. Today, we received a USB Flash Drive, an Arduino Wireless SD Shield, Arduino Mega 2560, and so on. With our Manjaro-installed computer, we installed gcc - a C, C++, Java, Fortran, etc. compiler for GNU systems. While gcc was in the process of installing, we worked with an acelerometer ; the pdf provided a code that we could use to test out the sensor. With it, we had success in gathering the acceleration data of the accelerator in the x-axis and y-axis.

June 30, 2015

Today, we discovered that the robot was unable to avoid an object on its right side. After spending time re-adjusting our code and checking the wiring, the robot began to function as intended. Then, we proceeded to make our program more efficient. We also attempted installing Ubuntu on a computer provided by our project leader. With Ubuntu, we can take advantage of Linux-based programs that we can use for programming and controlling the Arduino. However, the installation wasn't successful. Since we couldn't install Ubuntu, a person experienced in Linux distros recommended we install Manjaro. So we created a bootable USB drive and proceeded to install Manjaro. The process took some time, but the installation was successful.

June 29, 2015

We went back to work with the IR sensor and LED, but with a few adjustments. We added another IR sensor and LED to the robot; the first sensor to the left and the newly added sensor to the right. Since this is similar to the other time we worked with the IR sensor and LED the first time, we copied the code from our previously-written programs DetectTurnMove and SerialYunMove, and added some new code. With our new program, TwoIR_6_29_2015, the robot was able to move and avoid objects on its own. We used these figures from pages 238-239 in the book "Robotics with the Boe-Bot" as reference for wiring the LEDs and IR sensors Goal Make the robot move autonomously by adding to it a second set of sensor and LED Program written TwoIR_6_29_2015

June 25, 2015

We edited parts of the SerialYunMove sketch and replaced the batteries. The 9v battery has more power compared to the 1.5v batteries, so we used the 9V battery for troubleshooting. Unfortunately, it appeared that we gave it too much power, so we removed the 9v battery. We tried using different methods to get the Yun shield wireless network to appear, but they didn't work - plugging the robot to the laptop, using different batteries to give it more power. In the end, we replaced the batteries with unused 1.5v batteries, but it still didn't work. After a long wait, the wireless network finally appeared. We tried out the edited SerialYunMove sketch, and it was a success. The robot can now be controlled using the keyboard through a wireless network. Goal Control the robot's movements by using the computer's keyboard and the Yun Shield Programs written SerialYunMove

June 24, 2015

 For today, we took a different approach with the Yun Shield. Instead of controlling movement through a computer, we controlled the Arduino through a web app called TalkBack. This app allows us to upload a number of commands or code from any computer to the Arduino, as long as the Arduino is connected to the internet. We accomplished this by following this tutorial on controlling a light source, but there was an issue with the Yun's Shield's connectivity. The shield intermittently connected to the internet. We thought the shield might not be receiving enough voltage from the battery pack, so we replaced the AA batteries with new ones. But that didn't work. Goal Control the Yun Shield with talkback Programs written TalkBackYun SerialYunMove

June 23, 2015

We searched for tutorials to help us control the robot's movements by using the keyboard and Yun Shield. The goal to this is similar to an old sketch called DetectTurnMove, but it had to be wireless and controlled by us with the keyboard. Due to its similarities, we took some code from the DetectTurnMove sketch to the new SerialYunMove sketch. Goals Figure out how to control the robot's movements with the keyboard and Yun Shield Test the robot to move with the Yun Shield attached Programs written DetectTurnMove SerialYunMove

June 22, 2015

After noticing the display showing Fahrenheit values that were not properly converted, we looked into the code and adjusted the Celsius-to-Fahrenheit equation. Now the display emits the correct values. Next, we began working with a Dragino Yun Shield, which adds wireless capability to an attached Arduino board. With the shield and Arduino as the command center, a robot can send collected data to a computer or website through a wireless network. A computer could also control the robot's movements cable-free. Before adding such functionality, we established and tested a connection between the Arduino and our computer. To do so, we connected the computer to the Arduino through the shield's built-in, wireless network. Then we used an example program from the shield's documentation , which makes the Arduino receive information from the computer and send it back . Goal Display the temperature in degrees Fahrenheit on the LCD Figure out how to use the Yun Shield and P

June 18, 2015

Our goal for today was to utilize an LCD display. We soldered connector pins to the display. Following Tronixstuff's tutorial , we managed to display values on the LCD correctly. Then, a person well-experienced in electronics issued our group a challenge - to measure the room temperature and make the LCD show the value in degrees Fahrenheit and Celsius - with a little twist. Instead of using the temperature/humidity sensor we've used before, we had to use a thermistor. After referring to a tutorial from Adafruit , we wrote a program called ThermistorLCD and were able to display the room temperature in degrees Celsius as well as the resistance of the thermistor. Goal Try out the LCD display Use the LCD display and the thermistor to show the temperature Programs written LCD ThermistorLCD

June 17, 2015

We continued placing and soldering parts onto the board. After assembling the case and inserting the board, we finished building the clock. Goal Complete the Ice Tube Clock

Ice Tube Clock

Our project leader brought in an Ice Tube Clock kit for the group to imp rove its soldering skills . We followed the A dafruit  instructions on how to assemble the board together. Each person took turns soldering the parts onto the board. Only a little problem occurred, which was resolved later. The problem was that the 7805 5V regulator chip wasn't placed properly on the board. Fortunately , one member was able to de-solder the c hip . Goal Assemble the Ice Tube Clock kit

June 15, 2015

For today, we rewired the seven segment display to the digital pins of the Arduino. This is because the display only requires a digital signal of zeros and ones. Then, we programmed the display to show values 0-9 and A-F. We experimented with QTI shadow sensors with the intent of having the robot roam around a table/surface while the sensors detect the edges to prevent the robot from falling. Goals Apply the QTI sensors for the robot to detect an edge and turn away from it to prevent it from falling Figure out where the QTI sensors can be placed on the robot Get the display to countdown

June 11, 2015

We went back to the machine shop to practice soldering and were able to do it despite having a few less tools compared to yesterday. For the first part of the day, we stayed there and kept soldering until we got the hang of it. We became more used to soldering and successfully did a few wires. For the second part of the day, we returned to the Stem room to work on the robot. In the past, we had to use the serial monitor to see if the robot detected an object or not. This time, we found a 7-segment display to replace the serial monitor. We disconnected the Temperature Humidity sensor, wires, and resistor to create more room for the 7-segment display. We went back to tronixstuff because it has a tutorial involving a 7-segment display, but the tutorial required 74HC595 shift registers, which we didn't have. Because of this, we searched for a tutorial that did not need those shift registers. Eventually, we found a tutorial that met our needs. We reused some DetectTurnMove cod

June 10, 2015

Today we'll be working with Mark Balzarrete, getting an introduction to soldering and basic skills using electrical test meters for troubleshooting of problems. Going forward, we'll need these skills to help get future projects which will involve more custom, less plug and play designs working.

June 9, 2015

We looked for parts in our project leader's personal sensor kit. For most of the sensors, we looked at their datasheets online to see how each sensor functions. We were particularly interested in and tried out a temperature/humidity sensor. We connected the temperature and humidity sensor and a few wires to the robot. By uploading a pre-made sketch we found online onto the Arduino, the Arduino was able to detect the temperature and humidity within the Stem room. Then, it would write those measurements onto the computer screen (the serial monitor) every second. Programs written TempHumidity Goals Detect the temperature and humidity

June 8, 2015

Our robot was not functioning as intended. It couldn't pivot left. The servos, when told to move at the same speed, didn't move at the same speed. We replaced a resistor, thinking that would solve the problem, but to no avail. We wrote a different progam called CalibrateServos to calibrate the servos. Eventually, we found the source of the problem in our initial program, DetectTurnMove, and corrected it. Now, the robot pivots, and the servos turn at a uniform speed. We proceeded on with adding a seven segment display to the robot. With the display in place, the robot would display values for people to see ("0" if it detects an object, and "1" if it doesn't). We added touch-sensitive whiskers for improving the range of detection but removed them soon after; we found out that the infrared sensor detects at a further distance than the whiskers. Programs written CalibrateServos DetectTurnMove Goals Make the robot turn from an object when detecte

June 4, 2015

We were able to make the robot stop when it detected an object by using the Arduino servo library, but we were unable to make the robot pivot left when it sees an object in front of it.  Programs written DetectAndMove DetectAndMove2 DetectTurnMove Goal Make the robot detect while in motion Make the robot continue moving, but turn when it detects an object

Stop, Go

Our goal for today was to have the Arduino robot detect objects in front of it while moving forward. We accomplished this by adding an infrared sensor and LED to the robot. To expand on its ability of detection, we attempted to make the robot stop when sensing an object by using Jeroendoggen's servo library. Programs written DetectObjects MoveForward

June 1, 2015

We jumped straight to working with the Arduino; we were able to get two wheels connected to continuous rotation servos to work along with the Sumo bot afterwards. There was some trouble with the Sumobot, but the problem was solved by changing some wires and a servo. After we finished with the changes, the Sumo bot was able to function.

Day One

Every member who joined the Robotic's team is a beginner. Most had an idea of or took a class on computer programming; a couple had no experience related to this project. As beginners, we went on Tronixstuff.com and started with the tutorial chapter 0. Our goal for the tutorial was to light up the LEDs that we connected to the breadboard and arduino board. We ran into a small problem; one wire was connected to the wrong slot on the breadboard. No one realized until someone came over to our area and connected the wire to the right slot instead. After the wire was connected to the right slot, the LEDs began to light up. After we finished the tutorial, we went around the STEM room and collected parts needed for the tutorials. We managed to gather a decent amount of parts; along the way, we learned about resistor code and diodes alignment from Professor Benjamin.