PDA

View Full Version : Goodbye



queenidog
- 23rd August 2018, 23:47
Just wanted to say goodbye and thank all the people who helped me with PBP the last 10 years. I'm pulling the plug on it and PIC microprocessors and going over to the t other side: Arduino hell.

Someone has really missed the mark regarding PBP and PICs. My PBP and Mecanique IDE are the best, most powerful, and easiest software to use, which I have been doing with my Lab x1 development system. I had a MikroElektronica system as well but used PBP for development instead of Mikro Basic. I sold the Mikro board when I saw the writing on the wall. I also got rid of my stock of about 1000 ICs: TTL and CMOS, and all my 555 and 556 chips.

I tried to find something that would allow me to program Arduino family MCUs (I'm talking boards like UNO, Leonardo, DUE, etc) using PBP and/or the IDE but no one has facilitated this operation. MELabs says nothing is in development. Too bad: there's a ton of money to be made if someone could make the link. Instead I had to learn that crappy C++ language, spending 3/4 of my time fixing typos or trying to figure out what the cryptic error message is telling me.

Why did I change? Because I like the idea of writing code and downloading to a development board that will also be the controller board. With PBP and PICS, I could do the development but didn't have a board to run: I had to MAKE that board. I did this a number of times and all boards eventually worked but all this took time to do. With Arduino for example, I can blink an LED 2 minutes after hooking up a board, then take the board and put it into service somewhere.

I had tons of inventory of PIC MCUs and 6 large binders for the 6 MCUs I used. They were heavily noted and had lots of stickies in them (like the PBP manual) because in 10 years I did a lot of crap!!! I threw out all the documentation, including all the laminated cheat sheets I made for processors.

Arduino has a large following of users. There is an application for everything under the sun. eBay sells a 37 sensor kit for Arduino (just plug in), for about $15. I now have more Arduino parts (sensors, relays, motors, LEDs, etc) and Arduino MCU boards than ever. I have 10 UNO's, a bunch of Leonardos, a dozen Minis, a Due. Some robotic kits I bought all had Arduino boards and "shields" (I have a bunch of shields too).

I looked at the Amicus product by Crownhill and that is EXACTLY what I talking about. THIS is what could have taken Arduino on if the price and availability would have been better. Meanwhile I've been churning out projects like crazy with Arduino, despite it's terrible front end (you can't even print from the IDE!).

So. No more PICs. No more PBP. (I'll keep it on my computer so I can show others how it great it was). I'll get rid of my LabX1 and programmer and other related hardware and cables I made up. I'll give away all my PIC chips (over 100 of them).

See ya. Thanks.

richard
- 24th August 2018, 04:33
Why did I change? Because I like the idea of writing code and downloading to a development board that will also be the controller board. With PBP and PICS, I could do the development but didn't have a board to run: I had to MAKE that board. I did this a number of times and all boards eventually worked but all this took time to do. With Arduino for example, I can blink an LED 2 minutes after hooking up a board, then take the board and put it into service somewhere.

in 10 years you never heard of icsp or bootloaders or even curiosity boards ? all of which do exactly that .

mpgmike
- 24th August 2018, 13:14
Since you had to learn the new C-based language anyways, you could have learned XC8 and taken advantage of all the features MPLABX offers, which probably blows Arduino away (from what I know about both). Plus, like Richard said, Microchip (and 3rd party suppliers) offer demo boards, development boards, and other cool tools to help. I like PIC because I CAN put it on any PCB board I develop. I'm not tied to integrating an entire module, just the processor. Good luck with your new endeavors, I hope Arduino serves you well.

pedja089
- 24th August 2018, 13:55
You mention that you make your board.
So just make ones that are compatible with arduino. It should be really easy, I think eagle have library with board layout and connectors.
So just put your favorite pic in middle, fanout pins, add 7805 or what ever vreg you want.
And you can get best from both world...
Anyway, good luck.

lester
- 24th August 2018, 14:25
I looked at the Amicus product by Crownhill and that is EXACTLY what I talking about. THIS is what could have taken Arduino on if the price and availability would have been better.

We had support for Amicus from Microchip (UK) on the marketing and I spent a crap load of money on the Amicus. What little interest there was has dropped off. I'm about to dump the lot.

Sad times, but even i've moved to Linux Single Board computers now. Ive done only 1 PIC based board in the last 12 months.

Lester

Dave
- 24th August 2018, 17:59
Lester, Please keep me in mind if you are going to UNLOAD any of the current Amicus boards. I heard talk of you maybe laying out a new one. I have been using the few I have purchased at work the last few months and have incorporated them into a few test systems. I currently load them with PIC18F27K40's running PBP3.1 with a boot loader. Beats the heck out of Arduino's. I also like the way you layed out the board with the ports. I sure beats the PICAXE layout. Thanks for all you do....

Ioannis
- 25th August 2018, 16:07
@Lester:

Does the Amicus web site work? It says that it does not work.
Availability and price is a serious factor for a product success. If one has to pay, say 20 euros for the product and 30 to get it by post or courier, I doubt it that orders will come. Unfortunately, China is to far away in this.

@queenidog:

With PBP or Proton Basic, you do things really fast and easy. And they can be used for professional projects too. With Arduino this is not true, as many of the libraries are made by hobbists and may crash or work but with errors.

True that it has a wide base with a lot of lib's and many really cheap shields especially from China, but the question is, can you trust all these things? Other than the easy of use and programming.

Ioannis

astanapane
- 25th August 2018, 19:06
You all miss the real point.

PBP is dying not because there is no interest from the people, but because of major personalities left. Those personalities were helping in here with coding, examples and most of the times, they have spend many hours to explain to newbies and hobbyist the basics. That was the selling point for PBP.

Now i feel like there are only 2 or 3 persons would really like to help, and all the others are looking to make money.

If i had to start now with microcontrolllers, i would go to Arduino, because as a hobbyist i need to do what i ask for in a matter of short of time and fast as hell.

PBP offers the simplicity with a wonderful IDE.

I have no choice to leave or stay. I do not make leaving out of this.

This is only my opinion and as i feel like a hobbyist. I do make simple things for my home, and for my kinds.

If the developers were smart enough to understand the money income from the hobbyist market, i think PBP would be the top of the line IDE of all times.

There are little documented and categorized examples, and all the others are here and there with broken information.

Ioannis
- 25th August 2018, 19:29
This is not fair.

Have you checked this: http://www.picbasic.co.uk/forum/content.php?r=5

and this: http://dt.picbasic.co.uk/

Many good examples and a lot of info.

Ioannis

astanapane
- 25th August 2018, 20:13
This is not fair.

Have you checked this: http://www.picbasic.co.uk/forum/content.php?r=5

and this: http://dt.picbasic.co.uk/

Many good examples and a lot of info.

Ioannis

The book of DT's , i think it is also a part of your wonderful job. It looks like a STAR in the darkness.

But comparing those examples to ARDUINO expanded libraries, which every day there is an update to any bug or additional info to the current ones. It is not comparable.

Everywhere on the internet there is a help file, a help library and start up code for each application.

Anyway now it is late to talk about all these. My luck of knowledge and experience is not enough to make comments. I only said my opinion as a hobbyist. What i receive from this forum as a user is that there are only 3 people running like hell, to cover all the user's needs, and at the end of the day they are fed up to give the right info and positive directions.

richard
- 26th August 2018, 06:59
Now i feel like there are only 2 or 3 persons would really like to help, and all the others are looking to make money

I have never seen anyone really ask for money here, but expecting libraries to be produced for no reward so you can hobby away with
minimal effort is a big ask. i'm always prepared to help but want to see a genuine effort beforehand. just asking for code won't cut it .
I feel that my code could be updated and make better use of the packet engine. if I scrap the backwards combability requirement and maybe even use a small fixed length payload it could be simplified a bit too. I managed to learn a few new tricks bouncing ideas off mike k8lh on the nokia lcd project so these things aren't reward less if you collaborate with the right people . I'm open to suggestion.
nb.
even if some sort of lib is created you realise of course that pbp has no native spi commands . I would expect it to use
some asm and USERCMDS , you have shied away from these things in the past and are you even prepared
to upgrade to pbp3 ?


ARDUINO expanded libraries, which every day there is an update to any bug or additional info to the current ones

don't believe that at all , many libs have major defects that are never addressed. the rfm12b lowpower labs library has never been fixed and
has major bugs just waiting to bite the novice [bugs are often alluded to in the forums, seldom described adequately, seldom fixed]

Scampy
- 26th August 2018, 12:33
For me I tend to lurk around this forum less frequent than I used to. I've not used my EasyPIC5 board to program PICs via PB Pro for a few years now. The last project I worked on (hobby project) was Arduino based because it had readily available library files that suited the modern hardware (TFT screens) I wanted to use. Yes I too found I was spending more time sorting out syntac errors and typos etc, and the structure seemed alien after using basic for so many years, but everything in life is swings and roundabouts. Yes if funds permitted upgrading to PB3 which might have made things easier, but my personal circumstances has meant that I've never been able to justify the upgrade cost which would have included a new EasyPIC board to support modern PICs to make use of the functions PB3 offer.

There was a similar thread http://www.picbasic.co.uk/forum/showthread.php?t=21146 I started a couple of years back and since then I've noticed less and less posts on the forum. I'm guessing that with more and more one board computers coming out that offer far more than an Arduino or a basic PIC people are moving away from the whole project development side of things, where PCBs are designed and built around the PIC, which for me was all part of the fun.

I would agree that it's the people that make this forum, and sadly more and more of the core experienced members have moved away. The loss of DT impacted the forum immensely, and may have been the turning point for the decline. His library of include files filling the gaps left in PBPro and making things a lot more easy to use and efficient. Only a handful of old members still regularly post (Richard, Henrik, Ioannis etc) and should they frequent the forum less and less then the forum will simply gather cobwebs as an archive.

Its a shame things have got in this situation as BASIC is for a lot of people easy to pick up and understand, but IMO PBP has slipped in to decline and has now been left behind. Before Arduino became as main stream as it is now, MikroElectronika was PBP main competition, and they continue to support new hardware both physically through their main development boards and add on modules, but also in their compilers. PBP was slow to follow suit and as mentioned, been left way behind to a point now where it is too costly to catch up.

Anyway, that's my take on things....

Normnet
- 27th August 2018, 13:15
Dumb question. Is Arduino similar to a $50 stamp and is the processor available in its self for $2.00 or so or do all Arduino projects require a $50 board with the supporting circuitry? Also don't forget Meliane as one of the supporting members lost as time went on.

Norm

Ioannis
- 27th August 2018, 13:45
I could not follow you on this Norm. You mean that the Arduino is expensive? If so, chinese boards are available for much less.

But anyway, it is targeted to a different audience, with different expectations and knowledge.

And sure not to professionals in any way.

Ioannis

HenrikOlsson
- 27th August 2018, 16:01
The Arduino hardware is simply a microcontroller (an 8-bit Atmel job in its original form) with a bootloader mounted on a somewhat standardized form factor PCB with headers. There are many different versions of "Arduino" based on many different microcontrollers, from 8 all the way to 32 bits I believe.

It's not running an interpreter but compiled/assembled code from the Arduino IDE (which I believe is built upon the gcc compiler). You can download the bootloader and flash it into a blank microcontroller using a device programmer (which can actually be another Arduino) and it "becomes" an Arduino.

So no, the Arduino is not similar to a BASIC Stamp (which is running a propritary interpreter) and you can buy blank microcontrollers from "anywhere" and program the Arduino bootloader into them yourself.

Ioannis
- 27th August 2018, 21:33
Not just any AVR MCU you like I think. Only those supported.

And then you have to accept and tolerate the limitations of the environment, as you have no word on which pins will be input/output/analog/pwm etc.

Of course this is expected to be so that there is compatibility with the extension boards and libs.

Like what Apple did only Arduino proved more successful.

Great idea for specific purposes (learning, hobby or education).

Ioannis

richard
- 28th August 2018, 03:49
It's not running an interpreter but compiled/assembled code from the Arduino IDE (which I believe is built upon the gcc compiler). You can download the bootloader and flash it into a blank microcontroller using a device programmer (which can actually be another Arduino) and it "becomes" an Arduino.

that's pretty right but if you step away from the Arduino standards things get interesting.
I made a prototype pid based damper controller to regulate room temp on woodheaters all good on Arduino board uno atmega328 . for production I thought I would power it from 3.3v and use int osc to save components . turns out atmega328 won't run at 16mhz at that voltage had to drop back to 8mhz . then the boot loader needs to be replaced
. then could not get reliable loads using int osc , so I had to buy a programmer . then I thought what am I gaining over the pic environment , exactly nothing
xc8 and mcc is just lovely
ps. nearly forgot
when the load fails some times the config fuses get corrupted and the chips have to reprogrammed with a hv programmer they cannot be flashed by an other Arduino
I binned a few till I discovered that little gem

HenrikOlsson
- 28th August 2018, 05:54
Not just any AVR MCU you like I think. Only those supported.
Yes, of course. I didn't mean it could be any 8-bit ATMEL just that the original Arduino is based on an 8-bit ATMEL processor. Obviously you need to use a microcontroller for which support exists in the Arduino environment. The cool thing of course is that "anyone" can add support for devices to the environment which I believe is why you now can program the ESP8266 directly from the Arduino IDE.

I've not used an Arduino for anything. All I've ever done with the IDE is flashing an Openlog blackbox with its firmware.

Of course there are limitation, problems, issues and bugs - as is always the case :-)

Scampy
- 28th August 2018, 09:41
Dumb question. Is Arduino similar to a $50 stamp and is the processor available in its self for $2.00 or so or do all Arduino projects require a $50 board with the supporting circuitry? Also don't forget Meliane as one of the supporting members lost as time went on.

Norm

You can pick up an Arduino Mega2560 board for around £10, and you can also pick up just the chip (probably for around the same amount) but the package if the chip does not make it practical to program it and then use that in a custom designed PCB as you would a PIC. As Ioannis has mentioned, the platform is not aimed at the professional developer

I agree that Meliane was also a good contributor, but there were also a lot of others, and I could be here for hours if I included everyone in that tribute, and most have since moved on.

Normnet
- 28th August 2018, 11:00
You can pick up an Arduino Mega2560 board for around £10, and you can also pick up just the chip (probably for around the same amount) but the package if the chip does not make it practical to program it and then use that in a custom designed PCB as you would a PIC. As Ioannis has mentioned, the platform is not aimed at the professional developer

I agree that Meliane was also a good contributor, but there were also a lot of others, and I could be here for hours if I included everyone in that tribute, and most have since moved on.
You are saying its not practical to program an Arduino supported chip and place it into a custom designed PBC as you would a PIC?
If so is it common for Arduino projects to be made up of jumpered development modules to make up the final project?

Scampy
- 28th August 2018, 14:43
You are saying its not practical to program an Arduino supported chip and place it into a custom designed PBC as you would a PIC?
If so is it common for Arduino projects to be made up of jumpered development modules to make up the final project?

To a degree yes. The ATMEGA 2560 is an 8 bit micro running at 16mhz, with 256 KB of program space, but its in a 100 pin TQFP package which makes programming and soldering to a custom hobby PCB more of a challenge compared to an 8 bit PIC which is in a DIP or SOIC package.

I've just ported a project that was originally developed around an 18F based PIC in DIP package. I developed a custom PCB with all the supporting components on it and then would program the PIC via my EasyPIC5 and then place that into the board. Porting this to the Ardiumo based platform the custom PCB had the majority of the supporting components on it, but the board was designed to plug directly into the header pins on the Mega2560 board, like a large custom shield (as can be seen here testing the TFT screen). The mega was a cloan purchased for £11 from Amazon, and cost less than the individual ATMEGA 2560 chip on its own.

http://www.reptileforums.co.uk/forums/members/malc-albums-controller-picture242266-p1018646.jpg

Normnet
- 28th August 2018, 21:59
Got it...thanks

Normnet
- 29th August 2018, 01:58
For 3 simpler $25 PIC 8 bit plug in modules see Microchip Direct (https://www.microchipdirect.com/) and do a search for PIM and check development tools then 8 bit. Probably not a lot of 8 bit due to they are available in DIP packages for easier prototyping.

queenidog
- 29th August 2018, 15:34
Thanks for all your replies. I wasn't going to come back but I was curious if anyone was agreeing with me...and some did.

I just bought 6 Arduino UNO boards for $12 (CAD) each, all taxes and shipping included. (They were shipped from Canada, but no doubt made in China). These are genuine UNO's made to the specification demanded by Arduino. As such it has a boot loader installed on it and it's just plug and play. I made an ultrasonic scanner using the inexpensive HC-SR04 and an UNO. How easy was it? In under 15 minutes I had one working, using the built in libraries and example code. then I started tweaking it with my limited knowledge of C++ at the time. How would this have been done with a PIC development system and PBP? I likely would have to write the code (with Arduino libraries it was very simple, like 5 lines of code), I would have to set the fuses and all that other overhead PICs require that Arduino takes care of. Once running, I would then have to make a board to have it standalone and I would have to provide an on-board power supply or converter. With the Arduino I downloaded the short program through USB, took the unit (with little breadboard on top) to another location, provided 12 volts from a Walwart and voila! There it goes. I added an I2C display later, again something that took very little time despite not using I2C before.

My current project uses 7-16 bit I2C expanders lighting 110 RGB LEDs. Each LED is addressable. Using the UNO there are only 5 wires interfacing to my project: 3 PWM DIO (so I can fade any light using PWM) for the RGB, and 2 wires for I2C, clock and data. I made a low power "model" that the UNO was quite capable of driving. I'm up to 16 pages of code to display the various patterns and have TONS of space left.

I've been using Arduino for over a year and have not had to update anything. It is very stable. When there is an update to a library, it's usually for more functionality (eg the Wire library for I2C and the Ultrasonic library for the SR04) than for bug fixes.

Having said that, the Arduino IDE is a bunch of crap! Little functionality. No debugger, I can't even PRINT my code. For that I have to cut and paste into Notepad++. The compiler is 10x SLOWER than the PBP compiler. THIS is why I was hoping I could use PBP, to eliminate those disadvantages. I'm sure Dave Taylor (MELabs) could have come up with something.

I've got 3 robots using Arduinos, and my desk has 3 Arduinos connected to 3 MORE projects. No more waiting for PCB to be made and discover the mistakes I made making them. Create something with Arduino and use the board in final stage.8757

The photo I attached shows a breadboard of the I2C interfaces for my display. The green board is one I had made. Yes, I had to make a board, but not the controller, seen at bottom right (Arduino UNO).

Scampy
- 30th August 2018, 00:15
I tried Amtel Studio 7 which is a very good alternative to the basic Arduino IDE, and offers a lot of extra tools.

As I've mentioned elsewhere, I too made the switch because you can get up and running on the arduino platform very quickly and have something running using existing examples and library files. Once you have those examples running, it's normally an east task to modify the example to use it to perform the functions your want. As mentioned I wanted to use a TFT screen for the next version of my thermostat project that originated back in 2009 and was based on an 16F877 and 4 x 20 LCD (and I couldn't have done that without DT and Hentiks help). It would have been a lot of hard work and beyond my expertise to write the code in PB or ASM in order to get it to work, yet on the arduino it was displaying text in around 20 minutes of hooking the screen up and loading the example code. I then played with the commands to make the screen more relevant to the project, and then added an example code for reading an 18B20 sensor and displaying the temperature on the screen... by the end of the evening I had the time and temperature displayed on the screen along with a few additional variables... It makes it so easy to develop projects, but as mentioned, it's base around using these boards (uno, nano, mega etc) at the heart and stacking plug in modules (shields) into them. Where as programming PICs often results in a single custom designed PCB that the PIC plugs into.

It's really a shame that PBP didn't keep up with the pace and support more upto date hardware with standalone include files....

queenidog
- 30th August 2018, 13:25
You and I are on the same wavelength. I remember your name from previous posts I made when I was a PIC user.
I think MikroElektronika would be the way to go. They have the best development system ever made (I had one), with support for their Basic, C++, etc. They also have "modules" though not as extensive as Arduino chaps. I didn't like the Mikro because the Basic was too structured, yet I have to adhere to that structure with my Arduino C++ !! Who knew? Despite that, Arduino is still the better "system" for quick development. I too added LCDs to my repertoire and use the same codes in most of my software for troubleshooting. Also, since even the lowly UNO has dedicated lines for I2C (clock and data), I have now migrated to I2C capable LCDs. Only 4 wires (inc power and ground) required to the LCD now instead of that ribbon cable mess we are used to.

khoog
- 30th August 2018, 16:41
We use Arduino as a tool to quickly check out sensors and other components. It's great for making blinky lights, but it's terrible for learning embedded systems programming. All you're doing is running programs and libraries that someone else wrote, no one knows how they work, and it's almost impossible to track down all the nested routines and libraries that are called for even the simplest tasks.

We don't use PB very much anymore, but we invested in PB3 to help support the product and stay up to date. When we found that none of our existing programs would compile with it (getting error messages that said "unspecified error" didn't help) we decided it wasn't worth spending the time to get it all running. Our PIC development is now all done in C, and we dropped back to 6.1 for the quick test routines.

Art
- 10th September 2018, 14:42
Hmm.. how do you suppose any commercial product could have ever competed with free development environments and compilers?
From my point of view it was about time to quit developing PBP about the time Arduino became a thing,
not that I ever have, or ever will use one, so long as proper C platforms are also free.

I don’t think anyone is surprised. New generation controllers started arriving long ago, but without any support.
After ten years, and having to learn a new language anyway, you might as well adopt a real IDE & compiler for whatever mcu of choice.

PBP was never going to become an Arduino like platform because it’s an expensive commercial product,
but I wouldn’t even compare the two for what they are (or were) in their time.
The Arduino platform hides what you don’t need to know (which is actually what you do need to know), and shields serve to shield people from learning any electronics,
At the end of the day, many so called hobbyists get to plug one board into another, and get to say they made something.
That’s why Arduino represents the dilution of two hobbies to me.

The worst thing about PBP is the manual, which tells you how not to use it, and for me, the best thing was a good avenue to learning assembler,
for which, the last few remaining popular low resource controllers, are probably going to be the last reason to ever do so.

Alberto
- 12th September 2018, 18:30
Well boy, let me jump into this thread with my experience. As a pure hobbist, I moved to raspberry 3
And I have forgotten pbp3 and pics. Don't know why arduino never attracted me.
With raspberry and linux I had to learn python language, but now I am happy to have done it! The few project I have put together with this new hardware, are beyond anything I could ever dream last year using pics and pbp3. So, now and then I pop into the forum to see if something new happens but sadly I see less and less activity all the time. What a pity!

Alberto

Ioannis
- 13th September 2018, 06:44
Alberto,

not all tools are the solution to every problem. If you want just to write a few lines of code and run the code then OK. But you have a full featured computer to blink a led or do some other simple tasks.

Maybe I am seeing this from pure economic-technical aspect, but if one wants to do something in big scale, sure cannot rely on such platforms.

As already said, all these are very good to learn to walk. Then, if you feel ready, you have to run to compete others and these platforms (arduino, raspberry etc) are not the right shoes for it.

Ioannis

mpgmike
- 13th September 2018, 15:29
My approach to moving upward & onward is to learn to use XC8 and MPLAB X. Bought a couple books and have been devoting just a few hours per week learning. The advantage I see is access to all of the MPLAB X tools (like Microchip Code Configurator; MCC for short), simulator, debug, and the various code libraries that abound. Furthermore, the Proteus Studio hasn't kept up with PBP3 and no longer works very well. However, it is fully compatible with XC8.

We are blessed by having so many wonderful options available. Imagine attempting any of the projects you've done in the past 2 years using the tools available in 1995 (UV light to erase the PIC, Assembly programming, multiple pieces of software & hardware to do what is bundled into just one of each now...). I encourage anybody interested in trying something new to have fun. It may not work out, but I bet you learn a whole lot; principles that would help you better with PBP3, and/or whatever you decide to try next. Most of all, enjoy yourself. Few of us use these tools professionally, so it probably isn't that important. Spend some time with whatever you decide to try. You won't "get it" in a day or three. There will be frustrations. And remember, no single platform will be all things to all folks.

Scampy
- 14th September 2018, 00:45
Regarding the comments about having a full featured single board computer to blink LEDs, but that I'm sorry to say is what people want these days. The days where programming a PIC and then using strip board to build a project with supporting timing xtal and associate discrete components has sadly passed. I'm talking about the hobbyist hear, where often than not all they want to do is plug in board X to board Y and load up a sample script and then let it do its thing. For me the Arduino language was very alien after BASIC but I picked it up by cutting and pasting bits of sample code for each device (RTC, TFT, DHT11 etc) to make up the full code for my project, and learnt by debugging the code. It was quick (compared to attempting the same - if at all possible - with PBP) and cheap. But then where plug in boards are concered, MikroElectronika did that decades ago with their EasyXXX development boards, perfecting it with the latest versions where the small modules plug directly into the development board.

The problem is as others have said, PBP has been left behind. I visit this forum daily and sometimes it's weeks between posts in the PBP section. 5,6,8 years back it was sometimes hard to keep up with the posts on all the topics there was that may members contributing. Someone said that what do people expect, PBP is a commercial product and can't compete with an open source platform such as the Arduino, but then again MikroElectronika is also a commercially based product, but they appear to have kept their hardware and software up to date and cater for modern devices as the hardware came out (TFT's for example where simple include files do the basics, or you can use a GUI interface tool to produce the code). I don't know how MikroElectronica compare to MelLabs in terms of size, (Is it just Lester or is/was there a team behind it), but they seem to be the goto platform for the hobbyist who still wants to program in BASIC.


It is a shame really.... but PBP ha shad its day IMO

keithdoxey
- 14th September 2018, 22:22
My approach to moving upward & onward is to learn to use XC8 and MPLAB X. Bought a couple books and have been devoting just a few hours per week learning.

Could I ask what books you bought. I bought a couple of books about C but they dont seem particularly suited to Microcontroller particularly with regard to libraries and hardware.

Thanks

Keith

richard
- 14th September 2018, 23:53
Could I ask what books you bought
in theory "C" is "C" no matter what the platform ,so any book on C basics will get you going.
learning the IDE is the real stumbling block , the xc8 user guide is essential reading
I started with a curiosity board and worked through the example code that comes with it.


it would be nice to see an xc8 support group established here on this forum , a path to enhancing "pic" knowledge and development may keep things going

Normnet
- 15th September 2018, 06:18
Could I ask what books you bought. I bought a couple of books about C but they dont seem particularly suited to Microcontroller particularly with regard to libraries and hardware.

Thanks

Keith

Second edition "The C Programming Language" ANSI C by Brian W. Kernighan and Dennis M. Ritchie is considered a standard although not specifically for microcontrollers as richard said C is C.

Norm

richard
- 15th September 2018, 08:35
http://it-ebooks.info/book/6036/

even though this is an Arduino book the chapters on data types , pointers , structures and unions ,looping functions are good value
and translate well into xc8 . best of all its free

Alberto
- 15th September 2018, 10:38
Ioannis, taking into cosideration the economic and technical aspects of my decision, please read the technical features of raspberry pi 0 w

2835 SOC @ 1GHz
1GHz
512MB of RAM
On-board Wireless LAN - 2.4 GHz 802.11 b/g/n (BCM43438)
On-board Bluetooth 4.1 + HS Low-energy (BLE) (BCM43438)
micro-SD
mini-HDMI
micro-B USB for data
micro-B USB for power
CSI camera connector
Unpopulated 40-pin GPIO connector

All this already assembled on a nice tiny board for only 11 euros! How can I remain with pbp3 and pics?

Alberto

Ioannis
- 15th September 2018, 11:18
I agree, the specs are no near anything in PIC or even Arduino world.

But, will you trust such a board for a professional application? I know you are doing it for hobby, but others will be more skeptic using it.

Still, very tempting!

Ioannis

keithdoxey
- 15th September 2018, 15:51
Thanks Guys,

Just downloaded and installed XC8 and also found a copy of the C Programming Language in PDF format and downloaded that. Need to buy a tree now for the printer so I can get hard copies of the manuals to read in my luch break at work. :)

Keith

mpgmike
- 15th September 2018, 20:37
Could I ask what books you bought. I bought a couple of books about C but they dont seem particularly suited to Microcontroller particularly with regard to libraries and hardware.

Thanks

Keith
"Programming PIC Microcontrollers with XC8" by Armstrong Subero and "C Programming Language, 2nd Edition" by Brian Kernighan & Dennis Ritchie.

Ioannis
- 15th September 2018, 20:37
I for one, am a guy that started with Basic and found it very difficult to jump over to C.

Tried many times but seems too difficult...

Especially the beast called MPLAB-X.

Ioannis

mpgmike
- 15th September 2018, 20:41
I work with Visual Studio's Visual "Basic", which is a blend of Basic & C. That is helping me learn XC8.

Dave
- 15th September 2018, 22:25
I for one will always use the Best compiler I have found in the last 20+ years or so, PBP3.1.1. I have written MANY projects for the company I worked for as well as MANY of my own projects. I was brought up on BASIC and It seems so straight forward that I don't understand why any body wound switch. I'm 66 years old and the new kids on the block seem to get off on the ARDUINO rage thinking they can do anything with a PRE-MADE boards and some LIBRARIES that someone else wrote for them with minimum documentation. Well that's NOT for me.. I just retired (2 weeks ago) from a prominent 2nd tier supplier of automotive electronics after 39 years of being a Test Engineer and have about 75+ different durability pcb's running code written in from PBP2.6 to PBP3.1.1 as I speak. Some are for Keyless entry and some are for Braking and others are for keyless ignition, From RF decoding to RF encoding. I only HOPE that MELABS keep's on supporting the Language as there compiler seems to be the best I have found..
I for one will keep supporting them until there out of business and beyond. Hopefully NOT soon....

Aussie Barry
- 19th September 2018, 00:40
it would be nice to see an xc8 support group established here on this forum

Members seem keen on the "C" language path based on the number of questions and responses regarding available books for beginners.
I too am progressing down this path and note there is a distinct shortage of "friendly" user groups or forums.

I second Richard's comment regarding the establishment of an XC8 support group here on this forum.

Cheers
Barry
VK2XBP

mpgmike
- 19th September 2018, 16:10
In the current (July/August 2018) edition of Nuts & Volts Magazine is an article titled, "Go PICBASIC PRO with C" (pg 78). It is a simple exposure to some of the familiar PBP methods done in C.

Scampy
- 19th September 2018, 18:35
I agree, the specs are no near anything in PIC or even Arduino world.

But, will you trust such a board for a professional application? I know you are doing it for hobby, but others will be more skeptic using it.

Still, very tempting!

Ioannis

I respect your views, but whilst watching this video the guy did a "whats inside" to discover that the product is based around a Pi


https://youtu.be/UtNGVb94TFE

Companies website http://vinylvideo.supersense.com/

So the developers must have confidence in using such devices in a commercial environment.

Ioannis
- 19th September 2018, 20:22
Never said anything about the hardware, which by the way is very impressive, having WiFi, Bluetooth etc on a low price board. A really dream board, either Pi or other flavors.

My concern is about the libraries that someone, somewhere made with usually no documentation.

Ioannis

Dave
- 19th September 2018, 21:46
I also don't want to decipher someone elses code with out documentation. That's a waste the time? It seems to get you off track of the REAL project at hand. I have found that most Libraries aimed for the Arduino system lack documentation. Most designers of the Arduino systems are just PLUG and PLAY type people. If it doesn't work they are on to a new project or modifying someone else's code to make it work for there purpose and NOT documenting it....

IMHO,

Alberto
- 20th September 2018, 00:21
Well, I have to say that while I was learning (and still learning) to code in python 3, I have found all the library in use in my code all well and professionally documented. I think python is the computer programming language better documented today.

Alberto

sayzer
- 20th September 2018, 05:32
I also don't want to decipher someone elses code with out documentation. That's a waste the time? It seems to get you off track of the REAL project at hand. I have found that most Libraries aimed for the Arduino system lack documentation. Most designers of the Arduino systems are just PLUG and PLAY type people. If it doesn't work they are on to a new project or modifying someone else's code to make it work for there purpose and NOT documenting it....

IMHO,

I agree with this.

People with less electronic and/or programming knowledge are using Arduino with ready to use sample codes.
And if there is something wrong, they ask "you" to solve the issue;
So at the end, it gets back to "you" as a headache anyway.

Scampy
- 20th September 2018, 12:38
It's strange how the Arduino platform gets lumped in with the raspberry pi and other single board computers, but the two are so far apart. Unlike the Pi and other single board computers, the arduino doesn't run an operating system (typically linux based). The arduino platform is similar to PICs in that you upload compiled code in a HEX format.

I've only recently dabbled with Arduino's for the reasons already stated, but all the examples I found and used were well documented, either on the website I found them on, or in the comments within the scripts. I was able to either extract parts of the code I needed for my project, or use the complete code as a routine within the code. No different than taking a sample code from the code section on this forum and modifying it to suit my own needs.

Agreed nothing ever stays still, and maybe PBP has had its day. From what I gather, for commercially robust PIC based projects the preferred method of coding is either some form of C or direct assembly code. Over the years I've been associated with many a forum on various hobbies, and have seen them go the same way as this forum, from being so active that its hard to keep up with posts in an evening, to hardly a single post in two or three weeks, all because the company behind the products never kept up with progress. Years back I was approached by a fellow forum member who wanted to give something back by offering a free library for PBP, and between us (he coded and I tested) developed the DHT22 / AM2002 library for that range of sensors. But surely, with PBP being a commercial product, these sort of things should be part of its development and not left to its users to develop ?

Given the above, I can see why a lot of people have move to a different platform or compiler. Which in some way is sad as I used to love the knowledge that I could get a quick reply to an issue from a handful of experienced and regular users.

One of the comments someone mentioned was that these days people seem to want to get something running without understanding what goes on under the hood so to speak. Is that a bad thing? When I coded in BPB I was interested to learn how the code worked, the logic behind it, but I have no real interested in what goes on inside the PIC, with stuff being moved in registers or whatever. The part I often struggled with was when the likes of Darrel, and Henrik helped out and provided code for a project was when there was no alternative but to add in some assembly code inside the PBP code. I appreciate and bow down to their knowledge, but it was no point them trying to explain the ASM code as it never sank in, and when I asked why they had to use ASM it was either because there was no function in PBP to do what was required, or because it was quicker than the equivalent PBP command for some reason.

I never migrated to PBP3 as I couldn't justify the cost for the small amount of hobby projects I developed, so a lot of my comments and experience relate to 2.60c. Also as a lot of my projects could be developed around PICs that my EasyPIC5 supports rather than the newer PICs I couldn't see the need to upgrade. I'll still come back here on a regular basis, just to see how things are, but I sadly can't see myself using PICs and PBP for my next project.

Normnet
- 21st September 2018, 04:59
A somewhat poor analogy but relevant none the less: An OCR (optical character recognition) system was developed to transfer data however was discontinued as it was found a skilled typist could enter the data more reliably that being OCR errors proved quite difficult to spot.

lester
- 21st September 2018, 11:02
I think that you are all missing one very important point.

Arduino and the Pi, have brought into our world a whole demographic of new users, ranging from Chefs to gardeners including artists and clothing designers.

the ease of use and the fact that they can reuse code without having to learn has opened the door

I see the downside, but I also think its great that a 60 year old lady gardener not too far from me, has built her own temp and humidity monitor for her green house. Never wrote a line of code, but built it from a Pi and a then looked at Arduino.

we never saw that from PIC basic of any flavor.

its a good thing to bring in new people from new areas. It reflects the real world fact that electronics now penetrates all areas of our lives. It is no longer a niche area for geeks like me , hobbyists and seasoned professionals ( like me also). personally I think its great that we are seeing these new entrants, even though they are learning the ropes Backwards. By that I mean they buy a Pi, they load someone elses code and make a project, then it sparks their interest and they learn a little electronics.

I dont care how they learn, just so long as it sparks interest and they begin on the road to becoming an electronics hobbyist.

Just think about it, she is 60 years old ( maybe older) she knows no electronics, but she is now one of us !

richard
- 22nd September 2018, 02:00
Arduino and the Pi, have brought into our world a whole demographic of new users

not to mention a vast array of cheap "Arduino compatible" sensors/modules in a breadboard friendly form, making it easy to hook up something up
to test our wildest ideas with no immediate need for a dedicated pcb and better still there is a easy to tap knowledge base for all of them.

no matter what platform you choose the pi/Arduino movement is a boon for all electronics enthusiasts

Art
- 28th February 2020, 04:20
I’m quite pissed. At least one mod or admin will have to know why, and the commonality of what has gone missing.
Unless you want to be stuck with decade old stuff, different ways of doing things (or knowing what PBP does) are more important than they ever were.
I haven’t needed it myself for a very long time & I won’t be back.

Ioannis
- 28th February 2020, 14:07
So, C it is?

Ioannis

Scampy
- 29th February 2020, 02:32
Out of the blue I receive a notification to this thread, I totally forgot I had still set alerts to this board. Its a shame to see so many of the old members departing (by that I mean long serving rather than age :) ). But I personally feel that PBBpro missed the boat long ago, and as such people have had no choice but to migrate over to other platforms, be that MikroBASIC, or C, or moving away from PICs altogether and opting for an AVR based platforms in order to keep up with technology.

Some of you may remember (around 10 years ago) that with the help of Darrel (god rest his soul) and Henrik I developed a multi-channel thermostat for my reptiles using PID routines. A few years later I wanted to take it further and use cheap colour TFT screens, and give it more functionality, but to do so with PBP would be hard as there was no native support... PBP only supported 4 x 20 LCDs at the time, and even GLCD's were difficult unless you used 3rd party serial devices between the PIC and the screen, but then it was still mono and limited in fonts and styles.

I migrated over to Arduino for my hobby projects, and soon had a version of the above project ported to an Adriuno mega, using a 320 x 240 TFT with "official" library file (like and include file) that had simple commands like tft.print to write to the screen. Granted my code was clunky and didn't follow traditional C styling, but it worked. I was recently mentored by a chap on the other side of the world who took my code and mentored me whilst we completely re-wrote the code, steering me away form the normal BASIC structure I was still used to. The bottom line is that I have now taken the project to the next level. Its more compact, efficient, and now does 8 channels simultaneously on a device that is running at less than half the clock speed of the PIC I used to use.

If PBP had been developed (either by the owners, contracted Mel, Darrel and others, or went open sourced) to keep pace with technology (I mentioned TFT's but other devices like Ethernet, WiFi, and a host of sensors like GPS, pressure and altitude were lacking) then I probably would have stayed with PBP. I do miss the way the forum functioned, and mostly everyone would fall over backwards to help even with the most basic of issues, but then if the product doesn't keep pace then there is nothing to keep them here.

Art mate, sorry to see you go... good luck in whatever platform you have chosen

Demon
- 1st December 2020, 21:08
Sorry, you folks are stuck with me lurking. :)

peterdeco1
- 2nd December 2020, 10:54
Look at the date of post #57. It is mind-boggling what has gone on in the world since then. I hope all of you who said goodbye are well.

Art
- 16th February 2023, 20:46
I am thanks :D
I still get people asking about stuff here through YouTube,
even though I’ve been a couple of years without activity there too.
Or someone asks about code for something on YouTube, and the code is here.

I care so little about either that it’s at the point I’d delete some of my own threads here if I were able,
because I consider it all long obsolete!
See u again when I’m compelled to look for something :D

My password for this forum is: 16f84a

:D

Ioannis
- 16th February 2023, 21:16
Are you absolutely sure about that post?

Ioannis

Art
- 16th February 2023, 22:04
Yep, were it within my ability, everything I’ve ever posted here would be gone.
Not through the same negativity as when I left, although that was valid.

Now my view is simply that this forum is a time capsule,
and current projects would be better written with something else,
and also, anyone learning microcontrollers are better off starting with something else.

In terms of helping, etc. If I ever owed anyone anything, it’s been paid off,
and all of our knowledge is built on slippery foundations.
For me to answer questions about my own code now requires a significant amount of re-learning.
Cheers, Brek.

Ioannis
- 17th February 2023, 07:14
I do understand all of that and the old technologie around the PBP, but mainly my question was on the pass.

If that is OK with you then it is OK with us too.

Thanks Brek,

Ioannis

Scampy
- 25th February 2023, 18:27
LOL I'm still getting notifications on this thread...

The only programming of PICs I do these days it to flash firmware for 16F886's to repair faulty telescope control boards and save the members on a forum the cost of a new control board that is based around an SM32 Arm Cortex processor. I'm quite surprised to see the forum is still alive and kicking given the alternatives on the market.

These days if it's not Arduino based products its SM32 or similar... A few years back I used a Wemos min D1 based on the ESP-8266EX to produce a wi-fi enabled thermostat to control the heating element in a DIY reptile egg incubator. It was simple enough using existing library's and allowed me to check the temperatures from my phone or PC based web browser. Technology has left PicBasic Pro so far behind. I wonder what would it would be like if PicBasic Pro became something else, but allowed basic to be used with these sorts of products. I still struggle (I'm 61 next week) with the C+ style, where BASIC seems more logical and familiar to me, so if programs for Arduino or ESP-8266 based boards could be written in basic and then compiled in the format these boards used then maybe PicBasic PRO would not have been where it is now, and this forum would be as active as it was 10 or 15 years ago ??

I'm with Art in some respects. Probably all that has been posted on this forum is basically historical, for use as reference. Maybe it's not even that and it wouldn't be too much of a loss if the data was deleted as it's not really relevant given how home electronics has progressed. Then maybe it should be just mothballed as some form of tribute to the days where it was difficult to keep up with the replies to a post from the Gur's when us newbies were struggling.

Ioannis
- 25th February 2023, 19:02
PBP will not evolve anymore as Charles posted elsewhere. People who developed this fine compiler have passed away or retired or are very close to retirement. So obviously not new version is expected anymore.

There are other basic compilers now on the market that support the newest PIC and seem they will be supported, at least in the near future.

Times they are changing (B. Dylan).

Ioannis

mpgmike
- 26th February 2023, 16:58
When I decided to break into microcontroller programming, PICAXE seemed like the simplest choice. That got me started. I quickly realized it was too limiting; chip selection was fixed, and the PICAXE limited even the functionality of the chips. Next step was PBP.

That carried me for several years. I stepped up to learning C and using MPLABX. There is always more to learn. I believe PBP is a great place for hobbyists to start learning. Many find PBP sufficient for their needs. Some use it as a stepping stone.

Scampy, you moved on. That's great! You now have access to more powerful tools. That still shouldn't detract from the value of PBP and the incredible resource this site offers. I personally almost never use PBP anymore, but continue to hang out here and contribute when I can because I personally see value, and a community of good people willing to help others in their challenges. That "people thing" is not found on many other sites.

Ioannis
- 26th February 2023, 19:21
That "people thing" is not found on many other sites.

Mike is right. With a really couple of exceptions many many years ago, this forum is one of the best regarding the quality and attitude of the members.

And all are very grateful to have Lester supporting and keep it working despite no income from any source.

I wonder if there is a way to have it off-line on a disk for example, for the case it will cease operation for any reason.

Ioannis

Ioannis
- 26th February 2023, 19:47
Scampy and Mike, I am really happy for you and everyone that makes the bold move to other tools. I am too reluctant to dare that and still use the PBP.

Ioannis

lester
- 26th February 2023, 19:52
I wonder if there is a way to have it off-line on a disk for example, for the case it will cease operation for any reason.


Yes, its possible

Because of GDPR i would need to remove all user identification
- email address-IP address etc

But its possible to run the whole system as a virtual machine under virtual box or xen or similar

Though i will keep the forum online if it is within my power.
I dont think i can devote time to this in March
But in April. I could certainly do something.

Ioannis
- 26th February 2023, 21:52
I naively thought web archive would have the forum archived but obviously that could not be done.

Ioannis

lester
- 26th February 2023, 22:10
I do not think waybackmachine can trawl and store the forum

Ioannis
- 27th February 2023, 18:03
Since a login is required the wayback cannot do that.

Ioannis

Demon
- 29th March 2023, 01:45
No goodbyes from me. :)

I'm back, I need to write a basic USB keystroke program. Nothing fancy, just sending a "button" to AxisAndOhs (an interface for Microsoft Flight Simulator 2020). Not sure how AAO will recognize the button yet, only one way to find out.

If you're moving on, I wish you well. If you're sticking around, nice to have you.

:)

Ioannis
- 29th March 2023, 12:02
Long time Robert! Everything OK?

Ioannis

Demon
- 1st April 2023, 01:09
Just getting old. Getting my neurons back in action. Can't find my U2 USB programmer, so had to get a PICkit4. I'm also getting back into flight simming, so my first PBP project is an instrument panel for all the buttons, switches and dials, starting with the Cessna 152. I hate using a keyboard, especially in flight sim. this is a layout of what I'm planning. Nothing fancy, no LCDs or lights, just using joystick button USB feature.

https://i.imgur.com/qFSGc5e.png

I finally got a really nice graphics card, I'm running MSFS 2020 maxxed out on 6 screens (3x22" and 3x19", will have to lower res a bit online). Now I just have to make a decent workspace beside my PC. Sitting at 24R in Montreal in the Cessna 152. :)

https://i.imgur.com/f5QWZzA.jpg

Demon
- 1st April 2023, 01:16
Now this is the really cool part. That previous pic is taken from the "workstation" side of my desk. All 6 monitors rotate 180deg on a swivel towards the "gaming" side. Was lucky to get a set of like-new Acura RSX seats for cheap. My longterm plan is a 2-seat flight-sim arrangement.

https://i.imgur.com/0AiCQZa.jpg

That elongated black box on the swivel arm is a UPS. All components run through it, trying to save them from power surges (just got a few while I was typing my prev post). The UPS also serves as a counterweight, the monitors are several inches in from of center of rotation (those two triple supports are not lightweight either).

Robert

Ioannis
- 1st April 2023, 10:59
I can only say... WOW!

Very nice. Wish you happy flights!

Ioannis

Demon
- 4th April 2023, 00:30
Right now I'd be happy getting a clean compile in MPLAB-X for a 16F877 on a LAB X-1 board. :D I pulled this code from one of my old folders, I assume something is no longer supported, or I forgot to include some library or some such (I added the blockchain using that youtube video).


ADCON1 = 7 ' A/D off, all digital
ASM
@ DEVICE PIC16F877, HS_OSC, WDT_OFF, PWRT_ON, BOD_ON, LVP_OFF, CPD_OFF, WRT_OFF, DEBUG_OFF, PROTECT_OFF
ENDASM

DEFINE OSC 20


LED7 VAR PortD.7
LED6 VAR PortD.6
LED5 VAR PortD.5
LED4 VAR PortD.4
LED3 VAR PortD.3
LED2 VAR PortD.2
LED1 VAR PortD.1
LED0 VAR PortD.0

TRISD.7 = 0
TRISD.6 = 0
TRISD.5 = 0
TRISD.4 = 0
TRISD.3 = 0
TRISD.2 = 0
TRISD.1 = 0
TRISD.0 = 0

LOW LED7
LOW LED6
LOW LED5
LOW LED4
LOW LED3
LOW LED2
LOW LED1
LOW LED0

START: HIGH LED7
PAUSE 500
LOW LED7
HIGH LED6
PAUSE 500
LOW LED6
HIGH LED5
PAUSE 500
LOW LED5
HIGH LED4
PAUSE 500
LOW LED4
HIGH LED3
PAUSE 500
LOW LED3
HIGH LED2
PAUSE 500
LOW LED2
HIGH LED1
PAUSE 500
LOW LED1
HIGH LED0
PAUSE 500
LOW LED0
GOTO START
Finish: end


I'm guessing that ASM statement is probably no longer good; got some reading to do. MPLAB-X error messages remind me of IBM manuals. :D

Ioannis
- 4th April 2023, 10:48
Is this correct? I do not use the MLABX IDE so maybe I am wrong.



ASM
@ DEVICE PIC16F877, HS_OSC, WDT_OFF, PWRT_ON, BOD_ON, LVP_OFF, CPD_OFF, WRT_OFF, DEBUG_OFF, PROTECT_OFF
ENDASM


Ioannis

Demon
- 4th April 2023, 15:43
Is this correct? I do not use the MLABX IDE so maybe I am wrong.
Ioannis

Yeah, that's wrong. MPASM is no longer supported by MPLAB X.