Quantcast
Channel: MCS Electronics Forum
Viewing all 20606 articles
Browse latest View live

PCB's : High Quality PCB PANEL service for EUROPA : NEWTOPIC

$
0
0
This is a service i can recommend highly. The PCB's are made in Europe and so this is best for EU members. I have looked at China and US based services and some of them are good but when inside the EU, their shipping costs are very high. Now i have a great alternative for the EU. First the link : [url]http://www.svet-el.si/proizvodi-in-storitve/tiskana-vezja/1796-pcbparcela[/url] There will be an English version too. Did i tell this is from the Slovenian Elektronik magazine AX elektronika ? I know the director for a long time and that is why i can easily recommend it. Here are the instructions: [size=18:9c71d646d7] Have Your PCB Place General information of the data preparation and order [/size:9c71d646d7] [size=12:9c71d646d7]AX elektronika is joining PCB files from electronics designers and adds them on a big PCB panel. When the panel is full of PCBs we send it to an European PCB factory. All PCBs are electronically tested, doublesided, have Top silk, Bottom silk, Top mask & Bottom mask. [/size:9c71d646d7] [size=18:9c71d646d7] Preparing your files[/size:9c71d646d7] [size=12:9c71d646d7]Your files should have the following extentions:[/size:9c71d646d7] Bottom side: *.GBL Bottom silk: *.GBS Bottom mask: *.GBM Top side: *.GTL Top silk: *.GTS Top mask: *.GTM Board outline: *.GOL Drill file: *.DRL Compress all files (into ZIP or RAR) and send them to our email: bojan (at) svet-el (dot) si [b:9c71d646d7]Detail procedure[/b:9c71d646d7] All data are loaded into CAM SW where we check if anything is missing in the files, whether Drill file corresponds to the actual board files etc. The Board outline dimensions + added 5mm for contour routing are basis for the price of the PCB. If the board is smaller than 20 cm2 (for example 50x40 mm) we will charge aditional 4 Euro for manipullation cost. At that point we send you information about the cost of your board. When you confirm our offer we start with detail check of the files to check width of lines, holes or spaces between elements etc. and send you a preview of the PCB. In the preview we will indicate potential problems. At that time you may check your board once again and if the board has to be changed, now it's the time to do it FREE of charge. All further changes are charged at 5 Euro. When all is confirmed we send you proforma invoice (or charge your Paypal account). When the PCBs are made we ship them to you in the bubble envelope to protect the PCBs from being damaged. [b:9c71d646d7]When will I receive my PCBs?[/b:9c71d646d7] You may check the status of the panel at this web page: http://www.svet-el.si/proizvodi-in-storitve/tiskana-vezja/1796-pcbparcela At the bottom of the page select your language. Web page is translated with Google translate [b:9c71d646d7]Prices of the PCBs:[/b:9c71d646d7] The price for finished PCB is 0.175 Euro/cm2 for ordered area. We make 2 panels means that you can order 2, 4, 6 etc. PCBs. Example: Your board dimensions are 14 x 33 mm, what’s the final price for minimum order? 1. If PCB board area is 4,62 cm2 i.e. smaller than 20 cm2 then add 4 € manipullation fee 2. For contour routing add 5 mm to each board dimension: 19 x 38 mm = 7,22 cm2 3. Minimum order are two boards: 14,44 cm2 x 0,175 € = 2,527 € 4. Add manipulation fee, postage cost and VAT, that's your final price. [b:9c71d646d7]Postage cost within Europe:[/b:9c71d646d7] Non registered letter: 2.18 Euro Registered letter: 5.22 Euro All prices are without 22% VAT. If you are an EU VAT registered company, please send your full data including your VAT id. No. which will enable us to charge you without VAT.

BASCOM-AVR : mySmartUSB MK3 & Bascom AVR : REPLY

$
0
0
Thanks for the reply, but I cant identify the chip. It looks like something is going wrong in the communication. In the myavr documentation for setting the board up in bascom there is a menu called chip programmer, but that is no in my bascom version. Maybe I am setting up the commucation wrong. Im using the mysmartusb mk3

BASCOM-AVR : mySmartUSB MK3 & Bascom AVR : REPLY

$
0
0
in bascom : options, programmer, programmer otherwise, give a link to the docs.

BASCOM-AVR Old versions : pins and ports again : REPLY

$
0
0
By dividing the port and bit it is possible if ALIAS declaration. [code:1:82dc723b79] Heartbeat Alias Portb.1 'heartbeat led Heartbeat_pin Alias Pinb 'heartbeat led [PIN] Heartbeat_bit Alias 1 'heartbeat led [BIT] Config Heartbeat = Output $asm sbi heartbeat_pin,heartbeat_bit ;with atmega1284p, toggle led on portb.1 $end Asm [/code:1:82dc723b79]

BASCOM-AVR Old versions : pins and ports again : REPLY

$
0
0
Thanks for your reply OF, I have tried that previously and I get the following compile errors: Illegal character [expected (, got"[heartbeat_bit}}, in file ..... unknown statement [.equ not found for heartbeat_pin IO address must be in range 0-31 [heartbeat_pin].... I'm still trying.

BASCOM-AVR Old versions : pins and ports again : REPLY

$
0
0
A result that was compiled by modifying your program, the error does not appear. [code:1:2ccd90bf48] $regfile = "m1284pdef.dat" $crystal = 9830400 $framesize = 100 $hwstack = 100 $swstack = 100 ' '------------------------------------------------------------------------------- 'Open a software UART TRANSMIT channel for debug dB9 '------------------------------------------------------------------------------- 'Open a software UART TRANSMIT channel for debug dB9 Open "comc.3:9600,8,n,1" For Output As #1 ' Open "comc.2:9600,8,n,1" For Input As #5 '----------------------------------------------------------- '8 bit counter, 9.8mhx xtal, 1024 prescaler = overflows 37.5 times per sec declare sub timer0overflow() enable interrupts Config Timer0 = timer , Prescale = 1024 Enable Timer0 On Timer0 Timer0overflow nosave 'happens 37.5 times/sec ' '--------------------------------------------------------------------------------- dim btimer0 as byte Heartbeat Alias Portb.1 'heartbeat led Config Heartbeat = Output Heartbeat_port Alias Pinb 'heartbeat led [PORT] Heartbeat_bit Alias 1 'heartbeat led [BIT] Output print #1 , "hello cruel world" Do Loop '***************************************** sub Timer0overflow() '******************************************************************************* 'called 37 x per second 'flashes LED once per sec $asm push r24 ;save r24 in r24, sreg ;r24<-sreg push r24 ;save status register to stack lds r24, {btimer0} ;load direct inc r24 cpi r24,37 ;compare brlo timer0overflo ;br if r24 < 37 clr r24 ;clear r24 sbi heartbeat_port,heartbeat_bit ;with atmega1284p, toggle led on portb.1 timer0overflo: sts {btimer0},r24 ;store btimer0 <- r24 pop r24 out sreg , r24 'get Sregister back pop r24 $end asm end sub '************************************************************************** End [/code:1:2ccd90bf48]

BASCOM-AVR Old versions : pins and ports again : REPLY

$
0
0
Aha - thanks for that. Found it. Spelling mistake ...I had heatbeat_bit instead of heartbeat_bit in the alias statement. :oops:

Share your working BASCOM-AVR code here : GPS Functions : REPLY

$
0
0
just another basic function. converts Knots (string) to KPH(string) 2 decimal points with a trailing "Kph" [code:1:34e1400f3e] Function Speed(knots As String)as String Local Oput As String * 10 : Local X As Single : Local Y As Byte : Local Z As Byte X = Val(knots) X = X * 1.852 Oput = Str(x) Y = Charpos(oput , ".") Z = Y + 3 : Insertchar Oput , Z , " " Z = Y + 4 : Insertchar Oput , Z , "K" Z = Y + 5 : Insertchar Oput , Z , "p" Z = Y + 6 : Insertchar Oput , Z , "h" Oput = Left(oput , Z) Speed = Oput End Function[/code:1:34e1400f3e]

BASCOM-AVR : The first few Print-statements are not displayed in terminal : REPLY

$
0
0
OK, this will work of course. But is there a more solid solution? What if I start the terminal emulator after 10 seconds? There is this example in the Bascom help which also doesn't use such a delay: [code:1:5b9ebb6cd0] ... Dim A As Byte , B1 As Byte , C As Integer , S As String * 4 A = 1 Print "print variable a " ; A Print Print "Text to print." ... [/code:1:5b9ebb6cd0]

BASCOM-AVR : Problem with bootloader - chksum error : NEWTOPIC

$
0
0
Hello all, I am using an Atmega644PA-20 with a 20MHz external crystal. The bootloader is set for 9600 baud, and has the following set: Config Print0 = portd.2 , Mode = Set Config portd.2 = Output 'set the direction yourself This same code appeared to work with a 16Mhz crystal (and the bootloader code was also set to 16MHz). However now, this new bootloader *only works when an AVRISP MKII is also plugged in. Without the AVRISP, an error occurs quickly in the process. Previously, and this may be coincidental, the bootloader worked perfectly when the bootloader, and the chip used a 16MHz crystal. I have seen this before but never could isolate it or understand the problem. Any ideas would be appreciated! Thank you, Tim [b:2452160ce3][color=red:2452160ce3](BASCOM-AVR version : 2.0.7.8 )[/b:2452160ce3][/color:2452160ce3]

Share your working BASCOM-AVR code here : ATXMEGA: Output a triangle wave from XRAM over DMA to DAC B : REPLY

$
0
0
Config Daca = Enabled , Io0 = Enabled , Channel = Single , Trigger_ch0 = Enabled , Event_channel = 0 , Reference = Avcc , Interval = 64 , Refresh = 64

BASCOM-AVR : The first few Print-statements are not displayed in terminal : REPLY

$
0
0
[quote:8d10e5bdad="StSch"]What if I start the terminal emulator after 10 seconds?[/quote:8d10e5bdad] What if you do not look out the window for a minute and people passing by? Yep, you'll miss them, which is pretty normal. Nobody prohibits you to do a reset of your hardware having the terminal already opened and focused. If you do not like the behavior of Bascom's terminal emulator, which stops receiving data, as it looses focus, you can use alternative terminal programs like HTerm.

Share your working BASCOM-AVR code here : Fast library for ILI9325 LCD : REPLY

$
0
0
Library updated. Touch example is specially based on Arduino 2560. Sorry for the delay. You may use both 8 or 16 bit versions on it - depend on display model.

BASCOM Project Blog : Building a Webserver with a Wiznet W5100 : REPLY

$
0
0
Hi Paulvk, I downloaded and tried most of your zip files. Copied the sd card contents to the sd card. Changed the IP address, etc. in W5100_SDcard.bas to match my network. None gave me anything except a blank page in firefox. I tried 26_7_14.zip. Finally got something - an error about the page not being found. I looked through the files on the sd card and found that index.htm is mentioned. So, I put in an index.htm file of my own onto the sd card and it displayed in firefox when I opened the IP address. That was a huge success after 3 hours work trying everything I could think of. I was hopeful that the meters page would work, but it did not. So, now that I see a basic web page working, can you please tell me how to make a variable such as the adc 1 port value show on the web page? Thank you very much for the fine work. This will be a huge help.

BASCOM-AVR : Xmega adc : REPLY

$
0
0
Hi As often the answer is in the helpfile :-) Øyvind

Share your working BASCOM-AVR code here : SAMSUNG-S5230 LCD Library : REPLY

$
0
0
I made this layout with atmeg644 without resistors as a whole with 3.3V power supply, and unfortunately does not work :( I checked dozens of times already connected to the LCD ribbon everything is okay. I use a 16Mhz quartz crystal, but rather that it is not a problem. It's a pity because the tests with Library for the LS020 promised myself a lot with this display. Any suggestions?

BASCOM-AVR : The first few Print-statements are not displayed in terminal : REPLY

$
0
0
OK, I just wanted to make sure that I am not missing the point here. Thanks for the quick replies.

BASCOM-AVR : Understanding FT800 : NEWTOPIC

$
0
0
Hi All. I have a question regarding the operation / use of the FTDI FT800 chip / display. I have the VM800C35A-D. Let's say I draw a X- and an Y axis on the display. I will then sample some data and display them as dots in realtime. Do I then have to send the hole command-list agian, including the XY-axis and the dots, so if I have 100 samples I have to send a command-list with more than 100 commands ???? Or another exampel: You have a screen with lots of buttons and you want one of them to blink, do I then again have to send all the commands for all the buttons ? I hope I have misunderstood something :? Have a nice weekend. Jens Denmark [b:1e616850ce][color=red:1e616850ce](BASCOM-AVR version : 2.0.7.8 )[/b:1e616850ce][/color:1e616850ce]

BASCOM-AVR : Understanding FT800 : REPLY

$
0
0
Jens Before I answer don't be overwhelmed by the amount of work needed to display data or any Graphics because its not as bad as you think. You have to do things in a slightly different way because you are now dealing with a Graphics Processing Unit which has a lot of flexibility and power. [quote:2ca46cd71b]Do I then have to send the hole command-list agian, including the XY-axis and the dots, so if I have 100 samples I have to send a command-list with more than 100 commands ???? [/quote:2ca46cd71b] Don't make it sound that bad :-), yes you have to send everything again but you already did that in the first place by drawing the screen, sampling the data and displaying the plots, so just repeat that process again. [quote:2ca46cd71b]You have a screen with lots of buttons and you want one of them to blink, do I then again have to send all the commands for all the buttons ? [/quote:2ca46cd71b] Again, yes you have to draw everything, you just repeat the routine again with any changes needed. Don't forget all the Graphic drawing can happen really fast (typically up to 60Hz). If you have to erase something on the LCD you don't need to erase that area, just draw the new graphics as needed.

Share your working BASCOM-AVR code here : ATXMEGA: Output a triangle wave from XRAM over DMA to DAC B : REPLY

$
0
0
I did that way but no signal on DACA output. I also tested changing the reference at the DMA line: [code:1:baccb7b49c] ' DMA Channel 0 is used here Config Dmach0 = Enabled , Burstlen = 2 , Chanrpt = Enabled , Tci = Off , Eil = Off , Singleshot = Enabled , _ Sar = Transaction , Sam = Inc , Dar = Burst , Dam = Inc , Trigger = &H25 , Btc = 16384 , Repeat = 0 , Sadr = Varptr(x(1)) , Dadr = Varptr(dacb_ch0datal) [/code:1:baccb7b49c] Replacing Varptr(dacb_ch0datal) with Varptr(daca_ch0datal) But still nothing.
Viewing all 20606 articles
Browse latest View live