Bruce, have you initialised the ADC as instructions on this page? E.g adc_init(2) somewhere in your start up code? Jimby jimeer - ByPic
Bruce, no they are not user upgradable but as promised I will send you another one free. Let me know your details using the email address here.by jimeer - ByPic
Bruce, which device do you have, MX1 or MX3? Jimby jimeer - ByPic
There is some experimental Python code here which may have some pointers. I am currently looking at Python GUI so there may be more later.by jimeer - Serial & I2C Devices
The default for the BV4618 display controller is 16x2 so you need to issue the appropriate commands to set the number of lines and characters at start up. Thus esc[4L esc[20c Full details can be found in the product informationby jimeer - Serial & I2C Devices
Okay, the 1-wire functions are now in the library.by jimeer - ByPic
Sending 5 or 6 as you appear to have should definitely produce just one digit as expected. There are two possible problems: 1) The adruino serial is not behaving as expected 2) A faulty display You can test 1) if you have some other means of manually sending the command, a terminal and serial device. Or have you tried just sending bn0 5 on its own, eg: void loop() { Serial1.print(&qby jimeer - Serial & I2C Devices
The display Baud rate needs setting first, this is done by sending an initial CR, (byte 13 or 0xd or \r). Any command must always be followed by 13. The BV4108 Library uses the same protocol but different commands so use that Library, it should work for the BV4513 but of course with different commands and address.by jimeer - Serial & I2C Devices
hello, not yet. It should be straightforward to do using bit banging or possibly the SPI interface. If speed is required than a plug-in could be used.by jimeer - ByPic
try: disp.print("tmp=%f",tempC); Of course tempC will be a double for float variable to be able to store decimal places.by jimeer - Serial & I2C Devices
Tutorial: All of the ByPic material is on line and it is created on line and so there is no pdf format. If any volunteer would like to create a pdf version - or even a better tutorial, I will publish it. Rookie: This is a set of functions that are loaded into ByPic. The functions are written in ByPic and serve the following purposes [*] It makes it easier to use ByPic for common uses such aby jimeer - ByPic
It works here using that version. I can't really think of anything that would cause it. Is there anything else connected to the IC? A long shot put possibly worth a try is to clear out the browser cache in case rookie has become corrupt and the corrupt version is in the cache - or you have downloaded it and that version is corrupt??by jimeer - ByPic
Using interrupt is the only function that can be called before the IR function is defined because it uses the text given to it in the second term to determine the interrupt function. Could it be that there are no quotes round SWP as shown in the error? error line 198 >>ir_setPin(?IrPORTA, SWP ,4) // RA4<< should be ir_setPin(?IrPORTA, "SWP" ,4)by jimeer - ByPic
I don't know. It works okay here, possibly there is something in flash. Clear everything out using flclear(0) and then re-install rookie. If this doesn't work let me know what firmware version (and serial) you have and I will try with that version.by jimeer - ByPic
The fact that debounce is having no effect means that the problem lays elsewhere (obviously). Some suggestions: Start with the hardware first, check that the switches are not a high resistance when closed, ideally they should close at 0R, check the wiring for loose dry joints and also the power supply could possibly cause this if it is fluctuating. If the switches are really bad then no amountby jimeer - Serial & I2C Devices
The maximum debounce value is 255 - this is not mentioned in the data sheet.by jimeer - Serial & I2C Devices
Thank you for the question. I have been asked this before, the short answer is that scheduling takes up too much processing time. The long answer with an example of an alternative is here The above is not only for scheduling but offers an alternative (better) way of organising code.by jimeer - ByPic
I think you are confusing the data types for the old BV_Basic with ByPic there is no unsigned variable that uses the % postfix so change this: p%=p% & 0x0f to this p = p & 0x0f The % is the modulus operator. Further details are Here in the language guideby jimeer - ByPic
hello, the picture is from an older board and the silk screen has changed, however the layout and pins are the same as in the 'Pinout' diagram on this page. It is just the JP numbers are different. The general exception is because HIGH is not '1' and LOW is not '0'. That is a wrong assumption. The function format is expecting HIGH or LOW not 1 or 0. If you are interested to see what HIGH or Lby jimeer - BV513
Luke, the BV4629_g is the older version of the (BV4629_V2) BV514 but the image format is the same, here is the actual code that reads the serial port and displays the image: // ****************************************************************************** // load bitmap using binary input, I think this should work // bitmap format: // <height:H><heigh:L><width:H><widby jimeer - BV_Basic
I am not sure I understand the question, a reset will do just that, reset the system back to the beginning and not where you left off; a function like that that would be called something like suspend wouldn’t it?by jimeer - ByPic
Phil, there is no quick way to re-enter commands, a history function would be ideal - looking for volunteers to modify the BV_COM2 code (written in C and GUI in C++). Any takers?by jimeer - BV500
hello, Phil, I always run LEDs directly from the port as the PIC outputs have current limiting built in 20 - 25mA. All of the larger microcontrollers are 3.3V so there is not a 5V version, however the BV500 will tolerate 5V on some pins, see the diagram on this page the purple pins are 5V tolerant. The spam prevention is purley random so quite a coincidence.by jimeer - BV500
Bruce, The documentation for SPI is here. RB13 & 14 are configured when you run spi_init() - you can look at the rookie code to confirm this. To get the display going type test_max()by jimeer - Projects
John, the calculator program was written before rookie and so there may be things in there that clash with it. It needs re-writing with rookie in mind - any volunteers. Also the firmware has changed and so these programs are in need of updating - any volunteers. What error message are you getting? If you just need the ADC element of rookie then you have two options: 1) Have a look at hoby jimeer - ByPic
1) Make sure you have the latest firmware installed 2.08 Serial 201307017 2) use flsave("") after the first download 3) Clear the browser cache in case rookie has been updatedby jimeer - ByPic