Gateway device
-
very interesting! I didn't know neutrino, pretty nice board. Seems there will be some work on software part but it is doable like you said. And you will have more power, which is nice for the GW I think, and I like when chip is usb compatible (like pic18f4550 ...). Maybe one day, it will become HID, lol!
-
I didn't know of the neutrino (or arduino zero) before @blacey mentioned it to me, and he finally got me convinced that I should swap the atmega1284. (I know that @axillent tried to convince me to use another chip, than the atmega, before.. But when you find this, and it can reduce board complexity..)
-
@tbowmo: it is likely same things for me. lots of 8/16bits chip collection (microchip). but never moved to 32bit even if i have a 32bit usb bit wacker (not time to test it). I was thinking that you can do lot of things with 8bit chips. So yesterday, I have read a little the datasheet atsamd21. Wow, 1077 pages! But there is lots lots of features! I think I will try to order one sample for my collection! Plus, these chips seems to be not expensive but there is some learning curve on it. I think Microchip have missed a big move with arduino platform!
-
A couple of late night shots, of the progress..
Getting ready for the first prototype spin of the board
-
That right there is a work of art!
-
You may be interested in this Arduino shield:
http://www.ebay.com/itm/WireLess-Gate-Shield-DIY-Maker-Seeed-BOOOLE-/171713943896?hash=item27faf2d958It has both NRF24L01+ and RFM69HW radios.
-
@tbowmo this gw is looking good, hope the prototypes get to you soon!
-
The first pcb's have arrived today.
They came a bit faster from dirtypcbs.com, than I had expected. So haven't even sourced the components yet.
So need to look into that the next couple of days.
with W5100 / NRF module "mounted" :
-
@tbowmo No mounting holes?
-
@ServiceXp
As we need to bring things to life on a new MCU core (Cortex M0), I decided to just make a "simple" dev board, without holes. They will probably be added on the next iteration of the board. (Besides that, 3 of the corners are a bit crammed with components, so no place for the holes anyway.)
-
@tbowmo: very beautiful board. I can't wait to see how it will work. And your feedback about dirtypcb. I often use seeed for their price. But dirty seems good too regarding their shipping rates. I like osh sometimes for their beautiful boards.
-
Haven't tried any of the other "cheap" board houses. But I'm glad for the quality that dirtypcbs are delivering, and the price can't be argued about..
-
thx good to know.
-
-
great
-
Just learned a lesson the hard way, the last couple of days.. Discovered that I hadn't read the datasheet for the atsamd21 good enough, so I had connected all the PINS for the SPI / UARTs completely wrong. Which means 10-12 connections that was wrong (the board uses 3 SPI ports and 2 UARTs, one SPI doubles as UART, depending on the network interface connected)
So new boards are in the pipeline from dirtypcbs.com
This is btw improved on a couple of other points, compared to the previous board. Biggest is, that it now has 4 x 3mm mounting holes, (happy now @ServiceXp ? :)). It also got a couple of extra solder jumpers on the backside, that could be used for software configurations, or test points.
-
@tbowmo: what a bad luck! but it is so easy to miss something when you look at the datasheet size
I hope you will get it working like you want, I am sure
I like your enlarged pads for 0402. Is it easier to solder like this? Do you handsolder it? Do you think using 0603/0805 with no enlarged pads would take same place???I am asking this for my future designs, in case. But 0402 is so small...
-
I'm using 0603 components this time, as I'm not under that big a space constraint, as on the sensebender micro.
The biggest issue is the finepitched SAMD21, have to be extra careful not to make solder bridges between the pins..
-
@tbowmo: 0603, cool. I have some samd21 sample but have not tried to solder them. it looks tiny but I think I will be able but not without some
thank you for your precision
-
atsamd21 comes in 3 variants, with 32, 48 og 64 pins (If I remember right). I'm using the 64 pin variant
If things go well with this one, then I might make a sensebender micro 2, with an 32 pin atsamd20 (almost the same as d21, but without USB host/slave capabilities)
-
@tbowmo: oh, i have the 48p variant. so I will try to use it in another project in the future. and will order other sample.
sensebender micro2 atsam, wow, crazy thing! could be fun to see this
-
@tbowmo Now that's what I'm talking about.. Those holes look so sexy.... wait, that doesn't sound right.... :bowtie:
-
@tbowmo How is the testing going?
-
@ServiceXp
I just received the PCBs for the second prototype spin yesterday, the first spin had too many errors in the routing around SPI / UARTS so I decided to ditch it, and do a second spin. Dirtypcbs got some hickups processing my gerbers but finaly made the boards.
I hope that I can get around to assemble one this weekend, but I can't promise anything, as I have been loaded more than 150% with work (both from my employer, and from the wife).
-
@tbowmo Sounds Good, Thanks for the update.
-
Images of the latest pcb's (Before SMD assembly)
Unfortunately I "injured" my back today (aah, maybe not injured, but feels like it :() so I'm on strong medics to keep the pain away. That means that didn't get around to do the SMD assembly today as I planned, as I can't sit at the desk for a longer time.. hope that it gets better during the weekend.
-
@tbowmo Oh now that is sexy.. From someone with back problems, you take it easy for the next 3 days Sir!!
-
Aahh.. I'm back in the man-cave. Been too long since I had a chance to power up the soldering irons..
Anyways, I've mounted the first of the second prototype spin, so next up is getting firmware written, and tested..
-
@tbowmo: it looks very nice. I like the way you place components. I think I need to look more at your design and learn
With a firmware, it looks promising
-
Thanks I hope that I at least can get some LED's flashing tonight :). And then perhaps the bootloader programmed.
/ Thomas
-
-
yeah
-
A small update before I hit the bed tonight..
I've got radio up and running on the SAMD, and got the first message from one of my sensebender micros through to my pc.
It's still in debug mode, using a serial port on the samd as output (And my logic analyzer to decode the serial stream). So no ethernet / wifi or the like up yet.
The next step will be to have it use USB instead of the serial port..
-
good work!
-
Great! I will buy one of these as soon as this is working as you want
-
Wow - excellent! I'd buy one
-
a new small update..
Got it working as a serial GW.. Receiving the first messages from one of my sensebenders..
Also got the ethernet going, this is not integrated with the mysensors parts though, as I have to refactor nrf / ethernet libraries a bit, in order to support multiple (HW) SPI interfaces..
-
@tbowmo said:
Got it working as a serial GW.. Receiving the first messages from one of my sensebenders..
Also got the ethernet going, this is not integrated with the mysensors parts though, as I have to refactor nrf / ethernet libraries a bit, in order to support multiple (HW) SPI interfaces..
Sounds great. I'm definitely interested in using this as a gateway as well. Any chance you're going to add SPI transaction support to those libraries (more info in my post here)? I know there are RFM library versions that have that as well (see here).
-
Here is more hw spi ports available on this beauty. So radio and ethernet is separated on their own spi bus. There is a 3rd spi bus available on the MYSX connector, that is at free disposal to the end user.
-
Nice - I forgot that you upgraded and weren't using a 328 processor.
-
A small Christmas progress update.
I got external eeprom, and w5100 module running now.
That means I have a working ethernet GW running with nrf24 running on SAMD.
I'm waiting for rfm69 modules from China before I can verify that this part also works as expected.
An ethernet GW with hw signing is using 35.988 bytes, or 13% of the available flash size, which is 256kbyte. So we have "plenty" of room to do other fun stuff on the GW
-
I have updated the original posting, with updated hardware details.
- Removed the ESP8266 from the feature list (It's supporting the mysensors library native).
- Removed onboard SPI flash, but will probably add sdcard / micro sdcard reader
- Might add battery backup for an onboard RTC.. (the SAMD have an onboard RTC, only using 2-3uA in low power RTC keep alive mode)
-
@tbowmo: I love your project , I can't wait to try your awesome baby GW
I agree with you with your updates too. RTC could be interesting.
Humm, when I see price and memory, I am very tempted to update one of my sensors board with atsamL21 family to give a try...do you have an advice for a good&cheap jtag programmer???
-
I'm using an atmel jtagice3, with a custom PCB for converting from jtagice3 pinouts to standard cortex m0 debug connector. (have plans on selling this converter board elsewhere sometime in the future)
I got the jtagice3 5 years ago as a gift from atmel, for attending a course on their xmega series of MCU's. Don't know of any cheaper alternatives out there
-
Hi. How far from finished is this gw? It looks awesome. My is acting fishy and I need to order a new one. I can wait some for this if you have some sort of eta.
-
oki, thx I see for connectors..I will look if I can find a cheaper "working" alternative for atsam...
-
My best guess is that this will probably be end Q1 2016, as I have to verify RFM69, and probably have a second look at some kind of battery backup for RTC, and sdcard reader. (I have a sdcard reader breakout board, so I should be able to verify that part relatively quickly)
We have also discussed this briefly in the "core team" we would like to have the next revision of the library out first, because support for the GW is only in development branch at the moment. So to minimize confusion on what branch to use for the board, we would like to have an official release that supports the board.
-
@tbowmo Ok thanks for a quick reply - looking forward to your gw! I will buy me a new gateway from ebay to secure my HA, but when you needs beta tester let me know as i already use dev.
-
I know that things are not progressing as fast with the GW. There have been some non mysensors bumps on the road, and I still have some to overcome.
If it wasn't for that daytime job, that takes up too much of the precious spare time that could be used for fun hobbies like mysensors, it would have been finished a long time ago
-
Didnt mean to rush @tbowmo - it looked so good at the pictures so I thought it was ready soon!And yea... that thing called daytime job takes way to much time
-
New comments should be in the thread over in the open hardware section here