Why does an error message say "the nested type MomentumAverage cannot hide an enclosed type"? In Arduino Processing.

I was working on a project in arduino processing and the error message keeps coming up. I cannot finish my project until i get my question answered. 

Asked by mashcon5 5 years ago

Read a Joystick in Processing?

I am making a Bluetooth controlled spy robot. I need to be able to read the joystick to control the robot and the little analog stick to control the pan/tilt system. I am not that fluent in processing, so I don't know if there is a joystick command or do I have to use a library.Thx

Asked by D5quar3 6 years ago

Arduino + Processing + Servo control

Hello there! Im new to processing and i need some help. I have written some code that works but badly.  SImply all its meant to do is take the my keyboard input ( with proccessing) and based off that turn a servo left or right. How ever i encounter a weird problem. For the servo to turn i have to press each key on the keyboard twice.... and also when i hit 'w' there is a big delay of about 2 seconds for no reason... The processing code: import processing.serial.*; Serial myPort; void setup() {   myPort = new Serial(this, Serial.list()[4], 9600);   println(Serial.list()); } void draw() { } void keyPressed() {   switch (key) {   case 'w':     myPort.write('1');     break;   case 'p':     myPort.write('2');     break;   default:     myPort.write('0');   } } The arduino code: #include Servo myServo; int ledPin = 13; void setup(){   Serial.begin(9600);   pinMode(ledPin, OUTPUT);   myServo.attach(9);   myServo.write(0); } void loop(){   int val;     val = Serial.read() - '0';   while (Serial.available() == 0);   if (val == 1){     for (int i ; i       myServo.write(i);           }   }   if (val == 2){     for (int i ; i       myServo.write(i);     }   } }

Posted by lelegriccioli 3 years ago

Is there a way to change the value of a variable and keep it afterwards? Arduino Answered

Hello everyone, I don't really know if this is possible, I am using processing, arduino and a force sensitive resistor to control a servo and I want to change the value of a variable and then if I reset the arduino, it will kept the new value. Is there anyway to do this? This is the part of my code I want to change. void fsrMovement(){         int maxforce= 1023;  // THIS IS THE VARIABLE         if(Serial.available()){  // SERIAL AVAILABLE TO USE WITH PROCESSING         maxforce = Serial.read();         }         force = analogRead(FSR);  // Reads the FSR               Serial.print("Force sensor reading = ");         Serial.println(force); // This will print the raw force value         int pos = map(force, 0, maxforce, 0, 175); // Scales the force reading to degrees for servo control         Serial.print("servomotor degrees = ");         Serial.println(pos); // This will print the adjusted servo reading (an angle)         myservo1.write(pos); // Write the new angle to the servo         delay(10); // Delay 10 milliseconds before taking another reading

Asked by rojascan 1 year ago

how can remove chloride from ferric chloride?

First i dissolved iron ore with Hcl and then i filtered it and then i  titrated that filtrate  with NaoH then i got precipitated iron ore solids by filter that solution, but more than 10% chlorides are present in that solids, so can any body tell how to remove that chlorides from that solids ?

Asked by suribabupandiri 3 years ago

How to detect objects and location i.e. coordinates from an image in matlab?

I need to detect an object and its location from an image. I have used different techniques to get it but i am able to identify the object only but not its location.  

Asked by dkz 5 years ago

Does anyone know how to turn on an arduino pin with UDP packets over an ethernet sheild? Answered

I am using an ArduinoEthernetSheild with arduino uno. I am making a switch to turn motors on and off.  I really need help with this project.   Thankyou.

Asked by bigjohn412 6 years ago

How to connect arduino to processing via bluetooth?

Hey I made a robot using arduino and I want to control it through pc. but im having trouble with communication between arduino and laptop via processing through bluetooth . My module is on com32. So can anyone give me an example code to refer to or some tips on processing.

Asked by iloveandroid 4 years ago

is any GPS module that supports Rinex (receiver independant format) output for post processing ?

Is any GPS module that supports Rinex (receiver independant format) output for post processing of phase  or pseudo codes ? i need to log binary observation data of these modules then change their format to RINEX that can be post process for precise coordinate calculations.?

Asked by gzamir 8 years ago

Arduino servos move to music

Hi, so I'm new to arduino and I'm wanting to link arduino to processing. I then want to be able to make servos move to the beat of music that i have loaded on to processing using the computer as a network but I can't seem to find much info anywhere else and was hoping that someone could enlighten me on the process that i should be taking or able to help in anyway would be much appreciated. Thanks  

Posted by TianL4 2 years ago

Why are the videos on my published instructables taking so long to process?

I have various published instructables that have videos which are taking very long to publish? It is doing it on this one: https://www.instructables.com/id/Balloon-Powered-Car-1/ and other various ones. How can I get it to process faster?

Posted by ajensen19 4 years ago

graphic display on lcd

Hello I used a processing sketch that shows a graphic form of information recieved from a pulse sensor. I would like to take that information and display it on an lcd screen. I don't know how to take that data and send it out of processing and into the lcd, so I could really use some help! thanks

Posted by Noaber 1 year ago

Arduino-powered ball balance machine

This wood panel has the ability to move a ball anywhere it wants thanks to Arduino, servos, and processing. If the noise could be cut down this would make for a very cool installation. Origamata via Make

Posted by fungus amungus 8 years ago

Is it feasable for an eighth grader to build a small (4 computer) cluster running linux?

I am going into eighth grade and for my science project i want to build a computer cluster running linux. for my project  i want to test if the time it takes to process something would be cut in half, thirds and fourths when doubling , tripling and quadrupling the number of computers, or slightly less than half, thirds and fourths because of various factors slowing down processing speeds the more computers are added. Is that extremely impractical or is it possible? if so would i use software types such as pvm or mpi? Finally, are there any suggestions as to what program i should process. i need something that will stay constant ( if i did two tests with the same computer the processing time would generally stay the same) but also take long enough that slight time differences would be noticeable (1 computer takes 2 hours, 2 computers take 1 hour and 1 minute, 3 computers would take 41.5 minutes and so on and so forth).

Asked by danielemur 6 years ago

How to graph MPU6050 data?

I am using the MPU6050 sensor. I want to plot the graphs of accelerometer and the gyroscope data that I am reading via arduino. I have created a programme where I can plot 3D blocks of accelerometer and the gyroscope and then use the Complementary Filter to combine them together and get a nice and precise data. However, now I want to use the processing to plot the data from the accelerometer and the gyroscope and also to show the comparison with the complementary filter. Does anyone know how can I do that or anyone know any tutorial regarding this or has done a similar programme?

Asked by Bam Boy 4 years ago

Glitch movie with accelerometer

Hello all! I'm making a chair that is once seated, it distorts/glitches the movie playing. Anyone knows if there's similar projects or tutorials I can follow? I got my parts ready and at the moment but I am lost as to how to start.  Help, advices, links are all appreciated! 

Posted by mtoooooo 3 years ago

Streaming a video with a 20 minute delay?

I'm working on a project where I'd like to continuously record video from a camera and play it back on a projector, but the playback should have a 20 minute delay from the recording. Any thoughts on which tools to use? I'm considering writing something in OpenGL to take video input and play it back, but I suspect there may be an easier way. Thanks!

Posted by kynite 5 years ago

cheap & easy way to do optical mark recognition (omr) or crude image scanning / processing?

What's a cheap & easy but reliable way to scan a crude drawing or do omr - optical mark recognition - ie read marks on paper like the forms you fill out with a #2 pencil ? I envision something like a row of 8 lights sensors spaced to match the lines on a 3x5 index card, you feed the card into guides aligning the lines with the sensors. Or get some graph paper & scissors and cut out some 3x5 cards. Perhaps this could be a crude scanner to scan simple drawngs at whatever resolution matches the spacing of the sensors (width of drawing would be limited to # of sensors, the length limited to arduino's memory/storage). You could hand-feed a 3x5 card with a drawing through it, the horizontal resolution would be the spacing of the sensors, maybe have some kind of roller to track the card being fed through so it knows to scan another line. I know there are sensors used by line-following robots, but what about a simple light sensor? Or buying a cheap camera element and hooking that up to a video input and processing the image inside arduino? Or processing input from composite video? Any thoughts?

Asked by apple-o 8 years ago

How do you build an arduino radar?

Hi Everyone, I saw on youtube that you can make an arduino radar using a ping ultrasonic sensor, an arduino, and a processing sketch. I have successfully gotten the ping sensor to rotate (180 degrees) on a servo and report the distance to the computer via the serial monitor but I need help converting it to a radar interface using processing. Can anyone help me write a processing sketch that would do it. Thanks in advance, Mr_E

Asked by Mr_Electric 6 years ago

Installing Java on a Tom Tom One GPS.

Hello, many of you will be familiar with the Tom Tom One GPS. I wish to run a program on the device that is written in Processing (which, I'm given to understand compiles to Java). My question therefore, is how would one go about getting the Tom Tom to run programs that are written in Java. Thanks in advance.

Asked by alexhalford 8 years ago

Can you help me convert some Basic code to Processing code for calculating 555 IC timing?

I want to modernize this BASIC code that I found for calculating the values of capacitors, or resistors to use for timing with the 555 IC. /* This BASIC code taken from the Ramsey Electronics Universal Timer - Oscilator Kit UT5 instructions I decided to convert it into processing since no one really uses basic like this anymore. But you still can. I don't. 10 PRINT "FIND FOR TIME [T], MICROFARADS [C] OR OHMS [R]?" 20 INPUT "ENTER SELECTION: "; X$ 30 IF X$ = "T" THEN 100 40 IF X$ = "C" THEN 200 50 IF X$ = "R" THEN 300 100 INPUT "C1 in microfarads = ";C 110 INPUT "R3 in ohms = ";R 120 PRINT "TIME (seconds) ="; (1.1 *C*.000001)*R 130 PRINT 140 GOTO 10 200 INPUT "Desired TIME in seconds = "; T 210 INPUT "R3 in OHMS = "; R 220 PRINT "Required capacitance in ufd. = "; T/(1.1*.000001*C) 230 PRINT 240 GOTO 10 300 INPUT "Desired TIME in seconds = "; T 310 INPUT "Value of C1 in microfarads = "; C 320 PRINT "Required value of R3 in ohms = "; T/(1.1*.000001*C) 330 PRINT 340 GOTO 10 */ /** typedinput taken from http://wiki.processing.org/index.php/Typed_input @author Tom Carden */ // code was also taken from: // Learning Processing // Daniel Shiffman // http://www.learningprocessing.com // Example 18-1: User input // Variable to store text currently being typed String typing = ""; // Variable to store saved text when return is hit String saved = ""; String typedText = "Find for time [T], microfarads [C] or ohms [R]?"; PFont font; void setup() {   size(640, 480); //bigger window. Orginal code has small window   font = createFont("CourierNew", 18);   //fixed width font rather than other ugly font   //suggested in original code. } void draw() {   /*is this like the equiv to loop in arduino? I don't know I hate this language anyway. BASIC is easier to follow, but I wanted to make this program easiliy accessible for modern people.*/   background(255);   fill(255,0,0);   textFont(font,18);   // this adds a blinking cursor after your text, at the expense of //redrawing everything every frame   text(typedText+(frameCount/10 % 2 == 0 ? "_" : ""), 35, 45);   //nice touch orginal coder! } void keyPressed() {     if (key == '\n' ) {     saved = typing;     // A String can be cleared by setting it equal to ""     typing = "";   }   if (key == 't' || key == 'T') {     typedText = typedText.substring(0,max(0,typedText.length()-1));     TIME();   }   if (key == 'c' || key == 'C') {     MICROFARADS();   }   if (key == 'r' || key == 'R') {     OHMS();   } else {     //value = 0;     typedText = typedText + key;   } } void keyReleased() {   if (key != CODED) {     switch(key) {     case BACKSPACE:       typedText = typedText.substring(0,max(0,typedText.length()-1));       break;     case TAB:       typedText += "    ";       break;     case ENTER:     case RETURN:       // comment out the following two lines to disable line-breaks       typedText += "\n";       break;     case ESC:     case DELETE:       break;     default:       //typedText += key;     }     if (key == 't' || key == 'T') {     typedText = typedText.substring(0,max(0,typedText.length()-1));   }   } } void TIME(){    background(255);   fill(255,0,0);      typedText = "\nC1 in microfarads = ";      //typedText = typedText.substring(0,max(0,typedText.length()-1));      //typedText += key;      //keyReleased();    } void MICROFARADS(){} void OHMS(){}

Asked by powerman666 5 years ago

Export integer from arduino to processing?

How can I take an integer or float value from an arduino, and put it into processing over serial (usb), without changing it to a char or something else?  It needs to be fairly fast (within ~1/8 sec), and be able to be converted to an audio tone.  Also, how can I play an audio tone in processing?  I looked on the reference page, and couldn't find any documentation on just a basic square or sine wave output of variable frequency (except the example, which uses something weird). 

Asked by jduffy54 5 years ago

How to build a simple CPU from 74XX Logic Chips? Answered

Hi everyone! I'm wondering what are some good resources to learn how to build a simple programmable CPU from 74XX logic chips.  I'd like to build one where I use DIP switches to program the CPU.  I don't have an EEPROM/EPROM/PROM burner, so using those are out of the question.  I've seen some CPU's already that run an internet server, but they are too complicated/expensive to build and understand.  I want to learn how a CPU can be built and the principles behind it.   I have about 150 74XX chips, including a 74LS181 ALU unit.  I also have enough capacitors and resistors for the project. Thank you! 

Asked by prrgg14935 6 years ago

Recruitment Process Outsourcing?

Does any one know anything about Recruitment Process Outsourcing or RPO?

Asked by harry.g 6 years ago

Load and print file lines in processing?

I want to make a cnc/3D printer using arduino, and right now my main obstacle (besides slow shipping on the remaining motor drivers) is how to get G-code to the arduino.  I have a way to get the Gcode in a .txt file, but I need to separate every line, then send it over serial every ~2 seconds.  Is this possible with processing, and if so, how do I do it.  Note: it needs to send each line separately, and so the arduino reads it as X# Y#, not just ## ##  not sure if there's a difference, but if there is, it must be picked up that way.  Also, I have GloviePIE, (a keboard emulator), if that helps in any way.    Thanks

Asked by jduffy54 5 years ago

What is a distibution of linux for a beowulf cluster that can be used with a cpu benchmark?

I have had lots of questions here recently about similar topics but hopefully this will be my last. I am good with computers but am not comfortable with complex programming. I need a distribution of Linux that is used for computer clusters that can have the processing power benchmarked. Is there a distribution of Linux for beowulf clusters where i would only have to install the os, connect the computers with a router and not have to use complex programming? if so, is there one where the total processing power of the cluster can be benchmarked? If so, what benchmarking software would I use? I will not need to actually run any programs on the cluster. I just need to be able to benchmark the processing power.

Asked by danielemur 6 years ago

what's the process involve in making radiator coolant? Answered

I am interested in the process of making radiator coolant.What are the chemicals used in the process,the measurement etc.

Asked by islandhopper 8 years ago

FCAW process.? Answered

Can you briefly describe why some structural and pipe shops use the FCAW process and others do not?

Asked by wordofmetatron 1 year ago

Processing and arduino mess up after 94 lines?

I have a pair of sketches, on arduino and processing, that sends a coordinate to the arduino from a text file.  For some reason, every time it gets to the 94th line of text, it moves one axis indefinately to the side.  No matter what text file, or if I remove the 94th line altogether, or whatever, it always does the same thing. If I start on another line, it goes 94 lines, then craps out.  What's going on?  All numbers are int, if that helps, except in the processing sketch, where theres some strings, to read the text.  -edit I've changed some integers to floats, but it still craps out at exactly line 94. 

Asked by jduffy54 5 years ago

A kind request: Google Science fair vote

I recently entered my Science Fair project in the Google Science Fair, an international science competition in which entrants can build, research, discover etc. anything they want to. For my entry, I researched on how prosthetic limbs can be controlled by thought alone and found that much of the mathematical analysis of the brainwave data had to be improved upon in order to make such a technology usable. Here is a brief synopsis, in case you were interested: ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- My project is, at its most general level, based upon the idea of the brain-computer interface.In this sense of the definition, anything we use to interact with machines is a brain-computer interface, including our fingers. However, amputees often face difficulties after the loss of such a vital method of interaction. Through research, I found that a current medical device, the Electroencephalograph (EEG) could be implemented as a direct brain-machine interface; in other inputs on a computer (such as a cursor) could potentially be operated by thought alone. However, I also learned that, although EEG technology has been in existence since circa 1920, it still suffers from the age-old problems of signal filtration and desired feature extraction. This means that current signal processing algorithms are not able to interpret the electrical signals exhibited by neuronal synapses very efficiently, thus making such an interface wholly impractical and inaccurate. My project sought to rectify this through the creation of custom signal processing scenarios that utilized new algorithms; specifically, the use of Linear Discriminant Analysis and Vector quantization compression/extraction methods for enhanced noise filtration and the removal of known artifacts (sources of electricity other than the brain, such as muscles). However, I decided it was not enough to run software simulations; to determine its true real-world applicability, I used a 14- channel EEG neuroheadset to gather electrical data from my own brain. I then built a prototype robotic arm with an onboard processor that would translate signals from the computer. Finally, I used the programs I created to "decipher" the incoming brainwave signals, and send corresponding messages to the robotic limb. I concluded that, by using my programs to perform the signal processing, I was able to increase the accuracy of detected brainwave patterns by about 16%. Although this may not seem like much, the brain processes hundreds of thousands of ideas simultaneously, and recognizing patterns requires a great deal of processing effort on the part of the computer. Finally, I reached an accuracy of about 91.35% using the programs I created. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Further in-depth details can be seen here: http://sites.google.com/site/eegprosthetics/home Recently, after submitting my project, I was notified that I was one of the 60 semifinalists world-wide; as part of the judging process, there is also an award called the "People's Choice Award." Essentially, the public goes online and votes once in each of the 3 age groups (13-14, 15-16, 17-18) for the project they believe is the best. I am kindly asking if you would consider voting for my project for this award; I believe this project holds many potential applications in the real world other than prosthetics alone; such technology could be effectively utilized by patients with paraplegia, paralysis, or even polio. The voting process is simple: 1. Go the Google Science Fair Voting website: http://www.google.com/events/sciencefair/projects/eeg_and_prosthetics.html (for my project) 2. Click the "vote" button in the upper right-hand corner Again, thank you for your time and consideration of my project, Anand S

Posted by tech industries 7 years ago

email association process

I do not know how to associate a email to Instructables. Can or would someone kindly direct me to the process instructions. much appreciated thanks

Posted by bgunville 1 year ago

What is a process that can be run on a computer cluster that displays the time taken?

For my science project this year I need a process that can be run on a computer cluster and that displays how long it took to process. The time needs to remain fairly constant yet be accurate enough to display variations in processing power. For example, let’s say that there is a computer with 4 GHz of processing power. if i were to repeat the same process multiple times then the time taken would be something like 2346765.4567865676 seconds the first time and 2346765.4567865681 the second time, so it would only slightly vary each time. if the processing power would change to 3.95 GHz then the time would change to 2346765.45679 so that variations in the processing power would be evident in the time taken. These are just examples and the values have nothing to do with my actual project but i need something to process with these characteristics. Please ask if clarification is needed.

Asked by danielemur 6 years ago

Is there a way I can program an atmega16 easily, I mean the arduino way?? Easy language?

The title explains it a lot, but I want to program my atmega16 through a rather cheap and easy DIY programmer. I would love to get the arduino software to work with it... Actually Id love to buy an arduino, its not very costly in India, but only if i was allowed.... :/ Anyway, I have the atmegas and diodes and transistors and a 12mhz xtal and all sorts of things lying around. Can i make it easy>?

Asked by pro2xy 7 years ago

Graphical User Interface Library for Physical Computing in Processing

Visit our blog:    http://blog.butterflui.org/?paged=3 The subject of physical computing, especially in the field of robotics, is a fascinating area that has already begun its triumphant in universities, schools and hobby applications and is developing with impressive speed. It is highly interesting that Pyhsical Computing and Robotics, more than any other area, can merge many different areas (engineering, design, psychology, biology and many other areas). Our target groups are mainly users with robotic and physical computing affinity: engineering, programmers, mechatronics engineers, product designers, interaction designers, communication designers, robotics, interface designers, developers, electronic engineers and artists. There are people who want to monitor and control the input and output of their system without major effort in which they rely on an interface library. Robot experiment sets are increasingly being used in short-term projects in schools and universities to provide basic knowledge on physical computing. Our analysis of current sets shows us that existing features don’t cover all aspects of robotics. The aspect that has been neglected so far according to our research, is the controlling and monitoring of experimental physical computing projects through a graphical interface. Visit our blog:    http://blog.butterflui.org/?paged=3

Posted by faydemir 4 years ago

Statistical Process Control

Is there any interest in Statistical Process Control? I posted one instructable about it: https://www.instructables.com/id/Using-Statistical-Process-Control-to-test-the-Atti/ I am considering an instructable to measure the quality of resistors. Do they really hold 5% tolerance? The test is simpler than the test in my last instructable, and I would get deeper into the maths.

Posted by JRV31 3 years ago

Post-It animation shows creative process

Or the stalling of the creative process. This animation is an ode to trying to get things done for a deadline and getting a little distracted along the way. Enjoy. via Geekologie

Posted by fungus amungus 8 years ago

In alluminium etching process what concentration is used , i want detail and is there any easy way in etching process ?

Our company is moulds making company we are trying to make chemical etching 

Asked by design-centre 3 years ago

paint a car? Step by step process from prep work sanding taping off stufff like that!! Answered

Step by step process from perp work sanding taping off stuff like that!

Asked by canbonly1 7 years ago

Profile Update Process

How can screen name be changed or account deleted? Please help. Happy holidays!

Posted by pucho 6 years ago