Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Wayne

Pages: [1] 2
1
Support / Re: Pulse output in receiver
« on: Today at 08:37:33 AM »
Success..

I'm sure I can do this on the footswitch (send) side, but I have it working on the receiver side at the moment.

Aaron helped me with the sample, then I was able to insert it with changes to accomplish the goal.
I'm not to sure about the timing, but it looks close to what I need.

The Objective is to receive the signal (button send from the footswitch) and enable a relay (led) for x seconds (200ms roughly).
Do this once and not to repeat until the next signal was received.
Make sure the pulse is equal to 200ms no matter what length of the trigger.

Here is the code in the loop area of the receiver for the foot switch.
Code: [Select]

if (modeRecvd == 0 && button == 50) //case 50:
  {
    // mode
    modeRecvd = 1;
    lastRecvd = millis();
    Serial.println("mode");
    digitalWrite(mode_led, HIGH);
    digitalWrite(save_led, LOW);
    digitalWrite(xray_led, LOW);
    digitalWrite(HLF_led, LOW);
    digitalWrite(security_led, LOW);
   
  } else {
    if (modeRecvd == 1 && millis() - lastRecvd >= 130)
    {
      digitalWrite(mode_led, LOW);
      lastRecvd = millis();
      Serial.println(button);
      if (button == 69)
      {
        modeRecvd = 0;
      }
    }

It also works as a send (foot switch)

I had a hard time trying different ways of doing this.


2
Support / Simblee_systenOff();
« on: June 12, 2017, 12:48:40 PM »
Does any know how fast wake up is on Simblee_systemOff(); is.. 
I thought it was over 100ms..  Like it to be around 30ms if possible.
Doing ULP delay now, but like to get into that DEEP SLEEP..

3
Support / Re: Simblee MSL
« on: June 09, 2017, 08:10:15 AM »
Tim, can you tell me the area you live in.  I'm here in Utah and it is extremely dry.. Not like Arizona, but close.  We might not need to bake as long or at all

4
Support / Re: Simblee MSL
« on: June 09, 2017, 05:52:23 AM »
Well, we will have a few boards done, and I have sent 1 board house this info.  I have a funny feeling they will not bake the chip on the 1st round.
He said he has never done this before.  But I'm sending him the datasheet so he can see the mounting of the Simblee.

I should have these boards in a week or so.

Tim, what board house do you use, for once this gets going, we will need lots of boards populated.
Since your board house will now be familiar with the product.
 

5
Support / Pulse output in receiver
« on: June 08, 2017, 07:36:34 AM »
Ok, I don't think it is possible, but, my knowledge is limited on this..
What I'm trying to do is using a device (footswitch button) in transmit to a receiver.
The receiver should only act once with a pulse of 350 ms and not to occur again during that current send of the footswitch, but if the button is released and pressed again, it should
pulse once more and not to do it again until a new send is sent.

I have tried doing toggles and all, but I get my pulse, but it repeats if I hold button closed.

I'm really do not want to do this on the send side, but if I need to, so be it..

So if anyone has a pointer, let me know please.
In the mean time, I will keep plugging at it..

Also, is their a simple debounce routine.. right now I'm just doing a woke option.. and HIGH tests on GPIO's
Working ok for testing.. 

Wayne

6
Thanks Patty, now I know where to look..

7
Hi Patty,

Is a listing of improvements for the new library located somewhere.  what is added and fixed. New commands etc?

8
Support / Re: Simblee MSL
« on: May 27, 2017, 04:43:35 AM »
I have 3 proto boards being made and populated by a local house here. 
Will find out in a bit..

9
Support / Power cunsumption on 2 AA 2500mAh batteries.
« on: May 26, 2017, 01:45:48 PM »
Today is not my best day in math..  And I have tried to reason this out to find how long the 2 Alkaline Batteries will last as directly connected to a Simblee in ULP.

Scenario is:
SimbleCOM:
Pressing the button to wake up the Simblee from ULP, full rf power drawing 14mA.
Time is on a 8 hour day, the button will be pressed intermittently for a total of 18.4 mins. or 2.3 mins every hour. The no button pressed for 16 hours.
The batteries have a capacity of 2500mAh.
No Bucky in use, just straight to the Simblee for power. No LEDs'  Button and supported parts.


10
Software / Re: What are the features for lighting controls ?
« on: May 04, 2017, 07:42:49 AM »
The Simblee is a BlueTooth only device that has 29 GPIO pins and a few that can be assigned as analog.
It does not network via WiFi at all.
You are able to program to the unit via USB using Arduino IDE.

If you need to network, you need to try looking elsewhere for a WiFi device for networking.
The Simblee is a very tiny device as well to work with.

During my research for BlueTooth devices, a user on the Pycom Forums mention Simblee to try.  Pycom makes a WiPy device that is both WiFi and Bluetooth capable.
They have other devices that cover more communications choices as well.
How ever, they are still working out the kinks in software and I found little support via Pycom, which for me is not good.
I have not visited recently, so I have no idea how much progress has been made in software.
The units are much larger in size, but it could be what you are looking for that covers networking.
They are programmed via Python using adapter boards and all.

You need to figure out what you connect and use. 
Both Simblee and the WiPy have processors with GPIO's.  What you hookup to the pins is up to you and how to control them as well via software.

For me, I'm still learning the Simblee,  I can never say I know everything, just what I found and observed

11
I have been getting help from the team and so far so good.

Aaron has help me along a bit too..

So far I'm doing PCB design and testing using Solid State Relays.  The relay IXYS CPC1002N seems to function good using 1.2K resistor to light the LED to close the Solid State Contacts.
This is on a test box, I need to test on a real system. That be today..

The battery test using 2 AA's (Alkaline) have lasted for 284 + hours using the 3.3 boost (draws ~5ma idle and goes up as battery voltage drops).
Idle is 2.5 mins, Send is 30 Secs meaning 4 hours of SENDS at max power in 24 Hours.
The test should of been 1 hour in 24 hours..  Oh well, so we will multiply the results x 4 when we hit 1.5 volts.  Right now it is 2.25 volts tested from ~3.14v


12
The question was posted in software for lighting control..  It should of been posted here I'm sure.

13
Software / Re: What are the features for lighting controls ?
« on: May 03, 2017, 06:28:26 AM »
Your link sends me to an FTP site..  And are you asking for support for RFDuino product?

This seems confusing to me unless you want to use RFDuino to control lighting.

And I think this would of been better in Product Guidance or ?

14
Support / Re: bad Simblee batch?
« on: April 24, 2017, 06:08:10 AM »
Mouser slipping?

Sorry you are having issues.  We normally deal with Digikey and they use double protection.
I see that the 2 Simblees are different in color. 

I'm still in development so not ready for prototype as of yet, but a few more weeks down the line I will be.

15
Simblee Libraries / Simblee_systemOff();
« on: April 19, 2017, 02:52:53 PM »
Ok, I'm playing around to see how fast Simblee_systemOff(); responds to a pinwake action, and can this be used in SimbleeCOM or is it just for SimbleeBLE?

Doing my elephant count, it is more than 1, but less than 2 .. 
I'm trying to get below ULP mode.. That draws around 1 ma, the systemOff is around 10ua

Pages: [1] 2
anything