0

HalloWing not doing anything with PIR
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

HalloWing not doing anything with PIR

by jaybird929 on Mon Aug 19, 2019 8:43 pm

I have done the code, edited the configuration but I can't seem to get my eye to open when there is motion in front of the PIR. Not sure if I am not updating some code somewhere. No idea, I think I have done it all, but what could I be missing??? I have adjusted the sensitivity, etc. But nothing! Please help.

jaybird929
 
Posts: 12
Joined: Tue Aug 13, 2019 1:32 pm

Re: HalloWing not doing anything with PIR

by adafruit_support_mike on Wed Aug 21, 2019 12:29 am

Post a photo showing your hardware and connections and we'll take a look. 800x600 images usually work best.

adafruit_support_mike
 
Posts: 58856
Joined: Thu Feb 11, 2010 2:51 pm

Re: HalloWing not doing anything with PIR

by jaybird929 on Wed Aug 21, 2019 4:29 pm

Have it Black, red, white top to bottom on the Hallowing. Red to 5v, white to out and black to ground on the PIR
Attachments
20190821_162202.jpg
20190821_162202.jpg (976.54 KiB) Viewed 142 times

jaybird929
 
Posts: 12
Joined: Tue Aug 13, 2019 1:32 pm

Re: HalloWing not doing anything with PIR

by adafruit_support_mike on Thu Aug 22, 2019 1:17 am

Thank you.

The PIR needs 5V power to operate. To use 3.3V you have to bypass the onboard voltage regulator.

Do you plan to run the Hallowing from a USB connection or a LiPo?

adafruit_support_mike
 
Posts: 58856
Joined: Thu Feb 11, 2010 2:51 pm

Re: HalloWing not doing anything with PIR

by jaybird929 on Thu Aug 22, 2019 6:47 am

I was planning on running the Hallowing with the power supply it comes with.

jaybird929
 
Posts: 12
Joined: Tue Aug 13, 2019 1:32 pm

Re: HalloWing not doing anything with PIR

by adafruit_support_mike on Fri Aug 23, 2019 12:48 am

The standard Hallowing doesn't come with a power supply. You can order optional LiPo batteries or wall adapters that work with it, but I need to know the specific one you're talking about.

adafruit_support_mike
 
Posts: 58856
Joined: Thu Feb 11, 2010 2:51 pm

Re: HalloWing not doing anything with PIR

by jaybird929 on Fri Aug 23, 2019 10:51 am

I purchased this one. 5V 2.5A Switching Power Supply with 20AWG MicroUSB Cable
PRODUCT ID: 1995

jaybird929
 
Posts: 12
Joined: Tue Aug 13, 2019 1:32 pm

Re: HalloWing not doing anything with PIR

by adafruit_support_mike on Fri Aug 23, 2019 11:36 pm

Thank you.

In that case, you can connect the PIR's positive supply voltage to the Hallowing's USB pin (two down from the one labeled BAT on the PCB). That will connect the PIR to the 5.2V power supply.

The PIR's output stays in the 0V-to-3.3V range which is safe for the Hallowing's input pin.

adafruit_support_mike
 
Posts: 58856
Joined: Thu Feb 11, 2010 2:51 pm

Re: HalloWing not doing anything with PIR

by jaybird929 on Sat Aug 24, 2019 12:14 pm

Do you think you can highlight that point in a picture for me?

jaybird929
 
Posts: 12
Joined: Tue Aug 13, 2019 1:32 pm

Re: HalloWing not doing anything with PIR

by adafruit_support_mike on Sat Aug 24, 2019 9:33 pm

It's called out on the first image in the Hallowing tutorial's Pinouts page:

https://learn.adafruit.com/adafruit-hallowing/pinouts

arduino_compatibles_hallowing-diagram.png
arduino_compatibles_hallowing-diagram.png (29.96 KiB) Viewed 87 times

adafruit_support_mike
 
Posts: 58856
Joined: Thu Feb 11, 2010 2:51 pm

Re: HalloWing not doing anything with PIR

by jaybird929 on Sat Aug 24, 2019 9:38 pm

Great, thanks, let me try it

jaybird929
 
Posts: 12
Joined: Tue Aug 13, 2019 1:32 pm

Re: HalloWing not doing anything with PIR

by jaybird929 on Sun Aug 25, 2019 7:44 pm

I did what you said and it doesn't work still. Attached is my code and cofig
Attachments
config.h
(5.85 KiB) Downloaded 3 times
All_Seeing_Skull.ino
(29.27 KiB) Downloaded 3 times

jaybird929
 
Posts: 12
Joined: Tue Aug 13, 2019 1:32 pm

Re: HalloWing not doing anything with PIR

by adafruit_support_mike on Wed Aug 28, 2019 12:19 am

Let's start with the hardware..

Does the PIR turn on when it's connected to power from the HalloWing's USB and GND pins?

adafruit_support_mike
 
Posts: 58856
Joined: Thu Feb 11, 2010 2:51 pm

Re: HalloWing not doing anything with PIR

by jaybird929 on Wed Aug 28, 2019 5:50 pm

No idea. There isn't a light on it. It is brand new, just bought it from adafruit.

jaybird929
 
Posts: 12
Joined: Tue Aug 13, 2019 1:32 pm

Re: HalloWing not doing anything with PIR

by adafruit_support_mike on Thu Aug 29, 2019 9:05 pm

Measure the voltage between the pins at the outer edges of the potentiometers. You should see about 5V.

adafruit_support_mike
 
Posts: 58856
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.