You need to disconnect at least the yellow wire, so you don't have both processors trying to talk to it.
De-solder the yellow jumper that goes to pin 24. Connect a jumper from that to your Arduino. Connect a jumper from GND on the Arduino to GND on the Monochron. Then you should be able to power up both systems and see if you can read the sensor with the Arduino.
Monochron Temperature Sensor
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
-
- Posts: 40
- Joined: Sat Jul 14, 2012 11:12 am
Re: Monochron Temperature Sensor
It works when connected to the Arduino. However, I reconnected it to the monochron and tried using the make-shift oscilloscope again, and this time it didn't flicker at all. I think before it may have flickered because of a bad contact with the pin. What does it mean that it doesn't flicker?
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Monochron Temperature Sensor
It means that the processor is not sending the signals required to read from the sensor.What does it mean that it doesn't flicker?
-
- Posts: 40
- Joined: Sat Jul 14, 2012 11:12 am
Re: Monochron Temperature Sensor
OK, just tried it again and it is flickering. Apparently the LCD has to be connected when doing this. Anyway, it's still not working. Should I try connecting it to another pin? Which one?
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Monochron Temperature Sensor
D3 (pin 5) can be used. You need to move the resistor from R2' to R2 and will loose brightness control on the backlight.
-
- Posts: 40
- Joined: Sat Jul 14, 2012 11:12 am
Re: Monochron Temperature Sensor
I'd rather not lose brightness control. Do you think switching pins would even make a difference. Is there a way to test pin 24 to see if that's actually the problem?
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Monochron Temperature Sensor
The only way to really see what is going on is with a scope or a logic analyzer. When you tested this on your regular Arduino, did you use pin 24 (Digital 14) also?
-
- Posts: 40
- Joined: Sat Jul 14, 2012 11:12 am
Re: Monochron Temperature Sensor
You mean pin 15 right? Analog A1? If so, then yes. That pin works on the Arduino.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Monochron Temperature Sensor
Yes. That is what I meant. Not sure why the same code would run different in the Monochron. You could try swapping the processors to see if that makes a difference.You mean pin 15 right? Analog A1?
-
- Posts: 40
- Joined: Sat Jul 14, 2012 11:12 am
Re: Monochron Temperature Sensor
OK, I switched processors and when I try to upload to the Arduino processor on the monochron PCB, I get this error:
Code: Select all
avrdude: stk500_recv(): programmer is not responding
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Monochron Temperature Sensor
The Arduino processor is going to have a different bootloader on it. You need to select the board-type corresponding to the bootloader.
-
- Posts: 40
- Joined: Sat Jul 14, 2012 11:12 am
Re: Monochron Temperature Sensor
Still getting the same error.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Monochron Temperature Sensor
Hold the shift key while pressing the upload button and post the output.
-
- Posts: 40
- Joined: Sat Jul 14, 2012 11:12 am
Re: Monochron Temperature Sensor
Code: Select all
Binary sketch size: 29,454 bytes (of a 32,256 byte maximum)
avrdude: usbdev_open(): did not find any USB device "usb"
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Monochron Temperature Sensor
Looks like it is not recognizing your FTDI cable. Are you sure you have the right serial device selected in the tools menu?
Please be positive and constructive with your questions and comments.