- This topic is empty.
August 11, 2014 at 2:15 am #23102
I’m having a couple problems with the example “Simpletest”. I have tried to with 2 different boards, the uno and the yun. For both of the boards, every time I try to compile the example, it can’t find Serial.h. I have no traces of that file on either system i tried, and the one is a recent install.
I’m using the Arduino 1.5.7 Ide. For the yun, I tried to replace anything that resembles a “Serial” command, with a “Console”. I’m still not having any luck.
proAugust 11, 2014 at 4:17 pm #27836
‘Serial’ is Arduino’s built-in library. I’ve not used Arduino 1.5.7. I suggest you download Arduino 1.0.5. There may be compatibility issues betwen 1.0.5 and 1.5.7. You can have multiple instances of the Arudino program/folder.August 11, 2014 at 5:50 pm #27837
Thanks for the reply.
1.5.7 is required for the yun.I had hoped to use the yun, as i was going to trying setting up Node.js interface. However, I tried an earlier version of the IDE with uno and it compiled no problem. However, i still think i borked the bee somehow while trying it out with the yun yesterday. When I plug the bee into the uno, the computer refuses to recognize the device until i switch the bee’s power source to “external” or unplug the bee from the uno. If I add a +5v, the board i can get the ide to recognize the board, but the program stalls at (i think):
Serial.println("Hit 'A' to turn on sprinkler and 'Z' to turn off sprinkler 1");
I’m wondering if the L1 got burnt out. It got very hot yesterday with the yun.
‘Serial’ is Arduino’s built-in library. I’ve not used Arduino 1.5.7. I suggest you download Arduino 1.0.5. There may be compatibility issues betwen 1.0.5 and 1.5.7. You can have multiple instances of the Arudino program/folder.August 19, 2014 at 5:45 pm #27838
First, if you haven’t done so already, please take a look at the OSBee Shield user manual:
Page 3 ‘Select Power Source’, which explains the issue with using internal source. You can either slide the power switch to ‘external’ when programming, and switch it back to ‘internal’, or just follow the instructions to use external source.
Second, when using the shield, it’s important to keep in mind that (these are explained in the user manual):
1) pin 9 (PWM) is used for boost converter, do not set this pin to constant HIGH as that will short the inductor. The osb.begin() in the setup() function will make sure to turn this pin to LOW. The inductor can endure a fairly high amount of current, so it’s unlikely to be damaged even if it’s shorted.
2) the pair of pins on the same port should not be set to HIGH at the same time. If you don’t need a certain port, you can bend the corresponding pins to leave them out of the Arduino. This way, these pins will be freed for other use.
To understand the issues you are seeing, can you try one of the provided examples and see if they work? If Serial doesn’t work, just comment those lines out. They do not matter with the functionality of the board.
- You must be logged in to reply to this topic.