You guys will buy your AVRs from … Microchip from now on :)

atmel-vs-microchip-

It’s done! The painful and slow sinking of Atmel seems to be over now.

We knew for a long time that thing do not go well with Atmel due to their poor management. The Arduino wave kept them for a while above the water level, but in September 2015 they announced that are about to sign with the world unknown company Dialog Semiconductor deal for $4.8 billions mostly with shares exchange, but as the time pass the shares of Dialog Semiconductor went down and this deal was looking not so attractive as before, and Microchip offer for $3.56 billions in shares become more attractive!

Microchip in other hand continue to expand and never have been better – they are buying company after company and already have the IC portfolio of SMSC, MICREL, SST, Novocell etc etc and what is better, each time they buy company they improve the availability and make these chips more easier to buy and deal with. This with the nice application notes and support is the Microchip receipt for success.

Our experience with SMSC and MICREL was that these companies were working with just big customers and smaller companies couldn’t buy directly, while Microchip sales channels can satisfy both big and small customers. After Microchip bought  these companies, they improved the availability and made these chips easier to buy for the small customers. Atmel is in the same state – probably this was the major reason to sink, although Atmel have similar products like Microchip and even better open source software support, they sales are terrible hard to deal with. Many components prices go unexpected up and down as Atmel production capabilities are humble, once some big customer place large order for one chip they stop making others and this make impossible to use them for serious projects. Once you put AVR in your product it is not unlikely these chips suddenly to go on allocation due to the poor management and planning Altmel has, something which (almost) never happen to Microchip.

I guess Microchip will not cut AVRs supply but it’s unlickely they will keep developing this line when they put so much efforts in the PICs, to keep duplicate development teams for similar products is not practically. More probably is they to invest in ARM line expansion as this is something they missed yet.

For years Microchip top management was like mule on bridge not wanting to step ahead 🙂 They were refusing to buy ARM licensee and bet on MIPS and they were missing a lot of sale opportunities with this odd decision. Whatever they do with PIC32 it’s not so successful like the STM32s and LPCs and they miss sales for millions $$$. This is not because MIPS architecture is bad, quite opposite it’s well developed in networking devices, but MIPS Soc from Mediatek running Linux at 400Mhz cost $2 while Microchip sells MIPS PIC32 with no MMU running at 80Mhz for $5-6.

Now with Atmel they got lot of ARM licensees and with their efficient manufacturing and great sale channels this give them access to the ARM sale market and other companies got strong competitor.

PIC-WEB-BOX demo video

Image

 

PIC-WEB-BOX is embedded PIC web server using Microchip’s Open Source TCP-IP stack with two buttons, RS232 interface, UEXT connector, two GPIO connectors, Status LED, 2GB Sd card for web storage. The power supply can be in range 9-30VDC and the low consumption makes this board perfect for controlling things over internet or to read sensors etc.

We setup video where you can see how easy is to program it and using the build-in bootloader you can change PIC-WEB-BOX firmware over the net via TFTP.

UART, I2C, SPI interfaces are available and the video demonstrate how you can drive 4.3″ LCD, Relays, measure temperature with thermocouple etc.

SD card with 2GB is build-in for web storage.

PIC-WEB-BOX is with small enclosure.

 

New PIC-WEB firmware allow UEXT modules access over the web

Image

PIC-WEB with Microchip’s TCP-IP stack allow development of easy applications for the web. The best thing is that you don’t have to be PIC programmer nor to know C, you can make all your project in html, java script, ajax and you have all PIC resources as dynamic variables so you can toggle GPIOs and read ADC values etc in your html code.

We decided to extend this as PIC-WEB have UEXT connector, now you can access UEXT modules in the same convenient way, as Stanimir developed I2C and UART interface in the Microchip TCP-IP stack.

As you can see from the picture below:

Image

in the web resources you have I2C interface and thus you can send I2C commands to MOD-IO for instance over the web and drive relays ON and OFF, also read I2C sensors attached to UEXT connector.

The same resources for UART are also implemented:

Image

and this way you can interface MOD-LCD4.3 over the internet:

Image

for instance this happens when you send Clear command to the LCD over the web:

Image

so with the new firmware you can have access to all UEXT module resources: relays, sensors, LCDs etc.

Friday Free Board Quiz Issue #21 prize is PIC-GSM

Image

Christmas is approaching and our prizes become bigger and bigger 🙂

With PIC-GSM you can control 2 relays via cellular GSM phone or over Ethernet, you have optoisolated inputs, microphone, tos of GPIOs and backup battery.

So implementing on your GSM house monitoring or controlling your home heating system or solar panel via GSM or Ethernet is possible to be implemented with this board.

Today at 17.00 o’clock our local Bulgarian time (GMT+2) we will post on Twitter our question.

You have one hour to reply to our tweet with the correct answer.

At 18.00 o’clock we will count the correct answers and ask random.org to generate random number in range then anнounce the winner and ship the board by airmail next Monday.

Good luck!

LDmicro will turn PIC-IO, AVR-IO, AVR-IO-M16 and MOD-IO into PLC

LDMicro created by Jonathan Westhues is nice free program which can turn any PIC or AVR microcontroller in PLC with ladder logic.

The list of the supported devices is:

  • PIC16F628(A), PIC16F88, PIC16F819, PIC16F877(A), PIC16F876(A), PIC16F887, PIC16F886
  • ATmega128, ATmega64, ATmega162, ATmega32, ATmega16, ATmega8

LDmicro allow you to make your ladder schematic then to generate HEX code which does the ladder logic implementation in program code which you program to your AVR or PIC and got the ladder logic functionality.

LDmicro have interfaces in 7 languages, here is nice tutorial how to use it http://cq.cx/ladder-tutorial.pl

Forum is available where you can ask for help if something doesn’t work as expected http://cq.cx/ladder-tutorial.pl

PIC-IO supports PIC16F628 and AVR-IO supports ATMega8 you can use these boards with LDmicro, AVR-IO-M16 and MOD-IO have ATmega16 on it so they are ready to go.

You will need also programmers to load the generated HEX files to the boards, for PIC we recommend PIC-KIT3 and for AVR we recommend AVR-ISP-MK2

LDmicro adds nice functionality to PIC-IO and MOD-IO, AVR-IO, AVR-IO-M16 and offer yet another option to program these boards.