Dan, I will have to look into it; the solution may be to put a low value resistor and capacitor on the output: o/p -----|resistor|---------- LEDS | | Cap | GND This will act as a low pass filter, start with 50 to 100R and 100uF capacitor.by jimeer - Serial & I2C Devices
That is the reason I everything is on line, always check on line first.by jimeer - ByPic
io_setC(15,OUT) is not a rookie command, see this link. It was a command for about a day or so but then evolved to what it is now so that it is consistant accross all BV5xx. Type flcear(0) and reload rookie to make sure you have the latest version. led_on(), led_off() will operate the onboard LED on the latest version, see the link.by jimeer - ByPic
1) The BV500 has built in ADC. 2) The code for interfacing the MAX is here 3) No I2C and SPI are different, the MAX uses SPI and the BV4513 uses I2Cby jimeer - Projects
sounds like an interesting project. The low cost MX1 (BV500) has 21 I/O but the 7 segment display will take quite a few of those. You will not need a BV212. I suggest the following: 1) BV500_T_k3 (Kit3). This will do the ADC and I/O 2) BV4513 LED 7 Segment display only needs two wires. Or use the MAX display controller with a little bit of code you can get these on eBay very cheap - but theby jimeer - Projects
That is a brilliant school project, thanks for sharing.by jimeer - ByPic
You can get them hereby jimeer - BV511
What voltage are you using?by jimeer - Serial & I2C Devices
The BV4627 uses a different technology from the BV4502 and so there are no problems interfacing this device as there are with the BV4502 - so no need for the delays or any modification of the drivers. HOWEVER: There is a bug on firmware version 1.1 which causes i2c not to work with the RPi, all other I2C master I2C devices work, Arduino etc. If you can't see it using i2cdetect then it is likelby jimeer - Serial & I2C Devices
What does it say on the label on to of the IC?by jimeer - Serial & I2C Devices
Bob, I think that you misunderstood the fixed address: for critical applications you can order a device that has the I2C address burned into Flash. Some of my industrial customers have done this. The user cannot change the address and will never change under any electrical circumstances. See hereby jimeer - Serial & I2C Devices
hello, 1) Is not a bug but just the way scrolling works, the 'virtual' cursor is always one step ahead of the last character entered so when the last character goes onto line 4 position 20 the 'cursor' will be beyond the display so scrolling takes place. The actual cursor is a feature of the HD44780 (or similar) so changing this will not effect the scrolling. 2) There is an issue with the EEPby jimeer - Serial & I2C Devices
Malcolm, 1) When you re-load ByPic make sure the erase all flash is checked otherwise you can get a general exception error. 2) Make sure you follow the instructions about setting CTS on BV_COMM, also don't forget to type bv513_rts, unless its been put inmain and saved to flash 3) leave thesend first string blank 4) There are no more list commands, the code is now compiled so there is very liby jimeer - ByPic
hello, The previous version 'tload' had the facility to load a basic file to SD Card. The new version uses 'bload' which will transfer any information to the SD Card not just .bas files, however you do need to enable the hardware handshaking for this as follows: 1) download the BV512_V2 program here:** This is now included in rookie ** see www.bypic.co.uk 2) run the code by typing bv513_rtsby jimeer - ByPic
Here are some pointers: 1) If loading from the internet then it may need two or three attempts depending on the connection. If this happens regularly then store the offending file locally. 2) Only have one blank line after the end of the program and make sure nothing is in that line, that it is blank. 3) An error in the program can cause this, particularly missing or extra brackets. To isoby jimeer - BV513
First things first. The hardware is: Pin 1 V+ Pin 14 GND Pin 4 V+ <<< Very important. There is now an Arduino library that can be found on this page. On the page there is also the SV3 and BSerial libraries that will also be needed. The example is: #include <BSerial.h> #include <sv3.h> #include <bv4639.h> #define rxPin 5 #define txPin 4 BV4639 disp(rby jimeer - Serial & I2C Devices
** Update Apr 2013 - rookie is now avaiable to make tasks like this much easier ** hello, here is the code to flash the on board LED. // Simple LED flasher for BV513 // // This selects the action type constant CLR 4 constant SET 8 constant INV 12 // The LED is conneted to RC15 constant LED 1 << 15 // this is the port constant LEDTRIS 0xBF886080 // this is TRISC constant Lby jimeer - ByPic
Something that will help: The data sheet is wrong V+ is pin 14 and GND is pin 1, no damage occures getting them the wrong way round. The data sheet has now been corrected.by jimeer - Serial & I2C Devices
hello, the BV4629 is not an ASI device but an SV3 (serial version 3) device and so works a bit differently so the libraries for the ASI will not work with this IC. As yet there are no Arduino libraries for SV3, just Python code as it was expected to be used with the PRi initially. To be honest I forgot about the Arduino (shame on me). You can have a go at writing a library yourself, it shouldby jimeer - Serial & I2C Devices
You can send just the board back by normal post but it may save you time by investigating other avenues and assuming the bv4111 is working okay. I say this because of all of the items I have got back, so far 100% turned out to be something else and there has been nothing wrong with the item sent back. If the board is faulty I will of course send you another and refund your postage. Here are sby jimeer - Serial & I2C Devices
With the RPi switched on, disconnect the BV4111 and then connect it up again. Check that you have got TX connected to RX and RX connected to TX and that the ground is still in place. Now run the demo. I am using an old version of 2012-09-18-wheezy-raspbian but that should not effect the serial port. If you have had it working then I would re-check the wiring.by jimeer - Serial & I2C Devices
They are designed to work together so here are some pointers: 1) no need to cut any tracks or remove resistors they should work up to 3 or more without. 2) both devices need to have multi set, this stops the '*' ACK when reset and enter so some software changes may be needed in the init to recognise this. - set EEPROM location 7 to 1 on both devices. 3) the Baud rate needs fixing on both devicby jimeer - Serial & I2C Devices
The file format is: <height>,<width>,r,g,b,r,g,b,r,g,b..... Height and width are 16 bits (high byte first) and r,g,b (red green and blue) are one byte each. A 24 bit bmp colour file is converted with Quick and Dirty BMP. The maximum colour is 63 so the output for r,g,b is divided by 4. All that is added from the output of qdbmp.c is the height and width values at the font of theby jimeer - ByPic
Send it back to the address at the top of ByVac with a note and I will take a look; double check all the other system first as it may save time for you.by jimeer - Serial & I2C Devices
Thanks for pointing that out. I have updated the documentation. It is not available for MX1 as the name of the function is not stored, again to save as much space as possible.by jimeer - ByPic
hello, there is a bug when select is used inside for/next which has not been fixed yet (See 2.05). The work round is to use while wend instead. Also the print statement does not have brackets.by jimeer - ByPic
Jeremy, that is a useful bit of code and should help with any I2C board on the BV511, good work.by jimeer - Serial & I2C Devices
1) The most common fault is lack of pull up resistors but you have that covered, 10k is a bit high but fine 2) Address: The address of the BV4213 is 0x42 but that is the8 bit address, the 7 bit address is 0x21 and which one to use is all dependant on how reading and writing is done on the I2C bus. To make it exactly clear, command 1 on theBV4213 will enable / disable Y1 & Y2, this can be cby jimeer - Serial & I2C Devices
At any time any functions in RAM can be written to Flash with flasave("") If a function is called main() and saved to Flash, it will run at start up or reset.by jimeer - ByPic