Digital Scope Specs: wfms/s vs. GSa/s vs. Mpts/s vs. bandwidth?

Question say's it all. I understand the concept of analog bandwidth, being that the signal amplitude will be attenuated about 70% at the rated frequency, or something along those lines. I also think I understand the concept of sampling rate, being that the ADC inside the digital scope samples the input voltage level periodically (possibly billions of times per second), and then this gets stored in memory, and displayed. However, then what does the "Mpts/s" figure mean? Is this telling me how many points of the signal can be stored in the memory to be plotted on the screen? how much of this is 'good' and 'good enough'? Also, what about Waveform Capture Rate (wfms/s) I really have no idea for what might be, How it 'waveform' defined? a single period of a repetitive signal, like a ramp wave or triangular wave? Perhaps also a arbitrary wave? What would this tell me? Again, how much of this is 'good' and 'good enough'?

Question by -max-   |  last reply


Is it worth dropping $400 on a really nice oscilloscope (Rigol DS1054Z)?

I will describe my situation: I am a hobbiest that likes to make cool projects, and plan to get into maybe RF analog stuff, (maybe start out with making a few FM bugs, reverse engineer a simple video transmitter kit, and a few other things.) as well get into arduino some more, AC analysis (learn about Xformers, power factor, maybe some math, etc.) and I so currently have an old 2ch. 30MHz analog oscilloscope that is a PITA to make real measurements with. Not only is it huge and takes up a lots of space, but also I'm not even sure it is in cal!) I will be transferring into UVA (or maybe VT) for EE, and gone this summer for a NASA internship at langley. (maybe I will be able to take it with me w/ a toolbox of some electronics stuff!) The scope I am looking at (what appears to be what many subscribers seem to use, and/or claim is pretty good) is the Rigol DS1054Z. I only know how to use my $30 30MHz BKprecision scope I got on craigslist from the son of a father who was a TV repairman, and have NO experience with the use of the fancy-shmancy digital scope! What little I know is from watching EEVblog review of other scopes in the past. (I do know that they can be useful for 'capturing' waveforms, and can be set up to trigger on a pulse, maybe a certain digital codes, and that could come in handy for reverse engineering crap.) https://www.youtube.com/watch?v=7v-tFYbc7h8 https://www.youtube.com/watch?v=W2qdtQkBKhc https://www.youtube.com/watch?v=ETCOhzU1O5A https://www.youtube.com/watch?v=-gStNYfqMXk What sells it to me, being a complete newbie to electronics and digital scopes is that it has a nice big screen, the specs seem good (other certainly think, I have no intuition of what any of those things mean except the bandwidth, and maybe the sampling rate, 1GSa/s), 4 channels, intensity graded display, and it has loads of functions and stuff for me to grow into, and hacking it to make it think it is a DS1104Z is tempting, but I probably will not do that right away. Maybe once I feel what it offered is limiting. The deal breakers is the $400 price, a bit steep for me (cheap for something this good, apparently but still.), the fear that by the time I really start using it, it will be obsolete and the same money can buy some quantum super duper ASIC tech whiz bang 3GHz 100Gsa/s 1GB segmented memory spectacular scope! I am not really sure if it has a source, or signal generator either. Some sources claim that higher end ones do, or certain models anyway, and it seems like the official site say's no. http://www.rigolna.com/products/digital-oscilloscopes/ds1000Z/ds1054z/ That brings me to my next point. Should I also get a decent function generator? 

Question by -max-   |  last reply



Can a PDF be submitted?

I have a design/build plans for a $90 4.5" f/8 ball scope that I call the PortaBowl.http://home.comcast.net/%7Ejayscheuerle/PortaBowl.pdfI've been trying to get it into as many hands as possible and as it was created in a design program, it's not that easy to strip down to a set of text and picture files.Please let me know! - Jay Scheuerle

Question by jayscheuerle   |  last reply


where I can find the scopes and limitaions of a mousebot?

Where I can find the scopes and limitaions of a mousebot?

Question by ellamartin   |  last reply


Arduino Uno TV B Gone code error ?

I just got an arduino (the arduino is a fake off ebay, didnt know at the time.) It runs off of a ATMEGA8A-PU. I have built a few projects that work but now following this tutorial: http://www.righto.com/2010/11/improved-arduino-tv-b-gone.html Not sure if im just missing something or what I've done wrong but the compiler keeps giving me the error of: TVB.ino: In function 'void xmitCodeElement(uint16_t, uint16_t, uint8_t)': TVB:92: error: 'TCCR2A' was not declared in this scope TVB:92: error: 'COM2A0' was not declared in this scope TVB:92: error: 'COM2B1' was not declared in this scope TVB:93: error: 'TCCR2B' was not declared in this scope TVB:93: error: 'WGM22' was not declared in this scope TVB:106: error: 'TCCR2A' was not declared in this scope TVB:107: error: 'TCCR2B' was not declared in this scope TVB.ino: In function 'void setup()': TVB:191: error: 'TCCR2A' was not declared in this scope TVB:192: error: 'TCCR2B' was not declared in this scope TVB.ino: In function 'void sendAllCodes()': TVB:274: error: 'OCR2A' was not declared in this scope TVB:275: error: 'OCR2B' was not declared in this scope

Question by Aaamazzara   |  last reply


how can I make an oscilloscope with arduino as a processor that uses a tv as an output?

I coould use my computer as an output, but a TV would be better

Question by wii552   |  last reply


Can using logarithms overcome scope insensitivity bias? Answered

Say you perform the following type of psychology experiment:You describe an undesirable event to people,tell them that X instances of the event can be prevented, andask them what they would be willing to pay in order to prevent those X instances.The responses you get (Y) are not even close to being linear with respect to X, but ratherthe responses are roughly logarithmic. That is, X=ABY, or Y=logB(X/A) for some constants A and B.So does anyone know of an experiment (or real-life situation) where subjects are asked to answer in terms of log(Y) instead of Y? Do such responses show a linear relationship to the corresponding X?

Question by NobodyInParticular   |  last reply


Why isn't my ATTiny85 accepting this SoftwareSerial???!? Answered

My code is from the IR Cloud light instructable. I am trying to place a smaller, more abbreviated code into an ATTiny85. The tutorial written by MIT says we can put SoftWareSerial on it (reference: http://hlt.media.mit.edu/?p=1695). But anyway, Code: #include int RECV_PIN = 0; int green = 4; int yellow = 2; int blue = 3; int white = 1; #define powercode 16712445 #define stormcode 16745085                 IRrecv irrecv(RECV_PIN); decode_results results; void setup() {   pinMode(green, OUTPUT);     pinMode(yellow, OUTPUT);         pinMode(blue, OUTPUT);             pinMode(white, OUTPUT);   irrecv.enableIRIn(); // Start the receiver } int whitebool = 0; int rainbool = 0; int yellowbool = 0; int bluebool = 0; int greenbool = 0; unsigned long last = millis(); void loop() {   if (irrecv.decode(&results;)) {                      //Sun if (results.value == 16712445) {       if (millis() - last > 250) {         whitebool = !whitebool;         digitalWrite(white, whitebool ? HIGH : LOW);       }       last = millis();     }     //red       if (results.value == 16745085) {       if (millis() - last > 250) {         greenbool = !greenbool;         digitalWrite(green, greenbool ? HIGH : LOW);       }       last = millis();     } //yellow     if (results.value == 16726725) { // Sun up       // If it's been at least 1/4 second since the last       // IR received, toggle the relay       if (millis() - last > 250) {         yellowbool = !yellowbool;         digitalWrite(yellow, yellowbool ? HIGH : LOW);       }       last = millis();     } //blue         if (results.value == 16759365) { // Sun up       // If it's been at least 1/4 second since the last       // IR received, toggle the relay       if (millis() - last > 250) {         bluebool = !bluebool;         digitalWrite(blue, bluebool ? HIGH : LOW);       }       last = millis();     }     irrecv.resume(); // Receive the next value   }     } And error : /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp: In member function 'void IRsend::mark(int)': /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:227: error: 'TCCR2A' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:227: error: 'COM2B1' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp: In member function 'void IRsend::space(int)': /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:235: error: 'TCCR2A' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:235: error: 'COM2B1' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp: In member function 'void IRsend::enableIROut(int)': /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:253: error: 'TIMSK2' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:263: error: 'TCCR2A' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:263: error: 'WGM20' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:263: error: 'TCCR2B' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:263: error: 'WGM22' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:263: error: 'CS20' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:263: error: 'OCR2A' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:263: error: 'OCR2B' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp: In member function 'void IRrecv::enableIRIn()': /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:279: error: 'TCCR2A' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:279: error: 'WGM21' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:279: error: 'TCCR2B' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:279: error: 'CS21' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:279: error: 'OCR2A' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:279: error: 'TCNT2' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:282: error: 'TIMSK2' was not declared in this scope /Users/pdyates/Documents/Arduino/libraries/IRremote/IRremote.cpp:282: error: 'OCIE2A' was not declared in this scope What's the big idea??? If this is way too deep, I'll just use an Arduino Uno for this project... I just really want this to be tiny. :(

Question by pyates1   |  last reply


Is it worth dropping $400 on a shiny new Rigol DS1054Z scope?

I will describe my situation: I am a hobbiest that likes to make cool projects, and plan to get into maybe RF analog stuff, (maybe start out with making a few FM bugs, reverse engineer a simple video transmitter kit, and a few other things.) as well get into arduino some more, AC analysis (learn about Xformers, power factor, maybe some math, etc.) and I so currently have an old 2ch. 30MHz analog oscilloscope that is a PITA to make real measurements with. Not only is it huge and takes up a lots of space, but also I'm not even sure it is in cal!) I will be transferring into UVA (or maybe VT) for EE, and gone this summer for a NASA internship at langley. (maybe I will be able to take it with me w/ a toolbox of some electronics stuff!)   The scope I am looking at (what appears to be what many subscribers seem to use, and/or claim is pretty good) is the Rigol DS1054Z. I only know how to use my $30 30MHz BKprecision scope I got on craigslist from the son of a father who was a TV repairman, and have NO experience with the use of the fancy-shmancy digital scope! What little I know is from watching EEVblog review of other scopes in the past. (I do know that they can be useful for 'capturing' waveforms, and can be set up to trigger on a pulse, maybe a certain digital codes, and that could come in handy for reverse engineering crap.)   https://www.youtube.com/watch?v=7v-tFYbc7h8   https://www.youtube.com/watch?v=W2qdtQkBKhc   https://www.youtube.com/watch?v=ETCOhzU1O5A   https://www.youtube.com/watch?v=-gStNYfqMXk     What sells it to me, being a complete newbie to electronics and digital scopes is that it has a nice big screen, the specs seem good (other certainly think, I have no intuition of what any of those things mean except the bandwidth, and maybe the sampling rate, 1GSa/s), 4 channels, intensity graded display, and it has loads of functions and stuff for me to grow into, and hacking it to make it think it is a DS1104Z is tempting, but I probably will not do that right away. Maybe once I feel what it offered is limiting.   The deal breakers is the $400 price, a bit steep for me (cheap for something this good, apparently but still.), the fear that by the time I really start using it, it will be obsolete and the same money can buy some quantum super duper ASIC tech whiz bang 3GHz 100Gsa/s 1GB segmented memory spectacular scope!   I am not really sure if it has a source, or signal generator either. Some sources claim that higher end ones do, or certain models anyway, and it seems like the official site say's no. http://www.rigolna.com/products/digital-oscilloscopes/ds1000Z/ds1054z/ That brings me to my next point. Should I also get a decent function generator?   

Question by -max-   |  last reply


why i get the following error 'QTR_NO_EMITTER_PIN' was not declared in this scope?

Here is my code: #include #define NUM_SENSORS   1     // number of sensors used #define TIMEOUT       2500  // waits for 2500 us for sensor outputs to go low #define DETECT_LEVEL  150   // Sensor needs to change this amount for detection #define TRIGGER_COUNT 10    // Wait n successive readings valid detection // Create instance of sensors. We are only using one sensor connected to pin 12 PololuQTRSensorsRC qtrrc((unsigned char[]){12}, NUM_SENSORS,TIMEOUT,QTR_NO_EMITTER_PIN); unsigned int sensorValues[NUM_SENSORS]; unsigned int sensorValuesBase[NUM_SENSORS]; unsigned int detect_count[NUM_SENSORS];    // Number of successive times sensor                                            // has detected a drop in value. If                                            // this is greater than trigger_count                                            // then white line detected // Setup pins for SN754410 Motor chip int lf = 6;      // Left motor Forward int lr = 5;      // Left motor Reverse int rf = 11;     // Right motor Forward int rr = 10;     // Right motor Reverse int led = 3;    // LED and resistor across pins 2 and 3 int led_gnd = 2; unsigned char line_detect=1; unsigned char do_turn=0; void setup()  {   pinMode(led, OUTPUT);   pinMode(led_gnd, OUTPUT);     digitalWrite(led_gnd, LOW);    // LED ground     pinMode(13, OUTPUT);   digitalWrite(13, HIGH);        // turn on Sensor   //Read and store the baseline values   qtrrc.read(sensorValues);    sensorValuesBase[0] = sensorValues[0];    } void loop()  {     if(line_detect==1){       // Line Detect is enabled     qtrrc.read(sensorValues);     if(sensorValues[0] < (sensorValuesBase[0]- DETECT_LEVEL)) {       // Detected drop on value - brighter object detected       detect_count[0]++;   // incerment count       if(detect_count[0] >= TRIGGER_COUNT) {         // White Line detected         detect_count[0]=0;          // Reset count         do_turn=1;                  // Start the turn         digitalWrite(led, HIGH);    // turn on LED              line_detect=0;              // Turn off detection until turn complete               // Come to s stop         analogWrite(lf, 0);                 analogWrite(rf, 0);         analogWrite(lr, 0);                 analogWrite(rr, 0);              delay(200);            }      }     else {       detect_count[0]=0;     }    }   if(do_turn==1){     //Turn right a bit to avoid obstacle     analogWrite(lr, 0);         analogWrite(rf, 0);     analogWrite(lf, 200);     analogWrite(rr, 200);           delay(500);                // Turn for half a second     line_detect=1;             // turn line_detect back on     do_turn=0;                 // turn off     digitalWrite(led, LOW);    // turn off Led   }   else {     // go forward until we detect something     // Forward     analogWrite(lr, 0);             analogWrite(rr, 0);     analogWrite(lf, 250);             analogWrite(rf, 250);       } } i add the library and it appear in sketch import library?

Question by hayhackerall   |  last reply


Whenever I use arduino IDE this weird error message appears in the box.? Answered

sketch_mar24a.cpp: In function 'void setup()': sketch_mar24a:7: error: 'pinmode' was not declared in this scope sketch_mar24a.cpp: In function 'void loop()': sketch_mar24a:15: error: 'digitalwrite' was not declared in this scope What does this mean and how do I fix it.

Question by transuranic   |  last reply


Oscilloscope Features

I would like to buy an Oscilloscope but don't knowing what features are essential to have and what are not.  There is so many different way to buy one, 60Hz  100Hz  200Hz   400Hz. I see digital and analog scopes. 2 trace   4 trace among many other options. What would be the key things i would want to try and look for in a scope? 

Topic by WWC   |  last reply


Problems with Handbag libraries

Hi, I've trouble with the Handbag and Android Acessory library. I've  already unzipped the folders  and put it into the libraries folder. Then I ran the SimpleHandbag sketch. But now I have some errors: SimpleHandbag.ino:54:21: error: Handbag.h: No such file or directory SimpleHandbag:57: error: 'AndroidAccessory' does not name a type SimpleHandbag:63: error: 'HandbagApp' does not name a type SimpleHandbag.ino: In function 'void setupUI()': SimpleHandbag:86: error: 'Handbag' was not declared in this scope SimpleHandbag.ino: In function 'void setup()': SimpleHandbag:95: error: 'Handbag' was not declared in this scope SimpleHandbag.ino: In function 'void loop()': SimpleHandbag:100: error: 'Handbag' was not declared in this scope Thanks for help. Sorry my 'English is not the best, because I'm just a German, who learns English at school

Topic by TobiCplusplus 


Is the Rigol DS1052e any good? Answered

Does anyone have any experience with this oscilloscope? Would you recommend it as an entry level scope?

Question by Ethanal   |  last reply


Programming an Attiny85 with Arduino Uno as ISP, but I keep getting Serial was not declared in this scope?

The sketch runs fine on the uno, but as soon as I switch the board to Attiny 85, i get an error that says serial was not declared in this scope.  Any help is greatly appreciated! Here is the sketch for reference. #include const int relay = 9; //Relay Control const int RECV_PIN = 8; //IR Sensor int relayState = LOW; IRrecv irrecv(RECV_PIN); decode_results results; void setup() {   Serial.begin(9600);   irrecv.enableIRIn();   pinMode(relay, OUTPUT); } void loop() {   if (irrecv.decode(&results;)){         long int decCode = results.value; Serial.println(decCode); switch (results.value) {           case 1637937167: // Power Button      {       relayState = !relayState;       digitalWrite(relay, relayState);       delay(100); } irrecv.resume(); // Receive the next value   }   } }

Question by meanbean   |  last reply


paintball mask upgrade

Does any 1 have any paintball mask mods better than mine ? mine has a sight on it that works for my gun too homade scope also i will try to post it soon

Topic by knexlord   |  last reply


Hello.. My project topic is "cooling and heating of air with solar system".

I am unable to find the research which have been done on this and what is the further scope of this. if u know about something related to the topic, please help me.............

Question by bijendranegi   |  last reply


i cant get a video signal on my hacked camcorder CRT?

Im trying to make a night vision scope and i cannot get the video on my screen i can get it lit but thats about it 

Question by phunky_phantom   |  last reply


Can someone please help?why does it say ROW0 was not declared in this scope in void setup?

Can someone lase help?why does it say ROW0 was not declared in this scope in void setup? int keyscan() { const int led2pin = 10; const int led3pin = 9; const int led4pin = 8; const int buzzer = 12; const int LidSw =  13; const int ROW0 = 7; const int ROW1 = 6; const int ROW2 = 5; const int ROW3 = 4; const int COL0 = 3; const int COL1 = 2; const int COL2 = 1;   const int keys[12]={     1,2,3,4,5,6,7,8,9,10,11,12                  };   int r=0;   int c=0;   int keypress=99;   int ColState = 0;    //variable to store column state, 0 = low } void setup() {   pinMode(ROW0, OUTPUT); }   while(keypress=99)   {              for(r=0; r<4; r++)                          //loop for 4 rows     {       digitalWrite(rows[r], HIGH);       for(c=0;c<3;c++)                          //loop for 3 columns       {         ColState =  digitalRead(cols[c]);         if(ColState==1)         {           digitalWrite(rows[r], LOW);  //reset row           tone(BZR, 450, 500);           ColState = 0;                //reset ColState variable           keypress = keys[(r*3)+c];    //identify key pressed           delay(500);                  //debounce           return keypress;         }       }       digitalWrite(rows[r], LOW);     }   } }

Topic by endara   |  last reply


Can someone lase help?why does it say ROW0 was not declared in this scope in void setup? Answered

Int keyscan() { const int led2pin = 10; const int led3pin = 9; const int led4pin = 8; const int buzzer = 12; const int LidSw =  13; const int ROW0 = 7; const int ROW1 = 6; const int ROW2 = 5; const int ROW3 = 4; const int COL0 = 3; const int COL1 = 2; const int COL2 = 1;     const int keys[12]={     1,2,3,4,5,6,7,8,9,10,11,12                  };   int r=0;   int c=0;   int keypress=99;   int ColState = 0;    //variable to store column state, 0 = low } void setup() {   pinMode(ROW0, OUTPUT); }   while(keypress=99)   {               for(r=0; r<4; r++)                          //loop for 4 rows     {       digitalWrite(rows[r], HIGH);       for(c=0;c<3;c++)                          //loop for 3 columns       {         ColState =  digitalRead(cols[c]);         if(ColState==1)         {           digitalWrite(rows[r], LOW);  //reset row           tone(BZR, 450, 500);           ColState = 0;                //reset ColState variable           keypress = keys[(r*3)+c];    //identify key pressed           delay(500);                  //debounce           return keypress;         }       }       digitalWrite(rows[r], LOW);     }   } }

Question by endara   |  last reply


digital soldering glasses... i need inSIGHT.

I have a idea, to create digital soldering glasses but don't have any inclinations on what direction to go or what mats. to use. I have entertained microscope lenses, ben franklin-esk, lenses (not digital),surveillance pens( not sure how to zoom them),phone cameras( no idea how they zoom either (not in a diy fasion)) a small screen to a hacked digital camera scope, I am a experienced circuit developer with limited understanding of optics. so here is the question if not "think tank" disclosure. if you were to make "zoom glasses" what you use and why.  other low tech to turn digital to be jewelry quality scopes. magnifying lenses for eyeglass repair, etc.     thanks for your time and consideration.

Topic by CD_tatro   |  last reply


Gas furnace plugged into 120V solar/wind generated power bypasses the thermostat control and starts immediately. Why?

The sine wave generated by my 12v to 120v inverter scopes even better than the grid current.  All other appliances function normally on off-grid power.

Question by Twicewidowed   |  last reply


Junk-box Testing Equipment

As inductance and capacitance testing is a frequent topic on instructables, N5ESE's GIZMOs page has several home-brew testing gadgets and misc. gizmos, including:-- inductance meter-- capacitance meter-- frequency generator-- crystal checker-- dummy loads and attenuators-- 'scope probesCool stuff...

Topic by gmoon   |  last reply


ipad app for posting ibles? Answered

I guess this is more of a request than a question, sooooo.. Can someone please make an app for IPads that allows you to post a new 'ible and upload pictures???   I'm thinking something similar to the facebook app that allows you to "choose a picture from your library" or 'take a new picture"? writing an app is well beyond the scope of what I can do/have time to learn how. Please instructaballers, show some app ingenuity!

Question by sarahfish   |  last reply


video source on a Hacked Camcorder CRT

Hi all i have hacked up an old camcorder to get the CRT off it and i am trying to make a scope for my buddy in the reserves, i cant seem to get the video source to work.. ive seen people play gamecube and all kinds on them and i tried using a cut up wire from a dvd player output to it but no luck.. please help  ive managed to find out that the pink and red wire are my positive and negative so i can light the screen

Topic by phunky_phantom   |  last reply


how do i check if my attiny is working?

Im trying to build a minipov  with this schematic, and i cant get it to work i've checked the polarity of the leds (wich were wrong, and i turned them around) and all the wiring. im using 3 rechargable AA's, wich give something like 3.8 V (measured) but, the leds wont light up (i've loaded a program that should light all the leds) how do i check if the attiny2313 is working at all? without a scope ;)

Question by godofal   |  last reply


Power Inverter or DSO Problem?

Recently bought 2000w power board to play around.  Sets DSO at 5mS/Div. The output frequency change intervally between 40Hz and 50Hz. Sets DSO at 10mS/Div. The output frequency stable at 50Hz. Please advice which once is the problem? Update June 1, 2017 1. ...do you have a load on the power supply ? With or without load, same results. 2. Try changing the scopes trigger level.. Getting same resulted too when changes the trigger level.  3. Measures with multimeter. Get 49.98Hz and this is normal. 

Question by GearUp   |  last reply


Control RFM69HCW with Adafruit's Pro Trinket 5v?

Hello, I'm having an issue controlling the RFM69HCW board (https://www.adafruit.com/product/3070) with the Pro Trinket  5V (https://www.adafruit.com/product/2000). The issue is when I go to compile an example code, the SPI class gives errors such as:  ...\Arduino15\packages\arduino\hardware\avr\1.6.12\libraries\SPI\src/SPI.h:250:27: error: 'SPIF' was not declared in this scope        while (!(SPSR & _BV(SPIF))) ;                            ^ I cannot find any help online after searching for awhile. If anyone could give me some insight on possibly how to get past using the SPI library or anything like that, that would be great! Thanks!

Question by bigjohn412   |  last reply


Can anyone point me to some Transistor Projects? Answered

I am looking to expand my experience with transistors and their uses. The reason is I want to teach my self the fundamentals of how they are used and can be used. I understand the basics of using a transistor as a switch but I feel like I don't quite grasp the scope of how they can be used. That all being said; I was wondering if any one can point me to some learning exercises using transistors that would explain some of the finer points? By the way, I am searching for the keywords transistor and projects but I am hoping there is a good one that I may have missed that someone might point out for me.

Question by atrumblood   |  last reply


What is Your Nerdiest Shirt? (patches to all that post pictures!)

We've donned our nerdshirts, now where are yours?What got its start as free vendor t-shirts from tech companies has now evolved into a full blown geek-fest of one-upsmanship and subtle winks to those in-the-know. How many days has Matt walked into work with a shirt I had to patiently wait all day for someone else to question? All of them.Now Gizmodo asks "What is Your Nerdiest Shirt?"Be it gaming, coding, comics or YouTube, there's a shirt to express every one of our inner (or not so inner) geekeries. What are your faves? Let's see 'em!Feeling left out? (I am!)Scope the goods at xkcd and Penny Arcade for some clever ways to join the flashmob.I totally need that poster with the map of the internet. I keep getting lost. . .

Topic by scoochmaroo   |  last reply


How to reduce signal noise in a circuit (for Amplifier)?

I am building a sound reactive RGB light. Using a LM386 and a 16f88's AdC. I got it to work great with just 1 RGB LED on a breadboard, powered from a 7805 I then built it on perfboard, watched the amp's output on my O-Scope, worked fine. https://randomskk.net/projects/lightstrip/schematic.pdfUsed this schematic for LM386Once I hooked up 3 Constant current regulators with 3x 3 watt LEDs(red-green-blue) through 3x MOSFETS, the Amp's output signal becomes blurry/chaotic and the light malfunctions. The regulators negative output must be connected to logic GND, which i know to be where the interference is coming from.How can I reduce the noise coming out of the Amp? Even if I gotta use different type of Amp. I don't know to much about them.

Question by PuffMag1cDrag0n   |  last reply


Is there a way to turn off a computer monitor with the keyboard, by a hot key or something like that?

At work we have a computer hooked up to a fluorescent microscope and when we are analyzing something on the scope we need the room to be completely dark, which includes turning off the LCD monitor on the computer. But then we need to turn the monitor on again to capture images on the computer, so we are constantly turning the monitor on and off and it is starting to cause some wear on the on/off switch. So my question is: is there a way to turn off the monitor from the keyboard?I have tried setting the screen saver to blank and turn on after one minute, but I hate waiting a minute for it to come on and the mouse is often nudged so the screen saver goes off. And sometimes we use the keyboard to move between microscope filters.This being a work computer, they don't want any software downloaded on to the computer. They don't even want us to change the wallpaper (god forbid). So can this be done with out the use of a program.The computer is running XP.Thanks!

Question by ChrysN   |  last reply


ArduinoISP Does Not Support PORT Commands?

I was planning to make a drum machine that only requires two pins on the Arduino and so, wanted to use an AtTiny85v but it gives me errors like: 'DDRD' was not declared in this scope ArduinoBeats.cpp: In function 'void setup()': ArduinoBeats:97: error: 'DDRD' was not declared in this scope ArduinoBeats.cpp: In function 'void playKick()': ArduinoBeats:288: error: 'PORTD' was not declared in this scope ArduinoBeats:294: error: 'PORTD' was not declared in this scope ArduinoBeats.cpp: In function 'void playSnare()': ArduinoBeats:304: error: 'PORTD' was not declared in this scope ArduinoBeats:310: error: 'PORTD' was not declared in this scope ArduinoBeats.cpp: In function 'void playHat()': ArduinoBeats:320: error: 'PORTD' was not declared in this scope ArduinoBeats:326: error: 'PORTD' was not declared in this scope ArduinoBeats.cpp: In function 'void playCrash()': ArduinoBeats:335: error: 'PORTD' was not declared in this scope ArduinoBeats:341: error: 'PORTD' was not declared in this scope I had named the sketch ArduinoBeats so that explains all the ArduinoBeats stuff. Does anybody know how to add this command to the AtTiny library? Any help would be appreciated. Here is the code from Little Scale: /* Arduino Beats by Sebastian Tomczak 6 April 2008 */ // Working Variables byte byteA; byte byteB; int delayTime = 100; int barLength = 16; // Beats byte bar1[] = { 1, 0, 1, 0, 2, 4, 1, 2, 1, 0, 1, 0, 2, 1, 3, 0 }; byte bar2[] = { 1, 0, 1, 0, 2, 0, 1, 2, 1, 0, 1, 0, 2, 2, 2, 2 }; byte bar3[] = { 1, 3, 1, 3, 2, 3, 1, 2, 1, 3, 1, 2, 1, 1, 4, 4 }; byte bar4[] = { 1, 0, 1, 0, 2, 2, 0, 2, 2, 1, 1, 4, 1, 1, 4, 4 }; // Samples byte kick[] = { 127, 80, 42, 5, 165, 242, 241, 233, 128, 73, 48, 22, 127, 69, 55, 113, 151, 183, 209, 217, 223, 228, 233, 215, 161, 117, 91, 76, 65, 49, 37, 31, 31, 48, 83, 120, 146, 166, 183, 198, 206, 210, 209, 199, 178, 145, 111, 88, 78, 73, 69, 67, 72, 80, 88, 97, 109, 124, 137, 150, 163, 171, 174, 172, 168, 160, 144, 125, 114, 110, 108, 104, 104, 106, 109, 110, 112, 117, 124, 129, 135, 142, 145, 145, 143, 140, 137, 132, 128, 125, 122, 119, 118, 119, 119, 119, 118, 118, 120, 124, 126, 129, 132, 135, 137, 137, 135, 132, 131, 130, 129, 128, 126, 126, 124, 123, 121, 120, 120, 122, 123, 124, 126, 128, 129, 130, 130, 131, 131, 131, 130, 130, 130, 129, 129, 128, 126, 125, 125, 124, 124, 124, 124, 125, 126, 126, 128, 128, 128, 129, 129, 129, 129, 129, 128, 128, 128, 128, 126, 126, 126, 126, 126, 126, 126, 126, 126, 128, 127, 126, 128, 128, 128, 128, 128, 128, 128, 128, 126, 126, 126, 126, 126, 126, 126, 126, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126 }; byte snare[] = { 127, 215, 65, 212, 56, 102, 135, 122, 51, 201, 220, 46, 175, 80, 152, 95, 123, 116, 184, 155, 59, 122, 100, 161, 143, 173, 101, 155, 97, 73, 112, 98, 176, 96, 140, 77, 134, 109, 132, 149, 112, 149, 97, 161, 98, 151, 98, 155, 149, 112, 157, 103, 133, 106, 167, 97, 166, 108, 129, 124, 136, 146, 124, 136, 129, 150, 94, 130, 105, 141, 146, 128, 129, 99, 150, 121, 141, 99, 142, 116, 131, 114, 118, 143, 127, 143, 115, 144, 120, 137, 109, 129, 131, 139, 129, 113, 144, 119, 145, 117, 135, 129, 134, 136, 124, 130, 130, 139, 121, 136, 121, 132, 128, 127, 126, 122, 130, 126, 138, 120, 136, 122, 131, 123, 130, 128, 127, 128, 118, 132, 125, 131, 122, 131, 125, 131, 122, 126, 128, 126, 129, 121, 129, 123, 132, 129, 127, 131, 123, 128, 125, 130, 123, 131, 123, 128, 131, 129, 128, 126, 125, 124, 131, 121, 124, 129, 130, 126, 124, 126, 127, 130, 125, 126, 128, 126, 128, 126, 126, 126, 126, 125, 128, 126, 126, 126, 126, 126, 126, 125, 128, 126, 126, 126, 126, 126, 126, 126, 126, 128, 128, 126, 128, 126, 127, 126, 128, 125, 127, 128, 128, 126, 126, 128, 126, 126, 128, 128, 128, 128, 128, 126, 128, 126, 126, 128, 128, 126, 126, 128, 128, 126, 126, 127, 126, 128, 126, 126, 128, 128, 128, 126, 126, 126, 128, 128, 126, 126, 126, 128, 128, 126, 128, 128, 126, 126 }; byte hat[] = { 127, 128, 225, 217, 99, 38, 61, 153, 152, 144, 133, 73, 122, 144, 65, 188, 87, 170, 164, 111, 122, 151, 114, 88, 174, 77, 140, 92, 122, 141, 156, 124, 121, 123, 126, 133, 132, 139, 119, 120, 127, 141, 130, 122, 129, 127, 132, 121, 139, 118, 130, 131, 129, 132, 130, 134, 126, 128, 130, 126, 122, 132, 129, 127, 131, 126, 128, 127, 126, 125, 127, 125, 128, 125, 128, 128, 127, 127, 126, 127, 128, 128, 128, 127, 127, 127, 127, 127, 128, 127, 127, 126, 127, 127, 128, 127, 128, 126, 127, 128, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 128, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 128, 128, 126, 126, 128, 127, 126, 127, 126, 127, 127, 126, 127, 126, 127, 127, 127, 127, 127, 126, 127, 127, 127, 126, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 126, 126, 126, 127, 127, 127, 126, 127, 127, 127, 126, 127, 127, 126, 127, 127, 127, 127, 127, 127, 126, 126, 126, 126, 126, 126, 126, 127, 127, 126, 127, 126, 126, 127, 126, 127, 126, 126, 126, 126, 126, 126, 126, 127, 127, 126, 127, 127, 127, 127, 126, 126, 127, 127, 127, 126, 127, 126, 127, 127, 127, 127, 127, 126, 126, 127, 127, 126, 127, 127, 127, 127, 126, 127, 127, 127, 127, 127, 127, 127, 127 }; byte crash[] = { 127, 128, 225, 217, 99, 38, 61, 153, 152, 144, 133, 73, 122, 144, 65, 188, 87, 170, 164, 111, 122, 151, 114, 88, 174, 77, 140, 92, 122, 141, 156, 124, 121, 123, 126, 133, 132, 139, 119, 120, 127, 141, 130, 122, 129, 127, 132, 121, 139, 118, 130, 131, 129, 132, 130, 134, 126, 128, 130, 126, 122, 132, 129, 127, 131, 126, 128, 127, 126, 125, 127, 125, 128, 125, 128, 128, 127, 127, 126, 127, 128, 128, 128, 127, 127, 127, 127, 127, 128, 127, 127, 126, 127, 127, 128, 127, 128, 126, 127, 128, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 128, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 128, 128, 126, 126, 128, 127, 126, 127, 126, 127, 127, 126, 127, 126, 127, 127, 127, 127, 127, 126, 127, 127, 127, 126, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 126, 126, 126, 127, 127, 127, 126, 127, 127, 127, 126, 127, 127, 126, 127, 127, 127, 127, 127, 127, 126, 126, 126, 126, 126, 126, 126, 127, 127, 126, 127, 126, 126, 127, 126, 127, 126, 126, 126, 126, 126, 126, 126, 127, 127, 126, 127, 127, 127, 127, 126, 126, 127, 127, 127, 126, 127, 126, 127, 127, 127, 127, 127, 126, 126, 127, 127, 126, 127, 127, 127, 127, 126, 127, 127, 127, 127, 127, 127, 127, 127 }; void setup() { DDRD = DDRD | B11111100; //In attempt to try and use an ATtiny, I got an error here } void loop() { for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar2[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar3[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar2[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar4[j]); } } // Playback Functions void playBeat(byte beat) { if(beat == 0) { for(int i = 0; i < 256; i ++) { delayMicroseconds(analogRead(0) + 1); } } else if(beat == 1) { playKick(); } else if(beat == 2) { playSnare(); } else if(beat == 3) { playHat(); } else if(beat == 4) { playCrash(); } delay(delayTime); } void playKick() { for(int i = 0; i < 256; i ++) { PORTD = kick[i]; delayMicroseconds(analogRead(0) + 1); } PORTD = 127; } void playSnare() { for(int i = 0; i < 256; i ++) { PORTD = snare[i]; delayMicroseconds(analogRead(0) + 1); } PORTD = 127; } void playHat() { for(int i = 0; i < 256; i ++) { PORTD = hat[i]; delayMicroseconds(analogRead(0) + 1); } PORTD = 127; } void playCrash() { for(int i = 0; i < 256; i ++) { PORTD = crash[i]; delayMicroseconds(analogRead(0) + 1); } PORTD = 127; }

Topic by blinkyblinky 


ArduinoISP does not support PORT Output commands?

I was planning to make a drum machine that only requires two pins on the Arduino and so, wanted to use an AtTiny85v but it gives me errors like: 'DDRD' was not declared in this scope ArduinoBeats.cpp: In function 'void setup()': ArduinoBeats:97: error: 'DDRD' was not declared in this scope ArduinoBeats.cpp: In function 'void playKick()': ArduinoBeats:288: error: 'PORTD' was not declared in this scope ArduinoBeats:294: error: 'PORTD' was not declared in this scope ArduinoBeats.cpp: In function 'void playSnare()': ArduinoBeats:304: error: 'PORTD' was not declared in this scope ArduinoBeats:310: error: 'PORTD' was not declared in this scope ArduinoBeats.cpp: In function 'void playHat()': ArduinoBeats:320: error: 'PORTD' was not declared in this scope ArduinoBeats:326: error: 'PORTD' was not declared in this scope ArduinoBeats.cpp: In function 'void playCrash()': ArduinoBeats:335: error: 'PORTD' was not declared in this scope ArduinoBeats:341: error: 'PORTD' was not declared in this scope I had named the sketch ArduinoBeats so that explains all the ArduinoBeats stuff. Does anybody know how to add this command to the AtTiny library? Any help would be appreciated. Here is the code from Little Scale: /* Arduino Beats by Sebastian Tomczak 6 April 2008 */ // Working Variables byte byteA; byte byteB; int delayTime = 100; int barLength = 16; // Beats byte bar1[] = { 1, 0, 1, 0, 2, 4, 1, 2, 1, 0, 1, 0, 2, 1, 3, 0 }; byte bar2[] = { 1, 0, 1, 0, 2, 0, 1, 2, 1, 0, 1, 0, 2, 2, 2, 2 }; byte bar3[] = { 1, 3, 1, 3, 2, 3, 1, 2, 1, 3, 1, 2, 1, 1, 4, 4 }; byte bar4[] = { 1, 0, 1, 0, 2, 2, 0, 2, 2, 1, 1, 4, 1, 1, 4, 4 }; // Samples byte kick[] = { 127, 80, 42, 5, 165, 242, 241, 233, 128, 73, 48, 22, 127, 69, 55, 113, 151, 183, 209, 217, 223, 228, 233, 215, 161, 117, 91, 76, 65, 49, 37, 31, 31, 48, 83, 120, 146, 166, 183, 198, 206, 210, 209, 199, 178, 145, 111, 88, 78, 73, 69, 67, 72, 80, 88, 97, 109, 124, 137, 150, 163, 171, 174, 172, 168, 160, 144, 125, 114, 110, 108, 104, 104, 106, 109, 110, 112, 117, 124, 129, 135, 142, 145, 145, 143, 140, 137, 132, 128, 125, 122, 119, 118, 119, 119, 119, 118, 118, 120, 124, 126, 129, 132, 135, 137, 137, 135, 132, 131, 130, 129, 128, 126, 126, 124, 123, 121, 120, 120, 122, 123, 124, 126, 128, 129, 130, 130, 131, 131, 131, 130, 130, 130, 129, 129, 128, 126, 125, 125, 124, 124, 124, 124, 125, 126, 126, 128, 128, 128, 129, 129, 129, 129, 129, 128, 128, 128, 128, 126, 126, 126, 126, 126, 126, 126, 126, 126, 128, 127, 126, 128, 128, 128, 128, 128, 128, 128, 128, 126, 126, 126, 126, 126, 126, 126, 126, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126 }; byte snare[] = { 127, 215, 65, 212, 56, 102, 135, 122, 51, 201, 220, 46, 175, 80, 152, 95, 123, 116, 184, 155, 59, 122, 100, 161, 143, 173, 101, 155, 97, 73, 112, 98, 176, 96, 140, 77, 134, 109, 132, 149, 112, 149, 97, 161, 98, 151, 98, 155, 149, 112, 157, 103, 133, 106, 167, 97, 166, 108, 129, 124, 136, 146, 124, 136, 129, 150, 94, 130, 105, 141, 146, 128, 129, 99, 150, 121, 141, 99, 142, 116, 131, 114, 118, 143, 127, 143, 115, 144, 120, 137, 109, 129, 131, 139, 129, 113, 144, 119, 145, 117, 135, 129, 134, 136, 124, 130, 130, 139, 121, 136, 121, 132, 128, 127, 126, 122, 130, 126, 138, 120, 136, 122, 131, 123, 130, 128, 127, 128, 118, 132, 125, 131, 122, 131, 125, 131, 122, 126, 128, 126, 129, 121, 129, 123, 132, 129, 127, 131, 123, 128, 125, 130, 123, 131, 123, 128, 131, 129, 128, 126, 125, 124, 131, 121, 124, 129, 130, 126, 124, 126, 127, 130, 125, 126, 128, 126, 128, 126, 126, 126, 126, 125, 128, 126, 126, 126, 126, 126, 126, 125, 128, 126, 126, 126, 126, 126, 126, 126, 126, 128, 128, 126, 128, 126, 127, 126, 128, 125, 127, 128, 128, 126, 126, 128, 126, 126, 128, 128, 128, 128, 128, 126, 128, 126, 126, 128, 128, 126, 126, 128, 128, 126, 126, 127, 126, 128, 126, 126, 128, 128, 128, 126, 126, 126, 128, 128, 126, 126, 126, 128, 128, 126, 128, 128, 126, 126 }; byte hat[] = { 127, 128, 225, 217, 99, 38, 61, 153, 152, 144, 133, 73, 122, 144, 65, 188, 87, 170, 164, 111, 122, 151, 114, 88, 174, 77, 140, 92, 122, 141, 156, 124, 121, 123, 126, 133, 132, 139, 119, 120, 127, 141, 130, 122, 129, 127, 132, 121, 139, 118, 130, 131, 129, 132, 130, 134, 126, 128, 130, 126, 122, 132, 129, 127, 131, 126, 128, 127, 126, 125, 127, 125, 128, 125, 128, 128, 127, 127, 126, 127, 128, 128, 128, 127, 127, 127, 127, 127, 128, 127, 127, 126, 127, 127, 128, 127, 128, 126, 127, 128, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 128, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 128, 128, 126, 126, 128, 127, 126, 127, 126, 127, 127, 126, 127, 126, 127, 127, 127, 127, 127, 126, 127, 127, 127, 126, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 126, 126, 126, 127, 127, 127, 126, 127, 127, 127, 126, 127, 127, 126, 127, 127, 127, 127, 127, 127, 126, 126, 126, 126, 126, 126, 126, 127, 127, 126, 127, 126, 126, 127, 126, 127, 126, 126, 126, 126, 126, 126, 126, 127, 127, 126, 127, 127, 127, 127, 126, 126, 127, 127, 127, 126, 127, 126, 127, 127, 127, 127, 127, 126, 126, 127, 127, 126, 127, 127, 127, 127, 126, 127, 127, 127, 127, 127, 127, 127, 127 }; byte crash[] = { 127, 128, 225, 217, 99, 38, 61, 153, 152, 144, 133, 73, 122, 144, 65, 188, 87, 170, 164, 111, 122, 151, 114, 88, 174, 77, 140, 92, 122, 141, 156, 124, 121, 123, 126, 133, 132, 139, 119, 120, 127, 141, 130, 122, 129, 127, 132, 121, 139, 118, 130, 131, 129, 132, 130, 134, 126, 128, 130, 126, 122, 132, 129, 127, 131, 126, 128, 127, 126, 125, 127, 125, 128, 125, 128, 128, 127, 127, 126, 127, 128, 128, 128, 127, 127, 127, 127, 127, 128, 127, 127, 126, 127, 127, 128, 127, 128, 126, 127, 128, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 128, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 128, 128, 126, 126, 128, 127, 126, 127, 126, 127, 127, 126, 127, 126, 127, 127, 127, 127, 127, 126, 127, 127, 127, 126, 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 126, 126, 126, 127, 127, 127, 126, 127, 127, 127, 126, 127, 127, 126, 127, 127, 127, 127, 127, 127, 126, 126, 126, 126, 126, 126, 126, 127, 127, 126, 127, 126, 126, 127, 126, 127, 126, 126, 126, 126, 126, 126, 126, 127, 127, 126, 127, 127, 127, 127, 126, 126, 127, 127, 127, 126, 127, 126, 127, 127, 127, 127, 127, 126, 126, 127, 127, 126, 127, 127, 127, 127, 126, 127, 127, 127, 127, 127, 127, 127, 127 }; void setup() { DDRD = DDRD | B11111100; //In attempt to try and use an ATtiny, I got an error here } void loop() { for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar2[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar3[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar2[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar1[j]); } for(int j = 0; j < barLength; j ++) { playBeat(bar4[j]); } } // Playback Functions void playBeat(byte beat) { if(beat == 0) { for(int i = 0; i < 256; i ++) { delayMicroseconds(analogRead(0) + 1); } } else if(beat == 1) { playKick(); } else if(beat == 2) { playSnare(); } else if(beat == 3) { playHat(); } else if(beat == 4) { playCrash(); } delay(delayTime); } void playKick() { for(int i = 0; i < 256; i ++) { PORTD = kick[i]; delayMicroseconds(analogRead(0) + 1); } PORTD = 127; } void playSnare() { for(int i = 0; i < 256; i ++) { PORTD = snare[i]; delayMicroseconds(analogRead(0) + 1); } PORTD = 127; } void playHat() { for(int i = 0; i < 256; i ++) { PORTD = hat[i]; delayMicroseconds(analogRead(0) + 1); } PORTD = 127; } void playCrash() { for(int i = 0; i < 256; i ++) { PORTD = crash[i]; delayMicroseconds(analogRead(0) + 1); } PORTD = 127; }

Question by blinkyblinky   |  last reply


Need help with arduino code.?

Alright I asked this question on the arduino forums but nobody is giving me a straight answer, and it's getting annoying. I am using the capsense library on an attiny85, I want to count the number of times an even happens, in this case the capacitive censor exceeding a certain amount. Then based on that number I want it to turn on one led, or two, and so forth, to keep count. Can someone tell me how the f*****g get this to work? I try to use serial to debug and just get "Serial" not defined in this scope. Heres the code: #include #include CapacitiveSensor   cs_1_2 = CapacitiveSensor(1,2);        // 10M resistor between pins 4 & 2, pin 2 is sensor pin, add a wire and or foil if desired int ledpin = 0; int countnumber = 0; void setup()                    {   cs_1_2.set_CS_AutocaL_Millis(0xFFFFFFFF);     // turn off autocalibrate on channel 1 - just as an example   pinMode (ledpin, OUTPUT); } void loop()                    {   long start = millis();   long total1 =  cs_1_2.capacitiveSensor(30);   if (total1 < 99) {    countnumber == 1;   }   if (countnumber = 1) {     digitalWrite(ledpin, HIGH);   } }

Question by XOIIO   |  last reply


What is the axial orientation of Polaris with respect to the Earth? Answered

So... I know the Earth's axis of rotation currently points (roughly) at Polaris, the North Star. (which, of course, is why we can navigate by it here on Terra Firma).  I also know that Polaris is about ~500 ly from us,  has a rotational period (hence an axis), that it's a transitional Cepheid (sp) (a star that varies between a larger, brighter state and a smaller, denser one) , that it has at least two l known, low-output companion stars, and that since the ~1940s it has undergone visible changes in its rotational period and its output. My excuse and reason  for asking... First, I did google it. Either no one has asked the question(doubtful), it can't really be determined with our present level of science (could be, idk), or I just didn't use the right search  terms to find the answer (the usual culprit ime) , but in any case, after an off and on search that's spanned the past ~year, I think it's time I ask. Secondly, the inspiration. I enjoy amateur astronomy.  However, time and equipment and location often limit my grand delusions for the next "Citizen challenges Hubble with stunning new photo of Zeta p3044-a!" award hahahaha.  But the real problem is most often because of my mid-level scope's somewhat limited ability (in comparison to a German equatorial mount) to track consistently and smoothly, and as a result, Polaris becomes an easy target when I get frustrated with the scopes performance on a given night (sometimes it does track brilliantly... for a stepper-driven alt-z, but only sometimes and even then only to the limits of the steps) because the only thing the scope has to track when pointed at the North Star is rotation, which it seems to handle better than both directions of movement (probably needs a new gear or the motor is wearing or my expectations are simply higher than that of my equipment ...). Of course, I also quite often choose to shoot Polaris when conditions are such that it's the only viable target (for instance, when I'm stuck imaging from my backyard, I have a postage stamp size hole that happens to point at Polaris... which of course basically "doesn't move", pretty much everything else is shrouded by century old, 8-100 ft tall forest during the warmer months, and when I can't drive out to a more suitable location, it's a lucky night when everything is "right", I can even align the mount (it uses a goto controller that requires a 3 star alignment for tracking with any accuracy). So Polaris is a no-brainer, (take some images for arts sake, fine tune the in-situ collimation, data-reduction test sets, etc.) . Either that or do something else...  Anyway, as a result of all of this, I'm found myself enjoying the simplicity of shooting the North Star and the area around it, and having fun with image processing and even optical train modifications to further the artistic side. And I've read a few articles about it's variability and the ~relatively significant changes in its behavior that have been occurring during the past 50 years that got me to thinking What I'm wondering is that when I image Polaris, am I looking at it "on its side?", "on axis?", or at some other viewing angle? Not that I'm going to be able to literally "view it on its side" or something, since optically imaging the star beyond that roughly of a point-source isn't practical, but just to know, since the darned question won't get out of my head. (been asking it for the past year quietly to myself and google. I hate to think how many cumulative hours I've spent at it...) thanks!

Question by seandogue   |  last reply


i wanna make a blood pressure signal generator using purely analog parts.

I found this link : http://www.designnotes.com/downloads/MK105_Assembly.pdf. i was wondering if i could modify this or other suggestions?Or could i just run two together and use a different frequency somehow needs to look similar to this: http://www.biopac.ca/images/img23.gif edit:sorry , i was at work and didnt realise that it would be so confusing, so heres a few details I have access to a 9 Vdc line. using that i need to create a blood pressure signal, where it peaks at 1.2v and lowest is .8V with a slight bounce after thepeak. You can see it in the image that i posted.  i was thinking of using a 555 timer and series of resistors/caps,which i could create a sine wave with it. But how would i go about creating the bounce?  So essentially simulating a perfect blood pressure of 120/80 mmHg , that i could input into my ECG machine or view on an scope. I am also limited to purely analog. So i can use microcontrollers and the likes. But i am allowed to use 555 timers, op-amps etc. BTW the ideas that i have seen are great, especially the one using valves and a sewing motor, i cannot use it unfortunately. I might make it during the summer

Question by doubleunderscore   |  last reply


arduino interfacing with ps2 keyboard

Simple_Testmodify.cpp: In function 'void setup()': Simple_Testmodify:34: error: no matching function for call to 'PS2Keyboard::begin(int&, int&)' C:\Program Files\arduino-1.0\libraries\PS2Keyboard_014A/PS2Keyboard.h:77: note: candidates are: void PS2Keyboard::begin(int) Simple_Testmodify.cpp: In function 'void loop()': Simple_Testmodify:52: error: 'begin' was not declared in this scope THE ABOVE ERROR WAS SHOWN ON VERIFICATION OF THE PROGRAM KINDLY ADVICE THIS WAS THE CODE I USED TO INTER FACE PS2 KEYBOARD WITH ARDUINO UNO  #include int DataPin = 8; int IRQpin =  3; PS2Keyboard keyboard; void setup() {   delay(1000);   keyboard.begin(DataPin,IRQpin);   Serial.begin(9600);   Serial.println("Keyboard Test:"); } void loop() {   if (keyboard.available()) {     char PS2_ENTER;     char PS2_TAB;     char PS2_ESC;     char PS2_PAGEDOWN;     char PS2_PAGEUP;     char PS2_LEFTARROW;     char PS2_RIGHTARROW;     char PS2_UPARROW;     char PS2_DOWNARROW;     char PS2_DELETE;     // read the next key        char c = keyboard.read();         // check for some of the special keys     if (c == PS2_ENTER) {       Serial.println();     } else if (c == PS2_TAB) {       Serial.print("[Tab]");     } else if (c == PS2_ESC) {       Serial.print("[ESC]");     } else if (c == PS2_PAGEDOWN) {       Serial.print("[PgDn]");     } else if (c == PS2_PAGEUP) {       Serial.print("[PgUp]");     } else if (c == PS2_LEFTARROW) {       Serial.print("[Left]");     } else if (c == PS2_RIGHTARROW) {       Serial.print("[Right]");     } else if (c == PS2_UPARROW) {       Serial.print("[Up]");     } else if (c == PS2_DOWNARROW) {       Serial.print("[Down]");     } else if (c == PS2_DELETE) {       Serial.print("[Del]");     } else {             // otherwise, just print all normal characters       Serial.print(c);     }   } }

Topic by akshay12345   |  last reply


PWM Not working? Answered

I have a circut with the following wiring and it works for what I have been doing, but I wan't to be able to dim the LED with PWM on the arduino.  Right now the light is running at about 50 for the length on the analogWrite.  There is really no difference between 50 and 255 in my opinion so I think something may be wrong.  When the length drops below 20 the light doesn't even come on.  This is for a bike light project and electronics aren't my strongest area.  I am guessing there is some period of time the MOSFET needs to switch on and off and the arduino's PWM is just too fast for this but I am not sure.  I have access to an oscilloscope so I can test to see if everything is working correctly as well.  I just get meaningless jitter with an inner oblong sine wave when I have attempted to use it, so where would be the best points to attach the scope to get some meaningful data.  (anywhere  I wrote PMW i meant PWM). I would like to point out that the LED is Rated for 13V and I am running it on  11.1 V, so no problems there. Aslo I got it working using a 10k resistor between the gate and ground, the arduino, on PWM mode doesn't sink the current very well. I have included the correct diagram.

Question by seedorfj   |  last reply


over 90W of flyback (back EMF) energy? how to dissipate it? Answered

Continuing my work on the flyback driver, I am investigating methods and practices to protect my MOSFETs from overvoltage conditions. I have measured peaks of as much as 350V across a 250V MOSFET while drawing an arc, and it does not matter what I do it seems like I simply cannot limit the back EMF transients to <250V. I am really impressed by the rugged nature of these MOSFETs, although I have popped quite a few of them. Seeing that they are being bombarded with almost 400V transients, it is a wonder they survive as long as they do. When I added a medium sized reverse biased zener diode in series with a 10 ohm 1 watt resistor, both went up in smoke, especially the resistor! The zener diode survived. I also tried a much larger screw mounted 30V zener diode w/o the resistor and it reached much over 100 degrees C after only a few seconds and I had very little output on the secondary. Judging by how quickly a 10 watt resistor heats up I assume that the back EMF very low impedance and has to be over 90W average!!! I'll need to try to use the integration feature on my scope to measure the average power dissipation accurately. In none of the configurations involving a resistor did I see the voltage clamped any lower than before. :(

Question by -max-   |  last reply


Input problem with OpAmp-controlled ZVS Induction Heater

Hello, Idea: I'm trying to build a circuit which uses an OpAmp to drive 2 mosfets, which power the LC tank of an induction heater. The idea is to detect when the voltage over the LC tank crosses zero, and at that voltage I would make the 2 outputs of the OpAmp change states from fully on, to fully off. The two OpAmps (both inside one chip) have their positive and negative inputs connected to eachother, but with reversed polarity. This would make sure that one output is high, and the other one is low. Why use an OpAmp? I wanted the MOSFET gate switching to go faster as usually, because in the mazzilli circuit, the gate voltage actually slews at the same rate as the LC tank's voltage slews when it crosses zero volts. In the mazzilli circuit, it actually doesn't switch when the voltage is 0v, but when the tank voltage drops below the gate threshold voltage. This would mean that you are always switching current at 5v (for example) instead of at 0V. So for these two reasons, I wanted to try switching them with an OpAmp. Measurements: Probe I on drain 1, probe II on drain 2, and GND on the circuit's ground, gives me an expected result: when switching states, at 0 voltage of the LC tank, the voltage on one side stays low (since it's pulled to ground) and the voltage on the other side goes from 0v up to 50v, back down to 0v, like a sine-wave. Then the OpAmps switch again, and the one side now goes up to 50v as a sine wave, and the other one stays low at 0v. All good, this is working just fine. Probe I on the one differential input line, probe II on the other differential input line. Since this is nothing more than just a 1/10 voltage division of the previous measurement, I'm also expecting the signal to be exactly the same, but 11x smaller. -> problem: However, this does not happen. Because of some strange reason, as you can see in the scope images: Both channels go high, Twice per cycle, instead of going high only once per cycle, and staying low for the next half of the cycle. This really isn't good! Do the inputs affect the waveform in some way? Remarks about scope images: Image: 2 gates Blue gate voltage seems 'quite' fine. Turning on looks good, turning off is not really good becuse if tends to turn on for a short time once again, before it fully turns off. Yellow gate voltage is terrible. Turning on doesn't happen as expected. Voltage drops back to 0 for a long while which is very bad for the circuit. Frequency seems fine; 50kHz is as expected with the 14µH and 6µF. Image: 2 drain voltages These voltages were measured with a 1-10 voltage divider, and thus show only 1/11th of the actual voltage. This is getting close to what I want the LC tank to do. The voltages seem quite like sine waves. I suspect that if the gate voltages would be as they should be, these drain voltages would also be perfect sine waves. The regular sine amplitude of 50V is as expected, with a 24V supply voltage, but at the moments when the drain voltages strangely drop down to 0v, as you can see in image: '2 gates', at these moments the drain voltage seems to spike over 250V!! Image: 2 differential input lines This is the image which I don't understand. I expect the same wave as in the previous picture, but only 11 times smaller because of the voltage divider. However, the voltage does NOT reach 0v while the drain voltage does, and its shape is also completely different. In this image, both channels are doing one (half) sine wave, twice per switching period. They should be LOW for half a period, as the drain voltages do in the previous image. Better quality images: 2 gates 2 drain voltages 2 differential input lines schematic Datasheets: OpAmp: http://cds.linear.com/docs/en/datasheet/1497f.pdf MOSFETS: http://www.vishay.com/docs/91262/91262.pdf Coils and capacitors: Line inductor value: I'm not sure if this value is correct. Center-tapped main coil inductance: This value should be pretty correct, I calculated it by measuring it's size and windings, and the operating frequency is also nearly the same as the calculated one. tank capacitance: 6 times a 1µf MKP capacitor Questions: - Why these strange large spikes? - Why is the waveform suddenly different when reading it near the differential inputs? For the first time ever, I can provide you with scope images! I finally bought a (quite cheap) oscilloscope. I hope it helps a lot. Oh, and one more thing: The induction heater does actually work already. I'm getting huge currents in the LC tank, since the 6mm copper tubing gets hot after a minute. Water cooling has been added, and it works like a charm! The MOSFETS do get quite hot after 15 seconds of heating an object, or after 40 seconds of heating nothing. This, probably because the gate voltage isn't what it should be. Kind regards, Electorials

Question by DELETED_Electorials   |  last reply


I am not so good in programing arduino and i have some problems, but can't find answer anywhere

I am have this errors  Arduino: 1.6.0 (Windows 7), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)" Build options changed, rebuilding all Using library Sprite in folder: C:\Users\Hrvoje\Documents\Arduino\libraries\Sprite (legacy) Using library Matrix in folder: C:\Users\Hrvoje\Documents\Arduino\libraries\Matrix (legacy) D:\Program Files (x86)\Arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10600 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR -ID:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -ID:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs -IC:\Users\Hrvoje\Documents\Arduino\libraries\Sprite -IC:\Users\Hrvoje\Documents\Arduino\libraries\Matrix C:\Users\Hrvoje\AppData\Local\Temp\build3373133583693679666.tmp\LED_1cube_4x4x4_Show_1_74HC595.cpp -o C:\Users\Hrvoje\AppData\Local\Temp\build3373133583693679666.tmp\LED_1cube_4x4x4_Show_1_74HC595.cpp.o LED_1cube_4x4x4_Show_1_74HC595.ino:34:1: error: 'prog_uchar' does not name a type LED_1cube_4x4x4_Show_1_74HC595.ino: In function 'void loop()': LED_1cube_4x4x4_Show_1_74HC595.ino:258:27: error: 'PatternTable' was not declared in this scope Error compiling.   all files i can not compile :S https://mega.co.nz/#F!uY82TLKK!yz8c1fMIYyo-ow7pUiOwgw Include file key

Question by monpg2   |  last reply


Why can't I compile the following Arduino code? Answered

This always stops at: nunchuck_get_data(); and the error on the bottom says: 'nunchuck_get_data' was not declared in this scope.  I do not understand that message.  I got the code from Arduino Cook Book Edition 2 and I have the Arduino Uno.  It's so discouraging some times.  I am trying to get going on this stuff and I can't seem to get a lot of code to work; Here is the code fornd on page 131-132 of the book: /* * WiichuckSerial * Uses Nunchuck Library discussed in recipe 16.5 * sends comma-seperated values for data * Label string separated by commas can be used by receiving program * to identify fields */ #include #include "Nunchuck.h" // values to add to the sensor to get zero reading when centered int offsetX, offsetY, offsetZ; #include #include "Nunchuck.h" void setup() {   Serial.begin(57600);   nunchuckSetPowerpins();   nunchuckInit(); // send the intitialization handshake   nunchuckRead; // ignore the first time   delay(50); } void loop() {   nunchuckRead();   delay(6);   nunchuck_get_data();   boolean btnC = nunchuckGetValue(wii_btnC);   boolean btnZ = nunchuckGetValue(wii_btnZ);     if(btnC) {     offsetX = 127 nunchuckGetValue(wii_accelX);     offsetY = 127 nunchuckGetValue(wii_accelY);   }   Serial.print("Data,");   printAccel(nunchuckGetValue(wii_accelX),offsetX;   printAccel(nunchuckGetValue(wii_accelY),offsetY;   printButton(nunchuckGetValue(wii_btnZ));     Serial.println(); } void printAccel(int value,int offset) {   Serial.print(adjReading(value, 127-50, 127+50, offset));   Serial.print(","); } void printJoy(int value) {   Serial.print(adjReading(value,0, 255, 0));   Serial.print(","); } void printButton(int value) {   if( value != 0)      value = 127;   Serial.print(value,DEC);   Serial.print(","); } int adjReading( int value, int min, int max, int offset) {   value = constrain(value + offset, min, max);   value = map(value, min, max, -127, 127);   return value; }

Question by RockyRun   |  last reply


Pirate Bay Legal Responses

I love the Pirate Bay's responses to threats of legal action.Since they're based in Sweden, home of the Pirate Party1, their responses can get pretty entertaining. Here's part of their response to a takedown notice from EA:Hello and thank you for contacting us. We have shut down the website in question.Oh wait, just kidding. We haven't, since the site in question is fully legal. Unlike certain other countries, such as the one you're in, we have sane copyright laws here. But we also have polar bears roaming the streets and attacking people :-(.And selection from the response to Warner Bros. et al:We are well aware of the fact that The Pirate Bay falls outside the scope of the DMCA - after all, the DMCA is a US-specific legislation, and TPB is hosted in the land of vikings, reindeers, Aurora Borealis and cute blonde girls.> I make this declaration conscientiously, believing it to be true and> correct, and in accordance with the laws of each of the countries> listed> above. I am aware and agree that the contents of this statement may> be relied upon against me in any court or arbitration proceeding.So it's OK with you if we bring legal action against you for a) claiming that we host any infringing files, which we don't,b) claiming that DMCA has any relation what so ever to the activites of the site, andc) making my eyes bleed by writing in UPPERCASE, underlined, and red text?Good stuff. Read and enjoy.1 I heard Rickhard Falkvinge speak at OSCON this past year- the talk was clear and eloquent, and he's quite engaging. I could barely suppress the urge to immediately hand him a donation for the Piratpartiet.

Topic by canida   |  last reply


Anyone with experience with CAN bus + Teensy 3.6?

I have been recently messing around with the Teensy 3.6, of which the MK66FX1M0VMD18 it's rocking is probably one of the most powerful microcontroller I have ever messed with. (180MHz ARM Cortex M4, 256K RAM, hardware FPU, far more than enough GPIO, and an insane amount of serial interfaces!) I am particularly interested in the 2 CAN bus interfaces that it's sporting. However when loading the example code (which explicitly states it is only compatible with the Teensy 3.6! as only it has 2 CAN busses) I have not had much luck getting it to work. I don't really understand what CAN_TX and CAN_RX are suppose to be. I would assume it is simalar to UART where TX is connected to RX and RX is connected to TX. However at least with the MCP2551's I also ordered, the RX (on this chip) is actually an output while the TX appears to be an input. As it turned out, I was not able to use this chip due to it being a strictly 5V logic component. So after having discovered that, I decided to just connect the TX of CAN1 directly to RX on CAN0, and vice versa. Using the Object Oriented CAN example, I get absolutely nothing. If I swap the connections, connecting the low-impedance TX to the other low-impedance TX, and RX to RX, I also get nothing, but if I bring my hand close to the wires, or touch and feel around some of the pins, I will get some packets through and to appear on the serial monitor, almost as if one of the pins is acting as an input and of course it's floating because I don't know which pin that would be, as there is no code or comments to indicate such a button. I honestly have no idea what the hell is going on, and don't have access to a proper scope to see what is going on.

Question by -max-   |  last reply


Big project, little parts..Need serious electrical tech help.

Well, long story short in my dumpster diving salvaging e-waste ... 2 Lorex CCTVs. One cord cut, the other intact. I disassembled the cut cord. Lr38603A PCB. Wires Identified GND 12v+ Audio Video  Analog, so USB is out of question. Acer Aspire 5100 laptop. The mommy is toasted (cause mobo sounds so geefy.) so disassembled and salvaged usable parts.I think I tossed the condenser into my "melt parts off circuit board" bin... so I need a condenser and PCB controller which leads me to something I found in my parts bin... CRT monitor, stripped and kept the  VGA PCB, unfortunately it does not have an S-Video and I think it's irrelevant here but I'm quite new to this hack n mod stuff... So, here's what I'm trying to do: Use the LCD from the laptop as a display for the analog camera, I also have several lens and such from damaged optics (hunting scopes, monocular etc) so with the lens I'll put them in a tube and craft a digital microscope. I know you can buy a cheapie USB one, but I want the pride of making something, to be able to understand the tech, and also re-use discarded electronics. I have a pretty good idea of what to do, but I've never worked on anything that involves a serious power source from an outlet and do not want to fry myself, and would like some guidelines/what to research. Google is not being helpful and nearly all the camera hacks I've came across are for USB based cameras. I have access to a solder station, voltometer and a slew of other parts from various electronics, mostly VCR's I'd like to keep the spending to a minimum, but not at the expense of safety. Can anyone help? Thanks :D

Topic by bvarious   |  last reply


Suggestions for a cheap, simple robot unicorn build

My 5yo daughter has figured out that her mad-Scientist daddy can make crazy things come true.  For her birthday, she got a real unicorn and a princess crown (see picture attached).  Now for Christmas, she has her heart set on a ROBOT unicorn, and I think I'm going to try to tackle this, but I need to keep the scope tight so that when Christmas arrives, I'll have a deliverable for her. (My instinct always leap to grandiose ideas like actual quadrupedalism that would balloon the time/effort/money inputs into the stratosphere.   My biggest obstacle to make this work for Christmas is to stick with K.I.S.S. principles.  I can do basic welding, woodworking, fabricating, stitching, etc.  I'm reasonably good at electronics, and am a professional programmer with a degree in Aerospace Engineering.) Here is my rough  build plan:  (Completely open to improvement suggestions) 1)  Build frame out of 1/2" square steel tubing and weld together.  Leave large torso cavity for electronics and batteries.  Feet will have wheels concealed by a hoof shroud.  Feet will be upgradable (see tech features below) 2)  Use blue foam to rough out body shape.  3)  Cover with about 1/2" of soft foam covered with felt.  Use yarn for mane and tail.  Cover should be removable and washable. I'm trying to figure out tiers of work so that as long as I get the basic frame and covering down, I'll be able to increase/decrease the scope to ensure I'll have a deliverable for Christmas.  Here are the tiered robotic features I am envisioning: Tier 1: Make the saddle bounce at about .5Hz with an amplitude of roughly 1/2".  Possibly make head/neck bob up/down in sync. Tier 2:  Add horse sound effects Tier 3:  Build sensors for the reigns and stirrups.  Monitor if stirrups get pushed inward in a basic kick the horse motion.  Monitor if one reign or both are being pulled.  Make sounds effects based on inputs.  (E.G.  Clop, clop of hooves begins when stirrups are pushed in, and stop when reigns are pulled.)  NOTE:  Since they have access to real horses, keeping the controls reasonably close to riding a real horse will make this double as a trainer/simulator for her and her friends. Tier 4:  Upgrade wheels to powered.  Move based on reign and stirrup inputs.   Max speed will be very slow (40fps or so), so that it can be used inside safely.  Movement is mostly just to augment her imagination, not to move like a real horse. Tier 5:  (Not much chance I'll get this far prior to Christmas)  Upgrade software, sound effects, etc. Current back of napkin ideas: Frame will probably have 3 pieces: legs/torso, neck/head, Saddle/back  Saddle/back removable for electronics access. Neck/head will be joined to torso in 3 spots:  the top point will be anchored with a chain link between two eye-bolts, the other two points would be on the sides of the bottom, with compression springs pushing the neck and torso away from each other, limited by a mechanical linkage.  This should give reasonable motion ability, and allow the two base points to become the sensors for the reigns being pulled. I'm thinking a small 12V deep cycle battery, and 12v salvage DC motors powering the wheels.  Depending on the motor torque, I'll either power the back two feet and keep the front feet as swivel casters, or power all four and turn tank-style. The budget needs to stay reasonable, say $100ish.  This is a kids toy, and I've got lots of other mad-scientist projects to pump money towards. Outstanding questions: Motor selection, cheapest with high enough torque Good, cheap way to make seat and possibly head oscillate.  Mechanism needs to not break even if a 200lbs rider sits on it.  (Doesn't need to work when overloaded, just can't be permanently damaged when overloaded.) Locate inexpensive 12v charger that won't overcharge if left connected, but will charge a 3ah battery reasonably quickly.  (Or schematics to build one)  Essentially, looking for a best bang-for-buck charger. Least expensive way to play audio clips?  I've got plenty of horse-sound clips located, but I need a way to play them economically. Not sure how much force will be needed for movement.  I'm assuming a 70lbs rider/robot max and that it will primarily operate on flat surfaces, potentially on carpet.  Can't burn out if overloaded.  Suggestions on simplifying this?  Suggestions on simple improvements?  Ways to keep the costs down?  Sources for economical parts?

Topic by SvdSinner   |  last reply


Zombies, and what are your plans and ideas for killing them?

Plans? Ideas? Instructables? Bullets, ammo, makeshift guns, what are your plans? Hygiene, Food, escape routes? Can you suggest guns (THAT YOU HAVE USED!!!)? Here are my plans... Im saving money for a Walther P22, possibly buy a silencer, (They are illegal to use in my state, I belive not to own one.) I will be stock piling ammo for a 20 gauge scattergun, .357 rounds, .38 special rounds, .22 rifle rounds, plan on buying a cheap .223 rifle for picking them off. Also buying sights and scopes for a 20 gauge shotgun, a .22 long rifle, and a .357 magnum. Whenever my brother or parents drive me around places, I look for friends houses, some who have guns, Ideas to signal that im human, geographically and easily defendable homes and areas. I look for random scrap wood and metal, and I try to find out who will be able to take the stress. I try to meet people in my area. Still in the process of stock piling water, and getting those canned peaches I love so much. Im saving wood pieces, trying to find heavy sheet metal, just as gadget-evilusions said. I have actually begun to devise gadgets, weapons, landmines, makeshift munitions, ammunition, and other anti-zombie things. Plans on quick-welding lawnmowers to the front of a car, 2x4 plus nai equals effective weapons, chemical warfare angainst the Brooks zombie, and others. One of my main projects is printing and laminating topographical maps from google maps and applying section numbers to them. I have told my friends when the day comes, Ill be knocking on your door to save your butt. Im planning escaoe routes, and am in the process of building a two person raft. Pyrotechnics for signaling and otherwise are in effect. Everyone, get ready for Z-Day, and please, tip the chef! (Beacause, you know, chefs have big knives...) ~RoAr

Question by PKTraceur   |  last reply


Help (advice) with building a Nautilus

I believe that nature in itself has the solution for all our problems . I believe that a combination of mechanical engineering and marine biology (marine comparative bio-mechanics) can provide a new scope of development . I have always been fascinated and intrigued by marine animals which have survived billions of years and great changes of the Earth . ( eg . nautilus)  [http://en.wikipedia.org/wiki/Nautilus ] . Its my understanding that this cephalopod has the most effective and energy conversant method of locomotion. It uses water jet propulsion for motion and uses the air cavities inside its shell for buoyancy  . These mechanisms of locomotion can be studied and modified for creation of low-speed , high-efficiency underwater locomotives . The Nautilus v.1 is a fusion of both biomechanics and state of the art electronics. It uses the habitual and operational features of the living fossil nautilus. The living nautilus is the sole inspiration reason for this underwater utility simply because of its magnificence. It has survived for millions of years in the open oceans which is a remarkable feat in itself but surprisingly it makes a daily trip of 150-200m from the ocean bottom to the surface nocturnally for feeding. Even though Nautilus v.1 uses many of the systems used by underwater rovs , it stands a class apart by achieving partial autonomy . The Nautilus v.1 is far superior from its rivals such as openrov, sea perch, etc. because of its low power consumption and longevity. It attains this by excluding power consuming components like propellers. Its operation is completely on the basis of neutral buoyancy attained by productions of gas bubbles by simple water electrolysis. The gas bubbles are collected in different gas chambers for operation at different water levels. The salinity of sea water facilitates water electrolysis and more gas can be produced with less currents. Graphite electrodes are used to prevent electrode corrosion. The electronics part is still under discussions for an optimum control unit. This will act as the base for addition of sensors and locomotive systems. Currently the main two platforms under work are the beaglebone black and the android versions. Both have their own advantages and disadvantages. Beaglebone would be optimum for component level additions, such as sensors can be added on, whereas in the case of an android system such as a smartphone, most of the sensors are inbuilt and their raw data can be attained. For progress till now, please visit http://opennautilus.wordpress.com/

Topic by cecilj