Posts with «arduino» label
Nerf Sentry Gun for the Apocalypse
If you’ve ever wanted to shoot someone with a Nerf gun, but just didn’t have the energy to get off the couch, this hack may be for you. It’s also a good way to ward off zombies if another apocalypse, Mayan or otherwise, is on the horizon.
Although the effects are very cool, as seen in the video after the break, the method for making this setup was quite simple. The requirements for this project were that the gun could not be permanently modified, and everything had to fire automatically. These restrictions may have contributed to the simplicity of the design as many of us would start breaking things before we had to.
Instead of some elaborate hack, the trigger was tied back in the firing position at all times. A relay was then used to interrupt the power supply to the mechanism allowing an Arduino equipped with an infrared sensor to automatically control the firing. The setup is explained after the break, but skip to around 1:55 if you’d rather just see the guns in action.
Filed under: arduino hacks, weapons hacks
Three lab handout drafts done
On Tuesdays, my son and I usually have our weekly physics class, but in deference to the national holiday on Dec 25th we canceled this week’s class. I spent the day preparing drafts of lab handouts for the first three labs in the circuits course. The handouts are taking longer to produce than I expected, and they are coming out longer than expected also. I’ll post links to the lab pages once they are past the draft stage—I’m hoping to get feedback from my co-instructor by next week.
- The draft for the first (thermistor) lab is 10 pages, and still is missing pictures and a couple of paragraphs of text, particularly about using the data logger that my son is still writing for the students in the course to use.
- The draft for the second (microphone) lab is 5 pages, and still doesn’t explain how to use an oscilloscope. We have both analog and digital scopes in the lab, and the analog ones a pretty easy to learn to use, but the Tektronix digital scopes have a very confusing menu interface that takes a long time to become familiar with. I still have to check out whether the function generators in the lab can drive a loudspeaker, as I’m expecting the students to be able to play sine waves into the microphones.
- The draft for the third (electrodes) lab is also 5 pages, but it is looking fairly complete to me.
I’ve posted a tentative schedule for the 10 labs of the quarter, http://courses.soe.ucsc.edu/courses/bme194/Winter13/01/schedule:
- Thermistor lab
- Microphone lab
- Electrodes lab
- Sampling and aliasing lab
- Audio amplifier lab 1 (op amps)
- FET measurement lab, phototransistor measurement lab
- Audio amplifier lab 2 (power amp)
- Hysteresis lab (capacitive touch sensor, 1st soldering project)
- Pressure sensor lab (instrumentation amp, soldering)
- EKG lab
There is a little more measurement and less design content than I had wanted in the first half of the course—I’ve only come up with fairly trivial design exercises until we get to amplifiers, and then the designs get much harder. I’m still trying to come up with a design lab for the phototransistors—right now I’m just looking a characterizing an LED and phototransistor pair for use as an optoisolator, with appropriate biasing for each to transfer analog signals (digital signals are too easy). The students will have 3 LEDs (green, red, and infrared), so we could also look at the signal levels with each, to see whether the infrared emitter provides a better signal.
I don’t really know exactly what is in the sampling and aliasing lab, which my co-instructor created for a different course. I’ll have to get his handouts for it, and type them up in the format I’m using for this course. I’ll probably have to borrow a board from him also, to run through the lab myself. It was probably designed as a 2-hour lab, not a 3-hour one, so I may want to add a bit to it.
The Digikey order for parts shipped today, the last on-line order I made, and it looks like the cost per student will be between $65 and $66 for tools and parts (see Parts orders for Applied Circuits W13 for more details on the pricing). I still have to make a packing list for each kit, and put the kits together. I hope that all the orders arrive by the middle of next week, so that we can distribute the parts kits on Wednesday 2013 Jan 9.
I also hope I’ll be able to package the kits in 1-gallon ZipLock bags—I’m beginning to think I might need to leave the loudspeakers separate, and that it will still be a tight fit. ZipLock does make bigger bags: 3 gallon, 10 gallon, and 20 gallon), but at $1.18 each for the 3-gallon bags, I’d rather not go there—even 40¢ each for the 2-gallon bags is a bit high.
I’ve also been thinking of getting an Arduino Leonardo for testing my son’s DataLogger code, as the Leonardo has a different serial interface and a different number of analog and digital pins available: 20 I/O pins, of which 7 can be configured for PWM and 12 as analog inputs though 3 of those are also PWM pins, as opposed to the 20 I/O pins of the Uno, 6 of which can be configured for PWM and 6 as analog inputs. There are several other incompatibilities (like where the TWI interface and that the Leonardo does not reset when the serial connection is first opened as on all previous Arduino boards). Designing shields for Arduino boards has gotten much more complicated lately, as Arduino has proliferated a number of incompatible interfaces. I think that this might hurt them in their main market. I’m wondering it the Raspberry Pi is cheap enough, available enough, and easy enough to interface and program to edge out Arduino in the next few years. I have some Raspberry Pi boards now, and when I get some time I’ll want to try playing with them.
Filed under: Circuits course, Raspberry Pi Tagged: Arduino, circuits, course design, lab exercises, Raspberry Pi
Travel Train Set in a Suitcase
Chat with Xbee for Arduino
Thank you [priyansmurarka] to send us this project involving Xbee. This module is fully compatible with Arduino Boards and you can connect it with a proper shield, the [WirelessShield] . With that you can make comunicate Arduinos wireless, including sending messages about status or whatever you want. The submission of today is about building up a simple chat system.
It is a simple peer to peer chat system made using XBee radios which are compatible with Arduino .
On the [blog] of [priyansmurarka] you can find all the step to configure two modules and make them “talk”
Kinect and an Arduino UNO
Rover
What does it do?
A small autonomous robot that wonders around. It's built out of parts I recieved for Christmas, such as a Rover 5 platform w/ driver board. It currently doesn't run. The only thing I need is jumper wires, which I'm gonna pick up at Radioshack tomorrow. I'll update when I can get it moving.
Cost to build
Embedded video
Finished project
Number
Time to build
Type
URL to more information
Weight
Wireless Sensor Network for Temperature Sensing

This is an interesting implementation of Arduino and Wireless comunication. The user [priyansmurarka] posted:
Ok, so here is the basic problem statement. I need to develop a temperature sensing system such that the temperature from the sensor node is relayed to a co-ordinator sensor and then the co-ordinator node shows the user in a simple graphical form.
For the wireless communication, I used Xbee Series 2 modules with Arduino Board Shields.
Uses Melexis Temperature sensor and Arduino Board to monitor and plot ambient temperature.
The realization of this project is well documented on the [blog], with code, graphs and pictures.
Robot can barely move with so much hardware strapped to it

We think that [Andrej Škraba] needs to start looking for a beefier motor platform. This little robot has so much hardware strapped to it the motors can barely keep up. But with a little help it can make its way around the house, and it takes a whole lot of connectivity and computing power along for the ride.
The white stick on the top is a single-board computer. The MK802 Mini sports an A10 processor and up to a gig of ram. Just below that is a USB hub which is sitting on top of a USB battery pack. This powers the computer and gives him the ability to plug in more than one USB device. The robot chassis is from Pololu. It uses an Arduino and a motor shield for locomotion, with commands pushed to it via USB.
This setup makes programming very easy. Here [Andrej] has a keyboard and HDMI monitor plugged in to do a little work. When not coding it can be disconnected and driven over the network. He makes this happen using an Apache server on the MK802 and node.js. See a demo of the system in the clip after the break.
Filed under: robots hacks
WhiteSpace TweetTrain

Somebody knows how to have fun in the office and with Arduino. Have a look at this project by [whitespacers] powered with our boards
Christmas is a time of gathering the family around and enjoying the simple things in life. And what could be simpler than a good old fashioned train set… powered by tweets?
Tweeters can simply send a message to #tweettrain then enjoy the ride via the onboard camera streaming to whitespacers.com/tweettrain as they puff their way round the Whitespace HQ Winter Wonderland.
The magic also lets tweeters control the Tweet Train’s direction and speed by telling it to go in ‘reverse’ or ‘fast’.
Iain Valentine, creative director and Whitespace Santa said: “When visual, digital and experiential marketing are linked effectively, it can seem like magic. We wanted to bring our clients something special for the festive season and so our elves were kept busy bringing the late 19th century Christmas gift of choice into the digital age. Deep down, everyone wants a toy train set for Christmas!”
If you’re wondering which particular type of Christmas magic we used; it’s the extra special Arduino-micro-controller coupled with a wifi receiver type.
You see Santa’s elves replaced the Tweet Train’s manual train controller with a wifi receiver so the train can be controlled by digital commands. Tweets containing the hashtag #tweettrain are searched for, simplified, and sent to a new URL that the arduino checks for new tweets. Each time it spots one, it powers the train motors. Magic basically.
We reckon it gives the Hogwarts Express a run for its chocolate money, but why not try it for yourself? Visit. Tweet. Drive the train. The station is in live cam on the [website]


