Problems with the sunscreen reminder hat

Wearable electronics: boards, conductive materials, and projects from Adafruit!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
purplesnail
 
Posts: 7
Joined: Tue Nov 25, 2014 5:19 pm

Problems with the sunscreen reminder hat

Post by purplesnail »

I'm trying to make my own sunscreen reminder hat following the tutorial by Becky. I can't seem to get the serial monitor to tell me what is going on. Here's what I know so far:
- The flora programs fine. I can load the tune sketch and get a tune out of the speaker.
- The serial monitor works with DigitalReadSerial loaded just fine.
- If I load the SI1135 test sketch I don't see anything (including the default error message) on the serial monitor. However, I know the Flora UV index sensor is working as it works fine attached to an Arduino Uno and outputs UV levels to the serial monitor.
- When I load the code for the sunscreen reminder hat it loads fine, but the serial monitor doesn't show anything.
- I'm using alligator clips to connect the UV board and piezo speaker to the Flora before I attach them to the hat.
- I'm using a Flora 1.0a, a Flora UV/IR/vis light sensor (si1145) and running Arduino 1.0.5. I've got the board set to Adafruit Flora and I'm running off of COM 16 on a PC running Windows XP.

Any help would be appreciated. Thanks a lot.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Problems with the sunscreen reminder hat

Post by adafruit_support_rick »

Please post clear, detailed pictures showing your wiring and setup.

User avatar
purplesnail
 
Posts: 7
Joined: Tue Nov 25, 2014 5:19 pm

Re: Problems with the sunscreen reminder hat

Post by purplesnail »

I'm not sure how to post pictures here. Using the Add file function makes viewing the pics difficult. This is the result of using insert image above. Hope this works.

Image
Image
Image

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Problems with the sunscreen reminder hat

Post by adafruit_support_rick »

To add a picture, use the "Choose File" button to select the image file, then click "ADD THE FILE"

Picture files should be JPEG or PNG, and should be less than 1MB in size. 800x600 is a good size.

User avatar
purplesnail
 
Posts: 7
Joined: Tue Nov 25, 2014 5:19 pm

Re: Problems with the sunscreen reminder hat

Post by purplesnail »

Clicking on the text image didn't open the file? It worked here. If not, I'll try again.

User avatar
purplesnail
 
Posts: 7
Joined: Tue Nov 25, 2014 5:19 pm

Re: Problems with the sunscreen reminder hat

Post by purplesnail »

image.jpg
image.jpg (383 KiB) Viewed 461 times

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Problems with the sunscreen reminder hat

Post by adafruit_support_rick »

It must not be finding the sensor. Try modifying the code as follows:

Code: Select all

  while (!Serial);             //add this line so Flora waits for Serial Monitor to open.
  Serial.begin(9600);
See if this lets you see the error message.

User avatar
purplesnail
 
Posts: 7
Joined: Tue Nov 25, 2014 5:19 pm

Re: Problems with the sunscreen reminder hat

Post by purplesnail »

That did get the serial monitor working. It printed:
Adafruit SI1145 test
Didn't find Si1145

I've checked the si1145 on another Arduino Uno and it works, and I think I've got it hooked up correctly. What should I try next?

Btw what does the small switch near the SDA and 3.3v connectors do?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Problems with the sunscreen reminder hat

Post by adafruit_support_rick »

Try some different wires. Sometimes you'll get an alligator clip wire that doesn't work so well.

The little switch on the Flora is a battery power switch. When the Flora is on battery power, you can turn the Flora on and off.

User avatar
purplesnail
 
Posts: 7
Joined: Tue Nov 25, 2014 5:19 pm

Re: Problems with the sunscreen reminder hat

Post by purplesnail »

You're right, that was the problem. I checked for signals at each pad, but didn't check for continuity. Ironically, I bought the alligator clips from Adafruit. Thanks for your help.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Problems with the sunscreen reminder hat

Post by adafruit_support_rick »

purplesnail wrote:Ironically, I bought the alligator clips from Adafruit.
Sorry about that - sometimes a bad one sneaks through. I can offer you a new set of clips - Please email [email protected] with a link to this thread for replacements

Locked
Please be positive and constructive with your questions and comments.

Return to “Wearables”