OpenSprinkler Forums Hardware Questions OpenSprinkler Bee (OSBee) Problems with the example Re: Re: Problems with the example

#27838

Ray
Keymaster

First, if you haven’t done so already, please take a look at the OSBee Shield user manual:
https://github.com/rayshobby/OSBee/raw/master/OSBee_shield/docs/osbee_shield_10_manual.pdf
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.