Arduino Projects

Halloween Maker Projetct – Lego Minifig Mk. 2

by on Oct.31, 2013, under Arduino Projects, Crafts, Electronics

LegoMk2

This is my LEGO Minifig Head Mk. 2

The original head was starting to get beat up pretty good, so I built a new one. As they are made out of solid Styrofoam, they get pretty warm, so I have a fan system to keep me cool. In the previous version, the fans were activated by a switch in my left LEGO hand and run by a battery pack in my pants pocket. While this worked, it was a chore to get in and out of, and I would usually require assistance getting the wires run and connected.

When I started building Mk. 2, I decided to try to eliminate that issue. I have taken an Arduino Uno and an Arduino Mega 2560 and connected them via two Nordic NRF24L01+ boards. The Uno has 3 switches and is run by a 9V battery. I am currently only using one, the other two are for future plans. When the pin connected to the fan switch goes high, it sends a code (the number 11 in this case) wirelessly to the receiving unit on the Mega. When the Mega receives that code, it closes a relay and starts the fans.

I used Maniacbug’s RF24 Library available on Github – https://github.com/maniacbug/RF24. I found the examples included with the library kind of hard to understand (I’m not a programmer), but I found this example – www.bajdi.com/rf24-library-revisited – and I got my project up and running.

The sketches I used (note, I had a lot of serial.print statements for debugging and I’ve commented most of those out):

For the sending unit:

#include <SPI.h>
#include “nRF24L01.h”
#include “RF24.h”
int msg[1];
RF24 radio(9,10); //define the CE and CSN Pins
const uint64_t pipe = 0xE8E8F0F0E1LL; //Send and receiving units addresses must match
int SW1 = 5;

void setup(void){
Serial.begin(9600);
radio.begin(); // set up the radio
radio.openWritingPipe(pipe);} // Open the radio for sending

void loop(void){
if (digitalRead(SW1) == HIGH){
msg[0] = 11; // Code that is sent to the receiving unit
radio.write(msg, 1); // send code if Pin defined above is HIGH
//  Serial.println(“Switch high”);}}

And for the receiving unit:

#include <SPI.h>
#include “nRF24L01.h”
#include “RF24.h”
int msg[1];
RF24 radio(48,53); //define the CE and CSN Pins
const uint64_t pipe = 0xE8E8F0F0E1LL; //Send and receiving units addresses must match
int relay = 7;

void setup(void){
Serial.begin(9600);
radio.begin();
radio.openReadingPipe(1,pipe);
radio.startListening(); // Open radio in receive mode and start listening
pinMode(relay, OUTPUT);} // Set relay pin to OUTPUT

void loop(void){
if (radio.available()){
// Serial.println(“Radio Available”);
bool done = false;
while (!done){
done = radio.read(msg, 1); // poll Radio
// Serial.println(msg[0]);
if (msg[0] == 11){ // if Radio receives ’11′ from sending unit, set relay pin high
delay(10);
digitalWrite(relay, HIGH);
// Serial.println(“Pin 22 High”);
}
else {
digitalWrite(relay, LOW);
// Serial.println(“Pin 22 Low”);
}
delay(10);}}
else{Serial.println(“No radio available”);}}

Here’s a short video of the system working:

The next plan is to wire a couple of other gadgets to the Mega and I have a relay board I will be using to control them.

Comments Off :, , , , more...

Midsouth Makers is getting a dedicated 3D Printer!

by on May.22, 2013, under Arduino, Arduino Projects, News, Projects, Prusa, RepRap, Workshops

If you’ve been following Midsouth Makers you know that we’ve been building. using and tweaking our 3D printers for a while now. Well thanks to a kind donation by LulzBot we now have a dedicated 3D printer at the space for member use! The printer is an AO-101, a MendelMax 1.5 variant.Lulzbot-3D-printer-RT

The AO-101 currently uses 3mm filament and can print in ABS, PLA, Nylon and even Laywoo-D3 wooden filament.  We  have it setup to allow for remote printing on the LAN, using either OctoPrint or Repetier-Server. We recommend Repetier-Server due to it’s stability.

octo-mainrepetier-server

The AO-101 will be using a donated a 1U server as the host computer. Repetier-Server will allow you to load a gcode file and control the printer. We will be exploring webcam functionality for use in monitoring and in generating time-lapse print videos.

We will need the following items to get our new 3D printer setup and functional:

  • Filament- Currently setup for 3mm:
    • ABS
    • PLA
  • Webcam- Logitech C110 or C270 preferred (we’ve already tested and confirmed stability)
  • 120mm silent PC case fan

AO-101 Specifications

  • Build Area – 190mm 200mm 100mm
  • Hot-end – Budaschnozzle 1.2
    • Extrusion temperature range – 180C – 240C
  • Filament- Currently setup for 3mm and can reliably print the following material types:
    • ABS
    • PLA
    • Taulman 618 Nylon
    • Laywoo-D3 Wooden Filament
  • Heated Print Bed (65C-110C)
  • Borosilicate Glass Bed  with PET film on one side for printing with ABS and bare glass on the other side for printing with PLA
  • Integrated Filament Mount for either loose coiled filament or spindles for spooled filament

Current AO-101 Modifications

  • Nozzle Fan for printing in PLA installed but not hooked up
  • RGB LED lighting (white for now)

More information on the new 3D printer can be found in our wiki.

If you’d like to use it, please contact Claudio, Ben, Dan or Cliff- more information will follow. In order to have access to the 3D printer without one of us present you will need to have had verified prior experience with a RepRap 3D printer, or attended an upcoming class on running & troubleshooting 3D printers(TBD) or be able to demonstrate the appropriate knowledge.

Please show our thanks and appreciation to LulzBot and the RepRap community!

Comments Off :, , , , , , , , more...

Building 3D Printed Quadcopters For Fun and Chaos

by on Apr.27, 2013, under Arduino Projects, Electronics, Projects, Prusa, RepRap

Recently Ben, Cliff and Claudio have built Diametric’s Mini Quadcopter. We met a fellow RepRap user- Diametric- at this years Midwest RepRap Festival in Elkhart Indiana. He brought along a 3D printed quadcopter that he designed and built.

The quadcopters are remarkably inexpensive, the design, models and bill of materials can be found on Thingiverse. They are easy to build and easy to get off the ground. We’re still learning how to fly them however. While all three have taken flight, we have had some accidents and damaged the frames on 2 of them, twice. We’re not too worried when that happens, for we can always reprint the frame within about an hour and a half on one of our 3D printers.

Comments Off :, , , , , , , , , , , more...

Videos of the Progress on the bubble bot

by on Nov.16, 2012, under Arduino, Arduino Projects, Electronics, Projects

Here are a couple of videos Dru made to show off the progress of his bubble bot.

Comments Off more...

Soldering Class Part II

by on Sep.24, 2011, under Arduino, Arduino Projects, Electronics, Events, Meetings, Presentations, Workshops

Learn how to solder part 2Great Scott! What’s the date? Oh thank goodness, we’ve still got time.  Listen, I know this may sound “heavy” to you, but we’ve got to get you to the Midsouth Makers soldering class on October 8th at noon or the consequences could be dire! I can’t tell you why it’s important without creating a temporal paradox, but I can promise you that learning how to build a RBBB (“Really Bare Bones Board”) Clone will be pivotal in your future in some way.  An RBBB is one of the smallest, most affordable arduino-compatible boards available right now.  You don’t even need any plutonium to power this baby, just plug it straight into the breadboard that the Makers will be providing to all the class participants. How many gigawatts is it?  Where we’re going, we don’t need gigawatts, just bring a soldering iron and the rest will be provided. Once you’ve completed this class, you’ll have you’re very own arduino compatible microcontroller, power cable, data cable, and breadboard to build it all on, the combination of which should help you save you from – oh no, I’ve already said too much! Hurry and sign-up on the events page at the following link: http://www.midsouthmakers.org/events/.  Then you too can say, “I finally made something that works!”

 

Details

Class: Soldering Part II: RBBB Clone

Cost: $35

Date, Time, & Location: October 8th  at the Space at Noon.

What to bring: Soldering Iron

What you get: An arduino compatible microcontroller, power cable, data cable, and a breadboard to build it on, plus a greater knowledge of soldering and circuitry.

You must sign-up before the day of the class so that we know how many parts to order!

You can do so at the following link: http://www.midsouthmakers.org/events/

Comments Off :, , , , , , more...

Random Quote

A fact is a simple statement that everyone believes. It is innocent, unless found guilty. A hypothesis is a novel suggestion that no one wants to believe. It is guilty, until found effective. — Edward Teller