- Видео 254
- Просмотров 152 697
Evan Venn
Добавлен 20 май 2010
PT15: PIC18FxxQ41 chip Family - Using the Interrupts with the PIC18FxxQ20
This video shows how to use interrupts - this video shows two of the 65 that are supported by GCBASIC for this specific chip family.
It shows how to create an interrupt for Interrupt-On-Change event and Timer0Overflow.
Both of these events are shown on the LED and the oscilliscope.
GCBASIC makes interrupts easy.
Enjoy
It shows how to create an interrupt for Interrupt-On-Change event and Timer0Overflow.
Both of these events are shown on the LED and the oscilliscope.
GCBASIC makes interrupts easy.
Enjoy
Просмотров: 20
Видео
GBASIC PWM Deep Dive - What I use to validate that PWM operates as expected/
Просмотров 272 часа назад
This video shows how to I test to validate PWM operations. There are at least 7 ways to generate PWM signals and this video shows the test program I use to validate that GCBASIC supports a specific chip family. This shows lots of useful information, registers and how the DAT file interacts with the PWM operations. Enjoy
PT14: PIC18FxxQ41 chip Family - Using the PIC18FxxQ20 with PWM - 7 ways
Просмотров 362 часа назад
This video shows how to generate PWM signals - 6 ways. There is one more PWM method for a later video!! It shows step by step 6 ways: PWM type Characteristics PPS required 1 The simplest way Port on and off No 2 The pulseout() way PulseOut() a port for a period No 3 The PWMOut() way PWMOUT() a number of pulses No 4 CCP/PWM way Fixed frequency & duty CCP 5 CCP/PWM way Variable frequency &duty CC...
PT13: PIC18FxxQ41 chip Family - Using the PIC18FxxQ20 with SPI and a GLCD
Просмотров 1427 часов назад
This video shows how to use the SPI library using a GLCD as the slave SPI device. It shows: - How to ensure setup is correct using Software SPI - How to ensure the configuration is correct using Hardware SPI with PPS - How to create Text, Lines, Circles, Boxes etc using the demonstration SPI and GLCD made easy Enjoy
PT12: PIC18FxxQ41 chip Family - Using the PIC18FxxQ20 with I2C and a GLCD
Просмотров 15314 часов назад
This video shows how to use the GLCD library It shows: - How to Use I2C discovery to ensure setup is correct - How to create Text, Lines, Circles, Boxes etc - How a Sprites drawing program works - How the simple Voltmeter works using the GLCD primitives I2C and GLCD made easy Enjoy
PT11: PIC18xxQ20 chip Family - Using I2C Discovery
Просмотров 8514 часов назад
This video shows how to use the I2C MCU hardware and 12C software to discovery device(s) on the I2C bus. Prerequisites: - Installed GCStudio IDE - A method to program a PIC18FxxQ20 This video shows: - How to set up PPS for I2C - How to set up the UASRT - How to use the discovery program to show device addresses - All very simple Enjoy URL for GCStudio download is: sourceforge.net/projects/gcbas...
PT10: PIC18xxQ20 chip Family - Using EEPROM
Просмотров 12421 час назад
This video shows how to write and read EEPROM data. Prerequisites: - Installed GCStudio IDE - A method to program a PIC18FxxQ20 This video shows: - How to write EEPROM data using EPWrite - How to read EEPROM data using EPRead - How to use PICKitPlus to examine the EEPROM - How to use two other methods write EEPROM data - All very simple Enjoy URL for GCStudio download is: sourceforge.net/projec...
PICKIT3 CLONES ARE NOT WHAT THEY SEEM TO BE!
Просмотров 223День назад
PICKit3 programmer clones are not the same as a genuine Microchip PICKit3 programmer. Bit of obvious statement but I got caught out and I am sharing what to look for when buying a PICKit3 programmer. Essentially, only buy a genuine Microchip PICKit3 programmer and this video shows you what to look for when buying a genuine Microchip PICKit3 programmer. Enjoy
GCBASIC: A new application. AVRInfo
Просмотров 13414 дней назад
This video shows AVRInfo, a new application in the GCBASIC toolchain. AVRInfo AVRInfo is a useful tool within the GCBASIC toolchain designed to provide detailed information about Microchip AVR microcontrollers. . It reads the chip definition files and displays various details about the microcontroller, such as: Pin configurations Register descriptions Memory layout Special function registers Da...
GCBASIC: MORE!! Microchip AVR ASM Compilation Trickery
Просмотров 8721 день назад
This video shows that I have published on GITHub a build of AVRASM2 that you can use to compile your ASM source without the complexity of the Microchip tools. GITHub - Download the build from github.com/GreatCowBASIC/AVRASM2 This is a flat directory structure for AVRASM2. Files extracted from Microchip DFP folder structure. This the official assembler EXE for Microchip's AVR microcontroller pro...
GCBASIC: Microchip AVR ASM Compilation Trickery
Просмотров 25121 день назад
This is a fascinating to delve into the intricacies of AVR ASM and the compilation process: 1. AVRASM2 and GCBASIC Validation : - AVRASM2 is an assembler for Atmel AVR microcontrollers. It's used to convert assembly language code (written by humans) into machine code that the microcontroller can execute. - GCBASIC has a validation process that involves using AVRASM2. This process likely ensures...
GCBASIC: Microchip AVR Series. Interrupt driven ADC operations.
Просмотров 169Месяц назад
This video shows how to use GCBASIC with using an interrupt to read the ADC. You can write ADC solutions like this in a few seconds. The video shows using the ADC and it shows to the simplicity of GCBASIC when using an interrupt. This video shows READAD10() results to a terminal. The video shows two methods. 1. Check the serial USART is working. 2. Attached a 10k POT as show in the video. 3. Pr...
GCBASIC: Microchip AVR Series. ADC operations.
Просмотров 201Месяц назад
This video shows how to use GCBASIC with a ADC. You can write ADC solutions in a few seconds. The video shows using the ADC and it shows to the simplicity of GCBASIC when using READAD10() and READAD() these provide 10 bit and 8 bit results respectively. 1. Check the serial USART is working. 2. Attached a 10k POT as show in the video. 3. Program using the example programs. This is very easy to u...
GCBASIC: Microchip AVR Series. Graphical LCD operations.
Просмотров 241Месяц назад
This video shows how to use GCBASIC with a Graphical LCD ( GLCD) You can write GLCD solutions in a few seconds. The video shows using the GLCD and it shows to essential steps to ensure you have the serial and TWI/I2C bus setup. 1. Check the serial USART is working - as using TWI/I2C Discovery ( the next step ) is very important. 2. Use TWI/I2C Discovery to show the address(es) of the device(s) ...
GCBASIC: Microchip AVR Series. PROGRAM memory operations.
Просмотров 163Месяц назад
This video shows how to use GCBASIC PROGRAM memory with ease. You can write and read PROGRAM memory data in a few seconds. This a huge update to the compiler to properly support AVR ( legacy and Dx ) microcontrollers. You can now easily create reference data in PROGRAM memory using the PROGRAMWRITE() and PROGRAMREAD() functions. The video shows writing and reading data in many formats BYTE, WOR...
LGT328p Programming - configuration and usage
Просмотров 118Месяц назад
LGT328p Programming - configuration and usage
GCBASIC: Microchip AVR Series. EEPROM operations.
Просмотров 1722 месяца назад
GCBASIC: Microchip AVR Series. EEPROM operations.
GCBASIC: Microchip AVRDx Series. Using USART/Serial operations
Просмотров 1872 месяца назад
GCBASIC: Microchip AVRDx Series. Using USART/Serial operations
GCBASIC: Microchip AVRDx Series. How long to write a program to flash an LED? with me explaining!
Просмотров 1142 месяца назад
GCBASIC: Microchip AVRDx Series. How long to write a program to flash an LED? with me explaining!
GCBASIC: Microchip AVRDx Series. A deeper dive into ASM. debugging and operations.
Просмотров 1072 месяца назад
GCBASIC: Microchip AVRDx Series. A deeper dive into ASM. debugging and operations.
GCBASIC: Microchip AVRDx Series 0, series 1, DA and DB Support. WOW!!!
Просмотров 3212 месяца назад
GCBASIC: Microchip AVRDx Series 0, series 1, DA and DB Support. WOW!!!
GCBASIC: AVR Series 1, DA and DB Support. Development report 1
Просмотров 1864 месяца назад
GCBASIC: AVR Series 1, DA and DB Support. Development report 1
GCBASIC: DATA BLOCKS! New capability
Просмотров 2064 месяца назад
GCBASIC: DATA BLOCKS! New capability
GCBASIC: AS7262 / AS7263 Spectral Sensor
Просмотров 5096 месяцев назад
GCBASIC: AS7262 / AS7263 Spectral Sensor
GCBASIC: AVR Bitwise testing using OSHONSOFT IDE
Просмотров 2067 месяцев назад
GCBASIC: AVR Bitwise testing using OSHONSOFT IDE
GCBASIC: Floats walk through of the testing process
Просмотров 1237 месяцев назад
GCBASIC: Floats walk through of the testing process
GCBASIC: Floats walk through of converting an LCD program to represent the volts of 0v0 to 5.v0
Просмотров 1507 месяцев назад
GCBASIC: Floats walk through of converting an LCD program to represent the volts of 0v0 to 5.v0
GCBASIC: Floats walk through of the capabilities.
Просмотров 1567 месяцев назад
GCBASIC: Floats walk through of the capabilities.
GCBASIC: Floats progress to date using build 1350
Просмотров 1228 месяцев назад
GCBASIC: Floats progress to date using build 1350
GCBASIC: Floats progress to date using build 1344
Просмотров 2858 месяцев назад
GCBASIC: Floats progress to date using build 1344
Is there a toolbar icon to go direct to the info page rather than search?
Can I confirm that you are thinking of an icon in the GCODE IDE? If yes, this sounds like a great idea. Let me know if you are thinking within GCODE IDE.
@@AnobiumTech - Yes, so you can skip the search step.
Thanks. Nice and usefull.
Microchip has done a LOT of things like this to drive me away long ago. It all started with MPLABX (Which overall I actually liked!) and the acquisition of AVR. However, with the existence of RISCV and CHEAP 32 bit micros near and including it, I dropped Microchip's offerings and haven't looked back since. WCH's CH32V003 is literally lost change levels of cheap... zero reason to use PIC or AVR IMHO.
Great points - PIC, AVR and LGT are still great solutions for when performance and complexity are key drivers. But, there are lots of microcontrollers to choose from today.
Great solution. Well done. Will this new set of include files be part of all future versions of GCB complete installation files so any future new users will get all this by just installing GCB?
Again, a great question. It will be part of the GCSTUDIO installation so GCBASIC users will simply choose with Preferences Editor to use this 'adapted' version of AVRASM2. This way anyone can use AVRASM2 as part of the tool chain with ease.
Great work and explanation. I have a question though, can the typical GCB non-DFP path be used for all devices or is this new DFP path required for new devices from Microchip?
I think this answer your question. If the #include "{chipname}.DFP" is present in the GCB source then the ASM file will be updated with the DFP location. If #include ( therefore with no .DFP ) the standard ( legacy) .INCLUDE "{chip}def.inc" will be inserted into the ASM file.
@@AnobiumTech- Thanks. So the DFP isn’t necessary, just an option if you want to use the .asm with MPLAB X or Studio?
@@FilamentFriday Yes. As part of the development of AVRDx validation of the ASM being generated was essential. Validating the ASM is valid and the HEX generated is the same between GCASM and AVRASM2. So, this new capability is important to the ongoing quality and simplicity of GCBASIC.
Do you have book aboved this?
Thank you for looking at the video. Please clarify the question.
@@AnobiumTech hi, I am Perú, I don't speak English.... Do you have AVRDx series book??
@EdwardYamunaque I have just started a book. The first chapter will be ready soon. I will also be publishing RUclips video to support the book.
Is there XIDE v6.15 can compiler this F1 EVK project or not ?
There is an old MPLAB project. That may be imported into MPLABX but it may not work. GCBASIC does it a lot faster and it works.
Study : Great Cow Basic F1 Evaluation Platform #1 and 2 ... thank you ruclips.net/video/deyMvU0e8_Y/видео.html ruclips.net/video/rd9eGH-q4WI/видео.html
Thank guy nice video
Спасибо. 👁
Please help me sir... Can you tell me if these sensors can measure the intensity of the components of natural light? Can these tell me the intensity of blue or red light present in the natural environment?
I believe so. Check the data sheet for details. Also, send OSRAM an email as they are very good in responding.
@@evanvenn thank you very much sir
Thank you. Very glad. Please give more information and examples for LGT8F328P. I am very interested in an example for displaying information on an lcd 1602 using 74HC164D shift registers.
Can I use a hardware PWM to give me 500Hz, 50%?
If this signal is specified in the datasheet then yes.
@@evanvenn - what datasheet? 🤣 I’m still searching for a decent datasheet for the LGT8F328P! What I meant was your command for say HPWM has a value 10 for 10kHz - can we put 0.5 as the value for 500Hz?
github.com/dbuezas/lgt8fx/blob/master/docs/LGT8FX8P_databook_v1.0.4.en.pdf
@@AnobiumTech - Thank you!
Great demo.
Thank you. Your message means something to me. Grateful.
An outstanding work, and done in a very short time!!!
GCstudio was working fine a few days ago. Probably after the update does not make the LGT8F328P board firmware. I reinstalled the program several times, but with no result. I tried another Arduino nano board, the same thing. I don't know what to do. Was it just my fault, did no one give a signal?
Thank you for your hard work.
I appreciate that! I took the work from Greg and wrote the library. This is so fast to use!
Awesome ❤️ thank you
GCB in great style
The GCBasic compiler is superb! On other point, I don’t use Microchip Studio or MPLAB X, and it took my attention that Microchip Studio licensed Visual Studio 2015 as their IDE (which is also a super robust IDE, albeit a little old) while MPLAB X licensed NetBeans (not bad either as even SIEMENS use it, just not my taste) But its interesting to see that Microchip didn’t unify their environments with so many years of the buyout of Atmel.
Thanks for the feedback. GCBASIC is now 18 years old and still getting better! The strategy for IDE development is clear to me. MPLAB-X and Studio are both valid. From the very recent release the underlying chip description files are the same. The same description files architecture. So, it could be that Microchip support both going forward. :-)
A schematic of the circuit would be appreciated.
The connections that make up the circuit are shown at ruclips.net/video/voTk64iioVc/видео.html The connections for DC/CS and RST are to standard IO ports. The DI/DO/SCK ( Data In/Data out/Clock ) are typically specific to the microcontroller you are using. So, It depends on your microcontroller. What are you using?
Hi! I'm new at gcbasic. I want to output sequence of one's and zeroes from the pin of microcontroller how can I do this?
Hello. Many different ways in terms of structure but the basic is `port.bit =1 or 0`. Visit the forum. There are 1000s of demos, and, there are many that are specific to port On/Off operations. AVRDx is new. Use an older chip unless you part to help develop GCBASIC.
@@evanvenn thank you
🙏❤🙏
The first step is setting of IO register DIRection. Next, is set state of specific bit of an IO register.
Спасибо за вашу работу
Спасибо.
See also EEPROM/END EEPROM
This is an excellent addition. I didn’t realize this wasn’t present in GCB. I’ve used it occasionally in PICBasic so this is excellent work!
FYI @ 5:55 your capture software doesn't record the menus you refer to in the audio
Great spot. I talk through the menus, sorry for omission.
Понял, что чипсы из этой байды получаются так себе, не очень. Спасибо, буду знать. Кстати, если у вас будет возможность выкладывать ссылки на материалы, которые вы используете, то не отказывайте себе в этом удовольствии. By the way, if you have the opportunity to share links to the materials you use, please do not hesitate to do so.
These chips are ok. I use them in preference to Atmel 328p. What issues you had? Resources. GCBASIC from SourceForge has the complete toolchain.
Will the header file/library be included in a future update? Thanks.
Yes, I will post once the library has had a code review. It will be in the next public update.
Спасибо большое .
Are there any particular steps needed to use the Oshonsoft simulator/IDE with GCBASIC? Are these steps the same with PIC as with AVR MCU's? I'm thinking of buying OshonSoft Software Suite personal license which is on special offer. Also how is your donation drive? Can donations to GCBASIC still be made?
❤❤❤❤❤❤
Thanks for all the hard work you are doing. Can you share the code for the PIC and the GCBASIC calculator code at some point, or the test suite setup code? I may need to try testing some large numbers myself. Thanks
Hope that it's a major development in GCBasic. I am writing a firmware where other compilers generated big size of hex file but using GCBasic it was possible to achieve the goal with small code size. Thanks, GCBasic team.
Lgt8f328p более интересно и доступно .
Спасибо .
Hi Evan, Fantastic work, I did wonder why the video series on the 18FxxQ20 had stopped mid way through but now I know you had been very busy with this, will the Single floating point system include trig functions in future ?, please have a £10 donation from us, Thanks, Dave @ BasicMicroUK
Really appreciate efforts of GCBasic team and hope that you will reach soon to this milestone.
Once we have multiply and divide sorted will have a BETA program. Should be some time in March
I will have to checkout that Timer Calculator program, seems that could be useful, no more hand calculations :-)
Do you have any examples around the low power features of chips? For example SLEEP/IDLE?
A good ask... All GCBASIC programs that are not programmed to stay in a continuous loop will put the chip to sleep. Are you thinking of a tutorial on specific of sleep with interrupts etc>
@@AnobiumTech Oh interesting, I guess I just assumed that it would restart the program again if it exits the main loop. Most of my programming is on processors like the ESP8266/ESP32 which can be put in deepsleep to save power and then wake up from an external input or a timer sometimes (push button on reset for me mostly) seems I should just try it, I know I have a few PIC's somewhere. Many years ago I learned ASM on a PIC16F84, but I have not used that for years. A demo of how GC Basic works with sleeping and then perhaps using the WDT to wake it say every second would be an interesting version of flashing a light for example. Watching PT1 of this series I see in the first example you do have a comment that END puts the chip to sleep... I missed that before. I find your videos interesting as I remember the pain that ASM was ~20 years ago, GC Basic sure seems to hide the mess of setting fuses to get the right clock source and so much more.
Спасибо . Ещё не пробовал в деле вашу среду разработки, но обязательно попробую . Случайно узнал о существовании. Удачи вам .
It is easy to use and fast. Он прост в использовании и быстр.
Да. Это сразу привлекло моё внимание .
Спасибо .
Awesome 👍
And for Linux ? what is the installation process ? is there a version for this operating system ?
The Linux build is on the SourceForge download page. The process is relatively simple. I will post a Linux installation very soon.
I always do my obligation with gcb thumb up. subscribed of course.I thought there were no more videos....
I am back making video. I have the 18FxxQ20 and 18FxxQ24 series in production. Also, adding more insight videos into GCBASIC and MPLAB-X
Спасибо .
"PromoSM"
Спасибо . Интересно . Подписался .
👍
goor program perfect explanation it works like a charm and never fails thank you .
Great to hear the solution works so well. Thanks for the feedback!
Great video as always Evan, must get my hands on one of these later chips, played around with TBL in the past great program!