-
Content Count
1,431 -
Joined
-
Last visited
-
Days Won
40
Everything posted by cubeberg
-
Oh - and on the security end of things - I honestly wouldn't bother working on it too much. If someone cares enough about breaking into your home to hack your DIY security system - they'll get in. There is an AES encryption library for the 430 though if you're interested in security - although you'd need to consider replay issues.
-
You can choose any pin designation you like as this isn't a special function (that I'm aware of - I think it just uses a timer) - you can find the pin designations here: http://energia.nu/wordpress/wp-content/uploads/2014/09/cc3200lppinmap.jpg
-
@@nuetron - sorry to hear that - hopefully they just got spooked by a neighbor or something. I'm actually working on something myself. I haven't worked on it lately, but I've got some wireless sensor designs that I've worked out and am in the process of programming. I wanted a server-side system which also required a wifi gateway like the CC3200. Haven't been able to port the NRF24L01 library to CC3200 yet so I kind of stalled. You can take a look at some of the parts I purchased in my thread - http://forum.43oh.com/topic/5851-wireless-security-system-iot/
-
You should be able to switch that to any pin. 5 would be a good one (first pin after tx/rx). myservo.attach(5)
-
Low power Geiger counter with MSP430G2553 (Last updated: May 07, 2015)
cubeberg replied to DeepBlueSky's topic in Projects
@@DeepBlueSky - **edit -that's what I get for not reading your code. Looks like there might be an issue with sprintf - https://github.com/energia/Energia/issues/249 Maybe try switching to unsigned int which holds up to ~65k?- 13 replies
-
- LaunchPad MSP-EXP430G2
- battery
- (and 4 more)
-
@@roby92100 - I've been working on a similar setup myself. The one thing I noticed is that it seems to take a lot of power to receive - so from a power standpoint it may be better to transmit, wait a bit and then power down if nothing is received. It gives the main 5529 a window to work with which may be more difficult to program, but it may save battery. I took a look at the library (it's the one I'm using as well). I'm wondering if we need to add a function to turn off TX and switch to RX. I seem to remember reading that the chip could only handle one at a time. @@spirilis - any ide
-
That means that Energia couldn't find the device. Check your Device Manager and make sure you see the com port listed. Driver instructions can be found here: http://energia.nu/guide/guide_windows/
-
@@brelliott18 - P1_1 and P1_2 are connected to the UART -> USB bridge on the launchpad. Pulling off the TX/RX jumpers would solve that problem.
-
Kyle - I'd check out this e2e thread - http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/270455.aspx - looks like Antivirus could be your problem.
-
Did you try the library that Rei Vilo uploaded in the post I linked to? http://forum.43oh.com/topic/2239-solved-dht22-temp-rh-one-wire-sensor-on-energia/?p=19474 Also if you look at the first post in this topic - http://forum.43oh.com/topic/2826-ladyadas-dht-library-lcd/ - you'll see that they replaced NAN with 0. It would be simple to #define NAN 0 at the top of the library.
-
HO! HO! HO! Get Your Stockings Ready - 2014 43oh Secret Santa
cubeberg replied to bluehash's topic in Announcements
Thanks for setting this up again @@bluehash! -
Have you looked at this thread? http://forum.43oh.com/topic/2239-solved-dht22-temp-rh-one-wire-sensor-on-energia/ Looks like it might be helpful. I believe the DHT22 commands are the same as the DHT11.
-
Ah! That's my problem. I was trying to change power states on interrupt. I believe there are some ON_EXIT options available if I remember correctly. I'll have to take a look at that or wake to change states.
-
Use MSP430G2553 internal reference voltage at an output pin
cubeberg replied to DerPavlov's topic in Energia - MSP
@@DerPavlov - awesome - glad you got it working!- 3 replies
-
- reference;
- analog input;
-
(and 2 more)
Tagged with:
-
Thanks @@roadrunner84 - I'll have to try that out next time. BTW - I ran into an odd issue that I'm going to have to do some more testing on. Shouldn't pin interrupts be available on LPM4? I need to do some testing, but once I dropped into LPM4, my PORT1_VECTOR never seemed to fire...
-
HO! HO! HO! Get Your Stockings Ready - 2013 43oh Secret Santa
cubeberg replied to bluehash's topic in Announcements
Awesome @@bluehash - I think that'll work. Think we can get a few of the TI folks to participate as well? -
The command would just be motorA.detach(); If you're seeing your servos moving back and forth - there's a good chance you're running into a code issue. I'd probably start another energia project and start with basics and work your way back up. It helps you isolate problems. It also may be helpful to add some serial debugging. One item I noticed - once you're done receiving an IR signal - you're supposed to call irrecv.resume(); I'm wondering if that might be causing the same signal to be received over and over - causing repeated calls. If that doesn't get you anywhere - could you l
-
Have you tried the Detach command? Looks like that will stop the pulse to the servo. You will need to add some tracking to monitor duplicate button pushes as well - I don't see that in your current code. Are the servos moving back and forth, or just twitching?
-
Use MSP430G2553 internal reference voltage at an output pin
cubeberg replied to DerPavlov's topic in Energia - MSP
Energia abstracts functionality between chips, but registers are still readily available. In the post you reference - they used this code which should compile just fine in energia as well. ADC10CTL0= REFON + REFOUT;- 3 replies
-
- reference;
- analog input;
-
(and 2 more)
Tagged with:
-
@@roadrunner84 - It's my first time doing charlieplexing - I read that for LEDs with different voltage drops, it was necessary to separate them into different arrays - part of the reason why I broke them out. However - I used the same value resistors all around, so I'm not sure if it would have made a difference or if it was necessary. If I do these next year though - I may go with a smaller pin count because of chip price. We'll see
-
And my code so far: #include <msp430.h> /* * main.c */ void setLED(char led); int main(void) { WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer //reset all pin config P1DIR = 0x00; P1OUT = 0x00; P1IE = 0x00; P2DIR = 0x00; P2SEL2 = 0x00; P2SEL = 0x00; //Clock setup BCSCTL2 = SELM_0 | DIVM_0 | DIVS_0; if (CALBC1_1MHZ != 0xFF) { /* Follow recommended flow. First, clear all DCOx and MODx bits. Then * apply new RSELx values. Finally, apply new DCOx and MODx bit values. */ DCOCTL = 0x00; BCSCTL1 = CALBC1_1MHZ;
-
So last year I made a Christmas Ornament - figured I'd do something again this year. It's an MSP430 powered Christmas tree! It uses 2 PCBs that slide together. There is a button and a motion sensor (cheap spring-based motion sensor). It uses 12 leds - broken into two sets of 6 that are charlieplexed (so 6 pins total used). I managed to score some cheap MSP430G2152's off of Newark for $0.50 each (although the $5 shipping cut into it a bit), but the 10 trees cost well over $100 in total (including $25 shipping to get them here before Christmas). For those interested, gerbers and
-
HO! HO! HO! Get Your Stockings Ready - 2013 43oh Secret Santa
cubeberg replied to bluehash's topic in Announcements
Can we do Secret Santa again this year? Might be a little late - thought I'd still ask -
Holy quadruple post batman! (had the same problem myself yesterday) Joe @ the Roll Sign Gallery (found the link in the comments on the hackaday flip dot clock post). I emailed him (address on the page below) and asked if he had any surplus displays/parts. Cost about $80 including shipping. The full dot display was $105 so I opted for the cheaper (although only 4 vs 9 pounds) http://www.rollsigngallery.com/transitstore/esigns.html He said he could get others. Don't expect a quick response if anybody emails him, but he was nice and very helpful.
-
oops - apparently I double posted