Author |
Message |
Topic: 1PPS signal Int2 |
jenalcom
Replies: 12
Views: 3241
|
Forum: BASCOM-AVR Posted: Tue Jun 28, 2022 11:26 am Subject: 1PPS signal Int2 |
Try putting a diode (or two) in between the output of the GPS and the input to the micro (cathode to the GPS, anode to the micro). This should raise the input voltage on the micro (with a pull up) e ... |
Topic: OLIMEX AVR-ISP-MK2 Programmer, issues? |
jenalcom
Replies: 9
Views: 620
|
Forum: BASCOM-AVR Posted: Wed Dec 15, 2021 11:48 am Subject: OLIMEX AVR-ISP-MK2 Programmer, issues? |
Perhaps try a different USB cable - some are not always the best |
Topic: OLIMEX AVR-ISP-MK2 Programmer, issues? |
jenalcom
Replies: 9
Views: 620
|
Forum: BASCOM-AVR Posted: Tue Dec 14, 2021 9:52 am Subject: OLIMEX AVR-ISP-MK2 Programmer, issues? |
Don't forget that the AVR ISP II clock frequency should be set at one quarter (or less) of the target clock frequency.
Big problem if you are testing with new chips with the internal oscillator ... |
Topic: RFID data rate |
jenalcom
Replies: 14
Views: 1067
|
Forum: BASCOM-AVR Posted: Wed May 26, 2021 7:49 am Subject: RFID data rate |
I don't understand why you need a lookup table.
Surely if you can programme the RFID fobs in such a way that the lowest byte counts from 1 to 255 then you can put fob 1 at 0.25m from the end and sp ... |
Topic: Using both hardware and software TWI/I2C at the same time? |
jenalcom
Replies: 13
Views: 1044
|
Forum: BASCOM-AVR Posted: Sun Mar 08, 2020 10:39 am Subject: Using both hardware and software TWI/I2C at the same time? |
Too bad I can't let the hardware do the work!
If all your slaves have the same address then how about using some logic IC to select the one you need?
I haven't tried it myself but I have tho ... |
Topic: XMega PDI programmers? |
jenalcom
Replies: 19
Views: 7825
|
Forum: AVR Posted: Sun Feb 09, 2020 4:37 am Subject: XMega PDI programmers? |
We call the ground rail ground for convenience. It doesn't mean that it is actually at a certain potential. The two grounds can be at different potentials (due to power supply problems/leakages/floa ... |
Topic: XMega PDI programmers? |
jenalcom
Replies: 19
Views: 7825
|
Forum: AVR Posted: Sat Feb 08, 2020 2:07 pm Subject: XMega PDI programmers? |
Thanks for the tips. Grounds are secure, all that is fine.
Hopefully you tested the grounds when the programmer and the target were NOT connected together ! |
Topic: XMega PDI programmers? |
jenalcom
Replies: 19
Views: 7825
|
Forum: AVR Posted: Tue Feb 04, 2020 9:11 am Subject: XMega PDI programmers? |
You may want to check that your programmer ground and your micro board ground are actually at the same potential (check for AC as well as DC!). If not then that is where your problem lies! |
Topic: Bootloader |
jenalcom
Replies: 46
Views: 6112
|
Forum: BASCOM-AVR Posted: Wed Sep 18, 2019 7:56 am Subject: Bootloader |
As a work around why not load your bootloader into a blank chip and then use the bootloader to load your programme. Once you have done that you can then save the flash contents (programme and bootlo ... |
Topic: IDE BASCOM wrong display in version 2.8.0 and 2.8.1 |
jenalcom
Replies: 10
Views: 681
|
Forum: BASCOM-AVR Posted: Tue Mar 19, 2019 2:52 pm Subject: IDE BASCOM wrong display in version 2.8.0 and 2.8.1 |
I think you may find that the problem happens when you make changes in your code.
Try to close the programme and re-open and see if it is then OK. |
Topic: Combing 2 strings |
jenalcom
Replies: 24
Views: 858
|
Forum: BASCOM-AVR Posted: Thu Oct 13, 2016 2:10 am Subject: Combing 2 strings |
You get the user to input a number from 1 to 32. But how do you know if the bit is to be set or cleared??
If the bit is to be 'toggled' between set and cleared then you could just use the inputte ... |
Topic: Adding date to EEPROM when programming device |
jenalcom
Replies: 10
Views: 650
|
Forum: BASCOM-AVR Posted: Wed Jan 13, 2016 2:51 am Subject: Adding date to EEPROM when programming device |
Ponyprog will do automatic incrementing of serial numbers but not date or time.
A couple of products I have made, which allow user configuration, I have used Liberty Basic to do the initial setup o ... |
Topic: Help with Connecting uC and other devices to PC serial simul |
jenalcom
Replies: 3
Views: 350
|
Forum: BASCOM-AVR Posted: Sun May 24, 2015 4:04 am Subject: Help with Connecting uC and other devices to PC serial simul |
First: check that the PC TXD line is at +5v when idle (not sending data). If yes then PC is using TTL level data. If set between -5v and -12v then the PC is using RS232 level data.
The following ... |
Topic: Setting Fuse bit |
jenalcom
Replies: 6
Views: 1120
|
Forum: BASCOM-AVR Archive Posted: Wed Aug 27, 2014 3:53 am Subject: Setting Fuse bit |
Try injecting a cloxk signal (say 1MHz) into XTAL1 of the chip. Hold it there while you reset and reprogramme the chip then you should be OK |
Topic: Reading 4 digits Thumbwheel switches |
jenalcom
Replies: 7
Views: 486
|
Forum: BASCOM-AVR Archive Posted: Sun Mar 16, 2014 5:50 am Subject: Reading 4 digits Thumbwheel switches |
Look at this drawing of BCD switches which is an excerpt from a larger schematic.
R2, R3, R4 and R5 are connected to inputs on the micro (low nibble of a port) while the common of the switches go t ... |
|