Pages: [1]   Go Down
Author Topic: Nothing works, are there sketches that work!  (Read 1490 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

 I am about to totally give up. I have yet to download a sketch that works anywhere for any of the things I bought. Why is this so difficult? Why can't I just load a sketch and have it work? DHT11 sensor does't work. HR501 RIf sensor can't make it work, have tried every sketch I can find. There is always some thing wrong somewhere in the sketch. Does anybody know of some sketches that will work and not have to hunt for problem solution. I can't believe others aren't having the same problem. I am a beginner and just started days ago. There is little documentation that I can find on any of the problems I am having. I did get some leds to light up, so I know my uno is working. Nothing else works, help!

BTW I am no strainger to programming, programmed with quick pascal years ago, I find the programming easy to understand. Just can't make anything work.

Arduino Uno, works
HC-SR501 PIR Sensor, no work
Temp and humidity sensor, no work
Stepper motor, no work
433mhz reciever transmitter, no work
servo motor, no work
Led's and buzzer, works
Logged

BCC AZ USA
Offline Offline
Edison Member
*
Karma: 37
Posts: 1301
It gets hot so it must be working
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You need to work on one peripheral at a time.  Show your code for one and we can help with that.  There are too many to answer.  If you can get one to work then maybe your new understanding will help with the rest.  Be ready to show how it is wired to the Arduino and show your code.
Logged

Espoo, Finland
Offline Offline
God Member
*****
Karma: 7
Posts: 586
"Oops, try again..."
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe connections are wrong? Pictures?

Cheers,
Kari
Logged


The only law for me; Ohms Law: U=R*I       P=U*I
Note to self: "Damn! Why don't you just fix it!!!"

Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Turns out most of these sketches online are programed in older versions of the IDE software that are not compatable. Downloaded the older version 0022 and got some of them to work. If anyone is having trouble I highly suggest the three tutorials by mjlorton on YouTube these answered a lot of questions for a beginner and where very helpful.
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 498
Posts: 19065
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I am about to totally give up. I have yet to download a sketch that works anywhere for any of the things I bought. Why is this so difficult? Why can't I just load a sketch and have it work? DHT11 sensor does't work. HR501 RIf sensor can't make it work, have tried every sketch I can find.

This is too general. I find most stuff works. Sometimes (due to the rate of change) you need to update libraries/sketches to match current developments. Or, downgrade the IDE.

Start with a specific sketch, post it, describe the hardware, show any error messages, show what you expect and what actually happens.

How to use this forum
Logged


Pages: [1]   Go Up
Jump to: