Call Search
     

New to Ham Radio?
My Profile

Community
Articles
Forums
News
Reviews
Friends Remembered
Strays
Survey Question

Operating
Contesting
DX Cluster Spots
Propagation

Resources
Calendar
Classifieds
Ham Exams
Ham Links
List Archives
News Articles
Product Reviews
QSL Managers

Site Info
eHam Help (FAQ)
Support the site
The eHam Team
Advertising Info
Vision Statement
About eHam.net

donate to eham
   Home   Help Search  
Pages: [1]   Go Down
  Print  
Author Topic: Arduino "Group" ????  (Read 90156 times)
KT4WO
Member

Posts: 212


WWW

Ignore
« on: February 04, 2015, 11:01:48 AM »

Looking for something like a Arduino yahoo group or Google group.
Help??


I need help learning some code.

Trip - KT4WO

PS---I have a UNO hooked to a AS3935 lightning detector board...its working(I guess??!!??...no storms yet)
but would like to add some code to trigger a relay when it detects lightning.

Logged
KT4WO
Member

Posts: 212


WWW

Ignore
« Reply #1 on: February 04, 2015, 01:14:41 PM »

Ok....will post here.. maybe someone can help.
1st---I don't need help with the hardware..just the code.

Arduino Uno with AS3935 Lightning Detector. Here is the board/code I'm using.

http://www.playingwithfusion.com/productview.php?pdid=22

The code is at bottom of page.

I "think" its working via the serial monitor window.

Now...what I need is to alter the code so that when it detects lightning at greater than 12Km it will set
pin 7 high for 5sec..

or

When it is LESS THAN 12Km it will set pin 7 high for 5sec AND set pin 8 high for 10min.

What I am trying to do is:

Lightning greater than 12Km...it turns on a light for 5sec

Less than 12Km it turns on that same light for 5sec and disconnects my antenna for 10min.

Like I said...I can handle the wiring/hardware...but I don't know crap about coding!!... HELP---Anyone?!?!

Trip - KT4WO
kt4wo67@gmail.com


« Last Edit: February 04, 2015, 01:21:23 PM by KT4WO » Logged
KT4WO
Member

Posts: 212


WWW

Ignore
« Reply #2 on: February 04, 2015, 01:19:54 PM »

Ohhhh and also.... both the 5sec and 10min timers would need to reset if it detected another strike before
either timer ran out.

Trip - KT4WO
Logged
AE4RV
Member

Posts: 990


WWW

Ignore
« Reply #3 on: February 04, 2015, 06:07:33 PM »

Reddit has a group for everything.

http://www.reddit.com//r/arduino

Logged
KT4WO
Member

Posts: 212


WWW

Ignore
« Reply #4 on: February 05, 2015, 05:42:22 AM »

Thats what I was looking for ..tnx
Logged
N8CBX
Member

Posts: 479




Ignore
« Reply #5 on: February 09, 2015, 11:48:19 AM »

Like I said...I can handle the wiring/hardware...but I don't know crap about coding!!... HELP---Anyone?!?!
If you don't know how to do it, start reading:
Start with this free book
http://playground.arduino.cc/uploads/Main/arduino_notebook_v1-1.pdf
And then buy Brian Evens book, Beginning Arduino Programming
Also, keep this open in your browser, and refer to it while understanding the syntax.
http://arduino.cc/en/reference/homePage
Look at their simple example programs and learn from them
http://arduino.cc/en/Tutorial/HomePage
Then for interfacing with more complicated devices, you need the code libraries
http://arduino.cc/en/Reference/Libraries

Personally, I would stay out of the forums, unless there is something specific you are looking for. I find them mostly a waste of time. The best benefit is reading the books and the example programs.
The lighting board looks pretty neat, good luck,
Jan N8CBX
« Last Edit: February 09, 2015, 11:50:51 AM by N8CBX » Logged

Dayton Ohio - The Birthplace of Aviation
KD0REQ
Member

Posts: 2023




Ignore
« Reply #6 on: February 10, 2015, 03:26:04 PM »

there is a QnA group at arduino.cc as well if you poke about the site a bit.
Logged
N4CR
Member

Posts: 1757




Ignore
« Reply #7 on: February 10, 2015, 06:24:19 PM »

Hey, I like playing with Arduinos as much as the next guy, but how are you planning on disconnecting your antenna? A relay?

You do realize that the lightning just jumped several thousand feet right? That .05" between the relay contacts isn't much of an obstacle.

I mean, it's a fun project and all, but seriously... use a lightning arrestor. Hook the output to a beeper so you know when lightning is close but still distant. If it's close you'll know it.
« Last Edit: February 10, 2015, 06:29:06 PM by N4CR » Logged

73 de N4CR, Phil

Never believe an atom. They make up everything.
KT4WO
Member

Posts: 212


WWW

Ignore
« Reply #8 on: February 13, 2015, 06:16:15 PM »

RE"You do realize that the lightning just jumped several thousand feet right?"

1,000s of feet??.....WOW...didn't know that.
I just sold my CB last week and got my 1st amateur radio, so I'm still
learning all this stuff. I did get my rubber duck mounted to my hardhat last night, just
need to install the ground wire now.

Thanks for answering my original question.


N8CBX had the best advise.
"I would stay out of the forums, unless there is something specific you are looking for. I find them mostly a waste of time."

KT4WO
Logged
KT4WO
Member

Posts: 212


WWW

Ignore
« Reply #9 on: February 13, 2015, 06:30:28 PM »

RE: N8CBX

Tnx for the reply...I have bought 3 books already..and I'm learning SLOWLY.
I understand I need to poll  the distance and am thinking it will be a
"IF" and "ELSE" routine . Then the "Blink without Delay" to pull pins high...so the program
keeps running....  The last time I wrote any code was 35 years ago in BASIC

10 Print "Hello"
20 GOTO 10

That's what I know about coding! ..ha
And I will have to learn it..don't think this will be a copy and paste deal.
Back to Kindle and more books. Tnx again.

KT4WO
Logged
KA8VIT
Member

Posts: 41


WWW

Ignore
« Reply #10 on: June 17, 2015, 06:11:51 AM »

Try the Arduino Forums...   http://forum.arduino.cc/

73 - Bill KA8VIT
Logged
KT4WO
Member

Posts: 212


WWW

Ignore
« Reply #11 on: June 20, 2015, 08:21:40 AM »

Tnx Bill,,,

I joined it awhile back.
The project is on hold till next winter....ya know...summer is busy, busy.
The detector is working....but I have found(via datasheet) that at best...only
detects 40%, and thats VERY close-in. over ~10 miles and its much lower.
Should have read the datasheet 1st,,,,would not have spent the money/time.

Tnx
KT4WO
Logged
W8TEE
Member

Posts: 5




Ignore
« Reply #12 on: May 17, 2016, 05:13:54 AM »

There's a new users' group for hams:

https://groups.yahoo.com/neo/groups/SoftwareControlledHamRadio/conversations/messages/1

If you're interested, contact me via my email on QRZ.

Jack Purdum, W8TEE
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!