Just a little update
I got the PCBs from oshpark and assembled them, discovered mistakes and had to do microsurgery to reroute traces using strands of wire. The switch has 6 ports and is using DMA...
Type: Posts; User: Camel
Just a little update
I got the PCBs from oshpark and assembled them, discovered mistakes and had to do microsurgery to reroute traces using strands of wire. The switch has 6 ports and is using DMA...
Here is the repo
https://github.com/supercamel/PicoLAN
Code will be going up shortly. It needs a bit of a tidy up and it's completely untested on any real hardware.
I hadn't heard of nanopb!
Just reading the nanopb docs on github, it seems like it's basically the same thing. Some points of difference are C3 is C++ not C, which is just a personal preference...
15439
Looking a bit better, so should run on UNO/Nano no worries. Walk in the park for Teensy 3.x.
6 port switch design sent off to osh park. Woot!
Alright, well, I've got something working for reliable transfers. It is client/server based with multiple connection states . . . :rolleyes: Sort of superficially TCP-like but lacks flow control and...
There is no checking for missing frames with datagrams. The socket implementation just blasts out data and hopes for the best. There is error checking at the frame level, but it's just check sums so...
15419
Builds for Arduino Nano & most likely will for Teensy but I've been getting some weird errors with compiling anything for Teensy so need to look into that . .
Unfortunately for UNO / Nano...
Alright, I'm doing this while I've got some holidays. Brief description: it's a LAN kind of like your home network, except it runs on Arduino/Teensy and uses UART. Going with 'picolan' for the...
Purpose is simply to enable a bunch of devices to talk to each other, with built in layers of abstraction that facilitate real-time messaging through datagrams, or reliable transfers through streams,...
I've been toying with the idea of using a switched packet network for a robotics project. A switched packet network, as I understand it, is a network where all devices on the network connect to a...
Nice.
I'm developing a GCS at work at the moment. Not sure what I could publicly say about it, other than it's designed by UAS operators for UAS operators (as opposed to autopilot developers who...
Or you could use two op amps, one as a precision rectifier and one as a sign indicator. That'd work! (yeah i'm not an electronics guy, i'm just bored)
You could use a MOSFET rectifier and an op amp. This would give you one analog input from the rectifier that indicates magnitude of current flow, and the op amp gives you a digital I/O that indicates...
I'd be inclined to use a 50A bi-directional ACS758 if possible. You can measure from this sensor directly from an analog pin.
How have you been finding the beagle bone with it's non-guaranteed responsiveness? I toyed with a raspberry pi for flight stabilization and found it missed intervals by up to 600ms at times. Probably...
Yeah, kind of like protobufs, except it's designed with embedded in mind. Here's some example Arduino code based on the blinky.json file in the github repo
#include <c3.h>
typedef...
Hi,
Cool project. I used a Teensy for a flight controller a few years ago, it's a solid unit.
I had a look through your githut & saw commits by Curtis L. Olsen. I guess you are using...
Hello,
I'm having a tinker with an old project and thought I'd share it. It deals with the problem of getting information from one device to another. This is such a common issue, nearly every...
Ok, so I think I've fixed the issues that you found. I'm still a little shocked that the compiler doesn't optimise the rope constructor, but oh well, that was an easy fix.
ETK doesn't do...
Thanks for the review. It's all a work in progress . . . I think you're the first person other than myself to inspect that code so closely (no one else has flagged any issues, anyway), so I really do...
Thank you for the feedback Paul.
I had hoped that if I posted here there would be at least some appreciation of the technical benefits, but I see that you're quite right about the human side....
You are right, it's all about syntactic sugar, rapid development & safety. I'm hoping that at some point there will be no bugs in the language, and that the ccat compiler will be able to pick up on...
Aah, ok. Perhaps I didn't word that sentance very well. The STM32 project is purely there as an example of the language and what it can do. There's absolutely no reason you couldn't use it with a...
Hello all,
CoffeeCat is a personal project of mine that I feel is ready to been shown off a little. It is a programming language and a source-source compiler that is designed for rapid...
That's some creative thinking there, using a timer. I reckon that will save some people a lot of potential problems. Good work!
Just a quick note on the Ada Ultimate GPS, if you want to get 10Hz...
OK, I've gotten the Serial library working. It's not complete - only USB-Serial works, not the UARTs yet. Making functions available to the VM is clearly documented in the Squirrel manuals, but it...
http://squirreldoc.neonapple.com/v3/frame.html
The reference isn't that great IMO. I think if I were to push on with this project I'd have to create my own language reference, as well as a...
It does, doesn't it? But its quite different. It's not a strongly typed language like C. I'm still learning it myself and so far I think it'd be best described as Python with C++ styled syntax. This...
Yes, that's it.
I nearly went with TeensyNuts for the project name, because a squirrel script is a 'nut'. But I think I'll go with ArduNuts instead. ;)
*edit: Nah stuff it, TeensyNuts is a much better name. Pun...
Woo! I've got a blinky script working. Here's the script
pinMode(13, 1);
while(true)
{
print(millis());
print("\n");
The squirrel VM I've compiled takes up about 63% on a 3.1, and that includes the SdFat library and the Teensy core too of course. So by the looks it's actually bigger! Oh well, I expect the next...
A few months ago I managed to compile a very minimalistic squirrel virtual machine on the Teensy 3.1. The only function that I implemented was 'print()' and then I got distracted by other projects....
12km of autonomous flight. We had some issues at the start of the flight and I stuffed up the pitch controller gains, so the first half of the video is extremely shaky. I turned down the gains after...
Just thought I'd do a little update. Last weekend we did our first successful long range autonomous flight. The flight totalled 7.6km with the futherest waypoint being about 3.2km away - far beyond...
Haha, yeah. I'm not a gifted photographer at all. Should do a night course or something.
I've changed the design a bit. It now breaks out all available digital pins (not including the pads underneath the Teensy) so that it becomes a 6 channel autopilot instead of 4. It uses the latest...
Thanks goodness for the FPU!! I was so close to jumping onto the STM32 bus, but I suspected a Teensy with an FPU might be here soon. Definitely keen to get my hands on a few.
Had a successful flight today.
http://www.youtube.com/watch?v=02Fs6D31xcA
Appologies for the video quality. I really need a gopro or something to film from the aircraft.
I used KiCad.
Will do! I've got a foamy on the way. It should be here this week sometime, so next weekend will be it.
In the mean time, I offer videos of simulations - which aren't as fun I'm afraid. Here's...
Hello,
Don't mind me, I'm just showing off a project.
The project is a flight controller / autopilot for RC planes, with a Teensy 3.1 for a brain. I received four brand new PCBs today. It's...
Hello,
I am also experiencing segfaults on 32-bit Linux Mint 16. It only seems to occur while opening a hex file.
Cheers, Camel
Ahh, sorry for the confusion. Some of the modifications I did to the makefile messed up the line numbers. I should have said the OPTIONS line.
Anyway, this is the first 25 lines of my makefile. ...
Hello,
I have recently purchased a Teensy 3.1 and am currently porting my Arduino Due program over to it. When I compile my program for the Due, it ends up around 100Kb in size. When I compiled...