-
All Done ... Finally
11/01/2016 at 15:23 • 0 commentsI know a lot of you probably thought that I had given up or that I simply didn't finish this project, well when you work in a place like I do. You end up with thousands of things going on and some of them just don't measure up on the priority list.
Anyways, a lot has changed from when I started, mainly new devices were available, which made things a lot easier on me.
I ended up getting some adafruit feathers (https://www.adafruit.com/products/3077) added a couple of the antenna connector (https://www.adafruit.com/products/1661) and the adapter (https://www.adafruit.com/products/851) then I put this on the receiver (https://www.amazon.com/Hawkeye-UHF-Dipole-433MHZ-Antenna/dp/B012DGK1KC/ref=sr_1_18?ie=UTF8&qid=1478013651&sr=8-18&keywords=433mhz+antenna)
Modified the example source code a little bit to trip a relay when the button was pushed and BOOM ... all done
I added the battery pack on the transmitter side, because the crane operators like to charge their cell phones and I wanted it to still work
Tried it all together and everything works, I'm planning on running over there tomorrow so I will add some final pictures but everything works and everyone is happy.
Thanks for all the comments and support
-
Long Time ... Got more stuff
11/19/2015 at 17:37 • 0 commentsSo I got the new stuff ...
The level converters really, and I changed the button side to a 3.3 V arudino mini pro so I wouldn't have to deal with that any of that in the small box.
I got the Button together and working with the CC1101 everything looks great, the code went together easily and setting the SPI up was easy. The industrino is a little bit harder (atleast for me) I got everything wired in to the level converter but since its a 32u4 instead of a 328p the SPI is a little different and since I have the "cool" din mount thing stuff is slightly less documented then would help my little brain. But I spent all last night reading some forums and looking at the difference in the SPI.h file that I think I can firgure it out ... so that is the goal for today and tomorrow
-
So ... Not so Great
10/30/2015 at 01:09 • 0 commentsI kinda of have things working .... just not the way I want them
I wasn't really thinking when I was looking at the industruino its a 5v arduino which is great and all but the cc1101 requires 3.3v for power (not a problem) and data (problem) so I had some cheap 433 radios hooked them up ... changed the code to use those instead ... and hurray it worked
The problem is (with a lot of those cheap 433 modules) the range just doesn't work out well ... I can get about 30 feet away and it still works but any farther and it just doesn't do it (30 feet is enough but it doesn't make it through the concrete :-( )
So I ordered a logic level converter and a couple other odds and ends to see if I can get the cc1101s working
Everything is suppose to be here by the 2nd or 3rd ... go amazon
So I'll write another post after I get a chance to play with things
-
Some Progress
10/28/2015 at 21:23 • 0 commentsI got the button put together and programmed
Super simple code
#include <ELECHOUSE_CC1101.h> ELECHOUSE_CC1101 cc1101; byte TX_NOTPUSHED_buffer[61] = {0}; byte TX_PUSHED_buffer[61] = {0}; byte i; int buttonState = 0; void setup() { pinMode(3, INPUT); // put your setup code here, to run once: Serial.begin(9600); cc1101.Init(); for (i = 0; i <61; i ++) { TX_NOTPUSHED_buffer[i] = 0; TX_PUSHED_buffer[i] = 1; } } void loop() { buttonState = digitalRead(3); if (buttonState == HIGH) { // NOT PUSHED Serial.println("Not Pushed"); cc1101.SendData(TX_NOTPUSHED_buffer,61); } else { // PUSHED Serial.println("Pushed"); cc1101.SendData(TX_PUSHED_buffer,61); } }
It does seem to work ... and it seems (even though it may not look like it) pretty reliabile ... I knocked it around a little bit and it still working just fine :-D
-
Got some stuff
10/28/2015 at 00:18 • 0 commentsSo I got more parts today, I have everything I need expect the relay.
Tomorrow I plan on wiring up the remote side (finishing the remote side) then setting up the PLC side without the relay (I plan on using the read out on the screen to display status as well)
We'll see how much I actually get done
-
First Log
10/26/2015 at 20:38 • 0 commentsBasically I just set up this page.
The only reason I'm putting anything here is I was going to put the things I have recieved so far
Industruino
Ardunio Mini
LM317
24 V to 5 V power converter
*Added some "Before" Pictures