Posts with «program» label

A Usable Arduino Debugging Tool

For as popular as the Arduino platform is, it’s not without its problems. Among those is the fact that most practical debugging is often done by placing various print statements throughout the code and watching for them in the serial monitor. There’s not really a great way of placing breakpoints or stepping through code, either. But this project, known as eye2see, hopes to change that by using the i2c bus found in most Arduinos to provide a more robust set of debugging tools.

The eye2see software is set up to run on an Arduino or other compatible microcontroller, called the “probe”, which is connected to the i2c bus on another Arduino whose code needs to be debugged. Code running on this Arduino, which is part of the eye2see library, allows it to send debugging information to the eye2see probe. With a screen, the probe can act as a much more powerful debugger than would otherwise typically be available, being able to keep track of variables in the main program, setting up breakpoints, and outputting various messages on its screen.

The tool is not without its downsides, though. The library that needs to run on the host Arduino slows down the original program significantly. But for more complex programs, the tradeoff with powerful debugging tools may be worth it until these pieces of code can be removed and the program allowed to run unencumbered. If you’d like to skip needing to use a second Arduino, we’ve seen some other tools available for debugging Arduino code that can run straight from a connected PC instead.

Hack a Day 31 Jul 19:30

Quadrupede bluetooth Spider

 

After printing pieces to Prusa I3 is the new 4-legged spider with bluetooth comm :)

    

read more

Let's Make Robots 07 Jun 20:27
32 servo controler  6v  arduino  balance  battery  biped  bluetooth  fast  greek  grrobot  hands  head  hexapod  humanoid  led  legs  mg995  mini servo  move  one leg  program  relay  robot  robotics  servos  slow  ssc32  step  vb.net  walk  warior  

Minions Turn Your Keyboard into a Bluetooth Keyboard

Evil geniuses usually have the help of some anonymous henchmen or other accomplices, but for the rest of us these resources are usually out of reach. [Evan], on the other hand, is on his way to a helpful army of minions that will do his bidding: he recently built a USB-powered minion that turns a regular PS/2 mouse and keyboard into a Bluetooth mouse and keyboard.

[Evan] found his minion at a McDonald’s and took out essentially everything inside of it, using the minion as a case for all of the interesting bits. First he scavenged a PS/2 port from an old motherboard. An Arduino Nano is wired to an HC-05 Bluetooth chip to translate the signals from the PS/2 peripherals into Bluetooth. The HC-05 chip is a cheaper alternative to most other Bluetooth chips at around $3 vs. $40 for more traditional ones. The programming here is worth mentioning: [Evan] wrote a non-interrupt based and non-blocking PS/2 library for the Arduino that he open sourced which is the real jewel of this project.

Once all the wiring and programming is done [Evan] can turn essentially any old keyboard and mouse into something that’ll work on any modern device. He also put an NFC tag into the minion’s head so that all he has to do to connect the keyboard and mouse is to swipe his tablet or phone past the minion.

If you’re looking for an interesting case for your next project, this McDonald’s Minion toy seems to be pretty popular. PS/2 keyboards are apparently still everywhere, too, despite their obsolescence due to USB. But there are lots of other ways to get more use out of those, too.


Filed under: Arduino Hacks
Hack a Day 14 Apr 16:01

17 Year-old programs a robot to teach itself to walk!!

Hi everyone! 

My name is Gregory, but you can call me Greg. I am a 17 year-old high school student who is building a very interesting robot(I am also doing all of the designing and prototyping. I am building a six-legged robot, called a "hexapod", that is able to teach itself to walk.

read more

Learn electronics with Chris Gammell and “Contextual Electronics”

Electrical engineer Chris Gammell has spent almost a year creating his new online electronics program called “Contextual Electronics“, and we’re excited to share this with our readers. You may have heard of Chris from his regular successful podcast with Dave Jones  – “The Amp Hour“.

Chris has the knowledge and expertise to take electronic ideas from simply that – an idea, right through to production. And by participating in his Contextual Electronics program you can learn the required skills to do this as well. Chris gives us a quick introduction in this video.

Contextual Electronics is a new program aimed at electronics enthusiasts who are ready to take their Arduino (or similar platform) skills to the next level. The first session of the course is an 8 week program that will teach you how to design a large, multi-function Arduino shield using KiCad, the open source CAD software.

It will also show you all of the design decisions that go into making the project. Here are some of the sub-circuits included in the 4-layer PCB design:

  • High level signals measurement using op-amps
  • Power supply output
  • Relay control
  • LED driver circuitry
  • Current source output

The course has a large community component, so you will be grouped with others learning at the same time, regardless of where you’re located in the world. The goal of the course and the community aspect is to make you more confident designing a project so you can go and design your own.

Future sessions of the course will also go over building, troubleshooting and coding for the shield described above. There is also a free short course that you can review to give you an idea of Chris’ methods and what the Contextual Electronics program will be like.

Additional courses will be developed using other popular development boards, including the Raspberry Pi and BeagleBone. For a more in-depth introduction, check out this video.

Frankly the program will help all of you who are ready to take your ideas and projects off the breadboard and into finished products, and with the guidance available with the program and the use of open-source tools you’ll be up and making things you can be proud of showing to friends or even potential employers. For more information about the program, and to sign up – visit the Contextual Electronics program website.

And if you enjoyed this article, or want to introduce someone else to the interesting world of Arduino – check out my book (now in a third printing!) “Arduino Workshop”.

Have fun and keep checking into tronixstuff.com. Why not follow things on twitterGoogle+, subscribe  for email updates or RSS using the links on the right-hand column, or join our forum – dedicated to the projects and related items on this website. Sign up – it’s free, helpful to each other –  and we can all learn something.

The post Learn electronics with Chris Gammell and “Contextual Electronics” appeared first on tronixstuff.

Basics of ARDUINO BOARD...

The video explains some basics of ARDUINO BOARD and its related components...

beginer in electronics needs to program

hi, im a twelve year old boy who is not an expert  AT ALL, but knows the basics

i've made bristlebots, speaker tones, dc motor cars  and other stuff

BUT

when i have to program  in arduino UNO i just copy other codes from other people

cause...  I dont know how to program at all!!!! i think arduino's language is c,and i don't know  how to program

 

anybody knows how to program arduino

and can give me a little tutorial about key words and etcetera like setup, delay, control of dc motors sensor etc...

read more

Droplet and StackAR bring physical interface to virtual experiences, communicate through light (hands-on)

Light-based communication seems to wind throughout the MIT Media Lab -- it is a universal language, after all, since many devices output light, be it with a dedicated LED or a standard LCD, and have the capacity to view and interpret it. One such device, coined Droplet, essentially redirects light from one source to another, while also serving as a physical interface for tablet-based tasks. Rob Hemsley, a research assistant at the Media Lab, was on hand to demonstrate two of his projects. Droplet is a compact self-contained module with an integrated RGB LED, a photodiode and a CR1216 lithium coin battery -- which provides roughly one day of power in the gadget's current early prototype status. Today's demo used a computer-connected HDTV and a capacitive-touch-enabled tablet. Using the TV to pull up a custom Google Calendar module, Hemsley held the Droplet up to a defined area on the display, which then output a series of colors, transmitting data to the module. Then, that data was pushed to a tablet after placing the Droplet on the display, pulling up the same calendar appointment and providing a physical interface for adjusting the date and time, which is retained in the cloud and the module itself, which also outputs pulsing light as it counts down to the appointment time.

StackAR, the second project, functions in much the same way, but instead of outputting a countdown indicator, it displays schematics for a LilyPad Arduino when placed on the tablet, identifying connectors based on a pre-selected program. The capacitive display can recognize orientation, letting you drop the controller in any position throughout the surface, then outputting a map to match. Like the Droplet, StackAR can also recognize light input, even letting you program the Arduino directly from the tablet by outputting light, effectively simplifying the interface creation process even further. You can also add software control to the board, which will work in conjunction with the hardware, bringing universal control interfaces to the otherwise space-limited Arduino. Both projects appear to have incredible potential, but they're clearly not ready for production just yet. For now, you can get a better feel for Droplet and StackAR in our hands-on video just past the break.

Continue reading Droplet and StackAR bring physical interface to virtual experiences, communicate through light (hands-on)

Droplet and StackAR bring physical interface to virtual experiences, communicate through light (hands-on) originally appeared on Engadget on Tue, 24 Apr 2012 15:03:00 EST. Please see our terms for use of feeds.

Permalink | Email this | Comments