Posts with «programming» label

Arduino stops uploading

Hi,

Can anyone verify for me, that trying to upload a program to Arduino MEGA or maybe any Arduino, the upload stops if the code contains a constant string including !!! ?

like this small one will fail:

// Upload will never end
void setup() {
  String A = "!!!";
}

void loop() {
}

 

this one will finish:

// Upload will finish
void setup() {
String A = "aaa";
}

void loop() {
}

 

Let's Make Robots 05 Sep 22:54
arduino  avr  bug  programming  

Arduino QueueList library limitation

The capacitor across the leads of the sharp did little to rectify K-9's behaviour, so I'm on to the next idea, which is to average the last ten or so readings of the sensor.  The problem is that it seems that Arduino's QueueList library doesn't let you push and pop through different iterations of the main loop-the whole queue is defined each time (so in other words, I'd still have to code a queue by hand if I wanted to average the values read through each iteration of the last ten loops.)  Am I reading that wrong or is there a way around this?

how to send sensor values wirelessly

i know how to send messages to another arduino but im not sure how to send sensor values here is code to transmit the word hello 

If you could show me an example code it would be great.

// transmitter.pde

//

// Simple example of how to use VirtualWire to transmit messages

// Implements a simplex (one-way) transmitter with an TX-C1 module

//

// See VirtualWire.h for detailed API docs

// Author: Mike McCauley (mikem@open.com.au)

// Copyright (C) 2008 Mike McCauley

read more

Want to learn Arduino? Use this educational Microbot!

Primary image

What does it do?

Educates people on arduino

Introducing the latest creation from B.O.T, the SWARMµBOT. An Arduino-Compatible educational micro-bot with all sensors required for applications such as Line-Following, Maze Solving, And Swarming! With a Atmega328 running an Arduino-compatible bootloader, and an integrated USB-UART bridge, programming this bot is as easy as connecting a USB cable, and hitting upload.

Cost to build

$99,95

Embedded video

Finished project

Complete

Number

Time to build

0 hours

Type

URL to more information

Weight

65 grams

read more

Sending serial from python to an arduino

I'm working on a project where I send a bunch of data through an arduino to my laptop.  I'm using python serial to read in the serial data.  That part is working fine.  Then I do some processing and I want to send the results back to the arduino.  This part is not working so well.  

It seems like python  serial.write()  only likes to send strings?  Right now I'm trying to send back one integer value.  Any ideas how to do that?  

Let's Make Robots 11 Jul 13:41

Programming Arduino on the cloud: codebender

codebender is web-based IDE, mainly built with HTML5 and Javascript, that focuses on the development for the Arduino platform. Since it is going to be used directly from the browser (note that currently codebender is still beta), it will further simplify the whole development process, avoiding the installation of software and libraries on the local machine.

From the home page of the project:

We want to lower the barrier to entry, which is necessary to help everyday people start their first project, become makers and advance technology instead of using it. codebender requires no installation, so you can get started with Arduino programming the minute you get one in your hands! And with the development tools we provide, you can do so faster and easier! codebender also stores your code on the cloud, so it’s safe and accessible from anywhere, anytime.

Several nice features will be available soon, such as remote flashing: together with an Ethernet shield flashed with a properly designed TFTP bootloader, you will be able to upload a sketch remotely, over the internet! Another nice feature regards its integration with the open documentation available on the Arduino website, which will be accessible directly from the IDE by selecting a piece of code and, then, by pressing ctrl+space.

More information can be found here.

[Via: HackADay and codebender's website]

Insert Coin: Modkit Micro asks us if we're ready for six-year-olds coding Arduino boards

In Insert Coin, we look at an exciting new tech project that requires funding before it can hit production. If you'd like to pitch a project, please send us a tip with "Insert Coin" as the subject line.

What does microcontroller programming have in common with Tetris? Quite a bit if you're doing it with Modkit Micro from a Kickstarter project out of Cambridge, MA., which allows almost anyone to visually set up their hardware using graphical blocks to write the code. The partially-hooded trio behind it promises that the software is ideal for use with protyping boards from Arduino, Evil Mad Science, Lilypad, Seeed Studio, Wiring and SparkFun, and they even claim that elementary school students have used it to "take their projects from concept to reality in just a few hours." Purists should have no fear either: you can still get into a code view to see what's going on behind the scenes. A web-based Modkit Micro is being offered online starting June 1st for $25, and there'll be a desktop variant for Windows, OSX, and Linux as early as July if they reach their funding target. Check out the video after the break and then try to get your kids to wait for college before inventing version 2.0 of this.

Continue reading Insert Coin: Modkit Micro asks us if we're ready for six-year-olds coding Arduino boards

Insert Coin: Modkit Micro asks us if we're ready for six-year-olds coding Arduino boards originally appeared on Engadget on Tue, 29 May 2012 10:01:00 EST. Please see our terms for use of feeds.

Permalink | Email this | Comments

EasyLights

I was working on my Picaxe 28x2 robot from http://letsmakerobots.com/ and I wanted lights and I needed more sensors. I had four input pins left. With the 28x2 you can make the pins anything that you need. I went back to electronics to find some answers. I looked up shift registers on http://www.jameco.com/ and I bought the latest CD74HC164 serial in parallel out. This is why I made Easy Lights. For two pins you get eight lights. Yes there is a little flicker. It is a shift register. Each time the lights change you have to shift in all eight lights.

read more

Controlling a robot from javascript (g+ hangouts application)

Hi guys

I'm trying to create a google+ hangouts application to let us to control a robot (like magabot, for example), directly from there.

I already created the interface of the application, it is actually pretty simple, if you want to have a look it is hosted here: http://magabot.cc/hangouts/magabot-hangouts/.

read more

How to make a controlled Arduino Robot via Bluetooth by using an Android Device

Can you Please teach me How to make a controlled Arduino Robot via Bluetooth by using an Android Device :D 

 

I found some Application in Play Store about the Bluetooth controller, it is called Bluebots ,a Bluetooth remote control for robot. (see below)

https://play.google.com/store/apps/details?id=blue.bots.free.matt&feature=search_result#?t=W251bGwsMSwxLDEsImJsdWUuYm90cy5mcmVlLm1hdHQiXQ..

read more

Let's Make Robots 25 May 11:40