Let's Make Robots!

My ULTRASONIC (HC SR04) sensor is giving large negative values

I bought it and it was workin gfine with the code and after inserting  it in my project , when i checked it shows large negative values, I tired changing pins , but it doesnt work shows values like 3315,3325 random numbers 

I dont know whether there is a problem with my sensor or my code is wrong. Really worried please help guys.

 


CODE

 

#define trigpin 3

#define echopin 2

void setup()

{

  Serial.begin(9600);

Need putting on the right path

Hello all, First post so.... nice ta meet cha.

im fairly new to robotics iv built a couple of things in the past but have stuck with primarily mechanical robotics (not sure if thats the right term) rather than ones which require any processor other than my own brain. in all honesty im not even sure if they classify as robots.

Need putting on the right path

Hello all, First post so.... nice ta meet cha.

im fairly new to robotics iv built a couple of things in the past but have stuck with primarily mechanical robotics (not sure if thats the right term) rather than ones which require any processor other than my own brain. in all honesty im not even sure if they classify as robots.

ICStation Stock Clearance, Up to 50% Off

ICStation picked 20 items with the best price for all hobbyist now.

Check the details at: http://www.icstation.com/newsletter/eMarketing/ICS_clearance_2nd.html

Is my design stable?

I made a design for a robot in sketchup. I made it like something that is two wheeled and without any castor wheel.

Wanted something like this : http://www.pololu.com/product/189

I have a little concept on mechanics so don't know weather the design will be stable or not. Any suggestions on making it any better?

 

About HC-05

i got two hc-05 to control my robot with 

but i cant realy seem to be able to connect the arduino with it!

i wrote a simple code about getting the chars i type on the computer to send it to the arduino and from the arduino to the module and then gets the respone back from the module to the computer

but i tried many times to connect it with it and it didnt seem to workout

the rx of the module is 3.3 level so i made a voltage divider with 3 10k R but how many times i try it doesnt work

Which MOSFET to use for battery voltage measurement?

Hello all,

I'm currently building a buoy with a string of sensors that measures temperatures at different dephts. I'll be making a blog or Something Else later.

The thing is, I want to measure the voltage of the battery (Li-Po) to be able to predict when it needs to be charged since the system will operate "out-there-in-the-middle-of-nowhere".

Raspberry Pi Camera (How To: Stream)

Hello There LMR. I bought a raspberry pi camera and i make some test with it to see if it work and it works fine . Now i have a question how can i stream with it on the net or localy (what is more easy) and what programs i have to install on my raspberry. I also check on the net but i can't find all the info i need. If someone know please tell me!

Programing for begginers

Hi All,

        Over the last few months I have finished building the Rover Explorer, I used the sample program from Oddbot, and have sorted out some of the misstakes I made wiring it all up.

Adding bot description with links

info panelhi! I'm new here.
How i can add a description with links on my robot page like that in the image?
Like app controlled with "arduino uno", "RN42" and "HC06"

robotmake one motion (it can shake hands)

I HAVE PROJECT TO MAKE ROBOT THAT WHEN YOU TOUCH ITS HAND IT MAKE SHAKING MOTION LIKE HUMANS

SO MAY I KNOW WHAT TOOL I AM GOING TO NEED

AND HOW TO CONNECT IT ELECTRIC CIRCUT (SPECIALLY MAKE THE MOTOR REVERSE ITS DIRECTION AFTER SPECIFIC TIME ).

I HAVE BOUGHT (24 VOLTS MOTOR ,SENSOR,2xBATTARIES)

-THANKS :)

 

NEW Channel Snap Mounts!

The Channel Snap Mount A provides a quick and simple way to attach various Actobotics parts to your structure.

3D Printer - What To Look For?

So I've been doing a bit of looking around, as a 3D printer might be on the cards for purchase soon.

To save myself a many hundred dollar mistake... can anyone recommend what to look for in a printer? Kit construction is fine, but I'm also seeing some $600 - $1000 dollar ones on eBay that look pretty good for a first time printer.

Main applications would be small custom parts for robotics.

Thanks for any opinions.

More code

What I am trying to do with this code is measure air temp and humidity inside a cooler and outside the building, if the cooler calls for cooling say its over 35F, and the outside air is less than 30F and humidity outside is under 65% I want to open and ehaust damper with an end switch, the end switch will close when damper opens, then turn on a fan that will blow that cold air into cooler, also would like to show values on an lcd for a bit of wow factor.

 

 

 

Expressions used with encoders

 

While I am reading and collecting information about rotary encoders , I faced some troubles about the meaning of some expressions concerned with encoder ,which make me to be confused and stray,  these expressions or words are :

Need help

For some reason gedit just stoped working on my BBB and is giving me the following error;

(gedit : 1072): Gtk-WARNING **: cannot open display

this occurs whether I'm ssl'd in or windowed.

I did an echo $DISPLAY and the value was blank.

So my question is what is this value supposed to be?

I changed it to :1 no luck, :0.0 and couldn't ssl in at all.

Thanks

Mike the newbie

Yet another possible robot microcontroller...

Hello again!

Take a look at: http://geoffg.net/ 

Then: http://www.circuitgizmos.com/products/cgmmstick1/cgmmstick1.shtml   (I mention the "stick" because of it's size and format.)

These PIC-32 based modules can be used to make entire little 'old style' microcomputers or..... the stick looks GREAT for making a very nice robot controller.

Translation the shaft encoder data

Hi All ,

Have a nice day

Looking to build follow along golf caddy

I'm thinking about building as a winter project a motorized golf push cart. I know that I can just buy them but I can probably build it cheaper and it would be more fun. But I am completely new to this kind of stuff, electronics, I do have some experience in building r/c helicopters, and I am a software engineer. Here is what I would like the cart to do: