hello, The PIC32 does not have any 'native' non-volatile storage and so this is implemented as the best it can do. This does have a couple of implications: It is possible to write to any part of the flash as a single word (4 bytes), however it is not possible to erase a single byte, erase only works on a block of 1k at a time ALSO the 1k MUST start on a 4 k boundary. When defining a constantby jimeer - ByPic
hello, yes there is a boot loader. The most usual cause for this error message is that the dtr line is not re-setting the device. For the boot loader to work the device needs to be reset just before the process, this is carried out automatically using the DTR on the COM port. The DTR may not be connected or there is some error on this line. Jimby jimeer - BV500
In mine I didn't, I just put rotary.start() at the top of a function that used it. However when fully debugged there is unlikely to be any errors so is less of a problem.by jimeer - Projects
A couple of things. The scheduler is not a very good timekeeper as its purpose is to schedule tasks when it can, also if any other program is running in a loop then this will effect the time keeping. The two alternatives are use a timer or use the RTC that you have. I would go for the RTC as it is purpose designed for the job, also if it is the type with an EEPROM, you can keep your schedulesby jimeer - Projects
I don't know what is causing the problem, ADC is not always as straight forward as it should be. I can suggest a few pointers 1) verify that there really is cross talk between the two channels by using two potentiometers (or 4 resistors) with a total impedance of less then 10k. If the ADC is okay then the output impedance of the MCP9700 is too high, although according to the data sheet isby jimeer - BV500
Dion, the protect is interesting and the display looks really nice (with a flame). It may be worth writing it up if you have the time? Instructables is a good platformby jimeer - Projects
This is the same display attached to the BV507 so all of the drivers are there: here:by jimeer - Serial & I2C Devices
What a great project, well done on the Android app that's always my stumbling block. You have to stop the switch bounce on an encoder or you get poor results, it can be done is software but much easier in hardware. This is the circuit I use, the pins also need weak pull ups activation. This particular encoder also has a push switch, hence the three wires. The code I use to drive it is hereby jimeer - Projects
In that case I think you may need to use BV_COM2 (http://www.byvac.com/index.php/Downloads). The documentation for it is here:by jimeer - BV500
I didn't know it was an MX150. The 2.32 only wotks with the MX170 - it has more Flash and RAM. In that case there is no firmware update so go with option 2, BVSerial (http://www.byvac.com/index.php/Downloads)15 should work okay, if not let me know you may need an older version.by jimeer - BV500
There are two options: 1) update the firmware on the BV500 (*recommended) 2) use BVserial version 15 or less, version 15 is still on the website (http://www.byvac.com/index.php/Downloads) I would however update the firmware to 2.32 (http://www.bypic.co.uk/index.php/ByPic_Firmware). Just make sure that the DTR line is connect, i.e. when you press .r on BVserial it resets the BV500, this conneby jimeer - BV500
yes, use an even number but don't use any numbers below say 10 as there are some I2C reserved addresses that the RPi may not like.by jimeer - Serial & I2C Devices
the address is held in EEPROM and so can be changed via a command (esc(<number>i) the data sheet (http://www.byvac.co.uk/downloads/datasheets/BV4627%20DataSheet.pdf) has details on the command. yes it is done via notsmb or any system that talks i2cby jimeer - Serial & I2C Devices
Hi, very interesting and something I have not done before. ABC 800 single precision 0.9 1.8 6.0 5.9 6.3 11.6 19.6 2.9 ABC 800 double precision 1.2 2.2 10.0 10.6 11.0 17.8 26.4 14.4 IBM PC 1.5 5.2 12.1 12.6 13.6 23.5 37.4 3.5 Apple III 1.7 7.2 13.5 14.5 16.0 27.0 42.5 7.5by jimeer - ByPic
hello, I will put 2.32 on the website later today.by jimeer - Announcements
I have run out of BV508 PCB's a bit early There is a new BV508_V2 coming shortly that uses the surface mount wifi module and it also has an SD card option. There is also a new board that has a rotary control and a 16 x 2 display bith oif these will be available within the next 15 days or so. The devices that run ByPic are: BV500 - IC + there is a PCB kit BV502 - mini max bare bones MX170 44by jimeer - ByPic
hello, bellow is from the ByPic web site with a working example for this device. Jimby jimeer - ByPic
I think if that had been me I would have not been able to make that call (bit of a lightweight). It's nice to hear that you get the concept, actually not that many people do and they probably never will. The concept of write, compile, download, run and test is too entrenched. I have a few products that need Arduino libraries and although the Arduiono is a great concept it is so slow to developby jimeer - ByPic
These can only be used with SD card files. It really needs an example so: this file is called main.bas on the SD card, it will run at start up because its called main.bas function main() print "\nChecking loaded files" if lookup("ROOKIE3_1") = 0 then print "\n** Loading Rookie3 1 **" fload("MX170_~1.bas") flsavby jimeer - ByPic
details are in the Documentation keywords tab, specifically: fload: here frun: hereby jimeer - ByPic
The tutorial has now been updated 5 September 2016by jimeer - ByPic
Jon, the BV500 is exactly the same as the BV507 from a software point of view. There have been some changes recently and I may not have brought all of the tutorial material up to date yet for example rookie 3 uses io_pinRole not io_pinMode. However, there is now a newer way of doing things, most of the site is up to date, sorry about the tutorial. In the new method GONE is rookie, it is noby jimeer - ByPic
James, its nearly always caused by power supply noise which disrupts the EEPROM contents that hold the i2c address and thus communication stops. I have no direct evidence but think this occurs on switch on. A large capacitor (1000uF 16V) on the power line at the entry to the device would help. I can supply the firmware with a fixed I2C address which would also eliminate the problem but you woby jimeer - Serial & I2C Devices
Tinine, I am not sure which one the untested on is. Try this one. The problem is I can't test it because I don't have any BV509 left. If is doesn't work, can you remember which one you had and I will look for it. Also can you make sure that the chip is MX370 and not the MX340. Jimby jimeer - ByPic
James, as I understand it you have lost communication to the bv4627 via I2C. I would not trust the binary prototype unless it was working before as there are too many variables to go wrong it is not possible to say that the interface is working or not. There seems to be no reason not to doubt the I2C master on the hardware side and the software was working before so I have a couple of suggestby jimeer - Serial & I2C Devices
yes, tick was introduced a bit later, the serial is up to 98 now, each increment is a revision. Jimby jimeer - ByPic
Just finishing off an exchange rate project that uses a free api (api.fixer.io) to get the latest exchange rates and then display them to an LCD. There are also news feeds to look at. Jimby jimeer - ByPic
Luke, I have not checked the DHCP so it is probably the ESP firmware, I will look into it with an update. I must confess that I never use the DHCP as it makes the device difficult to find later on when its address changes. Jimby jimeer - ByPic