Posts with «avr» label

Problems when sending float (temperatur) with VirtualWire Arduino

 

// Tested with IDE 20 and VirtualWire 1.4, only working with those.

// RF Link using VirtualWire to Transmit messages

// simplex (one-way) receiver with a 315MHz RF Link Transmitter module

// tx pin 3 on Duemilanova (arduino)

#include "DHT.h" 

#include <VirtualWire.h>  // you must download and install the VirtualWire.h to your hardware/libraries folder

#define DHTPIN 4     // what pin we're connected to

#define DHTTYPE DHT11   // DHT 11 

#undef int

#undef abs

#undef double

read more

Let's Make Robots 29 Dec 22:24
arduino  avr  float  virtual wire  

Kinect and an Arduino UNO

Is there any way I can get a kinect (xbox 360) sensor to act as my robots "eyes" with the arduino UNO. For example, where I move my hands, the arm follows. Thanks ;)
Let's Make Robots 26 Dec 03:56
arduino  avr  kinect  

Ard-e: The robot with an Arduino as a brainhttp

Let's Make Robots 23 Dec 12:19
arduino  avr  

Serial monitoring

Hi.

Does anybody know of a decent freebie transparent serial monitor? I've been having some trouble with processing and arduino, (see this), and I'd like to be able to compare what processing and the arduino terminal are sending so I can find the problem.

Thans in advance.

Let's Make Robots 16 Dec 11:58
arduino  avr  processing  serial  

Need Help with conflicting Arduino libraries

Hello everyone,

I recently recieved some HC-SR04's and am wanting to make a little device to test them. The idea is that one sensor controls when a piezo buzzer will play, and the other sensor will decide the pitch of that note. I have written some code together but on trying to compile I get this error:

 

 


 

core.a(Tone.cpp.o): In function `__vector_7':

C:\Program Files (x86)\arduino-1.0.1\hardware\arduino\cores\arduino/Tone.cpp:523: multiple definition of `__vector_7'

read more

Let's Make Robots 05 Dec 01:35
arduino  avr  conflict  help  library  newping  tone  

Can Arduino RBBB programmed wirelesly by wixel?

I have an arduino rbbb for my robot and i want to upload sketches wirelesly via wixel and wixel shield.. I am asking because at the description of wixel-shield says that it will not work with arduino Leonardo.. and i am wondering if that also happens with rbbb. It's not an official arduino so that's maybe the reason why it is not mentioned if they are not compatible. Any suggestions would be very helpfull.. thank you!

 

Processing-Arduino serial port problem

I've picked up an arduino to start working with, and have currently slung together a bit of code to toggle the on-board LED over serial. I've also modified one of the Processing demos to use as a GUI to turn it on and off. However, my arduino is on COM6, and if I try to change the port on Processing to anything other than 0, it comes up with an error. I know the arduino code works, as I've tried it with the arduino serial terminal, however the processing app doesn't want to play ball.

read more

Let's Make Robots 17 Nov 21:02
arduino  avr  processing  serial  

ultrasonic sensor

i just got an ultrasonic sensor with 4 pins of ench pin it has

1.VCC

2.Trig

3.Echo

4.GND ( already know )

 

what do they mean?

Let's Make Robots 30 Oct 17:49
arduino  avr  

Next Projects: More and Less Power

Arduino is part of my life and has been for years now: I constantly use the homemade, Arduino-based appliances in my home the same way I use appliances other people made. But while I'm hooked on building out my world the way I like it, sometimes a project only needs a handful of pins, so I just ordered a few ATtiny85 and 2313's to try my hand at [gulp] proper AVR programming. It's too bad that Arduino is going toward the high end with the Due instead of toward the low end with smaller, simpler circuits and chips, but I'm happy to go elsewhere to learn. I could hot-wire the Arduino environment to program an ATtiny, but I'd like to try transitioning to a more fully-featured IDE for future development anyway, so programming an ATtiny will be a good sub-project.

Speaking of "the high end," the $25 Raspberry Pi has been on my radar for some simple camera-based installed projects, and I'm even more excited after hacking around with a $25 WiFi access point and OpenWrt... wow! Amazing how much power can be had for so cheap, and how many how-to's can help you along.

Giving the Arduino deques, vectors and streams with the standard template library

The Arduino IDE is extremely similar to C++, but judging from the sketches you can find on the Internet, you’d never know it. Simpler Arduino projects can make do with just toggling IO pins, reading values, and sending serial data between two points. More complex builds fall into the category of real software development, and this is where the standard Arduino IDE falls miserably short.

[Andy] saw this lack of proper libraries for more complicated pieces of software as a terrible situation and decided to do something about it. He ported the SGI Standard Template Library to bring all those fun algorithms and data structures to any AVR chip, including the Arduino.

Going over what’s included in [Andy]‘s port reads just like a syllabus for an object-oriented programming class. Stacks, queues, and lists make the cut, as do strings and vectors. Also included is just about everything in the   and headers along with a few Arduino-oriented additions like a hardware serial and liquid crystal streams.

With all these objects floating around, [Andy] says it will make an impact on Flash and SRAM usage in an AVR. Still, with all the hullabaloo over faster and larger ARM micros, it’s nice to see the classic 8-bit microcontroller becoming a bit more refined.


Filed under: arduino hacks, Software Development