Go to advanced search

by davej
Fri Apr 05, 2013 10:35 am
Forum: Troubleshooting
Topic: Raspberry robustness
Replies: 2
Views: 904

Re: Raspberry robustness

Are the USB devices you used generally available ? If so, what were they ?
by davej
Tue Mar 19, 2013 9:58 am
Forum: General discussion
Topic: Secure client (Raspberry Pi) initiated video file download
Replies: 2
Views: 427

Re: Secure client (Raspberry Pi) initiated video file downlo

Well, I would break it down to 2 separate problems; command & control and bulk transfer. I would solve the CC issue with scp, rsh and cron, ie every day (via cron) each machine would download a script from the central server (via scp) and execute that script. The bulk transfer then becomes a flexibl...
by davej
Mon Feb 18, 2013 8:15 pm
Forum: General discussion
Topic: Control Raspberry Pi with another Program
Replies: 16
Views: 7124

Re: Control Raspberry Pi with another Program

Thanks I'll look into this OSC UDP. You seem to know a bit about this. What confuses me is this. Don't both programs have to act as Client and a Server? I'd like the RPi to "push" data, like send the temps for example,every second or so and have the Laptop see these pushes. And also, I'd like the L...
by davej
Mon Feb 18, 2013 7:04 pm
Forum: General discussion
Topic: Control Raspberry Pi with another Program
Replies: 16
Views: 7124

Re: Control Raspberry Pi with another Program

Well now I'm not sure. I googled the XMLRPC library for VB.NET and it looks just as complicated as using sockets? This weekend I sucessfully coded a Server / Client in Visual Basic (I'll provide the code below). Well, If you use OSC on the server side, the server essentially disappears, and the cod...
by davej
Mon Feb 18, 2013 5:31 pm
Forum: Beginners
Topic: What is the difference between ARM and x86 Linux?
Replies: 6
Views: 4610

Re: What is the difference between ARM and x86 Linux?

As things currently stand, most questions about packages can probably be answered by looking at http://www.raspbian.org/RaspbianFAQ
by davej
Mon Feb 18, 2013 11:10 am
Forum: General discussion
Topic: Control Raspberry Pi with another Program
Replies: 16
Views: 7124

Re: Control Raspberry Pi with another Program

Sockets would work, but you'll have to handle all the exceptional cases and converting the values from ASCII into the right types. ..... . You may want to use OSC as the underlying protocol (one level up from sockets)since it will take care of the conversions for you and there are libraries for man...
by davej
Wed Jan 02, 2013 6:05 pm
Forum: Other projects
Topic: Pi to basic GSM phones
Replies: 5
Views: 1144

Re: Pi to basic GSM phones

Do you intend to handle only data ? If so, you might want to start with a USB+3G dongle of some type. If the dongle says it runs with Linux then you are good to go, and you can find lots of pages like this one: http://linuxforums.org.uk/index.php?topic=1272.0 Then it becomes a matter of: Do I see it...
by davej
Mon Dec 17, 2012 4:02 pm
Forum: HATs and other add-ons
Topic: 50 extra IO (16 analogs) for £8
Replies: 63
Views: 15326

Re: 50 extra IO (16 analogs) for £8

davej wrote:....

My source interest revolves around questions such as RTOS+Espruino ?
Of course, another alternative for me would be to download ChibiOS/RT and tiny-js (and offshoots) and elua and work from there.
by davej
Mon Dec 17, 2012 3:54 pm
Forum: HATs and other add-ons
Topic: 50 extra IO (16 analogs) for £8
Replies: 63
Views: 15326

Re: 50 extra IO (16 analogs) for £8

In view of the launch of the Pi store, I have a suggestion. Would you consider selling binaries of Espruino in the new PI store ? This would suit me much better than the current licensing model that is based on an individual board. Like a lot of other people I am also interested in source code. I wo...
by davej
Fri Nov 09, 2012 6:48 pm
Forum: HATs and other add-ons
Topic: 50 extra IO (16 analogs) for £8
Replies: 63
Views: 15326

Re: 50 extra IO (16 analogs) for £8

Just an update now that I have finished playing with Veroboard. The current version of the Espruino project has moved to version 1.15 while I was not watching, and I wanted to upgrade from 1.13. I decided to give STlink a go directly on the RPI, and I also decided to try and do this all in text mode...
by davej
Tue Oct 30, 2012 11:58 am
Forum: HATs and other add-ons
Topic: 50 extra IO (16 analogs) for £8
Replies: 63
Views: 15326

Re: 50 extra IO (16 analogs) for £8

How's it going? Quick update - version 1v14 is out. This now has USB serial port on the STM32F4 board, and supports ALL SIX serial ports as well - so hopefully you won't have any problems finding a serial port any more... If you're after the pinouts, look at the stm32f4 discovery datasheet. The USA...
by davej
Mon Oct 29, 2012 12:56 am
Forum: HATs and other add-ons
Topic: 50 extra IO (16 analogs) for £8
Replies: 63
Views: 15326

Re: 50 extra IO (16 analogs) for £8

Hi, Actually it turns out the wiring was for the STM32VL, not the F4... On the F4, the normal USART1 pins are shared with the USB - so the default was USART2. Try: PI STM32F4 P1-04 5V P1-06 GND P1-08 PA3 P1-10 PA2 And ensure minicom is running at 9600 baud... Hope that helps! OK, I can report that ...
by davej
Fri Oct 26, 2012 6:41 pm
Forum: HATs and other add-ons
Topic: 50 extra IO (16 analogs) for £8
Replies: 63
Views: 15326

Re: 50 extra IO (16 analogs) for £8

Progress, but not success. cksum espruino_1v13_stm32f4discovery.bin 1415999454 86868 espruino_1v13_stm32f4discovery.bin compiled st-flash, and flashed the STM. st-flash write espruino_1v13_stm32f4discovery.bin 0x08000000 Device connected is: F4 device, id 0x10016413 Attempting to write 86868 ..........
by davej
Fri Oct 26, 2012 8:51 am
Forum: HATs and other add-ons
Topic: Gertboard Assembly Thread
Replies: 162
Views: 22187

Re: Gertboard Assembly Thread

C1 has some copper running between the two mounting pads, so if your assembly is slightly off you run the risk of bridging to the copper in the middle. That should not cause a short as the copper is covered with a solder mask. Unless you damage the solder mask by scraping it with a metal object (e....
by davej
Thu Oct 25, 2012 7:12 pm
Forum: HATs and other add-ons
Topic: 50 extra IO (16 analogs) for £8
Replies: 63
Views: 15326

Re: 50 extra IO (16 analogs) for £8

Thanks. Farnell say my order has shipped, ... OK, it arrived. Slapped some polymorph onto the bottom headers. Inferred from the docs: Find USB to mini-USB cable Download the espruino binary Download and compile stlink sw Leave both CN3 jumpers on the STM32F4DISCOVERY Cable up Run the stlink softwar...
by davej
Thu Oct 25, 2012 6:33 pm
Forum: HATs and other add-ons
Topic: Gertboard Assembly Thread
Replies: 162
Views: 22187

Re: Gertboard Assembly Thread

Post-assembly voltage question: Assembled, but the voltages at the regulator are out of whack and I have therefor not installed the jumper to feed the board itself. RPI 5V in : 4V8 RPI 3V3 in: 3V3 Regulator out : 4V3 Is this just a 'no load' issue, or have I gone and messed something up ? Dave Caut...
by davej
Wed Oct 24, 2012 3:25 pm
Forum: HATs and other add-ons
Topic: 50 extra IO (16 analogs) for £8
Replies: 63
Views: 15326

Re: 50 extra IO (16 analogs) for £8

gfwilliams wrote:I'd use desktop - that's how I do it here, and it only takes a few seconds. Hopefully you'll have no need to use it on the Pi itself.
Thanks. Farnell say my order has shipped, so here's to patience. Will spend the time re-reading the STM documentation.
by davej
Wed Oct 24, 2012 3:02 pm
Forum: HATs and other add-ons
Topic: 50 extra IO (16 analogs) for £8
Replies: 63
Views: 15326

Re: 50 extra IO (16 analogs) for £8

Is it better/preferable to downoad and compile the stlink utility directly on the Pi or on the desktop ?
by davej
Tue Oct 23, 2012 7:29 pm
Forum: HATs and other add-ons
Topic: 50 extra IO (16 analogs) for £8
Replies: 63
Views: 15326

Re: 50 extra IO (16 analogs) for £8

... > Off to go and place an order. Ordered a STM32F4. Looking forward to this. PS: Did you use a Linux toolchain to do this ? PPS: Was the process horrendous ? Asking because I have in the past toyed with Forth, and was also wondering how easy it would be to get something like the Io language to ru...
by davej
Tue Oct 23, 2012 5:40 pm
Forum: HATs and other add-ons
Topic: 50 extra IO (16 analogs) for £8
Replies: 63
Views: 15326

Re: 50 extra IO (16 analogs) for £8

[quote="gfwilliams"]As I said above, I'm not convinced you need 2 serial ports for control - I would have thought you could do everything with a single one ..... You get a roughly 4.5khz square wave on the F4 board That kind of speed is good for me; don't need faster and won't have to write a bunch ...
by davej
Tue Oct 23, 2012 4:31 pm
Forum: HATs and other add-ons
Topic: 50 extra IO (16 analogs) for £8
Replies: 63
Views: 15326

Re: 50 extra IO (16 analogs) for £8

Yes, as far as I know only one serial port, so if you want 2 into the raspberry pi then you'd have to use a USB-TTL converter - or you could use the Olimex STM32 board with Espruino, which is a little more expensive but which can communicate via USB (as well as 2 serial ports). However you should b...
by davej
Mon Oct 22, 2012 6:42 pm
Forum: HATs and other add-ons
Topic: 50 extra IO (16 analogs) for £8
Replies: 63
Views: 15326

Re: 50 extra IO (16 analogs) for £8

Had a read at your website, and want know if the following is feasable:... enable me to send data back to the Raspberry PI. So, effectively one serial channel would be for control, and one for data comms. Feasible ? Looks like the RPI only has one serial port, so I would have to wire the second STM...
by davej
Mon Oct 22, 2012 6:24 pm
Forum: HATs and other add-ons
Topic: 50 extra IO (16 analogs) for £8
Replies: 63
Views: 15326

Re: 50 extra IO (16 analogs) for £8

Had a read at your website, and want know if the following is feasable: Connect 4 wires as outlined to get it to work Connect another 2 wires, more below Squirt a program down the serial line, using good old fashion cat The sent program would contain some serial commands, amongst others [Serial1|Ser...
by davej
Tue Oct 16, 2012 10:04 pm
Forum: HATs and other add-ons
Topic: Gertboard Assembly Thread
Replies: 162
Views: 22187

Re: Gertboard Assembly Thread

Post-assembly voltage question:

Assembled, but the voltages at the regulator are out of whack and I have therefor not installed the jumper to feed the board itself.

RPI 5V in : 4V8
RPI 3V3 in: 3V3

Regulator out : 4V3

Is this just a 'no load' issue, or have I gone and messed something up ?

Dave
by davej
Fri Sep 21, 2012 2:39 pm
Forum: HATs and other add-ons
Topic: Gertboard Assembly Thread
Replies: 162
Views: 22187

Re: Gertboard Assembly Thread

I already have an old Antex 15 watt iron with 1mm solder. Is it worth investing in a 12W model and 0.7mm solder ? I only have a medium size tip left on the 15W

Dave

Go to advanced search