What is the fix?

I see this kind of error fairly often.  NOT DECLARED.  This example is from the Arduino web   sitehttp://arduino.cc/en/Tutorial/MouseContinuousDrawing Is there some rule to follow to fix these errors?

Asked by WWC 5 years ago


How do I "unbrick" the Electronic Brick shield? Answered

I'm trying to connect external sensors (in the picture below - 2 tilt switches), to an Electronic brick shield like this (see picture): I extend 2 buckled plugs from the shield with male-to-male headers. As far as I can understand from their cookbook - white supplies gnd, red gives +5v, and black is the signal - so I take the gnd and +5v from *one* of these cables and connect them to the breadboard's -/+ busses. Black goes to the switch (and to gnd via a pul-up resistor). The second switch takes +5v from its plug's red line (could also take it from the bus - but it looks neater this way), The other side of the switch goes to the black line (yellow jumper). This setup simply turns off the Arduino (short-circuit?). Pulling out the buckled plugs turns it on again. This tilt switch setup is pretty simple (I've tested it without the Electronic brick shield - sending the inputs from them to LEDs - and it works fine). I've also tried "unbricking" the LCD brick itself (That's what I'm really after) by sticking jumpers into the holes in the bus cable (according to what I've gathered from the Electronic Brick cookbook), and I couldn't get it to show anything or turn on the backlight. Is there some voodoo I'm missing here? Thanks.

Asked by thedod 7 years ago


Glowing LED arduino/ATmega/AVR question?

Hello!  I have an Arduino Duemilanove running a very simple glowing LED program. I plan to build a small device to house the LED and I was wondering what my options were for using a stand alone ATmega.  Most importantly I need to know how small or low voltage of a battery I can use to power the one LED and the ATmega.  I'm also open to any suggestions that go beyond the arduino. thanks!

Asked by fotokid 7 years ago



How to connect Android 4.1.2 with arduino

I made some programs for arduino and android to connect android with arduion via blutetooth. There are the programs  http://pastebin.com/i6h7RA1Y http://prntscr.com/5fstug(programs made in MIT app inventor,ony for switching on and of diode). This program work on HUAWEI G730-U00 with older android version,but on Sony Xperia GO with 4.1.2 android i can't connect phone and bluetooth module HC-06. Someon know what is the problem?

Posted by bojan851 3 years ago


Arduino with timer? Answered

I'm not very good at coding so I want to come to you guys again. I need help with a sketch or code that allows me to have three inputs and one output. When one button is pressed, that Arduion pulls the output high for an amount of time dependent on which button is pressed. These times are 3 seconds, eight seconds, and twelve seconds. The output will be connected to a small relay, which I already know how to do. If I could get any help that would be great. Thanks.

Asked by mrmerino 5 years ago


Is there a reason why most servos in arduino based projects use NiMH batteries? Answered

Most circuit designs on instructables seem to use NiMH batteries to power up servos (i've been looking at robotic hand projects). I don't see why we can't use a 6 volt power supply to directly power up the servos (assuming weight and portability is not an issue).  Is there any other reason to use those? And is there any other form of batteries we could look into also? Finally if i were to use a 6 volt power supply and  connect it up to a breadboard that powers up the servos, and then feeds into the arduion's 5 volt input. Would that damage the arduino regulator?  Thank you!!!

Asked by HassanN2 2 years ago


How to build a smart home for a recreation vehicle(RV)

There are already a bunch of projects doing similar things for houses but non for RV homes. I would like to communicate with my camper RV motor home and trying to understand and learn ways to do this. Here are some thought of requirements: - Data like temperatures, rain sensor, burglarizing alarm and a few webcams - Google App engine and Google GCM for the storage and bidirectional communication. - The RV API can let any device have bidirectional coms My thought is to us info from other HOUSE projects and do a mash-up to fit an RV, example: (thanks to Nikus at instructables) "Smart home with arduino" https://www.instructables.com/id/Smart-home-with-arduino/ The HOUSE in this project has a static ip no problem with coms but what about an RV? There are a number of questions like I think the RV will have problem with a static IP or maybe not any ides on this would be grate? Why do most project use the Arduion over the Raspberry pie what would be most suitable for my project? If anybody here have done this or want to contribute with knowledge it would be a grate

Posted by erikswed 2 years ago


Haptic Feedback Meditation (E-Meditation)

Hello, I am a 17 year old electronic hobbyist. I am in the process of making a "Haptic Feedback" meditation device. I give the whole project story here. If you are just interested in the final project you can skim or skip to the "Testing" section. THE IDEA Many months ago (when i was not so knowledgeable about electronics) I had an idea. I wanted to be able to see my thoughts as I thought them. I was obsessed with the idea of this and the thought of what would happen( imagine holding up a microphone to a pair of speakers). I could imagine myself staring at my own thoughts (or a colorful representation of them) for hours. I imagined it to be a "New Generation" of meditation. I drew up a few sketches of what this would look like and.. I hit a wall. At the time. I knew absolutely no way to do this. I just knew it was possible. I put the project on the back burner. CONSTRUCTION Six months passed and I had gotten better and better at electronics and micro-controllers and such. A month ago, I started obsessing over it again. I did some internet searches about this type of technology and all the gibberish started making sense. Not before long. I had ordered the parts for it. It cost me a good 100 dollars in birthday money. But it was well worth it and i do not regret the purchase's at all. The three main pieces were a Micro-controller(arduion uno), a brain-wave reading headset(from an expensive childs toy) and a 7 inch by 3 inch RGB led panel( a fancy panel that makes different colors and patterns). Despite knowing a little bit about electronics I was out of my depth, yet still addicted to the project. Long story longer, I had tested the three pieces of technology and they all worked beautifully. With my limited supplies i busted open the headset, made some solder joints, plugged it into the micro-controller, plugged the micro-controller into the computer, and plugged the brain reader into me. Someone before me had already made sample brain viewing  programs in the processing language for these kinds of projects and i downloaded it. I turned on the program and flinched as i turned on the headset( being plugged into your laptops battery can be a tad unnerving). I was looking at a graph of my brainwaves in a system of line graphs and bars. TESTING This was exciting stuff. I sat there for perhaps an hour just staring at my brainwaves shortly noticing a pattern emerging from just simply staring at even the brain reading program. I noticed the more I stared at my brainwaves looking for the next sudden jump or dip. The less they did. In other words, actively TRYING to move my brainwaves, almost completely nullified them. This was very interesting. I took the device and my laptop to my school To get an accurate sample, I allowed any and everyone who wanted plug themselves in to go right ahead. As they messed with thier hair to get it to fit right and turned it on. What was seen for a few seconds was a (what I consider healthy) measure of brain activity. Everything was jumping up and down at varying levels. But after the subject began staring at this dance. The brain activity shrank and shrank until little was left to be observed. Occasionally depending on the situation the subject would then get bored with the lack of activity and try and make some sort of small talk. It then showed a small rising in overall brainwaves that was immediately crushed by the subjects attention toward the screen. In the initial planning, this was the last possibility I had considered. With accidental electrocution being higher on my list of possibilities. The grandiose plan of mixing my thoughts and ideas in front of my eyes shrank. I was loving every second of it. I then later plugged the panel into the device and began writing code to make it react the way i wanted it to. I had programmed the panel to display the color blue when meditation was high and red when attention was high. Purple would occur during a balance of the two. I then took out my computer from the equation as a reader and decided to see what would happen by just watching these two stats work themselves out on a color panel. I got similar results. When I was actively attempting to meditate while simultaneously watching my level of meditation it was an unwavering red. Deep breaths and glances away from the panel would bring purple to blue colors. Then I tried something completely different. I attempted to radiate unconditional love for my brainwaves. I accepted them for their want to be attentive and alert. And embraced them with as much sincerity as I could. The panel turned purple and stayed blue for as long as i could keep this state up without wavering. "Wow" i remember remarking. I may have created the worlds first "Unconditional Love bench press". And your up to speed. FUTURE I have some ideas for the future of this project but I have caught myself in a mental enigma. How would one meditate to the thoughts of their meditation without their monitoring of the brainwaves getting in the way? Or have I missed the point of meditation which might be to have no thoughts? Ideas and suggestions would be great. I would love to hear what this community would have to offer to this device. Input on meditation? Input on the technical stuff? All is welcome.

Posted by TheIronHobo 4 years ago