View allAll Photos Tagged Arduino,
Lesson 15 Temperature display of the Elegoo Super Starter kit with some coding improvements. #arduino #arduinoproject #elegoo #lcddisplay #temperature Success again.
I made this housing for an Arduino Pro that will control my waveguide relay in my 47 GHz radio. This housing is made from 6061 billet aluminum. The cover is held on with a dozen 0-80 screws. There i a cutout for the programming connection and a filtered DC feedthrough. Later I will add other connectors for the servo and transmit/receive switch, etc.
Monitoring heating milk during yogurt making with Arduino microcontroller, LCD, buzzer and thermocouple. More information on this project on my blog, Mental Masala.
Looking to build an Internet connected device? The Arduino Ethernet is the ticket, with an Arduino UNO paired with an ethernet port it's the perfect piece of hardware to experiment with the Internet of Things. Or if you've developed something using an Arduino and an Ethernet shield it can be ported to this board with no code changes (uses the same WizNet W5100 controller).
Available from oomlout:
This is an Arduino-based Motion Detector I created. Upon pressing the button, it will arm 10 seconds later. Then beep and blink the LEDs when motion is detected. It can be disarmed by pressing the same button. The code is as follows:
/*****
* By Pete Lamonica
* Released under a Creative Commons Non-Commerical/Attribution/Share-Alike
* license
* creativecommons.org/licenses/by-nc-sa/2.0/
****/
#define MOTION_PIN 0
#define SPEAKER_PIN 9
#define RED_LED_PIN 2
#define GREEN_LED_PIN 3
#define ARM_PIN 4
#define SECONDS_TO_ARM 10
//defines what "motion" is. There's a pull-up resistor on the
// motion sensor, so "high" is motion, while "low" is no motion.
// I allowed some fuzziness on the "motion"
#define MOTION (analogRead(MOTION_PIN)=1000)
//Plays a tone of a given pitch
void playTone(int tone, int duration) {
for (long i = 0; i < duration * 1000L; i += tone * 2) {
digitalWrite(SPEAKER_PIN, HIGH);
delayMicroseconds(tone);
digitalWrite(SPEAKER_PIN, LOW);
delayMicroseconds(tone);
}
}
//will beep for about 3 seconds and check for disarm in the meantime.
//Could arrange a hardware interrupt to do the same thing
void alarm() {
for(int i=0; i<3; i++) {
if(checkForDisarm()) return;
digitalWrite(RED_LED_PIN, HIGH);
playTone(1432, 300); //F
digitalWrite(RED_LED_PIN, LOW);
digitalWrite(GREEN_LED_PIN, HIGH);
if(checkForDisarm()) return;
playTone(1915, 300); //C
if(checkForDisarm()) return;
digitalWrite(GREEN_LED_PIN, LOW);
delay(400);
if(checkForDisarm()) return;
}
}
boolean armed = false; //armed status
//arm the device.
void arm() {
armed = true;
for(int i=0; i<SECONDS_TO_ARM/2; i++) {
digitalWrite(RED_LED_PIN, LOW);
delay(1000);
if(checkForDisarm()) return;
digitalWrite(RED_LED_PIN, HIGH);
delay(1000);
if(checkForDisarm()) return;
}
}
//Check if the system should be disarmed and do so if that's the case.
boolean checkForDisarm() {
if(digitalRead(ARM_PIN) == HIGH && armed) {
armed = false;
digitalWrite(GREEN_LED_PIN, LOW);
digitalWrite(RED_LED_PIN, HIGH);
delay(1000);
return true;
}
return false;
}
void setup() {
pinMode(SPEAKER_PIN, OUTPUT);
pinMode(RED_LED_PIN, OUTPUT);
pinMode(GREEN_LED_PIN, OUTPUT);
pinMode(ARM_PIN, INPUT);
digitalWrite(RED_LED_PIN, LOW);
digitalWrite(GREEN_LED_PIN, LOW);
}
int detected = 0;
void loop() {
if(MOTION && armed) { //If there's motion and it's armed, sound the alarm
alarm();
delay(1000);
} else if(armed) { //if it's armed, but there's no motion, show a green LED
digitalWrite(RED_LED_PIN, LOW);
digitalWrite(GREEN_LED_PIN, HIGH);
} else { //if it's not armed, show a red LED
digitalWrite(GREEN_LED_PIN, LOW);
digitalWrite(RED_LED_PIN, HIGH);
}
//check to see if the "ARM" button has been pressed
if(digitalRead(ARM_PIN) == HIGH && !armed) {
arm();
}
//check for a disarm
checkForDisarm();
}
Developing an Arduino application for a series of revolving storefront window displays. Each display holds a laptop which is plugged in, so the motor must be reversed once every revolution to avoid twisting the laptop's power cord.
The display's rotating axle will have a reflective tab that crosses over the sensor (a phototransistor) shown above. Arduino's analog I/O pin detects a change in voltage from the sensor-- a value that can be adjusted in the script, to make the sensor more or less sensitive. It then makes one of two digital output pins high, which triggers the respective coil in the relay. The relay then reverses the polarity to the motor, reversing it until the tab comes back around and the process starts again.
In this image I have LEDs simulating the reversal, in the real thing a motor will be hooked up instead.
See a video of this guy in action: www.youtube.com/watch?v=mpuy9b2Fk4k
THOR's small machinist ball peen hammer and $9 ARDUINO Compatible STARTER KIT - Anyone can learn Electronics
This is an old hammer I think from my Grandfather who I never meet but I've had this hammer as long as I can remember. It has a short handle.
homebuild arduino photolab
Article in french at www.equinoxefr.org/index.php/post/2008/06/29/arduino-phot...
A DIY audio electronics development platform. Very easy to plug things in and out of the breadboards and Arduino (duemilanove). Seeed Studio oscilloscope has proven to be a worthy tool. Now cooking: an arduino synthesizer, based on some simple waveform tables, homemade 8-bit DAC and bitwise modulation. Basically same as this but now much neater. Audio and video demos coming up, soon maybe... Here's an old demo, this one sounds roughly the same.
Each student in my Spooky Arduino class was awarded one of these badges by Mark from Machine Project.
My take on the arduino based PC ambient lighting project posted here: siliconrepublic.blogspot.com/2011/02/arduino-based-pc-amb...
I used the same embedded arduino code and wiring setup to get it working, but main difference is that I used Python code instead of Processing for the desktop client, and I used an arduino proto shield to make a compact package that I could hide on my desk. I'm still tweaking the code so that it can work with fullscreen applications like games and average all 3 monitors instead of the center, but as it is now it works really well.
WIP python code: dl.dropbox.com/u/9993009/AmbiLight.py
Side view of my Arduino Synthesizer Module prototype. About 90% done at this point.
This is my first module where a sizable part of the design is my own, vs. building a kit or someone else's PCB.
I know everyone has done this before. RFID and arduino that is. But looking at the example code it looks like the antenna is always in receive mode. I am not sure how this affects the life of the chip / reader but I thought of adding a way to detect human presence before activating the receiver.
I found some little IR heat detector (here: www.allelectronics.com/make-a-store/item/IRD-10/INFRARED-... and tossed together some analog read code and viola. Now when the IR detector detects over a certain variable heat temp it activates the RFID reader.
I will post the code and write up on my blog.
Monitoring Japanese stock (dashi) with Arduino Uno R3 and thermocouple. Kitchen folklore says that boiling the dashi ingredients leads to bitterness, so the sensor and electronics alert me when the dashi temperature reaches 180 F. More information on this project on my blog, Mental Masala. (Dashi recipe at the bottom of this blog post at Mental Masala.)
Looking to build an Internet connected device? The Arduino Ethernet is the ticket, with an Arduino UNO paired with an ethernet port it's the perfect piece of hardware to experiment with the Internet of Things. Or if you've developed something using an Arduino and an Ethernet shield it can be ported to this board with no code changes (uses the same WizNet W5100 controller).
Available from oomlout: